diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-04 19:28:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-04 19:28:14 +0000 |
commit | 7ce4ddfe036a35cf8e6f026313c759515a978f33 (patch) | |
tree | 8d005cc2f4c20a139d5534b18adac4dbdc677926 /app-arch/gzip | |
parent | Added to ~amd64, bug #76553 (Manifest recommit) (diff) | |
download | gentoo-2-7ce4ddfe036a35cf8e6f026313c759515a978f33.tar.gz gentoo-2-7ce4ddfe036a35cf8e6f026313c759515a978f33.tar.bz2 gentoo-2-7ce4ddfe036a35cf8e6f026313c759515a978f33.zip |
Remove zdiff patch since it isnt actually needed (zdiff utilizes the noclobber feature of bash to protect against symlink attacks). Fixes zdiff breakage #70277.
Diffstat (limited to 'app-arch/gzip')
-rw-r--r-- | app-arch/gzip/ChangeLog | 12 | ||||
-rw-r--r-- | app-arch/gzip/files/digest-gzip-1.3.5-r4 | 2 | ||||
-rw-r--r-- | app-arch/gzip/files/digest-gzip-1.3.5-r5 (renamed from app-arch/gzip/files/digest-gzip-1.3.5-r3) | 0 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile-2.patch | 19 | ||||
-rw-r--r-- | app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile.patch | 29 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.3.5-r3.ebuild | 83 | ||||
-rw-r--r-- | app-arch/gzip/gzip-1.3.5-r5.ebuild (renamed from app-arch/gzip/gzip-1.3.5-r4.ebuild) | 3 |
7 files changed, 12 insertions, 136 deletions
diff --git a/app-arch/gzip/ChangeLog b/app-arch/gzip/ChangeLog index 8fae7aa44bf0..08699b6e5574 100644 --- a/app-arch/gzip/ChangeLog +++ b/app-arch/gzip/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-arch/gzip # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/ChangeLog,v 1.44 2005/01/01 11:45:48 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/ChangeLog,v 1.45 2005/01/04 19:28:14 vapier Exp $ + +*gzip-1.3.5-r5 (04 Jan 2005) + + 04 Jan 2005; Mike Frysinger <vapier@gentoo.org> + -files/gzip-1.3.5-zdiff-tempfile-2.patch, + -files/gzip-1.3.5-zdiff-tempfile.patch, -gzip-1.3.5-r3.ebuild, + -gzip-1.3.5-r4.ebuild, +gzip-1.3.5-r5.ebuild: + Remove zdiff patch since it isnt actually needed (zdiff utilizes the + noclobber feature of bash to protect against symlink attacks). Fixes zdiff + breakage #70277. 29 Dec 2004; Hardave Riar <hardave@gentoo.org> gzip-1.3.5-r4.ebuild: Stable on mips, bug #70825. diff --git a/app-arch/gzip/files/digest-gzip-1.3.5-r4 b/app-arch/gzip/files/digest-gzip-1.3.5-r4 deleted file mode 100644 index d9e68f978e4f..000000000000 --- a/app-arch/gzip/files/digest-gzip-1.3.5-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 3d6c191dfd2bf307014b421c12dc8469 gzip_1.3.5.orig.tar.gz 331550 -MD5 63d6cf343da210a3740aef2ed583f85d gzip-1.3.5-deb.patch.bz2 9136 diff --git a/app-arch/gzip/files/digest-gzip-1.3.5-r3 b/app-arch/gzip/files/digest-gzip-1.3.5-r5 index d9e68f978e4f..d9e68f978e4f 100644 --- a/app-arch/gzip/files/digest-gzip-1.3.5-r3 +++ b/app-arch/gzip/files/digest-gzip-1.3.5-r5 diff --git a/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile-2.patch b/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile-2.patch deleted file mode 100644 index f791e6fea674..000000000000 --- a/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile-2.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- zdiff.in 2002-09-26 04:33:24.000000000 -0400 -+++ zdiff.in.new 2004-10-26 19:06:08.000000000 -0400 -@@ -47,11 +51,12 @@ - *[-.]gz* | *[-.][zZ] | *.t[ga]z) - F=`echo "$2" | sed 's|.*/||;s|[-.][zZtga]*||'` - set -C -- trap 'rm -f /tmp/"$F".$$; exit 2' HUP INT PIPE TERM 0 -- gzip -cdfq "$2" > /tmp/"$F".$$ || exit -- gzip -cdfq "$1" | $comp $OPTIONS - /tmp/"$F".$$ -+ tmp=`mktemp /tmp/$F.XXXXXX` -+ trap 'rm -f $tmp; exit 2' HUP INT PIPE TERM 0 -+ gzip -cdfq "$2" > $tmp || exit -+ gzip -cdfq "$1" | $comp $OPTIONS - $tmp - STAT="$?" -- /bin/rm -f /tmp/"$F".$$ || STAT=2 -+ /bin/rm -f $tmp || STAT=2 - trap - HUP INT PIPE TERM 0 - exit $STAT;; - diff --git a/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile.patch b/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile.patch deleted file mode 100644 index 293560dc8763..000000000000 --- a/app-arch/gzip/files/gzip-1.3.5-zdiff-tempfile.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- zdiff.in 2002-09-26 04:33:24.000000000 -0400 -+++ zdiff.in.new 2004-10-26 19:06:08.000000000 -0400 -@@ -35,6 +35,10 @@ - echo "Usage: $prog [${comp}_options] file [file]" - exit 2 - fi -+tmp=`tempfile -d /tmp -p gz` || { -+ echo 'cannot create a temporary file' >&2 -+ exit 1 -+} - set $FILES - if test $# -eq 1; then - FILE=`echo "$1" | sed 's/[-.][zZtga]*$//'` -@@ -47,11 +51,11 @@ - *[-.]gz* | *[-.][zZ] | *.t[ga]z) - F=`echo "$2" | sed 's|.*/||;s|[-.][zZtga]*||'` - set -C -- trap 'rm -f /tmp/"$F".$$; exit 2' HUP INT PIPE TERM 0 -- gzip -cdfq "$2" > /tmp/"$F".$$ || exit -- gzip -cdfq "$1" | $comp $OPTIONS - /tmp/"$F".$$ -+ trap 'rm -f $tmp; exit 2' HUP INT PIPE TERM 0 -+ gzip -cdfq "$2" > $tmp || exit -+ gzip -cdfq "$1" | $comp $OPTIONS - $tmp - STAT="$?" -- /bin/rm -f /tmp/"$F".$$ || STAT=2 -+ /bin/rm -f $tmp || STAT=2 - trap - HUP INT PIPE TERM 0 - exit $STAT;; - diff --git a/app-arch/gzip/gzip-1.3.5-r3.ebuild b/app-arch/gzip/gzip-1.3.5-r3.ebuild deleted file mode 100644 index 6905348db2c0..000000000000 --- a/app-arch/gzip/gzip-1.3.5-r3.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.3.5-r3.ebuild,v 1.12 2005/01/01 11:45:48 eradicator Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Standard GNU compressor" -HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html" -# This is also available from alpha.gnu.org, but that site has very limited -# bandwidth and often isn't accessible -SRC_URI="mirror://debian/pool/main/g/gzip/gzip_${PV}.orig.tar.gz - mirror://gentoo/${P}-deb.patch.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" -IUSE="nls build static pic" - -RDEPEND="virtual/libc" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" -PROVIDE="virtual/gzip" - -src_unpack() { - unpack gzip_${PV}.orig.tar.gz - cd ${S} - epatch ${DISTDIR}/${P}-deb.patch.bz2 - epatch ${FILESDIR}/gzip-1.3.5-zdiff-tempfile.patch - epatch ${FILESDIR}/gzip-1.3.5-znew-tempfile.patch -} - -src_compile() { - use static && append-flags -static - # avoid text relocation in gzip - use pic && export DEFS="NO_ASM" - econf --exec-prefix=/ $(use_enable nls) || die - emake || die -} - -src_install() { - dodir /usr/bin /usr/share/man/man1 - make prefix=${D}/usr \ - exec_prefix=${D}/ \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - install || die - - cd ${D}/bin - - for i in gzexe zforce zgrep zmore znew zcmp - do - sed -i -e "s:${D}::" ${i} || die - chmod 755 ${i} - done - - # No need to waste space -- these guys should be links - # gzcat is equivilant to zcat, but historically zcat - # was a link to compress. - rm -f gunzip zcat zcmp zegrep zfgrep - dosym gzip /bin/gunzip - dosym gzip /bin/gzcat - dosym gzip /bin/zcat - dosym zdiff /bin/zcmp - dosym zgrep /bin/zegrep - dosym zgrep /bin/zfgrep - - if ! use build - then - cd ${D}/usr/share/man/man1 - rm -f gunzip.* zcmp.* zcat.* - ln -s gzip.1.gz gunzip.1.gz - ln -s zdiff.1.gz zcmp.1.gz - ln -s gzip.1.gz zcat.1.gz - ln -s gzip.1.gz gzcat.1.gz - cd ${S} - rm -rf ${D}/usr/man ${D}/usr/lib - dodoc ChangeLog NEWS README THANKS TODO - docinto txt - dodoc algorithm.doc gzip.doc - else - rm -rf ${D}/usr - fi -} diff --git a/app-arch/gzip/gzip-1.3.5-r4.ebuild b/app-arch/gzip/gzip-1.3.5-r5.ebuild index 0c95ea1472b7..49c3088bf052 100644 --- a/app-arch/gzip/gzip-1.3.5-r4.ebuild +++ b/app-arch/gzip/gzip-1.3.5-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.3.5-r4.ebuild,v 1.10 2005/01/01 11:45:48 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.3.5-r5.ebuild,v 1.1 2005/01/04 19:28:14 vapier Exp $ inherit eutils flag-o-matic @@ -25,7 +25,6 @@ src_unpack() { unpack gzip_${PV}.orig.tar.gz cd ${S} epatch ${DISTDIR}/${P}-deb.patch.bz2 - epatch ${FILESDIR}/gzip-1.3.5-zdiff-tempfile-2.patch epatch ${FILESDIR}/gzip-1.3.5-znew-tempfile-2.patch } |