SOURCES: gzip-mktemp.patch, gzip-noppid.patch, gzip-stderr.patch -...

qboosh qboosh at pld-linux.org
Wed Dec 13 00:35:27 CET 2006


Author: qboosh                       Date: Tue Dec 12 23:35:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.3.8

---- Files affected:
SOURCES:
   gzip-mktemp.patch (1.6 -> 1.7) , gzip-noppid.patch (1.4 -> 1.5) , gzip-stderr.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/gzip-mktemp.patch
diff -u SOURCES/gzip-mktemp.patch:1.6 SOURCES/gzip-mktemp.patch:1.7
--- SOURCES/gzip-mktemp.patch:1.6	Thu Nov 30 00:41:49 2006
+++ SOURCES/gzip-mktemp.patch	Wed Dec 13 00:35:22 2006
@@ -1,19 +1,11 @@
---- gzip-1.3.6/gzexe.in.orig	2006-11-20 09:40:33.000000000 +0100
-+++ gzip-1.3.6/gzexe.in	2006-11-29 23:50:44.730531500 +0100
-@@ -132,12 +132,12 @@
-     (sed 1q $0 &&
-      sed "s|^if tail|if $tail|" <<'EOF' &&
- skip=26
--set -C
-+
- umask=`umask`
- umask 77
--if (tempfile --version) >/dev/null 2>&1
--then gztmp=`tempfile -p gztmp` || exit
--else gztmp=/tmp/gztmp$$
-+if (mktemp -V) >/dev/null 2>&1
-+then gztmp=`mktemp ${TMPDIR:-/tmp}/gztmp$$.XXXXXX` || exit
-+else { echo 'cannot create temporary file' >&2; exit 1; }
- fi
- if tail +$skip "$0" | "BINDIR"/gzip -cd > "$gztmp"; then
-   umask $umask
+--- gzip-1.3.8/gzexe.in.orig	2006-12-09 07:58:27.000000000 +0100
++++ gzip-1.3.8/gzexe.in	2006-12-13 00:18:18.193363272 +0100
+@@ -161,7 +161,7 @@
+ if type mktemp >/dev/null 2>&1; then
+   gztmpdir=`mktemp -dt`
+ else
+-  gztmpdir=/tmp/gztmp$$; mkdir $gztmpdir
++  echo 'cannot create temporary file' >&2; exit 1;
+ fi || { (exit 127); exit 127; }
+ 
+ gztmp=$gztmpdir/$0

================================================================
Index: SOURCES/gzip-noppid.patch
diff -u SOURCES/gzip-noppid.patch:1.4 SOURCES/gzip-noppid.patch:1.5
--- SOURCES/gzip-noppid.patch:1.4	Thu Nov 30 00:42:05 2006
+++ SOURCES/gzip-noppid.patch	Wed Dec 13 00:35:22 2006
@@ -1,14 +1,3 @@
---- gzip-1.3.6/gzexe.in.orig	2006-11-29 23:57:02.074114000 +0100
-+++ gzip-1.3.6/gzexe.in	2006-11-29 23:57:02.094115250 +0100
-@@ -67,7 +67,7 @@
-   esac
- done
- 
--tmp=gz$$
-+tmp=`mktemp gz.XXXXXX` || exit 1
- trap "rm -f $tmp; exit 1" 1 2 3 5 10 13 15
- 
- set -C
 --- gzip-1.3.6/zdiff.in.orig	2006-11-29 23:57:02.078114250 +0100
 +++ gzip-1.3.6/zdiff.in	2006-11-30 00:06:39.394194250 +0100
 @@ -60,11 +60,12 @@

================================================================
Index: SOURCES/gzip-stderr.patch
diff -u SOURCES/gzip-stderr.patch:1.3 SOURCES/gzip-stderr.patch:1.4
--- SOURCES/gzip-stderr.patch:1.3	Thu Nov 30 00:41:49 2006
+++ SOURCES/gzip-stderr.patch	Wed Dec 13 00:35:22 2006
@@ -1,11 +1,11 @@
---- gzip-1.3.6/gzexe.in.orig	2006-11-29 23:51:33.485578500 +0100
-+++ gzip-1.3.6/gzexe.in	2006-11-29 23:52:24.632775000 +0100
-@@ -51,7 +51,7 @@
+--- gzip-1.3.8/gzexe.in.orig	2006-12-13 00:18:36.366398893 +0100
++++ gzip-1.3.8/gzexe.in	2006-12-13 00:19:24.613148319 +0100
+@@ -69,7 +69,7 @@
  
- PATH="BINDIR:$PATH"
- if test $# = 0; then
--  echo "$usage"
-+  echo "$usage" >&2
+ if test $# -eq 0; then
+   echo >&2 "$0: missing operand
+-Try \`$0 --help' for more information."
++Try \`$0 --help' for more information." >&2
    exit 1
  fi
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gzip-mktemp.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/SOURCES/gzip-noppid.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/gzip-stderr.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list