diff options
author | Dror Levin <spatz@gentoo.org> | 2010-02-09 20:03:13 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2010-02-09 20:03:13 +0000 |
commit | ddce758b57f9348124ef9cbc2d54c4475bf57845 (patch) | |
tree | 05b4f98888079332b2c765c9a19ea01d9e881e49 /app-arch | |
parent | Marked ppc/ppc64 stable. (diff) | |
download | historical-ddce758b57f9348124ef9cbc2d54c4475bf57845.tar.gz historical-ddce758b57f9348124ef9cbc2d54c4475bf57845.tar.bz2 historical-ddce758b57f9348124ef9cbc2d54c4475bf57845.zip |
Add patch to fix command line handling, bug 302757. Clean old patches.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/pbzip2/ChangeLog | 9 | ||||
-rw-r--r-- | app-arch/pbzip2/Manifest | 20 | ||||
-rw-r--r-- | app-arch/pbzip2/files/pbzip2-1.0.2-uclibc.patch | 24 | ||||
-rw-r--r-- | app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch | 23 | ||||
-rw-r--r-- | app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch | 19 | ||||
-rw-r--r-- | app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild | 48 |
6 files changed, 92 insertions, 51 deletions
diff --git a/app-arch/pbzip2/ChangeLog b/app-arch/pbzip2/ChangeLog index cd62f58d0244..a0f681c789e3 100644 --- a/app-arch/pbzip2/ChangeLog +++ b/app-arch/pbzip2/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-arch/pbzip2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.80 2010/01/25 19:18:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.81 2010/02/09 20:03:12 spatz Exp $ + +*pbzip2-1.0.5-r3 (09 Feb 2010) + + 09 Feb 2010; Dror Levin <spatz@gentoo.org> + -files/pbzip2-1.0.2-uclibc.patch, -files/pbzip2-1.0.3-uclibc.patch, + +pbzip2-1.0.5-r3.ebuild, +files/pbzip2-1.0.5-fix-stdout-optparse.patch: + Add patch to fix command line handling, bug 302757. Clean old patches. 25 Jan 2010; Raúl Porcel <armin76@gentoo.org> pbzip2-1.0.5-r2.ebuild: alpha/arm/ia64/m68k/s390/sh stable wrt #300113 diff --git a/app-arch/pbzip2/Manifest b/app-arch/pbzip2/Manifest index bcdc1ccfc7b9..ddb15cc0e180 100644 --- a/app-arch/pbzip2/Manifest +++ b/app-arch/pbzip2/Manifest @@ -1,8 +1,22 @@ -AUX pbzip2-1.0.2-uclibc.patch 1256 RMD160 2a3ebf358adb891425c93d070afd03300bc2fba6 SHA1 eafced5179f2498ecee2f8b1215aaeae9e1e5f91 SHA256 b5311d5af7fdd8c1991fa9c20fd92461da7fc1e94a2d0c5a46d1e5d1e96f9669 -AUX pbzip2-1.0.3-uclibc.patch 1169 RMD160 a7d86eb666dcf40e2a748f31a6e3f31e37cb601c SHA1 671bee3d6c84692df5c04ba7360eb57fa283623d SHA256 193c398ee1d9be4cfe21d4220061765b75460eb9172a9b660902cdc653ac1629 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX pbzip2-1.0.5-fix-stdout-optparse.patch 564 RMD160 e9a8ff7ca020dd8ad0325a9545a01f6999312dbe SHA1 c3fd15e958f712089c8c6cda93648061089136ca SHA256 922bef0e5e5d09100868bff2629942b01730be7cfb1354ac621ce22a56ddca48 AUX pbzip2-1.0.5-ldflags.patch 647 RMD160 a496b710dd484fbd70dd1cf96a39f2d6cef6b6a5 SHA1 98952607e07e6d6fe5d8f20f7d6e4bc79484a86e SHA256 2ec7717f9908360eede500d45cecf2cd819599b32aa858c883d3d705e839a698 DIST pbzip2-1.0.5.tar.gz 26997 RMD160 31b390b3023d8d5b64496b5bb43a11fc253a5b62 SHA1 a4ebe13d9168af17789ef0b49072c64e381d6c71 SHA256 415d8c8a69080b7e55a50784852971fca249cd9e5ec4ada8e617ca2696c9896d EBUILD pbzip2-1.0.5-r1.ebuild 1094 RMD160 b5dc2591936d7b355d5fde074fdc06efec9e7b3e SHA1 cff613f7936d4237041ec8b4e9b6b7fef51d00a5 SHA256 855f243691056857c479c241c38974ce1ab07448a701c8bc47dfeacc7bd4403d EBUILD pbzip2-1.0.5-r2.ebuild 1254 RMD160 e9d33d9458858e1328cc892f76ea02c432e79375 SHA1 2d47237eea4f7b406f97f9130ceda9d56d89735b SHA256 b06a60ba73b4bd2d88255568778952866e07b97bc17d778a37266392e6879670 -MISC ChangeLog 9802 RMD160 4ed66cba9978fbf48db8cc5fa625d91c4d11e05d SHA1 404c1d6e333f959cdc04126b858a05297f3b352a SHA256 a64a04bb5b4c13c4d069a97146ea092ec97db98ab71f0b05b9da4b6167a7a5d2 +EBUILD pbzip2-1.0.5-r3.ebuild 1316 RMD160 b4b68db159b03c45b2e5e9284ea8519e0015be7a SHA1 d16add02bd549915b7fba122edd5a24cf7765472 SHA256 c3af32a2f2940a82649ff46926cf053ee90c97578237ba017fbcdff2bfc65335 +MISC ChangeLog 10095 RMD160 e6f0c34b895345e8b9488df224d8ad4f2e9cb9ec SHA1 1bf6219fa1e9260193d4eee68ebaff84e0043ac4 SHA256 503aaca16aa2128a680aae1487d4e6e9fb5b43b69343dda1b54df2c16c6bac04 MISC metadata.xml 250 RMD160 08f8cb4c4b17b986418f11e803927228d83141c1 SHA1 90963367c7515b7ebd76f633f24371b11a6a7ce5 SHA256 66e248b5390ab7408117c8b0dad7faafc2f8513dbc9ccba42f3a68f4e7eeb713 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iQEcBAEBCgAGBQJLcb+KAAoJEAWF714uGAc6dIQH/30X0PAUEKNE/843HJxwjI0X +ayIX+hCU5KSM83k44n79uzfxtDY5oTpysig81KkCyfLHzvJDxvVGRQP6/tkUgcjs +kWEyMkgJJfJNc/zuXMY/LH3WyTJVGv5Np/oiDNDLKg2lyPB5AUNDs5juxYPwes3y +rLhS/BxCStNNnnn89+WepcL1GIM9vkhZo0tidxU/BVm3DgCR37u6xpyGdNyoEjJ4 +UnKEgzT2CmrZO4aTXu8Cc3O97qS3Hpyz11K1n3tjRw96zC2XAJykESFbELV4KEeB +8si6RviDxAVU0jr6CrqVYI3wL0tfGFvdJWOXnxmj6CPbL3HnIiw+AB9nP65D3kg= +=Wyzd +-----END PGP SIGNATURE----- diff --git a/app-arch/pbzip2/files/pbzip2-1.0.2-uclibc.patch b/app-arch/pbzip2/files/pbzip2-1.0.2-uclibc.patch deleted file mode 100644 index 4fe1f48bdac4..000000000000 --- a/app-arch/pbzip2/files/pbzip2-1.0.2-uclibc.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urp pbzip2-1.0.2/pbzip2.cpp pbzip2-1.0.2-uclibc/pbzip2.cpp ---- pbzip2-1.0.2/pbzip2.cpp 2007-07-27 12:41:47.000000000 -0400 -+++ pbzip2-1.0.2-uclibc/pbzip2.cpp 2008-11-14 22:26:24.000000000 -0500 -@@ -128,7 +128,7 @@ - //#define PBZIP_NO_LOADAVG - - // detect systems that are known not to support load average code --#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) -+#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) || defined(__UCLIBC__) - #define PBZIP_NO_LOADAVG - #endif - -@@ -1607,7 +1607,11 @@ void usage(char* progname) - { - banner(); - fprintf(stderr, "\nInvalid command line! Aborting...\n\n"); -+#if defined(PBZIP_NO_LOADAVG) -+ fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfkp#qrtV] <filename> <filename2> <filenameN>\n", progname); -+#else - fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfklp#qrtV] <filename> <filename2> <filenameN>\n", progname); -+#endif - fprintf(stderr, " -b# : where # is the file block size in 100k (default 9 = 900k)\n"); - fprintf(stderr, " -c : output to standard out (stdout)\n"); - fprintf(stderr, " -d : decompress file\n"); diff --git a/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch b/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch deleted file mode 100644 index 522dc54da1a4..000000000000 --- a/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- pbzip2-1.0.3/pbzip2.cpp.orig 2008-10-31 16:43:33.000000000 +0100 -+++ pbzip2-1.0.3/pbzip2.cpp 2008-11-17 08:31:25.000000000 +0100 -@@ -136,7 +136,7 @@ - //#define PBZIP_NO_LOADAVG - - // detect systems that are known not to support load average code --#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) -+#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) || defined(__UCLIBC__) - #define PBZIP_NO_LOADAVG - #endif - -@@ -1917,7 +1917,11 @@ - { - banner(); - fprintf(stderr, "\nInvalid command line: %s. Aborting...\n\n", reason); -+#ifndef PBZIP_NO_LOADAVG - fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfklp#qrtV] <filename> <filename2> <filenameN>\n", progname); -+#else -+ fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfkp#qrtV] <filename> <filename2> <filenameN>\n", progname); -+#endif - fprintf(stderr, " -b# : where # is the file block size in 100k (default 9 = 900k)\n"); - fprintf(stderr, " -c : output to standard out (stdout)\n"); - fprintf(stderr, " -d : decompress file\n"); diff --git a/app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch b/app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch new file mode 100644 index 000000000000..a8de8f5c4165 --- /dev/null +++ b/app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch @@ -0,0 +1,19 @@ +--- pbzip2-1.0.5-orig/pbzip2.cpp 2009-01-08 23:08:17.000000000 +0200 ++++ pbzip2-1.0.5/pbzip2.cpp 2010-01-29 20:09:22.031524677 +0200 +@@ -2254,7 +2254,7 @@ + FileList[FileListCount] = stdinFile; + FileListCount++; + } +- else if (OutputStdOut == 1) ++ else if ((decompress == 0) || (OutputStdOut == 1)) + { + #ifndef WIN32 + if (isatty(fileno(stdout))) +@@ -2269,6 +2269,7 @@ + // expecting data from stdin + FileList[FileListCount] = stdinFile; + FileListCount++; ++ OutputStdOut = keep = 1; + } + else if ((decompress == 1) && (argc == 2)) + { diff --git a/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild b/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild new file mode 100644 index 000000000000..02d4b5b34973 --- /dev/null +++ b/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild,v 1.1 2010/02/09 20:03:12 spatz Exp $ + +EAPI=2 + +inherit multilib eutils + +DESCRIPTION="parallel bzip2 (de)compressor using libbz2" +HOMEPAGE="http://compression.ca/pbzip2/" +SRC_URI="http://compression.ca/${PN}/${P}.tar.gz" + +LICENSE="PBZIP2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="static symlink" + +DEPEND="app-arch/bzip2" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e 's:^CFLAGS = .*$:#&:g' -e 's:g++:$(CXX):g' -i Makefile || die 'sed failed' + epatch "${FILESDIR}"/${P}-ldflags.patch + epatch "${FILESDIR}"/${P}-fix-stdout-optparse.patch +} + +src_compile() { + tc-export CXX + if use static ; then + cp -f /usr/$(get_libdir)/libbz2.a "${S}" + emake pbzip2-static || die "Failed to build" + else + emake pbzip2 || die "Failed to build" + fi +} + +src_install() { + dobin pbzip2 || die "Failed to install" + dodoc AUTHORS ChangeLog README + doman pbzip2.1 || die "Failed to install man page" + dosym /usr/bin/pbzip2 /usr/bin/pbunzip2 + + if use symlink; then + dosym /usr/bin/pbzip2 /usr/bin/bzip2 + dosym /usr/bin/pbzip2 /usr/bin/bunzip2 + dosym /usr/bin/pbzip2 /usr/bin/bzcat + fi +} |