diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-01-04 16:54:40 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-01-04 16:54:40 +0000 |
commit | e62492bb901d479db7d9201da2f62974d5854004 (patch) | |
tree | b118c2d0141587c36d7f9646ea21f77e444cb492 /app-arch | |
parent | Add Tony Vroon's <tony@vroon.org> patch to force tar to NOT remove the leadin... (diff) | |
download | gentoo-2-e62492bb901d479db7d9201da2f62974d5854004.tar.gz gentoo-2-e62492bb901d479db7d9201da2f62974d5854004.tar.bz2 gentoo-2-e62492bb901d479db7d9201da2f62974d5854004.zip |
Add Tony Vroon's <tony@vroon.org> patch to force tar to NOT remove the leading ./, which is apparently a new issue, and evidently a very buggy one. Thanks to Spanky and Tony for looking at the source (bug #37132). Apologies to all the duplicate bug reporters.
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/tar/ChangeLog | 12 | ||||
-rw-r--r-- | app-arch/tar/Manifest | 8 | ||||
-rw-r--r-- | app-arch/tar/files/digest-tar-1.13.92-r1 (renamed from app-arch/tar/files/digest-tar-1.13.92) | 0 | ||||
-rw-r--r-- | app-arch/tar/files/tar-1.13.92-hardcode-absolute-names-to-on.diff | 13 | ||||
-rw-r--r-- | app-arch/tar/tar-1.13.25-r3.ebuild | 4 | ||||
-rw-r--r-- | app-arch/tar/tar-1.13.92-r1.ebuild (renamed from app-arch/tar/tar-1.13.92.ebuild) | 10 |
6 files changed, 37 insertions, 10 deletions
diff --git a/app-arch/tar/ChangeLog b/app-arch/tar/ChangeLog index 470aadc5e9b1..9136dc331e6c 100644 --- a/app-arch/tar/ChangeLog +++ b/app-arch/tar/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-arch/tar # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.3 2003/12/29 04:02:26 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.4 2004/01/04 16:54:34 seemant Exp $ + +*tar-1.13.92-r1 (04 Jan 2004) + + 04 Jan 2004; Seemant Kulleen <seemant@gentoo.org> tar-1.13.25-r3.ebuild, + tar-1.13.92-r1.ebuild, tar-1.13.92.ebuild, + files/tar-1.13.92-hardcode-absolute-names-to-on.diff: + Add Tony Vroon's <tony@vroon.org> patch to force tar to NOT remove the leading + ./, which is apparently a new issue, and evidently a very buggy one. Thanks to + Spanky and Tony for looking at the source (bug #37132). Apologies to all the + duplicate bug reporters. *tar-1.13.92 (28 Dec 2003) diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest index eea92dac4019..21d9582926f5 100644 --- a/app-arch/tar/Manifest +++ b/app-arch/tar/Manifest @@ -1,10 +1,8 @@ -MD5 8df6602a71debcba59348d0a67664ce1 tar-1.13.92-r1.ebuild 1417 -MD5 5e6288ee0e35a4f954f501501fc23fd5 tar-1.13.92.ebuild 1317 -MD5 bc6462817cc0d818c43cf52f86cfdfd7 tar-1.13.25-r3.ebuild 1450 -MD5 725571fa6352f90c5d1750cf46b5731e ChangeLog 3939 +MD5 23b3f188b0060fb7423a4f3231ff0cee tar-1.13.92-r1.ebuild 1420 +MD5 57e5effc4019741e89ffcc4a3aa5a31c tar-1.13.25-r3.ebuild 1448 +MD5 a23aa9580fc7fd88589e9bd2e55fbf80 ChangeLog 4415 MD5 cb4c8853f6a862e6a16b3901e11c912f files/tar-1.13.92-hardcode-absolute-names-to-on.diff 413 MD5 a5f8c5da7a9465ea1978145f3ef0610c files/tar.1 7113 -MD5 e4017a705a2d9950c025b458ead9ac79 files/digest-tar-1.13.92 65 MD5 4518c28dd014a2efcc10690d53b58ffd files/tar-1.13.25-r3.gentoo.diff 314 MD5 ebfd134ad54b3a6a08124bef38ecdad6 files/digest-tar-1.13.25-r3 64 MD5 e4017a705a2d9950c025b458ead9ac79 files/digest-tar-1.13.92-r1 65 diff --git a/app-arch/tar/files/digest-tar-1.13.92 b/app-arch/tar/files/digest-tar-1.13.92-r1 index 6590deb15c11..6590deb15c11 100644 --- a/app-arch/tar/files/digest-tar-1.13.92 +++ b/app-arch/tar/files/digest-tar-1.13.92-r1 diff --git a/app-arch/tar/files/tar-1.13.92-hardcode-absolute-names-to-on.diff b/app-arch/tar/files/tar-1.13.92-hardcode-absolute-names-to-on.diff new file mode 100644 index 000000000000..ca74273204ff --- /dev/null +++ b/app-arch/tar/files/tar-1.13.92-hardcode-absolute-names-to-on.diff @@ -0,0 +1,13 @@ +--- src/tar.c.orig 2003-12-01 15:11:05.000000000 +0100 ++++ src/tar.c 2004-01-03 22:53:47.403210688 +0100 +@@ -1244,6 +1244,10 @@ + } + } + ++ /* Hardcode absolute_names_option to enabled, to avoid getting bitten ++ by a buggy check that removes too much when ./ is in the path */ ++ absolute_names_option = true; ++ + /* Handle operands after any "--" argument. */ + for (; optind < argc; optind++) + { diff --git a/app-arch/tar/tar-1.13.25-r3.ebuild b/app-arch/tar/tar-1.13.25-r3.ebuild index 7e1626f1fb75..fcc2802ec4de 100644 --- a/app-arch/tar/tar-1.13.25-r3.ebuild +++ b/app-arch/tar/tar-1.13.25-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.13.25-r3.ebuild,v 1.4 2003/12/17 04:10:09 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.13.25-r3.ebuild,v 1.5 2004/01/04 16:54:34 seemant Exp $ inherit eutils gnuconfig diff --git a/app-arch/tar/tar-1.13.92.ebuild b/app-arch/tar/tar-1.13.92-r1.ebuild index 7d2d6e633728..6603a0589e0e 100644 --- a/app-arch/tar/tar-1.13.92.ebuild +++ b/app-arch/tar/tar-1.13.92-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.13.92.ebuild,v 1.1 2003/12/29 04:02:26 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.13.92-r1.ebuild,v 1.1 2004/01/04 16:54:34 seemant Exp $ inherit eutils gnuconfig @@ -21,6 +21,12 @@ DEPEND="app-arch/gzip RDEPEND="nls? ( >=sys-devel/gettext-0.10.35 )" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-hardcode-absolute-names-to-on.diff +} + src_compile() { # Fix configure scripts to support linux-mips targets |