summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-08-02 22:10:15 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-08-02 22:10:15 +0000
commite8273506b2b265efb97499de6016c63f97cc5d6e (patch)
tree6dc93e2fbdcc5bf0e78a4fed6a67dbaa2c8ef6fe /app-arch
parent. (diff)
downloadgentoo-2-e8273506b2b265efb97499de6016c63f97cc5d6e.tar.gz
gentoo-2-e8273506b2b265efb97499de6016c63f97cc5d6e.tar.bz2
gentoo-2-e8273506b2b265efb97499de6016c63f97cc5d6e.zip
changed temp patch to be more portable thanks to Bruce Korb (upstream maintainter). added unitialised variable patch thanks to Ivan Yosifov in bug #101100
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/sharutils/ChangeLog13
-rw-r--r--app-arch/sharutils/Manifest14
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.4-r1 (renamed from app-arch/sharutils/files/digest-sharutils-4.4)0
-rw-r--r--app-arch/sharutils/files/sharutils-4.4-r1-tempfile.patch84
-rw-r--r--app-arch/sharutils/files/sharutils-4.4-tempfile.patch55
-rw-r--r--app-arch/sharutils/files/sharutils-4.4-uninitalisedvar.patch11
-rw-r--r--app-arch/sharutils/sharutils-4.4-r1.ebuild (renamed from app-arch/sharutils/sharutils-4.4.ebuild)7
7 files changed, 116 insertions, 68 deletions
diff --git a/app-arch/sharutils/ChangeLog b/app-arch/sharutils/ChangeLog
index 79e0bec0abd9..251508d9d17d 100644
--- a/app-arch/sharutils/ChangeLog
+++ b/app-arch/sharutils/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for app-arch/sharutils
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.35 2005/07/30 03:06:38 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.36 2005/08/02 22:10:14 dragonheart Exp $
+
+*sharutils-4.4-r1 (02 Aug 2005)
+
+ 02 Aug 2005; Daniel Black <dragonheart@gentoo.org>
+ +files/sharutils-4.4-r1-tempfile.patch,
+ -files/sharutils-4.4-tempfile.patch,
+ +files/sharutils-4.4-uninitalisedvar.patch, -sharutils-4.4.ebuild,
+ +sharutils-4.4-r1.ebuild:
+ changed temp patch to be more portable thanks to Bruce Korb (upstream
+ maintainter). added unitialised variable patch thanks to Ivan Yosifov in bug
+ #101100
*sharutils-4.4 (30 Jul 2005)
diff --git a/app-arch/sharutils/Manifest b/app-arch/sharutils/Manifest
index 7854590faef2..cfcddaf758a9 100644
--- a/app-arch/sharutils/Manifest
+++ b/app-arch/sharutils/Manifest
@@ -1,20 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 10a7a6f48205f48c2e5a04cd96b2c566 ChangeLog 6309
MD5 0fd81d7e999330596e70e94b4abc3907 sharutils-4.2.1-r11.ebuild 1434
MD5 7bf253b53fb6db7fcecda6e4234a7754 sharutils-4.4.ebuild 866
+MD5 08133440119f70e9e5d826480aeca0a3 sharutils-4.4-r1.ebuild 1002
MD5 5c7abe1494f7d3b105dd3907b6898474 files/sharutils-4.2.1-gentoo.patch 2438
MD5 a0ed4cfc65c5d37392c6b3816d3fbdbe files/digest-sharutils-4.2.1-r11 67
MD5 567118e62dd91c695bdffe56281a5324 files/sharutils-4.2.1-buffer-limits.patch 1980
MD5 cc08d95794a6f1a1563a10ed71110d13 files/digest-sharutils-4.4 66
MD5 aeb2dc437bac48b13e8ebc1d632013ad files/sharutils-4.2.1-buffer-check.patch 2416
MD5 1ea2ebc1fb64525d36dfac228047b3ae files/sharutils-4.4-tempfile.patch 1656
+MD5 cc08d95794a6f1a1563a10ed71110d13 files/digest-sharutils-4.4-r1 66
MD5 ca22218be478144a5275a31e4ba88e75 files/sharutils-4.2.1-tempfile.patch 3249
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC6u7UmdTrptrqvGERAoL6AJ9KWJQuz7L/dUwraMixbcp2BBUl2wCeMzj0
-JVUrYOLvwk+y5OqP2jPex0U=
-=pNMI
------END PGP SIGNATURE-----
+MD5 8847422d5027966763908e44d213a4d1 files/sharutils-4.4-uninitalisedvar.patch 268
+MD5 43e31b2d26e3371e7c6dd83e912ff162 files/sharutils-4.4-r1-tempfile.patch 2629
diff --git a/app-arch/sharutils/files/digest-sharutils-4.4 b/app-arch/sharutils/files/digest-sharutils-4.4-r1
index ef8161e1f768..ef8161e1f768 100644
--- a/app-arch/sharutils/files/digest-sharutils-4.4
+++ b/app-arch/sharutils/files/digest-sharutils-4.4-r1
diff --git a/app-arch/sharutils/files/sharutils-4.4-r1-tempfile.patch b/app-arch/sharutils/files/sharutils-4.4-r1-tempfile.patch
new file mode 100644
index 000000000000..0abfa71e6ec9
--- /dev/null
+++ b/app-arch/sharutils/files/sharutils-4.4-r1-tempfile.patch
@@ -0,0 +1,84 @@
+Index: doc/shar.1
+===================================================================
+RCS file: /cvsroot/sharutils/sharutils/doc/shar.1,v
+retrieving revision 1.3
+diff -b -B -u -p -r1.3 shar.1
+--- doc/shar.1 1 Jul 2005 13:44:51 -0000 1.3
++++ doc/shar.1 30 Jul 2005 17:08:20 -0000
+@@ -48,7 +48,9 @@ switch is especially useful when the com
+ the list of files to be packed. For example:
+ .nf
+
+-find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /tmp/big
++find . \-type f \-print | \\
++ sort | \\
++ shar \-S \-Z \-L50 \-o /somewhere/big
+
+ .fi
+ If \f2\-p\f1 is specified on the command line, then the options
+Index: doc/sharutils.texi
+===================================================================
+RCS file: /cvsroot/sharutils/sharutils/doc/sharutils.texi,v
+retrieving revision 1.7
+diff -b -B -u -p -r1.7 sharutils.texi
+--- doc/sharutils.texi 23 Jan 2005 18:49:46 -0000 1.7
++++ doc/sharutils.texi 30 Jul 2005 17:08:20 -0000
+@@ -279,7 +279,8 @@ This switch is especially useful when th
+ the list of files to be packed. For example:
+
+ @example
+-find . -type f -print | shar -S -o /tmp/big.shar
++find . -type f -print | \
++ shar -S -o /somewhere/big.shar
+ @end example
+
+ If @code{-p} is specified on the command line, then the options
+Index: src/remsync.in
+===================================================================
+RCS file: /cvsroot/sharutils/sharutils/src/remsync.in,v
+retrieving revision 1.2
+diff -b -B -u -p -r1.2 remsync.in
+--- src/remsync.in 7 Jun 2005 21:54:04 -0000 1.2
++++ src/remsync.in 30 Jul 2005 17:08:21 -0000
+@@ -3,6 +3,8 @@
+ eval "exec @PERL@ -S $0 $*"
+ if $running_under_some_shell;
+
++use File::Temp qw/ :mktemp /;
++
+ # Synchronization tool for remote directories.
+ # Copyright (C) 1994 Free Software Foundation, Inc.
+ # François Pinard <pinard@iro.umontreal.ca>, 1994.
+@@ -1785,8 +1787,10 @@ sub maybe_study_files
+ }
+ }
+
++ $findtempfile = mktemp( "./remsync.XXXXXX" );
++
+ open (SCAN,
+- "find$list -type f 2> /tmp/$$.find | xargs -r $checksum_command |")
++ "find$list -type f 2> $findtempfile | xargs -r $checksum_command |")
+ || &interrupt ('Cannot launch program `find\'');
+
+ # Process each existing file in turn.
+@@ -1815,9 +1819,9 @@ sub maybe_study_files
+ }
+ close SCAN;
+
+- # Clean out scanning for inexisting files.
++ # Clean out scanning for non-existing files.
+
+- open (SCAN, "/tmp/$$.find");
++ open (SCAN, $findtempfile);
+ while (<SCAN>)
+ {
+ chop;
+@@ -1843,7 +1847,7 @@ To get rid of this warning, delete the s
+ }
+ }
+ close SCAN;
+- unlink "/tmp/$$.find";
++ unlink $findtempfile;
+
+ $study_files = 0;
+ }
diff --git a/app-arch/sharutils/files/sharutils-4.4-tempfile.patch b/app-arch/sharutils/files/sharutils-4.4-tempfile.patch
deleted file mode 100644
index 0206a5d66fb4..000000000000
--- a/app-arch/sharutils/files/sharutils-4.4-tempfile.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- ./sharutils-4.4/doc/shar.1.orig 2005-07-01 23:43:44.000000000 +1000
-+++ ./sharutils-4.4/doc/shar.1 2005-07-30 12:39:00.000000000 +1000
-@@ -48,7 +48,7 @@
- the list of files to be packed. For example:
- .nf
-
--find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /tmp/big
-+find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /somewhere/big
-
- .fi
- If \f2\-p\f1 is specified on the command line, then the options
---- ./sharutils-4.4/doc/sharutils.texi.orig 2005-01-24 05:06:05.000000000 +1100
-+++ ./sharutils-4.4/doc/sharutils.texi 2005-07-30 12:39:00.000000000 +1000
-@@ -279,7 +279,7 @@
- the list of files to be packed. For example:
-
- @example
--find . -type f -print | shar -S -o /tmp/big.shar
-+find . -type f -print | shar -S -o /somewhere/big.shar
- @end example
-
- If @code{-p} is specified on the command line, then the options
---- ./sharutils-4.4/src/remsync.in.orig 2005-06-08 07:45:50.000000000 +1000
-+++ ./sharutils-4.4/src/remsync.in 2005-07-30 12:44:44.000000000 +1000
-@@ -1785,8 +1785,11 @@
- }
- }
-
-+ $findtempfile = `tempfile`;
-+ chop $findtempfile;
-+
- open (SCAN,
-- "find$list -type f 2> /tmp/$$.find | xargs -r $checksum_command |")
-+ "find$list -type f 2> $findtempfile | xargs -r $checksum_command |")
- || &interrupt ('Cannot launch program `find\'');
-
- # Process each existing file in turn.
-@@ -1817,7 +1820,7 @@
-
- # Clean out scanning for inexisting files.
-
-- open (SCAN, "/tmp/$$.find");
-+ open (SCAN, "$findtempfile");
- while (<SCAN>)
- {
- chop;
-@@ -1843,7 +1846,7 @@
- }
- }
- close SCAN;
-- unlink "/tmp/$$.find";
-+ unlink "$findtempfile";
-
- $study_files = 0;
- }
diff --git a/app-arch/sharutils/files/sharutils-4.4-uninitalisedvar.patch b/app-arch/sharutils/files/sharutils-4.4-uninitalisedvar.patch
new file mode 100644
index 000000000000..1cf0ce120ddd
--- /dev/null
+++ b/app-arch/sharutils/files/sharutils-4.4-uninitalisedvar.patch
@@ -0,0 +1,11 @@
+--- src/unshar.c.orig 2005-08-03 07:53:51.000000000 +1000
++++ src/unshar.c 2005-08-03 07:55:25.000000000 +1000
+@@ -358,7 +358,7 @@
+ char *const *argv;
+ {
+ FILE *file;
+- char* name_buffer;
++ char* name_buffer=NULL;
+ int optchar;
+
+ program_name = argv[0];
diff --git a/app-arch/sharutils/sharutils-4.4.ebuild b/app-arch/sharutils/sharutils-4.4-r1.ebuild
index f67a0de20c0b..3efc68b19aa2 100644
--- a/app-arch/sharutils/sharutils-4.4.ebuild
+++ b/app-arch/sharutils/sharutils-4.4-r1.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/sharutils/sharutils-4.4.ebuild,v 1.1 2005/07/30 03:06:38 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.4-r1.ebuild,v 1.1 2005/08/02 22:10:14 dragonheart Exp $
inherit eutils
@@ -19,7 +19,10 @@ DEPEND="sys-apps/texinfo
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-tempfile.patch #87939
+ #87939 - thanks to Bruce Korb (maintainer)
+ epatch "${FILESDIR}/${PF}"-tempfile.patch
+ #101100 - thanks to bug #101100 by Ivan Yosifov
+ epatch "${FILESDIR}/${P}"-uninitalisedvar.patch
}
src_compile() {