summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2011-02-20 22:24:38 +0000
committerDror Levin <spatz@gentoo.org>2011-02-20 22:24:38 +0000
commit057be006c84292b834d573108a50996d9edbb1c0 (patch)
treed88bd0cb9eabb17ede347bbc69a43113ca697c14 /app-arch/pbzip2
parentarm stable, bug #353870 (diff)
downloadhistorical-057be006c84292b834d573108a50996d9edbb1c0.tar.gz
historical-057be006c84292b834d573108a50996d9edbb1c0.tar.bz2
historical-057be006c84292b834d573108a50996d9edbb1c0.zip
Version bump. Fixes bug 320313.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'app-arch/pbzip2')
-rw-r--r--app-arch/pbzip2/ChangeLog12
-rw-r--r--app-arch/pbzip2/Manifest24
-rw-r--r--app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch19
-rw-r--r--app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch16
-rw-r--r--app-arch/pbzip2/files/pbzip2-1.1.2-makefile.patch62
-rw-r--r--app-arch/pbzip2/pbzip2-1.0.5-r2.ebuild47
-rw-r--r--app-arch/pbzip2/pbzip2-1.1.2.ebuild (renamed from app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild)14
7 files changed, 96 insertions, 98 deletions
diff --git a/app-arch/pbzip2/ChangeLog b/app-arch/pbzip2/ChangeLog
index 9009f6618837..76e3ee3cbc03 100644
--- a/app-arch/pbzip2/ChangeLog
+++ b/app-arch/pbzip2/ChangeLog
@@ -1,6 +1,14 @@
# 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.93 2010/10/28 20:39:35 slyfox Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/ChangeLog,v 1.94 2011/02/20 22:24:38 spatz Exp $
+
+*pbzip2-1.1.2 (20 Feb 2011)
+
+ 20 Feb 2011; Dror Levin <spatz@gentoo.org> -pbzip2-1.0.5-r2.ebuild,
+ -pbzip2-1.0.5-r3.ebuild, -files/pbzip2-1.0.5-fix-stdout-optparse.patch,
+ -files/pbzip2-1.0.5-ldflags.patch, +pbzip2-1.1.2.ebuild,
+ +files/pbzip2-1.1.2-makefile.patch:
+ Version bump. Fixes bug 320313.
28 Oct 2010; Sergei Trofimovich <slyfox@gentoo.org> metadata.xml:
Added local 'symlink' use description. Discovered when explored bug
diff --git a/app-arch/pbzip2/Manifest b/app-arch/pbzip2/Manifest
index fbcc1ec90f17..b41a12485359 100644
--- a/app-arch/pbzip2/Manifest
+++ b/app-arch/pbzip2/Manifest
@@ -1,10 +1,22 @@
-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
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
AUX pbzip2-1.1.0-makefile.patch 1797 RMD160 0a81750a8a15b0fc4a3b6281fbb57b5be5983c44 SHA1 7039d02ca14395af74cfafd47990d357bd1a9d23 SHA256 30cb3094cbd2d32e34fbbf5db396697cf21bdbdc1e85376f6d5ad6e16be3f3a0
-DIST pbzip2-1.0.5.tar.gz 26997 RMD160 31b390b3023d8d5b64496b5bb43a11fc253a5b62 SHA1 a4ebe13d9168af17789ef0b49072c64e381d6c71 SHA256 415d8c8a69080b7e55a50784852971fca249cd9e5ec4ada8e617ca2696c9896d
+AUX pbzip2-1.1.2-makefile.patch 2008 RMD160 e8c9d6bee70546bcec7448f005d00b6d84f25a09 SHA1 9cd271d6d83f074d77a8e1af125190ba55c0b2a0 SHA256 2780b3ddc67ea73b191b4ca506648679cccc39107d03641fe1d8b06e79b1992e
DIST pbzip2-1.1.1.tar.gz 46953 RMD160 ad1755174cdaa7b172f1e0da674f93256d5acaf6 SHA1 605e2cc1596b540358d650bf3ab647ad9152f233 SHA256 f6fc18db5c217e5637c0afa8db81a1c755691f29c42ed2ee0bac7df5103668b4
-EBUILD pbzip2-1.0.5-r2.ebuild 1254 RMD160 96afe6637294dc1dd292b98e21c1821228dfe4c5 SHA1 41ff04d094aeadf3ea1dd47157e186b2f019ce46 SHA256 8ea132373ca25e56e1efd080337c657f1b5aeb93f6f7218661ab1f70860eb061
-EBUILD pbzip2-1.0.5-r3.ebuild 1316 RMD160 b4b68db159b03c45b2e5e9284ea8519e0015be7a SHA1 d16add02bd549915b7fba122edd5a24cf7765472 SHA256 c3af32a2f2940a82649ff46926cf053ee90c97578237ba017fbcdff2bfc65335
+DIST pbzip2-1.1.2.tar.gz 50578 RMD160 7a6518cd4bc7a974ad381336505e22ac9771b850 SHA1 14322cddb34ba093bcb93b8052e48e7bef35bc9a SHA256 e6565c2a020606d2bacd2c97873079a0996959944058d2df57cefde41ad43658
EBUILD pbzip2-1.1.1.ebuild 1182 RMD160 f6df19fdb01aca8271c14563c598a3cf4d5411d2 SHA1 0b21a2fdfb47c61214be2b0b2084ea8f7d59e993 SHA256 29a5e75604f325788138211c583b8a7b293abf61ac8608e4e9c1a0b5a0921d9b
-MISC ChangeLog 11530 RMD160 aa3d3934f7cc019b0b64ce5c39efef2a75f63237 SHA1 80df0fe3ced3c5ea83e2459a997e01a5b8f67813 SHA256 5a9fb4fa162e9058675a73593d0d78f6e79efef3c0acdc91dcbfc0a889b36578
+EBUILD pbzip2-1.1.2.ebuild 1185 RMD160 fd51b8b94b48edf74df7f4354059c8e0f6b914e3 SHA1 38be42aa3d98ae33a9e24263a7319ebeb9106561 SHA256 b3b5bdae55607b0dbd3a9bf55ebdfdad12a97ab2333ea2ac7802728f75dbec12
+MISC ChangeLog 11834 RMD160 ffe6b3308a7a197d27a9fd46732285403cc28068 SHA1 74d6c8326fddc0bbaf1d28b49fd82a290bf7c7b8 SHA256 7bbc3967842d2921cf542ce35bce917d30b02181be8d2d1777b2d8993509dfd0
MISC metadata.xml 368 RMD160 8935209d9c697a9312fcbc87a82b4ad9ee46a741 SHA1 f2988d3d361c0b5d096c6bf44ace87a775668fd5 SHA256 52b61e7c958e5bca86fc0d33219e84942f62bb80410b706bd8c82da949589ddd
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBCgAGBQJNYZSvAAoJEAWF714uGAc6eqEIAKCCBkXSNKLOBVnaP4VR9XnY
+HC6DUWhuNu2JwTtTgi147FEsEqLZL6U789VHYaoTYrJir9ChNFh1IWs/SBeXh+8w
+NufciGMKXEyCuWhMaRdOZs3FU/q0EkyFrCgXYV7hk/EflEXP/8nd4XAdgEvpGrVy
++OZkZqS9VGKuTunaBKWhYT2s8oZI3HQ+WN7XDWCyu4ou4qlLE5efZjhJ7iq3tFmr
+6OGDh7KxcHwQwI5kUnFtUSwFw3AGeWYLd+/88wb729OcE3qZrEjoOvqz9uLF4Upc
+1qSXGSGYgCaMws7GWqDAj1xe3g7RqDKEr8kbbuHEvubccyAgQNosZzGaPt3gPyk=
+=Tree
+-----END PGP SIGNATURE-----
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
deleted file mode 100644
index a8de8f5c4165..000000000000
--- a/app-arch/pbzip2/files/pbzip2-1.0.5-fix-stdout-optparse.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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/files/pbzip2-1.0.5-ldflags.patch b/app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch
deleted file mode 100644
index 3042b30ea275..000000000000
--- a/app-arch/pbzip2/files/pbzip2-1.0.5-ldflags.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- pbzip2-1.0.5/Makefile.orig 2009-03-20 20:52:48.000000000 +0100
-+++ pbzip2-1.0.5/Makefile 2009-03-20 20:54:30.000000000 +0100
-@@ -21,11 +21,11 @@
-
- # Standard pbzip2 compile
- pbzip2: pbzip2.cpp
-- $(CC) $(CFLAGS) $^ -o pbzip2 -pthread -lpthread -lbz2
-+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o pbzip2 -pthread -lpthread -lbz2
-
- # Choose this if you want to compile in a static version of the libbz2 library
- pbzip2-static: pbzip2.cpp libbz2.a
-- $(CC) $(CFLAGS) $^ -o pbzip2 -pthread -lpthread -I. -L. -lbz2
-+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o pbzip2 -pthread -lpthread -I. -L. -lbz2
-
- # Install the binary pbzip2 program and man page
- install: pbzip2
diff --git a/app-arch/pbzip2/files/pbzip2-1.1.2-makefile.patch b/app-arch/pbzip2/files/pbzip2-1.1.2-makefile.patch
new file mode 100644
index 000000000000..2457f0197be7
--- /dev/null
+++ b/app-arch/pbzip2/files/pbzip2-1.1.2-makefile.patch
@@ -0,0 +1,62 @@
+--- Makefile.orig 2011-02-21 00:17:16.334746748 +0200
++++ Makefile 2011-02-21 00:19:16.504881112 +0200
+@@ -2,8 +2,6 @@
+ SHELL = /bin/sh
+
+ # Compiler to use
+-CC = g++
+-CFLAGS = -O2
+ #CFLAGS += -g -Wall
+ #CFLAGS += -ansi
+ #CFLAGS += -pedantic
+@@ -12,7 +10,7 @@
+ # Comment out CFLAGS line below for compatability mode for 32bit file sizes
+ # (less than 2GB) and systems that have compilers that treat int as 64bit
+ # natively (ie: modern AIX)
+-CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
++CXXFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+
+ # Uncomment CFLAGS line below if you want to compile pbzip2 without load
+ # average support for systems that do not support it
+@@ -22,10 +20,10 @@
+ #CFLAGS += -DPBZIP_DEBUG
+
+ # Comment out CFLAGS line below to disable pthread semantics in code
+-CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
++CXXFLAGS += -D_POSIX_PTHREAD_SEMANTICS
+
+ # Comment out CFLAGS line below to disable Thread stack size customization
+-CFLAGS += -DUSE_STACKSIZE_CUSTOMIZATION
++CXXFLAGS += -DUSE_STACKSIZE_CUSTOMIZATION
+
+ # Comment out CFLAGS line below to explicity set ignore trailing garbage
+ # default behavior: 0 - disabled; 1 - enabled (ignore garbage by default)
+@@ -34,11 +32,11 @@
+ #CFLAGS += -DIGNORE_TRAILING_GARBAGE=1
+
+ # On some compilers -pthreads
+-CFLAGS += -pthread
++CXXFLAGS += -pthread
+
+ # External libraries
+-LDFLAGS = -lbz2
+-LDFLAGS += -lpthread
++LIBS = -lbz2
++LIBS += -lpthread
+
+ # Where you want pbzip2 installed when you do 'make install'
+ PREFIX = /usr
+@@ -47,11 +45,11 @@
+
+ # Standard pbzip2 compile
+ pbzip2: pbzip2.cpp BZ2StreamScanner.cpp
+- $(CC) $(CFLAGS) $^ -o pbzip2 $(LDFLAGS)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) -o pbzip2
+
+ # Choose this if you want to compile in a static version of the libbz2 library
+ pbzip2-static: pbzip2.cpp BZ2StreamScanner.cpp libbz2.a
+- $(CC) $(CFLAGS) $^ -o pbzip2 -I. -L. $(LDFLAGS)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(LIBS) -o pbzip2 -I. -L.
+
+ # Install the binary pbzip2 program and man page
+ install: pbzip2
diff --git a/app-arch/pbzip2/pbzip2-1.0.5-r2.ebuild b/app-arch/pbzip2/pbzip2-1.0.5-r2.ebuild
deleted file mode 100644
index f879d132fe52..000000000000
--- a/app-arch/pbzip2/pbzip2-1.0.5-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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-r2.ebuild,v 1.8 2010/04/06 07:30:44 hwoarang 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
-}
-
-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
-}
diff --git a/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild b/app-arch/pbzip2/pbzip2-1.1.2.ebuild
index 02d4b5b34973..ec0d236655c6 100644
--- a/app-arch/pbzip2/pbzip2-1.0.5-r3.ebuild
+++ b/app-arch/pbzip2/pbzip2-1.1.2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pbzip2/pbzip2-1.1.2.ebuild,v 1.1 2011/02/20 22:24:38 spatz Exp $
EAPI=2
inherit multilib eutils
-DESCRIPTION="parallel bzip2 (de)compressor using libbz2"
+DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
HOMEPAGE="http://compression.ca/pbzip2/"
SRC_URI="http://compression.ca/${PN}/${P}.tar.gz"
@@ -19,13 +19,11 @@ 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
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ tc-export CXX
}
src_compile() {
- tc-export CXX
if use static ; then
cp -f /usr/$(get_libdir)/libbz2.a "${S}"
emake pbzip2-static || die "Failed to build"
@@ -36,7 +34,7 @@ src_compile() {
src_install() {
dobin pbzip2 || die "Failed to install"
- dodoc AUTHORS ChangeLog README
+ dodoc AUTHORS ChangeLog README || die
doman pbzip2.1 || die "Failed to install man page"
dosym /usr/bin/pbzip2 /usr/bin/pbunzip2