Portage is a package management system used by Gentoo Linux
# ChangeLog for app-arch/bzip2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.68 2008/06/21 06:05:23 vapier Exp $
*bzip2-1.0.5-r1 (21 Jun 2008)
21 Jun 2008; Mike Frysinger
Only move "important" bzip2 binaries to / #226175 by Alexander Skwar.
21 Mar 2008; Mike Frysinger
-files/bzip2-1.0.3-shared-largefile-support.patch,
files/bzip2-1.0.4-makefile-CFLAGS.patch, bzip2-1.0.4.ebuild,
bzip2-1.0.4-r1.ebuild, bzip2-1.0.5.ebuild:
Merge shared-largefile-support.patch into makefile-CFLAGS.patch #214093 by
Gilles Espinasse.
19 Mar 2008; Markus Rothe
Stable on ppc64; bug #213820
19 Mar 2008; Steve Dibb
amd64 stable, bug 213820
18 Mar 2008; Raúl Porcel
alpha/ia64/x86 stable wrt security #213820
18 Mar 2008; Tobias Scherbaum
ppc stable, bug #213820
18 Mar 2008; Jeroen Roovers
Stable for HPPA and SPARC (bug #213820).
*bzip2-1.0.5 (18 Mar 2008)
18 Mar 2008; Mike Frysinger
Version bump #213820.
04 Feb 2008; Jeroen Roovers
Stable for HPPA too.
14 Jan 2008; Tobias Scherbaum
bzip2-1.0.4-r1.ebuild:
ppc. stable
01 Dec 2007; Markus Rothe
Stable on ppc64
18 Nov 2007; Christoph Mende
Stable on amd64
09 Nov 2007; Raúl Porcel
alpha/ia64/sparc/x86 stable
*bzip2-1.0.4-r1 (22 Sep 2007)
22 Sep 2007; Mike Frysinger
+files/bzip2-1.0.4-POSIX-shell.patch, +bzip2-1.0.4-r1.ebuild:
Fix bashisms in bzgrep so it works with a POSIX shell #193365.
18 Apr 2007; Alexander Færøy
Stable on MIPS; bug #170457
01 Apr 2007; Mike Frysinger
+files/bzip2-1.0.4-man-links.patch, bzip2-1.0.4.ebuild:
Add symlinks for man pages #172986 by Guido Imperiale.
17 Mar 2007; nixnut
Stable on ppc wrt bug 170457
15 Mar 2007; Markus Rothe
Stable on ppc64; bug #170457
14 Mar 2007; Simon Stelling
stable on amd64; bug 170457
12 Mar 2007; Bryan Østergaard
Stable on Alpha, bug 170457.
12 Mar 2007; Gustavo Zacarias
Stable on sparc wrt #170457
12 Mar 2007; Jeroen Roovers
Stable for HPPA (bug #170457).
11 Mar 2007; Raúl Porcel
x86 stable wrt bug 170457
*bzip2-1.0.4 (06 Jan 2007)
06 Jan 2007; Mike Frysinger
+files/bzip2-1.0.4-makefile-CFLAGS.patch, +files/bzip2-1.0.4-saneso.patch,
+bzip2-1.0.4.ebuild:
Version bump #160283 by armin76.
17 Oct 2006; Roy Marples
Added ~sparc-fbsd keyword.
01 Jul 2006; Joel Martin
Make install phase idempotent by moving files in .../bin instead of
directory itself.
28 Apr 2006; Joshua Kinard
Marked stable on mips.
30 Mar 2006; Diego Pettenò
Add ~x86-fbsd keyword.
20 Mar 2006; Torsten Veller
Stable on x86
20 Mar 2006; Gustavo Zacarias
Stable on sparc wrt #126891
20 Mar 2006; Diego Pettenò
Make also bzip2recover respect LDFLAGS.
20 Mar 2006; Fernando J. Pereda
Stable on alpha wrt bug #126891. Tested by Thomas Cort
20 Mar 2006; Markus Rothe
Stable on ppc64; bug #126891
20 Mar 2006; Luca Barbato
Marked ppc
20 Mar 2006; Luis Medinas
Stable on amd64. Bug #126891.
*bzip2-1.0.3-r6 (06 Feb 2006)
06 Feb 2006; Mike Frysinger
+files/bzip2-1.0.2-bzgrep.patch, +bzip2-1.0.3-r6.ebuild:
Grab patch from Fedora for CAN-2005-0758.
09 Sep 2005; Aron Griffis
Mark 1.0.3-r5 stable on alpha
03 Sep 2005; Markus Rothe
Stable on ppc64
21 Aug 2005; Aaron Walker
Stable on mips.
19 Aug 2005; Michael Hanselmann
Stable on ppc.
16 Aug 2005; Gustavo Zacarias
Stable on sparc
*bzip2-1.0.3-r5 (13 Jul 2005)
13 Jul 2005; Martin Schlemmer
+files/bzip2-1.0.3-shared-largefile-support.patch, +bzip2-1.0.3-r5.ebuild:
Fix shared build to also use large file support, bug #98802.
*bzip2-1.0.3-r4 (25 May 2005)
25 May 2005; Mike Frysinger
Fix the libbz2.so symlink #93867 and ldscript by psm.
*bzip2-1.0.3-r3 (19 May 2005)
19 May 2005; Mike Frysinger
+files/bzip2-1.0.2-chmod.patch, +bzip2-1.0.3-r3.ebuild:
Add patch from Redhat to fix CAN-2005-0953.
*bzip2-1.0.3-r2 (14 May 2005)
14 May 2005; Mike Frysinger
+bzip2-1.0.3-r2.ebuild:
Fix USE=static handling #92557 by Alexander Skwar.
*bzip2-1.0.3-r1 (13 May 2005)
13 May 2005; Mike Frysinger
Install the shared version of bzip into / along with libbz2.so.
*bzip2-1.0.3 (06 Apr 2005)
06 Apr 2005; Mike Frysinger
+files/bzip2-1.0.3-makefile-CFLAGS.patch, +files/bzip2-1.0.3-saneso.patch,
+bzip2-1.0.3.ebuild:
Version bump #88124 by Nicolai Lissner.
31 Mar 2005; Danny van Dyk
Fixed BUG #87280 (multilib-strict).
*bzip2-1.0.2-r5 (19 Feb 2005)
19 Feb 2005; Mike Frysinger
+files/bzip2-1.0.2-progress.patch, +bzip2-1.0.2-r5.ebuild:
Add progress patch from Mandrake #82192 by Adam.
11 Feb 2005; Mike Frysinger
+files/bzip2-1.0.2-saneso.patch, bzip2-1.0.2-r4.ebuild:
Stabilize and add patch from Fedora.
06 Feb 2005; Joshua Kinard
Marked stable on mips.
05 Feb 2005; Michael Hanselmann
Stable on ppc.
21 Jan 2005; Bryan Østergaard
Stable on alpha.
20 Jan 2005; Gustavo Zacarias
Stable on sparc
*bzip2-1.0.2-r4 (26 Dec 2004)
26 Dec 2004; Mike Frysinger
+files/1.0.2-NULL-ptr-check.patch, +files/1.0.2-makefile-CFLAGS.patch,
+bzip2-1.0.2-r4.ebuild:
Add a NULL-ptr check fix by Mihai Limbasan #75305.
14 Aug 2004; Travis Tilley
added CONF_LIBDIR support for installing libbz2 to lib64/lib32
05 Aug 2004;
added local USE flag cross because bzip2 will to run itself after it has
compiled itself which we can't do when we are cross compiling
26 Jun 2004; Seemant Kulleen
my mistake
26 Jun 2004; Seemant Kulleen
can not have virtual/libc at all yet actually
26 Jun 2004; Seemant Kulleen
virtual/glibc needs to be in DEPEND until virtual/libc _COMPLETELY_ obsoletes
it, which will only happen with time, and can not happen immediately
29 May 2004; Pieter Van den Abeele
Masked bzip2-1.0.2-r3.ebuild stable for ppc
06 Apr 2004; Jon Portnoy
libbz2.so.1 symlink, bug #46923.
*bzip2-1.0.2-r3 (28 Dec 2003)
25 Jan 2003; Mike Frysinger
Remove -fomit-frame-pointer if debug is in USE #39377 Ciaran McCreesh.
02 Jan 2003; Mike Frysinger
Change ${CC} ${CXX} to $(gcc-getCC) $(gcc-getCXX) from gcc.eclass #36987.
28 Dec 2003; Martin Schlemmer
Make sure bzcat and bunzip2 is installed as symlinks.
*bzip2-1.0.2-r2 (14 Nov 2003)
14 Nov 2003; Seemant Kulleen
moved from sys-apps to app-arch
21 Sep 2003; Mike Frysinger
Added static support #29266.
02 Mar 2003; Seemant Kulleen
changed the einstall back to make install, because it was causing sandbox
violations. Thanks to Jay Pfeifer in #-dev for the fix and rac00n in #gentoo for
finding it.
20 Feb 2003; Zach Welch
Added arm to keywords.
09 Feb 2003; Guy Martin
Added hppa to keywords.
06 Dec 2002; Rodney Rees
20 Oct 2002; Martin Schlemmer
Fix SRC_URI and HOMEPAGE, thanks to J. Scott Edwards
*bzip2-1.0.2-r2 (29 Jun 2002)
01 Mar 2003; Brandon Low
Various ebuild fixes, better errors, use of einstall, and make the package use
the proper CC and CXXs from the portage environment
07 Feb 2003; Brandon Low
Fix breakage when features=distcc is enabled. this seems to be
an issue with the way that make is parsing options such as
CC="distcc gcc" I'm not sure this fix actually does what it
should, but at least the package merges for now.
18 Jan 2003; Jan Seidel
Added mips to keywords
24 Sep 2002; Martin Schlemmer
Enable use of User specified compiler. Closes bug #8021.
28 Jul 2002; Martin Schlemmer
Also install /bin/bzcat with USE=build, as some apps need it, and it
gets pulled in prematurely with gcc3 profile.
14 Jul 2002; phoen][x
Added KEYWORDS, SLOT.
14 Jul 2002; phoen][x
Added KEYWORDS, SLOT.
29 Jun 2002; Daniel Robbins
uses user-defined CFLAGS, but keeps existing "-fomit-frame-pointer" and
"-fno-strength-reduce" options.
*bzip2-1.0.2-r1 (21 Mar 2002)
14 Jul 2002; phoen][x
Added KEYWORDS, SLOT.
21 Mar 2002; Seemant Kulleen
HTML documentation does not get gzipped any more. Thanks to
stefan@mdy.univie.ac.at for pointing this out.
*bzip2-1.0.2 (2 Feb 2002)
2 Feb 2002; M.Schlemmer
not to use the patches, as it makes things difficult between versions.
Updated.
*bzip2-1.0.1-r4 (1 Feb 2002)
14 Jul 2002; phoen][x
Added KEYWORDS, SLOT.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX bzip2-1.0.2-progress.patch 6141 RMD160 213842d0d7742dce4c1d938b79134b9e910bc8ec SHA1 90a0032645886b633c9b730d0a1abb88c88a9873 SHA256 a76f6d082a1a1fef2eff111177d7c7568e1d457fb2b98cde71bbbe6ea1c7c787
AUX bzip2-1.0.3-no-test.patch 161 RMD160 8611ae7d6fe578e7fd24585e158c10468caca2f1 SHA1 6a8a9495e71f291aaf5bd89b134e83ccd0b5e006 SHA256 806dcb0f9f46a2b0b3ef04212405708198a25e281617e27a44c565948c159a49
AUX bzip2-1.0.4-POSIX-shell.patch 672 RMD160 1863eb33a8fd89cb25d3a907e67e4e8c989bf88f SHA1 43ccd410482c2d51240afed34db59fee90344fa5 SHA256 34bc42c1d6c980e0970a517c9602b904efb2f676ec191e80fcbcd185ccb6b1fe
AUX bzip2-1.0.4-makefile-CFLAGS.patch 545 RMD160 0f17d8400091277a8f2cf700c62c3817da715c86 SHA1 23c23353869b5dedf6255b077d2a738d9e9e1e00 SHA256 1cf6a18c3a2c941825d5bf0096f17037c3bf8f4c74cfee6abe6b6459b07f0ec8
AUX bzip2-1.0.4-man-links.patch 413 RMD160 ce3b8ae5b5c87024c959b95ace2868930a4ebcac SHA1 9f34a13a9c0e8c3f4808bf053f73a5e73158aaff SHA256 1fc9d91f3f7bd3eecd86149b9c95b3162d9d7956f7de543aa8bc41cbcd04f88b
AUX bzip2-1.0.4-saneso.patch 439 RMD160 3ac613223c1cd57023cae7b60d236452be87161f SHA1 20dd82b41420b42f612b8a8c419df1463b353e69 SHA256 a3c343536f0292017d11f453f19f2afc4118de20b9200fcca83d1c641821b8e9
DIST bzip2-1.0.5.tar.gz 841402 RMD160 2b31a22138e3914d82a656fee28e2bf029cbc3d4 SHA1 8b02713ea0c8eb501cc8bdac4432d7f29700f767 SHA256 f7bf5368309d76e5daf3a89d4d1bea688dac7780742e7a0ae1af19be9316fe22
EBUILD bzip2-1.0.5-r1.ebuild 2239 RMD160 10297410a1faf044ed9861e0761e5df6c4123bdf SHA1 46ea37cbd4636f832c7caab1cf4ec81f2f7163e0 SHA256 5c217a4e2fad6855de4bf9b888ca8c2d3b55f1028db25b43c53c44b512c67ca0
EBUILD bzip2-1.0.5.ebuild 2311 RMD160 e441ef68203e41530b56ff6b50d631dd1a5608b3 SHA1 9daf3ba535e70c00dd74e4c9ba334ade3842cb77 SHA256 471e84b230174d43030630089957725f73894f8ab1cbf81c19daeeef6937db07
MISC ChangeLog 11575 RMD160 4594407401e127606ba3b29d5918a5f7d9a28d58 SHA1 b62307cc84b95d70bf06d47e30b01dd052bafc87 SHA256 d43d7b9f59e4c0f4872dcf8e80a7407b59d6b8562d3ffcdee80aaa3bf99d0a40
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhcmigACgkQ67wieSYcaxc1ngCgp9M8d12CWUwjFPvAdhV2gWN/
pN8An1JVaMbsMzYT8hgPKWLLiPS+FPvl
=hsH0
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.5-r1.ebuild,v 1.1 2008/06/21 06:05:23 vapier Exp $
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="static"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.4-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die "sed manpath"
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die "sed links"
# fixup broken version stuff
sed -i \
-e "s:1\.0\.4:${PV}:" \
bzip2.1 bzip2.txt Makefile-libbz2_so manual.{html,ps,xml} || die
}
src_compile() {
local makeopts="
CC=$(tc-getCC)
AR=$(tc-getAR)
RANLIB=$(tc-getRANLIB)
"
emake ${makeopts} -f Makefile-libbz2_so all || die "Make failed libbz2"
use static && append-flags -static
emake LDFLAGS="${LDFLAGS}" ${makeopts} all || die "Make failed"
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${D}"/usr/bin/b{zip2,zcat,unzip2} "${D}"/bin/ || die
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
into /
if ! use static ; then
newbin bzip2-shared bzip2 || die "dobin shared"
fi
dolib.so libbz2.so.${PV} || die "dolib shared"
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /$(get_libdir)/${v}
done
gen_usr_ldscript libbz2.so
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.5.ebuild,v 1.8 2008/03/24 12:06:36 vapier Exp $
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="http://www.bzip.org/"
SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="static"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.4-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.2-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die "sed manpath"
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die "sed links"
# fixup broken version stuff
sed -i \
-e "s:1\.0\.4:${PV}:" \
bzip2.1 bzip2.txt Makefile-libbz2_so manual.{html,ps,xml} || die
}
src_compile() {
local makeopts="
CC=$(tc-getCC)
AR=$(tc-getAR)
RANLIB=$(tc-getRANLIB)
"
emake ${makeopts} -f Makefile-libbz2_so all || die "Make failed libbz2"
use static && append-flags -static
emake LDFLAGS="${LDFLAGS}" ${makeopts} all || die "Make failed"
if ! tc-is-cross-compiler ; then
# bzip2 is a "core" package and the tests are quick ...
emake check || die "test failed"
fi
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# move bzip2 binaries to /bin and use the shared libbz2.so
mv "${D}"/usr/bin "${D}"/bin || die
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
into /
if ! use static ; then
newbin bzip2-shared bzip2 || die "dobin shared"
fi
dolib.so libbz2.so.${PV} || die "dolib shared"
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /$(get_libdir)/${v}
done
gen_usr_ldscript libbz2.so
}