Merge pull request #137 from marineam/tar

bump(app-arch/lbzip2): sync with upstream
This commit is contained in:
Michael Marineau 2014-09-15 18:26:25 -07:00
commit 115c4f945e
48 changed files with 3349 additions and 296 deletions

View File

@ -0,0 +1,521 @@
# ChangeLog for app-arch/bzip2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.124 2014/04/28 17:18:31 mgorny Exp $
28 Apr 2014; Michał Górny <mgorny@gentoo.org> bzip2-1.0.6-r6.ebuild,
bzip2-1.0.6-r7.ebuild:
Replace multilib_build_binaries with multilib_is_native_abi. The two are
equivalent now, and the team has decided to use the old name as being less
confusing.
31 Mar 2014; Mike Frysinger <vapier@gentoo.org> bzip2-1.0.6-r6.ebuild:
Mark ppc64 stable #504004.
26 Mar 2014; Markus Meier <maekke@gentoo.org> bzip2-1.0.6-r6.ebuild:
arm stable, bug #504004
24 Mar 2014; Agostino Sarubbo <ago@gentoo.org> bzip2-1.0.6-r6.ebuild:
Stable for ppc, wrt bug #504004
23 Mar 2014; Agostino Sarubbo <ago@gentoo.org> bzip2-1.0.6-r6.ebuild:
Stable for sparc, wrt bug #504004
20 Mar 2014; Mike Frysinger <vapier@gentoo.org> bzip2-1.0.6-r6.ebuild:
Mark arm64/m68k/s390/sh stable.
18 Mar 2014; Agostino Sarubbo <ago@gentoo.org> bzip2-1.0.6-r6.ebuild:
Stable for ia64, wrt bug #504004
*bzip2-1.0.6-r7 (18 Mar 2014)
18 Mar 2014; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r7.ebuild:
Link bzip2 against the shared lib #504648 by Nikoli.
14 Mar 2014; Johannes Huber <johu@gentoo.org> bzip2-1.0.6-r6.ebuild:
x86 stable, bug #504004
14 Mar 2014; Matt Turner <mattst88@gentoo.org> bzip2-1.0.6-r6.ebuild:
alpha stable, bug 504004.
14 Mar 2014; Chema Alonso <nimiux@gentoo.org> bzip2-1.0.6-r6.ebuild:
Stable for amd64 wrt bug #504004
10 Mar 2014; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.6-r6.ebuild:
Stable for HPPA (bug #504004).
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> bzip2-1.0.6-r3.ebuild,
bzip2-1.0.6-r4.ebuild, bzip2-1.0.6-r6.ebuild:
Add arm64 love.
*bzip2-1.0.6-r6 (16 Jan 2014)
16 Jan 2014; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r6.ebuild,
-bzip2-1.0.6-r5.ebuild:
Fix USE=static-libs to actually install the static lib #498188 by Dirk Best.
*bzip2-1.0.6-r5 (05 Jan 2014)
05 Jan 2014; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r5.ebuild,
+files/bzip2-1.0.6-out-of-tree-build.patch, bzip2-1.0.6-r4.ebuild:
Add minimal out-of-tree build support to speed up the build a bit.
05 Jan 2014; Mike Frysinger <vapier@gentoo.org> bzip2-1.0.6-r4.ebuild:
Only set -static in LDFLAGS for prog building #485690 by Greg Turner.
28 Jul 2013; Alexis Ballier <aballier@gentoo.org> bzip2-1.0.6-r4.ebuild:
Fix blocker on emul-libs
02 Jul 2013; Mike Frysinger <vapier@gentoo.org> bzip2-1.0.6-r4.ebuild,
files/bzip2-1.0.4-man-links.patch:
Move `ln` update to the patch rather than sed-ing it after the fact #475334 by
Yuta SATOH.
*bzip2-1.0.6-r4 (23 Jun 2013)
23 Jun 2013; Pacho Ramos <pacho@gentoo.org> +bzip2-1.0.6-r4.ebuild:
Add ebuild supporting native multilib (#457134, thanks to mgorny and vapier
for their help)
05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
Add upstream CPE tag (security info) from ChromiumOS.
17 May 2012; Mike Frysinger <vapier@gentoo.org>
+files/bzip2-1.0.6-mingw.patch, bzip2-1.0.6-r3.ebuild:
Make it build for mingw targets #393573 by jingtaozf.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> bzip2-1.0.6-r3.ebuild:
keyword ~amd64-fbsd
12 Feb 2012; Tony Vroon <chainsaw@gentoo.org> bzip2-1.0.6-r3.ebuild:
Marked stable on PPC64 as requested by Agostino "ago" Sarubbo in bug
#387333. Compiled & functionally tested on a PowerMac7,3 (64UL) with GCC
4.5.3.
17 Dec 2011; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.6-r3.ebuild:
ia64/m68k/s390/sh/sparc stable wrt #387333
02 Nov 2011; Matt Turner <mattst88@gentoo.org> bzip2-1.0.6-r3.ebuild:
Stable on Alpha, bug 387333.
29 Oct 2011; Markus Meier <maekke@gentoo.org> bzip2-1.0.6-r3.ebuild:
arm stable, bug #387333
23 Oct 2011; nixnut <nixnut@gentoo.org> bzip2-1.0.6-r3.ebuild:
ppc stable #387333
18 Oct 2011; Tony Vroon <chainsaw@gentoo.org> bzip2-1.0.6-r3.ebuild:
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
Elijah "Armagedon" El Lazkani in bug #387333.
18 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> bzip2-1.0.6-r3.ebuild:
x86 stable wrt bug #387333
17 Oct 2011; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.6-r3.ebuild:
Stable for HPPA (bug #387333).
29 Aug 2011; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.6-r2.ebuild:
Stable for HPPA (bug #377315).
28 Aug 2011; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.6-r2.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #377315
21 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> bzip2-1.0.6-r2.ebuild:
x86 stable wrt bug #377315
14 Aug 2011; Markos Chandras <hwoarang@gentoo.org> bzip2-1.0.6-r2.ebuild:
Stable on amd64 wrt bug #377315
13 Aug 2011; Markus Meier <maekke@gentoo.org> bzip2-1.0.6-r2.ebuild:
arm stable, bug #377315
13 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> bzip2-1.0.6-r2.ebuild:
ppc/ppc64 stable wrt #377315
*bzip2-1.0.6-r3 (12 Aug 2011)
12 Aug 2011; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r3.ebuild:
Add USE=static-libs support #378211 by Agostino Sarubbo.
*bzip2-1.0.6-r2 (16 May 2011)
16 May 2011; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r2.ebuild,
+files/bzip2-1.0.6-progress.patch:
Update progress patch by Justin Binns for LFS #365639 by Christopher Head.
09 Oct 2010; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.6.ebuild:
ia64/m68k/s390/sh/sparc stable wrt #338215
29 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> bzip2-1.0.6.ebuild:
ppc64 stable wrt #338215
26 Sep 2010; Tobias Klausmann <klausman@gentoo.org> bzip2-1.0.6.ebuild:
Stable on alpha, bug #338215
23 Sep 2010; Markus Meier <maekke@gentoo.org> bzip2-1.0.6.ebuild:
arm stable, bug #338215
*bzip2-1.0.6-r1 (23 Sep 2010)
23 Sep 2010; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6-r1.ebuild:
Restore libbz2.so.1.0 symlink and document why it is kept around #338321
by Nathan Caldwell.
22 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> bzip2-1.0.6.ebuild:
Stable on x86 per bug #338215. Thanks to Thomas Kahle for testing.
21 Sep 2010; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.6.ebuild:
Stable for HPPA (bug #338215).
21 Sep 2010; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.6.ebuild:
Stable for PPC (bug #338215).
21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> bzip2-1.0.6.ebuild:
Stable on amd64 wrt bug #338215
*bzip2-1.0.6 (20 Sep 2010)
20 Sep 2010; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.6.ebuild,
+files/bzip2-1.0.6-saneso.patch:
Version bump #338215 by Dirkjan Ochtman.
14 Aug 2010; Harald van Dijk <truedfx@gentoo.org> bzip2-1.0.5-r1.ebuild:
Fix quoting
22 Sep 2008; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.5-r1.ebuild:
Stable for HPPA (bug #238211).
21 Sep 2008; Brent Baude <ranger@gentoo.org> ChangeLog:
stable ppc, bug 238211
21 Sep 2008; Brent Baude <ranger@gentoo.org> bzip2-1.0.5-r1.ebuild:
stable ppc64, bug 238211
21 Sep 2008; nixnut <nixnut@gentoo.org> bzip2-1.0.5-r1.ebuild:
Stable on ppc wrt bug 238211
20 Sep 2008; Santiago M. Mola <coldwind@gentoo.org> bzip2-1.0.5-r1.ebuild:
amd64 stable
06 Aug 2008; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.5-r1.ebuild:
alpha/ia64/sparc/x86 stable
*bzip2-1.0.5-r1 (21 Jun 2008)
21 Jun 2008; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.5-r1.ebuild:
Only move "important" bzip2 binaries to / #226175 by Alexander Skwar.
21 Mar 2008; Mike Frysinger <vapier@gentoo.org>
-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 <corsair@gentoo.org> bzip2-1.0.5.ebuild:
Stable on ppc64; bug #213820
19 Mar 2008; Steve Dibb <beandog@gentoo.org> bzip2-1.0.5.ebuild:
amd64 stable, bug 213820
18 Mar 2008; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.5.ebuild:
alpha/ia64/x86 stable wrt security #213820
18 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> bzip2-1.0.5.ebuild:
ppc stable, bug #213820
18 Mar 2008; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.5.ebuild:
Stable for HPPA and SPARC (bug #213820).
*bzip2-1.0.5 (18 Mar 2008)
18 Mar 2008; Mike Frysinger <vapier@gentoo.org> +bzip2-1.0.5.ebuild:
Version bump #213820.
04 Feb 2008; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.4-r1.ebuild:
Stable for HPPA too.
14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
bzip2-1.0.4-r1.ebuild:
ppc. stable
01 Dec 2007; Markus Rothe <corsair@gentoo.org> bzip2-1.0.4-r1.ebuild:
Stable on ppc64
18 Nov 2007; Christoph Mende <angelos@gentoo.org> bzip2-1.0.4-r1.ebuild:
Stable on amd64
09 Nov 2007; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.4-r1.ebuild:
alpha/ia64/sparc/x86 stable
*bzip2-1.0.4-r1 (22 Sep 2007)
22 Sep 2007; Mike Frysinger <vapier@gentoo.org>
+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 <eroyf@gentoo.org> bzip2-1.0.4.ebuild:
Stable on MIPS; bug #170457
01 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+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 <nixnut@gentoo.org> bzip2-1.0.4.ebuild:
Stable on ppc wrt bug 170457
15 Mar 2007; Markus Rothe <corsair@gentoo.org> bzip2-1.0.4.ebuild:
Stable on ppc64; bug #170457
14 Mar 2007; Simon Stelling <blubb@gentoo.org> bzip2-1.0.4.ebuild:
stable on amd64; bug 170457
12 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> bzip2-1.0.4.ebuild:
Stable on Alpha, bug 170457.
12 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> bzip2-1.0.4.ebuild:
Stable on sparc wrt #170457
12 Mar 2007; Jeroen Roovers <jer@gentoo.org> bzip2-1.0.4.ebuild:
Stable for HPPA (bug #170457).
11 Mar 2007; Raúl Porcel <armin76@gentoo.org> bzip2-1.0.4.ebuild:
x86 stable wrt bug 170457
*bzip2-1.0.4 (06 Jan 2007)
06 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+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 <uberlord@gentoo.org> bzip2-1.0.3-r6.ebuild:
Added ~sparc-fbsd keyword.
01 Jul 2006; Joel Martin <kanaka@gentoo.org> bzip2-1.0.3-r6.ebuild:
Make install phase idempotent by moving files in .../bin instead of
directory itself.
28 Apr 2006; Joshua Kinard <kumba@gentoo.org> bzip2-1.0.3-r6.ebuild:
Marked stable on mips.
30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> bzip2-1.0.3-r6.ebuild:
Add ~x86-fbsd keyword.
20 Mar 2006; Torsten Veller <tove@gentoo.org> bzip2-1.0.3-r6.ebuild:
Stable on x86
20 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org> bzip2-1.0.3-r6.ebuild:
Stable on sparc wrt #126891
20 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> bzip2-1.0.3-r6.ebuild:
Make also bzip2recover respect LDFLAGS.
20 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> bzip2-1.0.3-r6.ebuild:
Stable on alpha wrt bug #126891. Tested by Thomas Cort <tcort@cs.ubishops.ca>
20 Mar 2006; Markus Rothe <corsair@gentoo.org> bzip2-1.0.3-r6.ebuild:
Stable on ppc64; bug #126891
20 Mar 2006; Luca Barbato <lu_zero@gentoo.org> bzip2-1.0.3-r6.ebuild:
Marked ppc
20 Mar 2006; Luis Medinas <metalgod@gentoo.org> bzip2-1.0.3-r6.ebuild:
Stable on amd64. Bug #126891.
*bzip2-1.0.3-r6 (06 Feb 2006)
06 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+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 <agriffis@gentoo.org> bzip2-1.0.3-r5.ebuild:
Mark 1.0.3-r5 stable on alpha
03 Sep 2005; Markus Rothe <corsair@gentoo.org> bzip2-1.0.3-r5.ebuild:
Stable on ppc64
21 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> bzip2-1.0.3-r5.ebuild:
Stable on mips.
19 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> bzip2-1.0.3-r5.ebuild:
Stable on ppc.
16 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> bzip2-1.0.3-r5.ebuild:
Stable on sparc
*bzip2-1.0.3-r5 (13 Jul 2005)
13 Jul 2005; Martin Schlemmer <azarah@gentoo.org>
+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 <vapier@gentoo.org> +bzip2-1.0.3-r4.ebuild:
Fix the libbz2.so symlink #93867 and ldscript by psm.
*bzip2-1.0.3-r3 (19 May 2005)
19 May 2005; Mike Frysinger <vapier@gentoo.org>
+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 <vapier@gentoo.org> -bzip2-1.0.3-r1.ebuild,
+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 <vapier@gentoo.org> +bzip2-1.0.3-r1.ebuild:
Install the shared version of bzip into / along with libbz2.so.
*bzip2-1.0.3 (06 Apr 2005)
06 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+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 <kugelfang@gentoo.org> bzip2-1.0.2-r5.ebuild:
Fixed BUG #87280 (multilib-strict).
*bzip2-1.0.2-r5 (19 Feb 2005)
19 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+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 <vapier@gentoo.org>
+files/bzip2-1.0.2-saneso.patch, bzip2-1.0.2-r4.ebuild:
Stabilize and add patch from Fedora.
06 Feb 2005; Joshua Kinard <kumba@gentoo.org> bzip2-1.0.2-r4.ebuild:
Marked stable on mips.
05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> bzip2-1.0.2-r4.ebuild:
Stable on ppc.
21 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> bzip2-1.0.2-r4.ebuild:
Stable on alpha.
20 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> bzip2-1.0.2-r4.ebuild:
Stable on sparc
*bzip2-1.0.2-r4 (26 Dec 2004)
26 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+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 <lv@gentoo.org> bzip2-1.0.2-r3.ebuild:
added CONF_LIBDIR support for installing libbz2 to lib64/lib32
05 Aug 2004; <solar@gentoo.org> bzip2-1.0.2-r3.ebuild:
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 <seemant@gentoo.org> bzip2-1.0.2-r3.ebuild:
my mistake
26 Jun 2004; Seemant Kulleen <seemant@gentoo.org> bzip2-1.0.2-r3.ebuild:
can not have virtual/libc at all yet actually
26 Jun 2004; Seemant Kulleen <seemant@gentoo.org> bzip2-1.0.2-r3.ebuild:
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 <pvdabeel@gentoo.org> :
Masked bzip2-1.0.2-r3.ebuild stable for ppc
06 Apr 2004; Jon Portnoy <avenj@gentoo.org> bzip2-1.0.2-r3.ebuild :
libbz2.so.1 symlink, bug #46923.
*bzip2-1.0.2-r3 (28 Dec 2003)
25 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
Remove -fomit-frame-pointer if debug is in USE #39377 Ciaran McCreesh.
02 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
Change ${CC} ${CXX} to $(gcc-getCC) $(gcc-getCXX) from gcc.eclass #36987.
28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> bzip2-1.0.2-r3.ebuild:
Make sure bzcat and bunzip2 is installed as symlinks.
*bzip2-1.0.2-r2 (14 Nov 2003)
14 Nov 2003; Seemant Kulleen <seemant@gentoo.org> bzip2-1.0.2-r2.ebuild:
moved from sys-apps to app-arch
21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
Added static support #29266.
02 Mar 2003; Seemant Kulleen <seemant@gentoo.org> bzip2-1.0.2-r2.ebuild :
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 <zwelch@gentoo.org> bzip2-1.0.2-r2.ebuild :
Added arm to keywords.
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> bzip2-1.0.2-r2.ebuild :
Added hppa to keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> bzip2-1.0.2-r2.ebuild :
Fix SRC_URI and HOMEPAGE, thanks to J. Scott Edwards <sedwards@xmission.com>.
*bzip2-1.0.2-r2 (29 Jun 2002)
01 Mar 2003; Brandon Low <lostlogic@gentoo.org> bzip2-1.0.2-r2.ebuild:
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 <lostlogic@gentoo.org> :
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 <tuxus@gentoo.org> :
Added mips to keywords
24 Sep 2002; Martin Schlemmer <azarah@gentoo.org> bzip2-1.0.2-r2.ebuild :
Enable use of User specified compiler. Closes bug #8021.
28 Jul 2002; Martin Schlemmer <azarah@gentoo.org> bzip2-1.0.2.ebuild :
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 <phoenix@gentoo.org> bzip2-1.0.2.ebuild :
Added KEYWORDS, SLOT.
14 Jul 2002; phoen][x <phoenix@gentoo.org> bzip2-1.0.2-r2.ebuild :
Added KEYWORDS, SLOT.
29 Jun 2002; Daniel Robbins <drobbins@gentoo.org> : new rev of bzip2 that
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 <phoenix@gentoo.org> bzip2-1.0.2-r1.ebuild :
Added KEYWORDS, SLOT.
21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> bzip2-1.0.2-r1.ebuild :
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 <azarah@gentoo.org> bzip2-1.0.2.ebuild : Redo ebuild
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 <phoenix@gentoo.org> bzip2-1.0.1-r4.ebuild :
Added KEYWORDS, SLOT.

View File

@ -1 +1,41 @@
DIST bzip2-1.0.6.tar.gz 782025 RMD160 cc31bbae95e8eec259cef7627eae0c667654a339 SHA1 3f89f861209ce81a6bab1fd1998c0ef311712002 SHA256 a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX bzip2-1.0.2-progress.patch 6141 SHA256 a76f6d082a1a1fef2eff111177d7c7568e1d457fb2b98cde71bbbe6ea1c7c787 SHA512 b6810c73428f17245e0d7c2decd00c88986cd8ad1cfe4982defe34bdab808d53870ed92cb513b2d00c15301747ceb6ca958fb0e0458d0663b7d8f7c524f7ba4e WHIRLPOOL 06d940b0c1e389ffd97477c3b0f36dd39e017fba9332fbc6df80987498e15bdce700d0a8b0962e1d88e3a321ed50551e5eb048721be9a3af5f00ffcd63d3d899
AUX bzip2-1.0.3-no-test.patch 161 SHA256 806dcb0f9f46a2b0b3ef04212405708198a25e281617e27a44c565948c159a49 SHA512 a07f04189bce8a53980f324769cc8eb79eed9e42cbed223b74f566802e61eacb45e677c122266689a654d4fc946cba4a2171c72be87f98e4996c6cde5cb0c462 WHIRLPOOL bf32302ea76029ca01c07e70024460ab8cde0c4db84ebad1b0fe66717f465f515b96c70fe67fb7d0f48233e3bd883f77dc83c489e8a0418c982ff416e66c1c11
AUX bzip2-1.0.4-POSIX-shell.patch 672 SHA256 34bc42c1d6c980e0970a517c9602b904efb2f676ec191e80fcbcd185ccb6b1fe SHA512 7fc5e34ac2fccb7e096bafa6dd934fb72375c17e0cfa3e0549648ecc82ec44521eb8f8ac3ce49a4064ee67fa9319da9e52db86a971443956f71d11c056289d19 WHIRLPOOL 42d9a3b0ac26fc59ee74fa5fb1b7f74a6c4cebab13100ed1165e6d8d40bddfc58425b0a3018f6e6216789fad498e25419199c020df24197a8ca5730ccb2d8e36
AUX bzip2-1.0.4-makefile-CFLAGS.patch 569 SHA256 853621ae207f0115210e06f738d4e79861110712823419707875116cb45b105e SHA512 5ad3ecad8b577737386f0e5fc6f9adfd72334598b6dc76755cab6e38611b048c5c6b97462cbca48237a95802e1e2ac0de34b03d579d737edda8eea3e6a31346e WHIRLPOOL f4906ca56ce15b6ea18fccbc745c18858458ac2ecf6d2f1cb57de710ce5888d567dfed1dc34048cf1909d3d9f66a7c3b356bec0ee02674924669e7d717e2e6e2
AUX bzip2-1.0.4-man-links.patch 422 SHA256 03e6ba8a87a8abcf6bb02c0e44186e4b20b8dc871ac2d4921cfc3c9ea616e971 SHA512 7c650620dc11522c4d8bd17a55da18ab3f8556cf83452459e86bceecf33a5de39b8e05e23eb11c4c8dffa79cc8d23d54741ccc8bc715dea2e108f5f3c8dde20c WHIRLPOOL 33a67aec4d7f668f401e920a9c97d9715535bbe774d0fb4b0baa12f023215081904995a22dc8eaa5708c7e1b736738164055c9e77d188650ad61fe99abcaf8d1
AUX bzip2-1.0.6-mingw.patch 556 SHA256 8da568f1d7daac4ac6b9d7946dd3b807e062b5a1710a2548029cc4f158e8d717 SHA512 e28442acc456c996eb6bc1866cd3814a9aea9c8a4ac2767a59bd03273ee95e34efdb4d00a17c64242a3395056b38c7083ec6f4c986e91d02f5348af1af2a35c8 WHIRLPOOL 66cbedef7eef3b4890a56dd0aad28529960c2e205fc7809ded96dd7ece17cdd3f18d92eeca25e009f2ca3689f9ad2d2bf81238562078d4147d87124107ac41af
AUX bzip2-1.0.6-out-of-tree-build.patch 2121 SHA256 2dd4db48de0a3b1a927725640ad4f56e90d68c33ea3cea9ff0dab7bdb8f7ccc1 SHA512 f4a85c8b9ba0fe0ffadcb058550bb948e84c51f4c213957ffeb1072258efb1caa957c496ce0a0fb4d4b5f7dfdf062995a819487b9475389cfb25583fa061143e WHIRLPOOL 18491f4d99ef866154379112d4c0b840bf6960a116cb03c338aa132cb5440f8cfec8a0933460794902e11b2c0cc13edd99aefc424d3d0f91e4b30d221230ff56
AUX bzip2-1.0.6-progress.patch 5756 SHA256 f93e6b50082a8e880ee8436c7ec6a65a8f01e9282436af77f95bb259b1c7f7f7 SHA512 c3f5959027346a471182fbcac72fe3b755d9327557ac31fd8d36746c643afd418f5a59bf434493109af4536b90e69220e985a25eb3ce7e3d05029583a9d0bcdc WHIRLPOOL 830dab52ec0efd50a0266863dec0180e40db7ef519cd5c02991bc12fb978bb5df5d0329ede896aff02fc2abbfa09c4380949c8f5eb48a9ccbb562675fa5d2003
AUX bzip2-1.0.6-saneso.patch 439 SHA256 8345a9fcfce28a459a12126748ac27480a384e80974c31d9fae752d818ea05d9 SHA512 4f5d499227e3381e87c43b4afa48b5cd1f796142805dee19bf7f9f3a8547ca5baaf0b1d1f42079a61b63e3c279650292cca119e7d177ad04425c93e23f1bbd88 WHIRLPOOL 35d83bd455116a1121c87675bf0ceda0e37ac48a76a1379d0455e39026b1445c3d90493923ee1c4c49f3cc388c8344b8a4379d6c44e01564d658ebd22c3a5a10
DIST bzip2-1.0.6.tar.gz 782025 SHA256 a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd SHA512 00ace5438cfa0c577e5f578d8a808613187eff5217c35164ffe044fbafdfec9e98f4192c02a7d67e01e5a5ccced630583ad1003c37697219b0f147343a3fdd12 WHIRLPOOL 8e92c24f77c3711f5103a26d6fefbe61fe49a7d1e46879d259d46347c606ca956b7228ab011aa88007db771f86a500d4954057c7f9c70bd8380ca6c9430bd81e
EBUILD bzip2-1.0.6-r1.ebuild 2183 SHA256 4d7615ffc4a8b3fa39d5626a7c2fa3d18ec9e34577a6983bf0c87039f1c2bbe3 SHA512 4533d46cdf546a870405ee19478aabaf17e97271275711abb562e224eede97b2f2b8b514195e53398ae6e4dae206effbf30e121e883e6597992c869c18744107 WHIRLPOOL 5271b12d3fc5474e02a98b487e1fbdeadbf319c0153325df2fcdf85730c9507f7bf09b2003af15f62d588d2ecf86af5d0b316f0b426c09fd98622ab93e8a5183
EBUILD bzip2-1.0.6-r2.ebuild 2155 SHA256 664d950904d6a048cb299fc6eb93f18cb820c6fa009b32394d72b255c627eb15 SHA512 5187182a3260c6e131d72a78c86beceab6cadedac9e2410a7e0ae1e1fd4596baefbf457b415c8c3ad964d3a7d141a20dcab4bc95be031d76e5764d2ac0e429b3 WHIRLPOOL 261c2b2fdebac16d41cf5b8deb5f6f0c31f9aa715fac0366b53b28932be5f614990c837bd55cd29333bce1de5567c4cbbc968365eef4829207adac2a62b70ace
EBUILD bzip2-1.0.6-r3.ebuild 2432 SHA256 bf618c1c0e7b8c990001df454ccb6fef913b444aba22b0e701ec24186cee5677 SHA512 a3f794bec32f4a1f2d960b46753c6ff2280ed396f862e17fd94cf4944af6f80a227a61427e2065a18ce3b8b003dd380caf96a51ca9bc9235c279e41465721863 WHIRLPOOL 93d27d6268f78acfcc5aa9feb4c614769cc6c8831287d35e70c71c4732f59546634fac37121fa69afe095685515957c72870f814f4dda6619ce04fe019e3b2a6
EBUILD bzip2-1.0.6-r4.ebuild 2585 SHA256 83bcff894cd5c1e93e75b05c3a893471bf237d014469f913c6571952f8359d17 SHA512 bbd13ff80f8088ab19bd1c04226a2e1b31e08799ed5cc5ceb2535e22467544c311936dc7e315efb74e938f5057c29ba895bfaa0916f2352a285979f4b8df567f WHIRLPOOL f9275d628719b632a58e1d32e17c51b0773f30144919da05217abfefc40ff2b1f05330b34ed0f27253bec4fefb80335d9f57da21f3352dd781035e355b493220
EBUILD bzip2-1.0.6-r6.ebuild 3134 SHA256 ed6aec3965eefc49fd4beac217b91b5e9bf846799c3fa0d04e1bb5187fe4e474 SHA512 90250bad678615d276c4442d8b78f71172ffeb834c93745ff323a852569a63f018816328277c0c3d5216cd5d6ae710e367f5b507c2f14e5cc87cc86307d2294b WHIRLPOOL 241f162ec72d4883be5ed560b69966275dc74ae7ee4dc742b9a827e7cdd6672f2aed45c620c901a34c80e67abe5f2b480b3090d6e6176a7e2a678d036e9bb367
EBUILD bzip2-1.0.6-r7.ebuild 3232 SHA256 7944fe0a4999549aec0d2a6d323bef775c2f0362a33c9865707b205c518842cf SHA512 6f5bdf3d389c9f0895ac089c6eca5be27daf2d301a2cb044ca6b587cd8ba260ca288b0ba9ca2f9c93951e9a08e5823d902bd9fd1727cf4683a9b094a90d0e3df WHIRLPOOL bf428bae931eef0b90708990b989e3aec79038d17db5121a34776fa3aff00d83beb3793ea5793a14385963f21d1eded7edcffddab33d6178d7d30c1668891c9e
EBUILD bzip2-1.0.6.ebuild 2045 SHA256 c8d2600e7a05cfe24a1c252ea0a44f66ea6239dc9f87ee8d2c1fd06e32e69196 SHA512 5c8a274078b798d74f66f41fb44691b80f5c077d2f68fd0416fa8d1ab2f4a1fa73d0a6e87c8b8851fb98cd235fd4c10cbc72ef29512b1b27b841e8ed3ab1d725 WHIRLPOOL 8e2215e34cae5792eb025490a9dad88b6458f127ed2dd2abd09e8c973ae5c07e618237b3ff4da1eedebf277f6826cc2e12f859be9ba67df92199aa57e827b04f
MISC ChangeLog 18677 SHA256 b21e44cabf4e85755a407d69b76a5887bb6634f4ff1597f93d7c6cf67c92f7d6 SHA512 c32fbab48cf636d137ada557532fd70d62fc907be097001f4d4e86bde2e765654bf3aae56d4fb97d6a8e98a1501abc58e665291666d655b926ff5ca4a09a6efc WHIRLPOOL 5a4e135b0a86975c193d7984869e7d7d5b57ffa56ed4895f7557541945b8b60cbec65ea1482b3bfc4f96727cc3b3dccf0b74f00c78244a74cdf2c43d550daf2d
MISC metadata.xml 241 SHA256 c9ef9f8a652ceb4655983472cec571c6762f53934447a83b38b311cf9e50254d SHA512 23ed7f7371d00caf97235d7a4f905286637cd286f9e8fc7c0413865dbab0772ff00dd9ecf65b5f199d694b42f032dc14ad9d3ac447cf1bb95124abf9203c0f1d WHIRLPOOL d687e040f4378e573d241a08b46ba7bd0f4c9d5ef4c9cf836a479102e5f8902e67244308747adf34b6bc605511244d37873b796f8089dc3e181a627302843d02
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQJ8BAEBCABmBQJTXo1rXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOSJ0P/ivz3iJEdS9R7Csbn1JlvNgw
lWB6QG+XKcMI1SDU1n89RhhpmDmzP4Qi0StJcEa1Cq6XnTrCll/V4rErHo9Iznvc
wxFM9i6HpLSbIF3ivk4k/yujbTIvSNfUFQwxb+7CWI1xNoYyIdk6UtVlRQpaqies
gEi7/PN0EFmJzIZ6lIOqkVsPtqn8kKPNCEnysHylS3Qaahgg/WCEJO/VLQxA6rqx
sK1ucM1zorCBBPYAzfnAdjMj9jeqGimID6350B0GwXt5TxQJUNEXExzn3bBv1NXZ
nctIYVAVTtgKH871C6aMCUs3R+/ATzKZbV+iG1Zrv+mWCBAGT5fPOfLR9LEk78d/
hLaLjYfJvEj9QgGYkXqR7AGwIpQEw0gVC1iY4LIGKo/R0TD2Vf3wq20+nyxXsTEH
vxuPr4u9bSgTSN1fM4gLATLaQzbiD+CqRQDG0AGYEakX1n7+zf3FFGh+jHOMTa/q
xS5IarFODtDvOsznu3l6gNEYOy1eSONHUY6Zt72Cc8Yyi1ErwQzxxiOUGBSf+SsY
AZLwdayE/VXkz6XNjyuUYYaDw/1WV99ob9/+bskVyPypBHC9AHH1wpDUgJ+h8Svi
pYy6KdGmYTmVLYmTY4mY219gkkV+cfceEQQE2Kz6objm7bLMuyTbimkstoqz9G0h
tSQBxEPRYLsTOUunVB1F
=NCn6
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,73 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r1.ebuild,v 1.1 2010/09/23 09:19:49 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 ~x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-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
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV} || die
local s
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} || die
done
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# 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 || die
dosym bzip2 /bin/bunzip2 || die
}

View File

@ -0,0 +1,73 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r2.ebuild,v 1.7 2011/08/29 06:25:24 jer Exp $
EAPI="2"
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 x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV} || die
local s
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} || die
done
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# 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 || die
dosym bzip2 /bin/bunzip2 || die
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r3.ebuild,v 1.8 2011/12/17 17:55:09 armin76 Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r3.ebuild,v 1.12 2014/01/18 01:43:22 vapier Exp $
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly # XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ... # (since we're building shared libs) ...
@ -15,7 +15,7 @@ SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz"
LICENSE="BZIP2" LICENSE="BZIP2"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs" IUSE="static static-libs"
src_prepare() { src_prepare() {
@ -25,6 +25,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
# - Use right man path # - Use right man path
# - Generate symlinks instead of hardlinks # - Generate symlinks instead of hardlinks

View File

@ -0,0 +1,87 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r4.ebuild,v 1.5 2014/01/18 01:43:22 vapier Exp $
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ...
EAPI=4
inherit eutils toolchain-funcs multilib multilib-minimal
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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs"
RDEPEND="abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20130224
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
multilib_copy_sources
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@"
}
multilib_src_compile() {
bemake -f Makefile-libbz2_so all
bemake all LDFLAGS="${LDFLAGS} $(usex static -static '')"
}
multilib_src_install() {
emake PREFIX="${ED}"/usr LIBDIR=$(get_libdir) install
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV}
local v
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
done
gen_usr_ldscript -a bz2
use static || newbin bzip2-shared bzip2
}
multilib_src_install_all() {
dodoc README* CHANGES bzip2.txt manual.*
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dodir /bin
mv "${ED}"/usr/bin/b{zip2,zcat,unzip2} "${ED}"/bin/ || die
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
use static-libs || find "${ED}"/usr -name libbz2.a -delete
}

View File

@ -0,0 +1,113 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r6.ebuild,v 1.13 2014/04/28 17:18:31 mgorny Exp $
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ...
EAPI=4
inherit eutils toolchain-funcs multilib multilib-minimal
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 arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs"
RDEPEND="abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20130224
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
epatch "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
VPATH="${S}" \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@"
}
multilib_src_compile() {
bemake -f "${S}"/Makefile-libbz2_so all
bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')"
}
multilib_src_install() {
into /usr
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV}
local v
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
done
use static-libs && dolib.a libbz2.a
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2
dobin bzip2recover
into /
dobin bzip2
fi
}
multilib_src_install_all() {
# `make install` doesn't cope with out-of-tree builds, nor with
# installing just non-binaries, so handle things ourselves.
insinto /usr/include
doins bzlib.h
into /usr
dobin bz{diff,grep,more}
doman *.1
dosym bzdiff /usr/bin/bzcmp
dosym bzdiff.1 /usr/share/man/man1/bzcmp.1
dosym bzmore /usr/bin/bzless
dosym bzmore.1 /usr/share/man/man1/bzless.1
local x
for x in bunzip2 bzcat bzip2recover ; do
dosym bzip2.1 /usr/share/man/man1/${x}.1
done
for x in bz{e,f}grep ; do
dosym bzgrep /usr/bin/${x}
dosym bzgrep.1 /usr/share/man/man1/${x}.1
done
dodoc README* CHANGES manual.pdf
dohtml manual.html
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
}

View File

@ -0,0 +1,115 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r7.ebuild,v 1.2 2014/04/28 17:18:31 mgorny Exp $
# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly
# (since we're building shared libs) ...
EAPI=4
inherit eutils toolchain-funcs multilib multilib-minimal
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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs"
RDEPEND="abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20130224
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch
epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986
epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch
epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch
epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365
epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573
epatch "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
VPATH="${S}" \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@"
}
multilib_src_compile() {
bemake -f "${S}"/Makefile-libbz2_so all
# Make sure we link against the shared lib #504648
ln -sf libbz2.so.${PV} libbz2.so
bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')"
}
multilib_src_install() {
into /usr
# Install the shared lib manually. We install:
# .x.x.x - standard shared lib behavior
# .x.x - SONAME some distros use #338321
# .x - SONAME Gentoo uses
dolib.so libbz2.so.${PV}
local v
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
done
use static-libs && dolib.a libbz2.a
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2
dobin bzip2recover
into /
dobin bzip2
fi
}
multilib_src_install_all() {
# `make install` doesn't cope with out-of-tree builds, nor with
# installing just non-binaries, so handle things ourselves.
insinto /usr/include
doins bzlib.h
into /usr
dobin bz{diff,grep,more}
doman *.1
dosym bzdiff /usr/bin/bzcmp
dosym bzdiff.1 /usr/share/man/man1/bzcmp.1
dosym bzmore /usr/bin/bzless
dosym bzmore.1 /usr/share/man/man1/bzless.1
local x
for x in bunzip2 bzcat bzip2recover ; do
dosym bzip2.1 /usr/share/man/man1/${x}.1
done
for x in bz{e,f}grep ; do
dosym bzgrep /usr/bin/${x}
dosym bzgrep.1 /usr/share/man/man1/${x}.1
done
dodoc README* CHANGES manual.pdf
dohtml manual.html
# move "important" bzip2 binaries to /bin and use the shared libbz2.so
dosym bzip2 /bin/bzcat
dosym bzip2 /bin/bunzip2
}

View File

@ -0,0 +1,68 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6.ebuild,v 1.9 2010/10/09 16:29:58 armin76 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 x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.0.6-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
# - Use right man path
# - Generate symlinks instead of hardlinks
# - pass custom variables to control libdir
sed -i \
-e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \
-e 's:ln -s -f $(PREFIX)/bin/:ln -s :' \
-e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \
Makefile || die
}
bemake() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)" \
"$@" || die
}
src_compile() {
bemake -f Makefile-libbz2_so all || die
use static && append-flags -static
bemake all || die
}
src_install() {
emake PREFIX="${D}"/usr LIBDIR=$(get_libdir) install || die
dodoc README* CHANGES bzip2.txt manual.*
# Install the shared lib manually
dolib.so libbz2.so.${PV} || die
dosym libbz2.so.${PV} /usr/$(get_libdir)/libbz2.so || die
dosym libbz2.so.${PV} /usr/$(get_libdir)/libbz2.so.${PV%%.*} || die
gen_usr_ldscript -a bz2
if ! use static ; then
newbin bzip2-shared bzip2 || die
fi
# 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 || die
dosym bzip2 /bin/bunzip2 || die
}

View File

@ -0,0 +1,175 @@
Ripped from Mandrake.
http://bugs.gentoo.org/show_bug.cgi?id=82192
--- bzip2-1.0.2.org/bzip2.1
+++ bzip2-1.0.2/bzip2.1
@@ -235,6 +235,10 @@
Suppress non-essential warning messages. Messages pertaining to
I/O errors and other critical events will not be suppressed.
.TP
+.B \-p --show-progress
+Show percentage of input-file done and while compressing show the percentage
+of the original file the new file is.
+.TP
.B \-v --verbose
Verbose mode -- show the compression ratio for each file processed.
Further \-v's increase the verbosity level, spewing out lots of
--- bzip2-1.0.2.org/bzip2.c
+++ bzip2-1.0.2/bzip2.c
@@ -145,6 +145,7 @@
#include <signal.h>
#include <math.h>
#include <errno.h>
+#include <time.h>
#include <ctype.h>
#include "bzlib.h"
@@ -301,6 +302,7 @@
Char progNameReally[FILE_NAME_LEN];
FILE *outputHandleJustInCase;
Int32 workFactor;
+Char showProgress;
static void panic ( Char* ) NORETURN;
static void ioError ( void ) NORETURN;
@@ -425,6 +427,12 @@
UInt32 nbytes_in_lo32, nbytes_in_hi32;
UInt32 nbytes_out_lo32, nbytes_out_hi32;
Int32 bzerr, bzerr_dummy, ret;
+ double fileSize = 0; /* initialized to make the compiler stop crying */
+ /* double because big files might otherwhise give
+ * overflows. not long long since not all compilers
+ * support that one
+ */
+ time_t startTime, currentTime;
SET_BINARY_MODE(stream);
SET_BINARY_MODE(zStream);
@@ -432,12 +440,21 @@
if (ferror(stream)) goto errhandler_io;
if (ferror(zStream)) goto errhandler_io;
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ (void)fseek(stream, 0, SEEK_END);
+ fileSize = (double)ftell(stream);
+ rewind(stream);
+ if (verbosity >= 1)
+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize);
+ }
+
bzf = BZ2_bzWriteOpen ( &bzerr, zStream,
blockSize100k, verbosity, workFactor );
if (bzerr != BZ_OK) goto errhandler;
if (verbosity >= 2) fprintf ( stderr, "\n" );
+ time(&startTime);
while (True) {
if (myfeof(stream)) break;
@@ -446,13 +463,32 @@
if (nIbuf > 0) BZ2_bzWrite ( &bzerr, bzf, (void*)ibuf, nIbuf );
if (bzerr != BZ_OK) goto errhandler;
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True)
+ {
+ time(&currentTime);
+
+ if ((currentTime - startTime) > 1) { /* show progress every 2 seconds */
+ double curInPos = (double)ftell(stream);
+ double curOutPos = (double)ftell(zStream);
+
+ startTime = currentTime;
+
+ fprintf(stderr, "%.2f%% done", (curInPos * 100.0) / fileSize);
+ if (srcMode == SM_F2F)
+ {
+ fprintf(stderr, ", new size: %.2f%%", (curOutPos * 100.0) / curInPos);
+ }
+
+ fprintf(stderr, " \r");
+ }
+ }
}
BZ2_bzWriteClose64 ( &bzerr, bzf, 0,
&nbytes_in_lo32, &nbytes_in_hi32,
&nbytes_out_lo32, &nbytes_out_hi32 );
if (bzerr != BZ_OK) goto errhandler;
-
+
if (ferror(zStream)) goto errhandler_io;
ret = fflush ( zStream );
if (ret == EOF) goto errhandler_io;
@@ -526,6 +562,8 @@
UChar unused[BZ_MAX_UNUSED];
Int32 nUnused;
UChar* unusedTmp;
+ double fileSize = 0; /* initialized to make the compiler stop crying */
+ time_t startTime, currentTime;
nUnused = 0;
streamNo = 0;
@@ -533,9 +571,19 @@
SET_BINARY_MODE(stream);
SET_BINARY_MODE(zStream);
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ long dummy = ftell(zStream);
+ (void)fseek(zStream, 0, SEEK_END);
+ fileSize = (double)ftell(zStream);
+ (void)fseek(zStream, dummy, SEEK_SET);
+ if (verbosity >= 1)
+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize);
+ }
+
if (ferror(stream)) goto errhandler_io;
if (ferror(zStream)) goto errhandler_io;
+ time(&startTime);
while (True) {
bzf = BZ2_bzReadOpen (
@@ -551,6 +599,17 @@
if ((bzerr == BZ_OK || bzerr == BZ_STREAM_END) && nread > 0)
fwrite ( obuf, sizeof(UChar), nread, stream );
if (ferror(stream)) goto errhandler_io;
+
+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) {
+ time(&currentTime);
+ if ((currentTime - startTime) >= 2)
+ {
+ double curInPos = (double)ftell(zStream);
+ startTime = currentTime;
+
+ fprintf(stderr, "%.2f%% done\r", (curInPos * 100.0) / fileSize);
+ }
+ }
}
if (bzerr != BZ_STREAM_END) goto errhandler;
@@ -1872,6 +1931,7 @@
deleteOutputOnInterrupt = False;
exitValue = 0;
i = j = 0; /* avoid bogus warning from egcs-1.1.X */
+ showProgress = False;
/*-- Set up signal handlers for mem access errors --*/
signal (SIGSEGV, mySIGSEGVorSIGBUScatcher);
@@ -1949,6 +2009,7 @@
case 'k': keepInputFiles = True; break;
case 's': smallMode = True; break;
case 'q': noisy = False; break;
+ case 'p': showProgress = True; break;
case '1': blockSize100k = 1; break;
case '2': blockSize100k = 2; break;
case '3': blockSize100k = 3; break;
@@ -1985,6 +2046,7 @@
if (ISFLAG("--keep")) keepInputFiles = True; else
if (ISFLAG("--small")) smallMode = True; else
if (ISFLAG("--quiet")) noisy = False; else
+ if (ISFLAG("--show-progress")) showProgress = True; else
if (ISFLAG("--version")) license(); else
if (ISFLAG("--license")) license(); else
if (ISFLAG("--exponential")) workFactor = 1; else

View File

@ -5,8 +5,8 @@ http://bugs.gentoo.org/172986
@@ -85,4 +85,7 @@ @@ -85,4 +85,7 @@
cp -f bzip2.1 $(PREFIX)/share/man/man1 cp -f bzip2.1 $(PREFIX)/share/man/man1
chmod a+r $(PREFIX)/share/man/man1/bzip2.1 chmod a+r $(PREFIX)/share/man/man1/bzip2.1
+ ln -s bzip2.1 $(PREFIX)/share/man/man1/bunzip2.1 + ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bunzip2.1
+ ln -s bzip2.1 $(PREFIX)/share/man/man1/bzcat.1 + ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bzcat.1
+ ln -s bzip2.1 $(PREFIX)/share/man/man1/bzip2recover.1 + ln -s -f bzip2.1 $(PREFIX)/share/man/man1/bzip2recover.1
cp -f bzlib.h $(PREFIX)/include cp -f bzlib.h $(PREFIX)/include
chmod a+r $(PREFIX)/include/bzlib.h chmod a+r $(PREFIX)/include/bzlib.h

View File

@ -0,0 +1,27 @@
make it build for mingw targets
https://bugs.gentoo.org/393573
--- a/bzip2.c
+++ b/bzip2.c
@@ -129,7 +129,7 @@
#if BZ_LCCWIN32
# include <io.h>
# include <fcntl.h>
-# include <sys\stat.h>
+# include <sys/stat.h>
# define NORETURN /**/
# define PATH_SEP '\\'
--- a/bzlib.h
+++ b/bzlib.h
@@ -81,6 +81,9 @@ typedef
/* windows.h define small to char */
# undef small
# endif
+# ifndef WINAPI
+# define WINAPI
+# endif
# ifdef BZ_EXPORT
# define BZ_API(func) WINAPI func
# define BZ_EXTERN extern

View File

@ -0,0 +1,79 @@
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,6 @@ libbz2.a: $(OBJS)
check: test
test: bzip2
- @cat words1
./bzip2 -1 < sample1.ref > sample1.rb2
./bzip2 -2 < sample2.ref > sample2.rb2
./bzip2 -3 < sample3.ref > sample3.rb2
@@ -66,7 +65,6 @@ test: bzip2
cmp sample1.tst sample1.ref
cmp sample2.tst sample2.ref
cmp sample3.tst sample3.ref
- @cat words3
install: bzip2 bzip2recover
if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
@@ -115,25 +113,8 @@ clean:
sample1.rb2 sample2.rb2 sample3.rb2 \
sample1.tst sample2.tst sample3.tst
-blocksort.o: blocksort.c
- @cat words0
- $(CC) $(CFLAGS) -c blocksort.c
-huffman.o: huffman.c
- $(CC) $(CFLAGS) -c huffman.c
-crctable.o: crctable.c
- $(CC) $(CFLAGS) -c crctable.c
-randtable.o: randtable.c
- $(CC) $(CFLAGS) -c randtable.c
-compress.o: compress.c
- $(CC) $(CFLAGS) -c compress.c
-decompress.o: decompress.c
- $(CC) $(CFLAGS) -c decompress.c
-bzlib.o: bzlib.c
- $(CC) $(CFLAGS) -c bzlib.c
-bzip2.o: bzip2.c
- $(CC) $(CFLAGS) -c bzip2.c
-bzip2recover.o: bzip2recover.c
- $(CC) $(CFLAGS) -c bzip2recover.c
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<
distclean: clean
--- a/Makefile-libbz2_so
+++ b/Makefile-libbz2_so
@@ -36,9 +36,7 @@ OBJS= blocksort.o \
all: $(OBJS)
$(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 $(OBJS)
- $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
- rm -f libbz2.so.1.0
- ln -s libbz2.so.1.0.6 libbz2.so.1.0
+ ln -sf libbz2.so.1.0.6 libbz2.so.1.0
clean:
rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared
@@ -43,17 +43,5 @@ all: $(OBJS)
clean:
rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared
-blocksort.o: blocksort.c
- $(CC) $(CFLAGS) -c blocksort.c
-huffman.o: huffman.c
- $(CC) $(CFLAGS) -c huffman.c
-crctable.o: crctable.c
- $(CC) $(CFLAGS) -c crctable.c
-randtable.o: randtable.c
- $(CC) $(CFLAGS) -c randtable.c
-compress.o: compress.c
- $(CC) $(CFLAGS) -c compress.c
-decompress.o: decompress.c
- $(CC) $(CFLAGS) -c decompress.c
-bzlib.o: bzlib.c
- $(CC) $(CFLAGS) -c bzlib.c
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<upstream>
<remote-id type="cpe">cpe:/a:bzip:bzip2</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,6 +1,68 @@
# ChangeLog for app-arch/lbzip2 # ChangeLog for app-arch/lbzip2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.52 2013/06/02 08:37:27 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.69 2014/05/05 19:13:37 jlec Exp $
*lbzip2-2.5 (05 May 2014)
05 May 2014; Justin Lecher <jlec@gentoo.org> +lbzip2-2.5.ebuild:
Version Bump, #509436
27 Jan 2014; Justin Lecher <jlec@gentoo.org> -lbzip2-2.2-r1.ebuild,
-lbzip2-2.3.ebuild, -files/lbzip2-2.2-assertion.patch,
-files/lbzip2-2.2-s_isreg.patch:
Drop old
26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for sparc, wrt bug #495322
19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for ppc64, wrt bug #495322
18 Jan 2014; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for alpha, wrt bug #495322
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> lbzip2-2.3-r1.ebuild:
Add arm64 love.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> lbzip2-2.3-r1.ebuild:
Mark m68k/s390/sh stable.
15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for ia64, wrt bug #495322
14 Jan 2014; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for ppc, wrt bug #495322
09 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> lbzip2-2.3-r1.ebuild:
amd64 stable (bug #495322).
09 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> lbzip2-2.3-r1.ebuild:
x86 stable (bug #495322).
29 Dec 2013; Markus Meier <maekke@gentoo.org> lbzip2-2.3-r1.ebuild:
arm stable, bug #495322
25 Dec 2013; Jeroen Roovers <jer@gentoo.org> lbzip2-2.3-r1.ebuild:
Stable for HPPA (bug #495322).
25 Dec 2013; Justin Lecher <jlec@gentoo.org> lbzip2-2.3-r1.ebuild:
Resort some lines
*lbzip2-2.3-r1 (10 Nov 2013)
10 Nov 2013; Justin Lecher <jlec@gentoo.org> +lbzip2-2.3-r1.ebuild:
Also install bunzip2 symlink
10 Oct 2013; Justin Lecher <jlec@gentoo.org> -lbzip2-2.2.ebuild:
Drop old
*lbzip2-2.3 (23 Sep 2013)
23 Sep 2013; Justin Lecher <jlec@gentoo.org> +lbzip2-2.3.ebuild,
-files/0.23-Makefile.patch, +files/lbzip2-2.3-s_isreg.patch,
-files/0.23-s_isreg.patch, -files/0.23-test.sh.patch,
-files/2.1-crc-missmatch.patch:
Version Bump; clean old patches
02 Jun 2013; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.2-r1.ebuild: 02 Jun 2013; Agostino Sarubbo <ago@gentoo.org> lbzip2-2.2-r1.ebuild:
Stable for sh, wrt bug #457218 Stable for sh, wrt bug #457218

View File

@ -1,31 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512 Hash: SHA512
AUX 0.23-Makefile.patch 1389 SHA256 1fa306143aa8030381d561c29022bab2775877b7e5dcd3aa63476205ae3c375a SHA512 2cd8d561fc2a5351f8fba57cd6e99a866692b14db9bac4195bcbee4f0dde1f442c8c2ad5f813f690ef62f72c069219ff2755fd8d61a22ea17ab45044d52ac262 WHIRLPOOL 909779dbebb24b162a4cd8e7daa40e3c14d41f302a5e18ec20e65c74923c8cb71edfaab5dce31b831f55ed07114944b5b2f10a3404d1cf4fd8919b9d664a748d AUX lbzip2-2.3-s_isreg.patch 500 SHA256 10b815ddb705e8d12a50694174b1c1020a3ac64203ea8c253e6b2a0f0cfe71e0 SHA512 3158763b364e8ba41b0fea03529c6e4a0c6f3d17e7d0ce796fc9a6f6bc7e70fa7db759dc205026818619e137fb6343cf21534014b64dbf07c1cdb3bc1059cc04 WHIRLPOOL 94129a224b1b68d0de839aa8d98ba1ccedef41291b4848368c5e2da49af4d0415bda5be594a788c1b19620d791bba8b33549102ce2332e1ab20ca0dea1ec70a2
AUX 0.23-s_isreg.patch 350 SHA256 38c1c133faf8c30440164fad7c1539df555cee606934a3e75ed6a149eeb5d1d6 SHA512 ff0bf55710ec4a9a464515dfd49daee8ab3b4f0ffe4461ada19b8ba8056c10bfc05ee736204906c026ed075345d9f0f5f2d179b09edec189b2b37f99489f7b32 WHIRLPOOL d119c6f291ca149f9114a59eb4ba717cf41856973cf83746374df0aac9cc120a6ee6545f3b4b1a9a3a5e0b4f14316be18df268fef5353212c1b01be2de58abce DIST lbzip2-2.3.tar.gz 630226 SHA256 d3110a2b9e19da277dec899f7a3f435cc130a518f6a43094ec4e31ca15f93eaa SHA512 4f694445cc90377bf8dac5046b952ff174db571f390c2d7b0aa001f73c76f3d3f048ff8e7297c2055ed1f7b210174496dc31d6628e1cbeff63146a36a442ad4c WHIRLPOOL 781c9e07eccb633eeb713a9e4f821e0a75102e182d6a6ea4dfba7e33aa96afbfd92fdd5d0e9818ec4c41cf86733fe0396bb42071aad7a47c5e4cdd6426812527
AUX 0.23-test.sh.patch 648 SHA256 e37454a09697a49574068ad5c89d2047a9f4f5d9df32aacd3b01584f2b0477a1 SHA512 2fe226cb030d444d9a0866487596ed039b4e66af39762f1bc93625c1e93a7336697fa01311c3f0d0eee4a528ae513d18f197534d85539f3185dd8e58e1819dc7 WHIRLPOOL d06585234803278d593499af1e439b89f5dbe721d299018eb78f2b947db98bc882580b958b59a1abf1ef59b08abf9ec521b57fd32b99640d74e6d9c0787aa591 DIST lbzip2-2.5.tar.gz 651399 SHA256 46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9 SHA512 76e96cfa75b3ed515b2f891349dffc1403daab2dd0a2a614fa0c811cec6ca25faa395da08ad68a9b6ba4069332c4571f70fb7424f06ef3d800c3082c08d7d3d7 WHIRLPOOL b64e70239d89782499cd59731130258d0432dbd69f84d1bed2adb7f573f706ab635a80bd2e2331231f4aad0c92b51151a0c45f192f4fcea9579fb1eef2fa8708
AUX 2.1-crc-missmatch.patch 552 SHA256 3263d1b9452ac65a01a6127e1078ba6cc3ba040c8001e764af2f06d323d13c89 SHA512 b5113b0fe23adc17811b6e7812ca6e671d978c6765519729998077d6aed000f1fd22241b06ab4330534a6813b5b9f5d7aec62ed007957a34d39a39d5041f5b77 WHIRLPOOL d71c7954c2b24528359f05fd7917de75b0aa0cf872b8a38384e95a588d3ab19e7c3bac8492a9a37bdb5ae497d6a3cd7621b0dd698bd94102b363c5a25f81b669 EBUILD lbzip2-2.3-r1.ebuild 915 SHA256 a46cd599f2da23d04715c232ae2a6679b14f7c100aafcd95f73e9f8bee9c697e SHA512 9d3007bac71c66d16c0326bdf345e9a29c126f6bd8205a65f96d79b5705bf6a442cc6073474100724a4219a9341530647249eeab532817925943cbde16cd0b70 WHIRLPOOL 68c0ad8188765116e55cf10dc05166983f6dd4f4bb628e2b70b4c169a818a70cb5cff12ce94750a1411e8e1749c2a9c1e7115dd0a274694a177221752150c972
AUX lbzip2-2.2-assertion.patch 3445 SHA256 b8604cc0a184fdd3efed02746623d1c29827381e2c659dcc7aab1fa3b6b8f59f SHA512 fa5b6572ffff30650b4917679e178741220f2fea0f6e62e7935839572f92c5f5c2455edc429c790b1d905445a295a541fca23378b5c24296e1a676414692360d WHIRLPOOL 7de49a15e1524e81f776d5e86cadda4a29c793d89d9259c740ca8aeb406099bb0b5f1de8cbd29b81be06911894102dc0244d8b6818c9ddf2d8a063797dd9bdc6 EBUILD lbzip2-2.5.ebuild 930 SHA256 bcd4c6a1c8d9dd622e06d7e69ccb4333300603e97aa337464cc22a5513e8122e SHA512 493141fb4ed00b5a9a6cef4e248c5823c74f100df8892b70dda5bb6a219b5d310863aa8ed01da969018ab6da802131755d909b7398f67c0c83421cd71300f61c WHIRLPOOL 679b4bfb513b69d8fcd931cb41de7d129f81b52252ebfde618ad036c2cc84b35d32f9b0a631c0b4adc88a8200e18d4d28a35cb4e142eb76b57a0680a834545ad
AUX lbzip2-2.2-s_isreg.patch 456 SHA256 d3564db329d05fde2866a113066e21478ef8c504c3765ac934afbe3e31df00c3 SHA512 5c5c221befa34b50b1cd299608fea4d0871ede7c53a297fe05504ac34b3088378f1734d9e7a1c1649ede44894481786b0c417d38852963606b127090c97b33bb WHIRLPOOL 6a5c6f6d566f8dd4880047fe0f2c49626b07174785715c3cd06e736117133dc23d67020d8cba6b4dd66a013f60ac8da0582af64c08629e2010a29938404219d0 MISC ChangeLog 9136 SHA256 aa578c59e4e695c5af680a28b6c57d7b4e329ab923ac6e0d6ac060338f0c21be SHA512 038c01d5c1dd859d3e2f117598daa8e0e05ab77c2fbf5f37f94644c73910bc79e49e195ef33e8ec39eef53fbe837e5aff349eb8b62f630fde89ded33f840bedc WHIRLPOOL f93268df9f41be1f3c139afb9ec504a3cdab2292802e29157da1696a57ee82cb7fd6b17124cf847ffe80dc676e34581ef048a6cc427e49a55acf5774af4776d6
DIST lbzip2-2.2.tar.gz 622154 SHA256 b905f763a5859670e36b15d016fb6bb73d6718905fc0e2a9fa1dbc11f30b0d80 SHA512 9b194eee262e44d4665d97307f73f20075c301c2a8fbc0f989805359645387bb3ad0a6b7507edc5463a017eaf7002ee177e9fc00cf808c02c7a9c16e7b58b918 WHIRLPOOL 241c6cf473171be56b94efdc152eecb15482977ed47cb46ed47dad641bca9f73d7ec52f13947677aa619387707d5d17f7fa3421f9bc83fc28ced9e7c49b607d1
EBUILD lbzip2-2.2-r1.ebuild 902 SHA256 afa4f1d4729f4e77026565397d2d4f252f294cb29495dcae15e4b0e4b41e0561 SHA512 7370254b4c8030b6907071362f1aebc0bae46665ca5d9c8c854cae5c2510b727c9d428d0e0ff237e9f41c503c102cc92393ea47060f94583db29b2880e49d0b0 WHIRLPOOL d35d923c686cd465a9bf1ed44f487f7cc7ba5cba9cc0af04c2c2bd5c12feabc631b9c8df0df6b15fb0074230d772798f848a4bf53e9efdb5318ae5337a1f8c54
EBUILD lbzip2-2.2.ebuild 860 SHA256 eb15019cae723c280bc30742ae1d2cf177861971301245d720bab14c70890a3e SHA512 0ba223c40b6f82d09b77a4813dc749e6a997a91ba8e9f662966704389ae7b69d4cf61b9d8c5dfcd7500560c84387b1839087c158016abf1c00d81302cd156a79 WHIRLPOOL 5fe79226012e8d32ba84aa75709bd688c0dffc8547cf643a8418aa217c323b609ed6609fbc80d9cc8791818ad735bd2443bcc7ad5e32f6ab33773b66fa6a35c3
MISC ChangeLog 7118 SHA256 c36923995d9a3b3e04ac807939432e6b0c44b1bfbfec970ca970add4081e61ef SHA512 da51a1276e91e99569b8ad9632c93a60335e61d212f7ed73a12af27730dd15bbe5c2a60f7171d49e9da70f91bdbee74e061e06fc929a44b4acd4347a61389ecf WHIRLPOOL 743745c8e589777a52f893980529d9cd377339782b0d5effee112e3840b52e612e4143b16eb83c793794c3888e01a8b7c11cb66c3014d2db20449285db2c0c07
MISC metadata.xml 517 SHA256 c2248b7afbad927ad1278839f066700d7feb2d0f92d5e39066225a3f391a7127 SHA512 8f3de06520fa4f8f1ff273897be36c870b128c561dc776ef27f34fb4eb15172f0d77b7e004b5d9861f23250e1b23b08b36bc2286fee48875c3ec3e1e0cf79bb2 WHIRLPOOL e5a1c3c4a463146d8d4437ba5b34481ffb4b729f4df52247d6682ed5c02475487be782dbaba4677cc4eac51a734e525f85e0ee1d8b4488a9bc58110b441344f3 MISC metadata.xml 517 SHA256 c2248b7afbad927ad1278839f066700d7feb2d0f92d5e39066225a3f391a7127 SHA512 8f3de06520fa4f8f1ff273897be36c870b128c561dc776ef27f34fb4eb15172f0d77b7e004b5d9861f23250e1b23b08b36bc2286fee48875c3ec3e1e0cf79bb2 WHIRLPOOL e5a1c3c4a463146d8d4437ba5b34481ffb4b729f4df52247d6682ed5c02475487be782dbaba4677cc4eac51a734e525f85e0ee1d8b4488a9bc58110b441344f3
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux) Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCgAGBQJRqwOdAAoJELp701BxlEWfcY0P/0N9DvMaTzqBAIUDfTPeUhIu iQJ8BAEBCgBmBQJTZ+MdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
pqH+DUvtOtNPq+qT1H7ZCZd93Rt8bLqhjdNAJhyMJ/JMCCjQ5dYA+nQhpf1aQ/qr ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
xWtP8k3sngcCLNVQXM5pW9oVFEs34nxn4PsnuJ8gEvCsWYWDyKo7y4FmwwpJHHPs OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVir2tcP/iV0OVmur8HfYUC8KP/Ew4In
I7UG3DWMTrLc+O6TaSRsNEd5k/SW/4DterpMO6yt+fQup3fryIgVeXeRn6PTGMz8 Dzuz018vS+HMJItzOwdtNPuwlnPXOYXAsVhhbHTmcBKaFxqR7gJs/OcqnTtFLh2j
16sTDpJp7Q4l/i1ioSLuiIDhgfX7wHM7a7S35L2Y0tFAtRnejzW0n3aYi+lAsMkn FoBBe8YnHZqxt8QE3ovWdqWLlSVimHOofH+zU/8wY1oZlWxrSFVxS33l4TzgNIEY
N6wjWx19gTaY85Um8GA7KVZ4RMa4OIo/P+U0Unsf3lBk5bJpi4bTxx83jzZWoTA3 QT4NGNeqlRnWLI0bsxdpL6703A5ddHDRGISejcRYwelxBhuFCGhBrm0BqZxA/fuK
3Uh8s53MH8yogi6z/XYTUY+mlEfQEKGuZq3QhDh2Jf7TfdWUIcK3yfxxooFft0uC WdDQYev8YAj+1jkl/McreU6XiB6fszsqFi9E1a7f9m3+1q7Co3WLmvap1ChuN+l6
XcmUnYNtY2QoMreZirXfJ82+nPC572SPHAMeGgsKjXC2mhOeWdDvmvukLqwEpP5A 7ejY9rXvN5z+DikgUbSypjX/DYoORTK43FVNeu7ghid3YoZiPh5VMPvKP1UbY3qS
+jM5yt+Q5Iarphq0tWYU/DcKZy9Q33AR3fJQ7NfL8oTdhXBgq2c8WO2J2650HZCN zn5SRsUwVXc+gwZhN/UAacuuMvY+EPvonpXvZ63ojjBVaNA3IZi0joxhtjTAuNRS
q+k0Tae5Gt1A1zfPDn9+YF/EJ0x8L7dKWnsksOtZ7gUdgWe+5bnh3xarWp718PqU 2g84NaqK3QLMKfsqE7+ZkeUdT5mdMrkZB9uxXxXk3zCfpXaV4QOIVUrU8YJjjwd3
tZu5JknSJc0Rc78i4/vas6FG5YaLAt8489v2p7FQutrr6oyF0aMXAI++WGVM+s9R GDZGCu0BkB+leiy9IYFyPYZVr+oI0N2o1YwCgzZDl0JMjHBgWkrJbJAAUA54w1YB
p4XmJ2of6ZtBOgpjvotU UFfjLxv7WcjT4C6XSod09aE4ayjfyAOrOUEqLzMHdvv2P8IP9DUTHcr+rjtx4KMF
=sUt5 JxpjXnLYWil7+mrtsOUlDR+aAe/LKlfHvAb36SzA1OF7xMaxSr70WbhaRjLPU6bo
1lULEbR3mnw3rDFQ0kCi
=sLzJ
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -1,44 +0,0 @@
--- Makefile 2009-04-04 00:33:49.000000000 +0200
+++ Makefile.new 2009-04-15 21:12:02.886390550 +0200
@@ -1,34 +1,26 @@
# Makefile,v 1.9 2009-04-03 22:33:49 lacos Exp
.POSIX:
-CC=gcc
-CFLAGS=$$($(SHELL) lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi -pedantic \
- -O2
-
-
-
-
-LDFLAGS=-s $$($(SHELL) lfs.sh LDFLAGS)
-LIBS=-l pthread -l bz2 $$($(SHELL) lfs.sh LIBS)
+LIBS=-lpthread -lbz2
lbzip2: main.o lbzip2.o lbunzip2.o lbunzip2_single.o lacos_rbtree.o
- $(CC) -o lbzip2 $(LDFLAGS) main.o lbzip2.o lbunzip2.o \
+ $(CC) $(CPPFLAGS) $(LDFLAGS) -o lbzip2 main.o lbzip2.o lbunzip2.o \
lbunzip2_single.o lacos_rbtree.o $(LIBS)
main.o: main.c main.h lbunzip2_single.h lbunzip2.h lbzip2.h
- $(CC) $(CFLAGS) -c main.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c main.c
lbzip2.o: lbzip2.c main.h lbzip2.h lacos_rbtree.h
- $(CC) $(CFLAGS) -c lbzip2.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c lbzip2.c
lbunzip2.o: lbunzip2.c main.h lbunzip2.h lacos_rbtree.h
- $(CC) $(CFLAGS) -c lbunzip2.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c lbunzip2.c
lbunzip2_single.o: lbunzip2_single.c main.h lbunzip2_single.h
- $(CC) $(CFLAGS) -c lbunzip2_single.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c lbunzip2_single.c
lacos_rbtree.o: lacos_rbtree.c lacos_rbtree.h
- $(CC) $(CFLAGS) -c lacos_rbtree.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c lacos_rbtree.c
clean:
rm -f lbzip2 main.o lbzip2.o lbunzip2.o lbunzip2_single.o \

View File

@ -1,11 +0,0 @@
--- main.c.orig 2010-03-03 02:12:45.000000000 +0100
+++ main.c 2010-03-15 10:20:19.562892780 +0100
@@ -1252,7 +1252,7 @@
return -1;
}
- if (!S_ISREG(sbuf->st_mode)) {
+ if (!decompress && !S_ISREG(sbuf->st_mode)) {
log_warning("%s: skipping \"%s\": not a regular file\n", pname,
operand->val);
return -1;

View File

@ -1,19 +0,0 @@
Only in lbzip2: .lfs.sh.swp
diff -u lbzip2.orig//test.sh lbzip2/test.sh
--- lbzip2.orig//test.sh 2009-11-26 22:38:44.000000000 -0500
+++ lbzip2/test.sh 2011-08-14 19:28:31.746454047 -0400
@@ -99,12 +99,8 @@
}
EOT
- T_CFLAGS="$(set CFLAGS; set +e; . "$OLDPWD"/lfs.sh)"
- T_LDFLAGS="$(set LDFLAGS; set +e; . "$OLDPWD"/lfs.sh)"
- T_LIBS="$(set LIBS; set +e; . "$OLDPWD"/lfs.sh)"
-
- $C_CC1 $T_CFLAGS -D _XOPEN_SOURCE=500 $C_CC2 -o scratch/nullfmt -s \
- $T_LDFLAGS scratch/nullfmt.c $T_LIBS
+ $C_CC1 $CFLAGS $C_CC2 -o scratch/nullfmt -s \
+ $LDFLAGS scratch/nullfmt.c $LIBS
C_NULLFMT="$(scratch/nullfmt)"
fi
readonly C_NULLFMT

View File

@ -1,13 +0,0 @@
diff --git a/src/lbunzip2.c b/src/lbunzip2.c
index 113be47..5d8a456 100644
--- a/src/lbunzip2.c
+++ b/src/lbunzip2.c
@@ -604,7 +604,7 @@ work_decompr(struct w2w_blk *w2w_blk, struct w2m_q *w2m_q,
w2m_blk->id.decompr_blk_id = decompr_blk_id++;
w2m_blk->id.last_decompr = (YB_OK == ybret);
w2m_blk->produced = sizeof w2m_blk->decompr - oleft;
- w2m_blk->bs100k = w2w_blk->bs100k;
+ w2m_blk->bs100k = (YB_OK == ybret) ? w2w_blk->bs100k : 0u;
w2m_blk->crc = w2w_blk->crc;
w2m_blk->crc1 = crc;
w2m_blk->bs100k1 = bs100k;

View File

@ -1,107 +0,0 @@
From 57eeee36927f8a40ece1ca06c674e0bd56d0f21f Mon Sep 17 00:00:00 2001
Message-Id: <57eeee36927f8a40ece1ca06c674e0bd56d0f21f.1358019732.git.jlec@gentoo.org>
From: Mikolaj Izdebski <zurgunt@gmail.com>
Date: Sat, 20 Oct 2012 18:37:17 +0200
Subject: [PATCH] Fix assertion failure, closes #8
src/encode.c (generate_initial_trees): Rewrite from scratch.
---
src/encode.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 48 insertions(+), 13 deletions(-)
diff --git a/src/encode.c b/src/encode.c
index 09cfacc..00a78dc 100644
--- a/src/encode.c
+++ b/src/encode.c
@@ -763,40 +763,75 @@ assign_codes(uint32_t C[], uint32_t L[], uint8_t B[], uint32_t n)
/* Create initial mapping of symbols to trees.
- The goal is to divide all as symbols [0,as) into nt equivalence classes
+ The goal is to divide all as symbols [0,as) into nt equivalence classes (EC)
[0,nt) such that standard deviation of symbol frequencies in classes is
minimal. We use a kind of a heuristic to achieve that. There might exist a
better way to achieve that, but this one seems to be good (and fast) enough.
If the symbol v belongs to the equivalence class t then set s->length[t][v]
to zero. Otherwise set it to 1.
-
- TODO: This piece of code really needs some R&D...
*/
static void
generate_initial_trees(struct encoder_state *s, unsigned nm, unsigned nt)
{
- unsigned a, b, c, t;
-
- /* Equivalence classes are empty. */
+ unsigned a, b; /* range [a,b) of symbols forming current EC */
+ unsigned freq; /* symbol frequency */
+ unsigned cum; /* cumulative frequency */
+ unsigned as; /* effective alphabet size (alphabet size minus number
+ of symbols with frequency equal to zero) */
+ unsigned t; /* current tree */
+
+ /* Equivalence classes are initially empty. */
memset(s->length, 1, sizeof(s->length));
+ /* Determine effective alphabet size. */
+ as = 0;
+ for (a = 0, cum = 0; cum < nm; a++) {
+ freq = s->lookup[0][a];
+ cum += freq;
+ as += min(freq, 1);
+ }
+ assert(cum == nm);
+
+ /* Bound number of EC by number of symbols. Each EC is non-empty, so number
+ of symbol EC must be <= number of symbols. */
+ nt = min(nt, as);
+
/* For each equivalence class: */
- for (a = 0, t = 0; t < nt; t++) {
+ a = 0;
+ for (t = 0; nt > 0; t++, nt--) {
+ assert(nm > 0);
+ assert(as >= nt);
+
/* Find a range of symbols which total count is roughly proportional to one
nt-th of all values. */
- for (c = 0, b = a; c * (nt-t) < nm; b++)
- c += s->lookup[0][b];
- assert(a < b);
- if (a < b-1 && (2*c - s->lookup[0][b-1]) * (nt-t) > 2*nm) {
- c -= s->lookup[0][--b];
+ freq = s->lookup[0][a];
+ cum = freq;
+ as -= min(freq, 1);
+ b = a+1;
+ while (as > nt-1 && cum * nt < nm) {
+ freq = s->lookup[0][b];
+ cum += freq;
+ as -= min(freq, 1);
+ b++;
}
- nm -= c;
+ if (cum > freq && (2*cum - freq) * nt > 2*nm) {
+ cum -= freq;
+ as += min(freq, 1);
+ b--;
+ }
+ assert(a < b);
+ assert(cum > 0);
+ assert(cum <= nm);
+ assert(as >= nt-1);
+ Trace(("Tree %u: EC=[%3u,%3u), |EC|=%3u, cum=%6u", t, a, b, b-a, cum));
/* Now [a,b) is our range -- assign it to equivalence class t. */
bzero(&s->length[t][a], b - a);
a = b;
+ nm -= cum;
}
+ assert(as == 0);
assert(nm == 0);
}
--
1.8.1

View File

@ -9,8 +9,8 @@ index f030fd5..5f8290e 100644
return -1; return -1;
} }
- if (!S_ISREG(sbuf->st_mode)) { - if (OM_REGF == outmode && !S_ISREG(sbuf->st_mode)) {
+ if (!decompress && !S_ISREG(sbuf->st_mode)) { + if (!decompress && OM_REGF == outmode && !S_ISREG(sbuf->st_mode)) {
warn("skipping \"%s\": not a regular file", operand->val); warn("skipping \"%s\": not a regular file", operand->val);
return -1; return -1;
} }

View File

@ -1,38 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.2-r1.ebuild,v 1.12 2013/06/02 08:37:27 ago Exp $
EAPI=4
inherit autotools-utils
DESCRIPTION="Parallel bzip2 utility"
HOMEPAGE="https://github.com/kjn/lbzip2/"
SRC_URI="mirror://github/kjn/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="debug symlink"
PATCHES=(
"${FILESDIR}"/${P}-s_isreg.patch
"${FILESDIR}"/${P}-assertion.patch
)
RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )"
DEPEND=""
src_configure() {
local myeconfargs=(
--disable-silent-rules
$(use_enable debug tracing)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
use symlink && dosym ${PN} /usr/bin/bzip2
}

View File

@ -1,25 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.2.ebuild,v 1.9 2012/10/07 11:55:08 jlec Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.3-r1.ebuild,v 1.13 2014/01/26 12:10:43 ago Exp $
EAPI=4 EAPI=5
inherit autotools-utils inherit autotools-utils
DESCRIPTION="Parallel bzip2 utility" DESCRIPTION="Parallel bzip2 utility"
HOMEPAGE="https://github.com/kjn/lbzip2/" HOMEPAGE="https://github.com/kjn/lbzip2/"
SRC_URI="mirror://github/kjn/${PN}/${P}.tar.gz" SRC_URI="http://archive.lbzip2.org/${P}.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="debug symlink" IUSE="debug symlink"
PATCHES=( "${FILESDIR}"/${P}-s_isreg.patch )
RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )" RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )"
DEPEND="" DEPEND=""
PATCHES=( "${FILESDIR}"/${P}-s_isreg.patch )
src_configure() { src_configure() {
local myeconfargs=( local myeconfargs=(
--disable-silent-rules --disable-silent-rules
@ -31,5 +31,8 @@ src_configure() {
src_install() { src_install() {
autotools-utils_src_install autotools-utils_src_install
use symlink && dosym ${PN} /usr/bin/bzip2 if use symlink; then
dosym ${PN} /usr/bin/bzip2
dosym lbunzip2 /usr/bin/bunzip2
fi
} }

View File

@ -0,0 +1,38 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.5.ebuild,v 1.1 2014/05/05 19:13:37 jlec Exp $
EAPI=5
inherit autotools-utils
DESCRIPTION="Parallel bzip2 utility"
HOMEPAGE="https://github.com/kjn/lbzip2/"
SRC_URI="http://archive.lbzip2.org/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="debug symlink"
RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )"
DEPEND=""
PATCHES=( "${FILESDIR}"/${PN}-2.3-s_isreg.patch )
src_configure() {
local myeconfargs=(
--disable-silent-rules
$(use_enable debug tracing)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use symlink; then
dosym ${PN} /usr/bin/bzip2
dosym lbunzip2 /usr/bin/bunzip2
fi
}

View File

@ -0,0 +1,906 @@
# ChangeLog for app-arch/tar
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.210 2014/08/12 12:17:44 vapier Exp $
12 Aug 2014; Mike Frysinger <vapier@gentoo.org> tar-1.27.1-r2.ebuild:
Mark arm64/m68k/s390/sh stable.
12 Aug 2014; Mike Frysinger <vapier@gentoo.org>
files/tar-1.27.1-xattr_build_fix.patch:
Do not patch m4 files to avoid regenerating autotools #516166 by Rodrigo
Severo.
03 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> tar-1.28.ebuild:
Prefer shipped man page over external one (bug #518932).
*tar-1.28 (28 Jul 2014)
28 Jul 2014; Lars Wendler <polynomial-c@gentoo.org> -tar-1.27-r2.ebuild,
-tar-1.27.1.ebuild, +tar-1.28.ebuild,
-files/tar-1.27-acl_configure_fix.patch:
Version bump. Removed old.
16 Jun 2014; Mikle Kolyada <zlogene@gentoo.org> tar-1.27.1-r2.ebuild:
ppc/ppc64 stable wrt bug #496212
15 Jun 2014; Mikle Kolyada <zlogene@gentoo.org> tar-1.27.1-r2.ebuild:
sparc stable wrt bug #496212
14 Jun 2014; Mikle Kolyada <zlogene@gentoo.org> tar-1.27.1-r2.ebuild:
alpha stable wrt bug #496212
14 Jun 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> tar-1.27.1-r2.ebuild:
x86 stable wrt bug #496212
20 Feb 2014; Markus Meier <maekke@gentoo.org> tar-1.27.1-r2.ebuild:
arm stable, bug #496212
*tar-1.27.1-r2 (19 Feb 2014)
19 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> -tar-1.27.1-r1.ebuild,
+tar-1.27.1-r2.ebuild:
Revbump to EAPI-4. Committed straight to stable where -r1 was stable.
19 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> tar-1.27.1-r1.ebuild:
Added missing die calls.
19 Feb 2014; Chema Alonso <nimiux@gentoo.org> tar-1.27.1-r1.ebuild:
Stable for amd64 wrt bug #496212
08 Feb 2014; Akinori Hattori <hattya@gentoo.org> tar-1.27.1-r1.ebuild:
ia64 stable wrt bug #496212
04 Feb 2014; Jeroen Roovers <jer@gentoo.org> tar-1.27.1-r1.ebuild:
Stable for HPPA (bug #496212).
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> tar-1.26-r1.ebuild,
tar-1.27-r2.ebuild, tar-1.27.1-r1.ebuild, tar-1.27.1.ebuild:
Add arm64 love.
*tar-1.27.1-r1 (10 Jan 2014)
10 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> +tar-1.27.1-r1.ebuild,
+files/tar-1.27.1-recursion_norecursion.patch,
+files/tar-1.27.1-xattr_build_fix.patch:
Fixed build with xattr (bug #489170). Added an upstream fix regarding
recursion/norecursion.
*tar-1.27.1 (25 Nov 2013)
25 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> -tar-1.23-r2.ebuild,
-tar-1.23-r4.ebuild, -tar-1.25.ebuild, -tar-1.25-r1.ebuild, -tar-1.26.ebuild,
+tar-1.27.1.ebuild, -files/tar-1.23-revert-pipe.patch,
-files/tar-1.23-strncpy.patch, -files/tar-1.23-symlink-k-hang.patch,
-files/tar-1.23-tests.patch, -files/tar-1.25-incremental-fix.patch,
-files/tar-1.25-verify-check.patch, -files/tar-1.25-verify-fix.patch:
Version bump. Removed old.
*tar-1.27-r2 (24 Oct 2013)
24 Oct 2013; Lars Wendler <polynomial-c@gentoo.org> -tar-1.27-r1.ebuild,
+tar-1.27-r2.ebuild, +files/tar-1.27-acl_configure_fix.patch:
Fixed "acl" USE flag reported by Arfrever Frehtes Taifersar Arahesis in bug
#489106. Moved dependency on sys-apps/attr from RDEPEND to DEPEND (bug
#489170).
*tar-1.27-r1 (22 Oct 2013)
22 Oct 2013; Lars Wendler <polynomial-c@gentoo.org> -tar-1.27.ebuild,
+tar-1.27-r1.ebuild, +files/tar.1-1.27:
Added new man page (bug #488828), proper selinux (bug #488966) and acl
support.
15 Oct 2013; Lars Wendler <polynomial-c@gentoo.org> tar-1.23-r2.ebuild,
tar-1.23-r4.ebuild, tar-1.25.ebuild, tar-1.25-r1.ebuild, tar-1.26.ebuild,
tar-1.26-r1.ebuild, tar-1.27.ebuild:
Fixed license according to --version output from all versions in the tree.
*tar-1.27 (15 Oct 2013)
15 Oct 2013; Lars Wendler <polynomial-c@gentoo.org> +tar-1.27.ebuild:
Version bump.
05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
Add upstream CPE tag (security info) from ChromiumOS.
24 May 2013; Alexis Ballier <aballier@gentoo.org> tar-1.26-r1.ebuild:
keyword ~amd64-fbsd thanks to Yuta SATOH, bug #432410
04 May 2013; Mike Frysinger <vapier@gentoo.org> tar-1.26-r1.ebuild:
Mark alpha/ia64/m68k/ppc64/s390/sh/sparc stable #431848.
03 May 2013; Agostino Sarubbo <ago@gentoo.org> tar-1.26-r1.ebuild:
Stable for ppc, wrt bug #431848
29 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> tar-1.26-r1.ebuild:
Stable on arm, wrt bug #431848
27 Apr 2013; Agostino Sarubbo <ago@gentoo.org> tar-1.26-r1.ebuild:
Stable for x86, wrt bug #431848
27 Apr 2013; Agostino Sarubbo <ago@gentoo.org> tar-1.26-r1.ebuild:
Stable for amd64, wrt bug #431848
27 Apr 2013; Jeroen Roovers <jer@gentoo.org> tar-1.26-r1.ebuild:
Stable for HPPA (bug #431848).
03 Mar 2013; Mike Frysinger <vapier@gentoo.org> tar-1.26.ebuild:
Inherit eutils for epatch.
20 Feb 2013; Zac Medico <zmedico@gentoo.org> tar-1.26-r1.ebuild:
Add ~arm-linux keyword.
06 Nov 2012; Mike Frysinger <vapier@gentoo.org> tar-1.26-r1.ebuild:
Do not delete gtar for prefix systems pointed out by David James.
05 Nov 2012; Mike Frysinger <vapier@gentoo.org> metadata.xml,
tar-1.26-r1.ebuild:
Add USE=minimal to trim all the non-`tar` related crap that no one uses.
07 Sep 2012; Mike Frysinger <vapier@gentoo.org> tar-1.26.ebuild:
Add gets/glibc-2.16 fix to stable too.
31 May 2012; Zac Medico <zmedico@gentoo.org> tar-1.23-r2.ebuild,
tar-1.23-r4.ebuild:
inherit multilib for get_libdir
24 May 2012; Mike Frysinger <vapier@gentoo.org> tar-1.25-r1.ebuild,
tar-1.26-r1.ebuild:
Inherit eutils for epatch.
22 May 2012; Mike Frysinger <vapier@gentoo.org> tar-1.23-r2.ebuild,
tar-1.23-r4.ebuild, tar-1.25-r1.ebuild, tar-1.25.ebuild, tar-1.26-r1.ebuild,
tar-1.26.ebuild:
Use just mirror://gnu to shut up repoman.
22 May 2012; Mike Frysinger <vapier@gentoo.org> tar-1.26-r1.ebuild,
+files/tar-1.26-no-gets.patch:
Fix building with glibc-2.16+.
19 Mar 2012; Raúl Porcel <armin76@gentoo.org> tar-1.26.ebuild:
ia64/m68k/s390/sh/sparc stable wrt #358749
07 Mar 2012; Brent Baude <ranger@gentoo.org> tar-1.26.ebuild:
Marking tar-1.26 ppc for bug 358749
04 Mar 2012; Tobias Klausmann <klausman@gentoo.org> tar-1.23-r2.ebuild,
tar-1.23-r4.ebuild, tar-1.25.ebuild, tar-1.25-r1.ebuild, tar-1.26.ebuild,
tar-1.26-r1.ebuild:
Stabilize on alpha (bug 358749), fix thirdpartymirror QA error.
02 Mar 2012; Brent Baude <ranger@gentoo.org> tar-1.26.ebuild:
Marking tar-1.26 ppc64 for bug 358749
29 Feb 2012; Markus Meier <maekke@gentoo.org> tar-1.26.ebuild:
arm stable, bug #358749
27 Feb 2012; Jeroen Roovers <jer@gentoo.org> tar-1.26.ebuild:
Stable for HPPA (bug #358749).
25 Feb 2012; Jeff Horelick <jdhore@gentoo.org> tar-1.26.ebuild:
marked x86 per bug 358749
25 Feb 2012; Agostino Sarubbo <ago@gentoo.org> tar-1.26.ebuild:
Stable for amd64, wrt bug #358749
*tar-1.26-r1 (05 Feb 2012)
05 Feb 2012; Mike Frysinger <vapier@gentoo.org> +tar-1.26-r1.ebuild,
+files/tar-1.26-xattr.patch:
Add xattr support #382067 by Anthony Basile.
07 Jan 2012; Mike Frysinger <vapier@gentoo.org> files/tar.1:
Fix duplicate --one-file-system listing reported by Mikachu.
*tar-1.26 (13 Mar 2011)
13 Mar 2011; Mike Frysinger <vapier@gentoo.org> +tar-1.26.ebuild:
Version bump.
*tar-1.25-r1 (26 Dec 2010)
26 Dec 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.25-r1.ebuild,
+files/tar-1.25-incremental-fix.patch, +files/tar-1.25-verify-check.patch,
+files/tar-1.25-verify-fix.patch:
Add fixes from upstream for incremental #349164 by Robin Johnson and
verify #349155 by Navid Zamani.
24 Nov 2010; Jeremy Olexa <darkside@gentoo.org> tar-1.25.ebuild,
files/rmt:
Merge diffs from Gentoo Prefix tree. Keywords, EAPI3, use of EPREFIX/ED,
modify rmt script. Signed off in bug 344807
*tar-1.25 (08 Nov 2010)
08 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +tar-1.25.ebuild:
Version bump wrt #344751 by Jeroen Roovers.
*tar-1.24-r2 (01 Nov 2010)
01 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +tar-1.24-r2.ebuild,
+files/tar-1.24-device-node.patch:
Fix extraction of device nodes wrt #343245 by Albert W. Hopkins.
*tar-1.24-r1 (27 Oct 2010)
27 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> +tar-1.24-r1.ebuild,
+files/tar-1.24-mkdirat.patch, +files/tar-1.24-transform.patch,
+files/tar-1.24-transform-2.patch:
Fix -C switch wrt #342735 by "ferret". Fix --transform switch wrt #342785.
26 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> tar-1.24.ebuild:
Fix ./configure with FEATURES="-userpriv" wrt #342593.
*tar-1.24 (25 Oct 2010)
25 Oct 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.24.ebuild:
Version bump #342571 by Jeroen Roovers.
*tar-1.23-r4 (19 Jul 2010)
19 Jul 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.23-r4.ebuild:
Fix incomplete EAPI transition #328913.
*tar-1.23-r3 (18 Jul 2010)
18 Jul 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.23-r3.ebuild,
+files/tar-1.23-symlink-k-hang.patch, +files/tar-1.23-tests.patch:
Fix from upstream for hang with symlinks/-k #327641. Fix from upstream for
skipping remfiles01 test as root #326785 by David Abbott <.
18 Jul 2010; Joseph Jezak <josejx@gentoo.org> tar-1.23-r2.ebuild:
Marked ppc stable for bug #313333.
11 Jul 2010; Richard Freeman <rich0@gentoo.org> tar-1.23-r2.ebuild:
amd64 stable - 31333
10 Jul 2010; Raúl Porcel <armin76@gentoo.org> tar-1.23-r2.ebuild:
alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #313333
05 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> tar-1.23-r2.ebuild:
ppc64 stable wrt #313333
05 Jul 2010; Jeroen Roovers <jer@gentoo.org> tar-1.23-r2.ebuild:
Stable for HPPA (bug #313333).
03 Jul 2010; Christian Faulhammer <fauli@gentoo.org> tar-1.23-r2.ebuild:
stable x86, security bug 313333
*tar-1.23-r2 (21 May 2010)
21 May 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.23-r2.ebuild,
+files/tar-1.23-revert-pipe.patch:
Restore sigpipe patch for now #309001.
25 Apr 2010; <chainsaw@gentoo.org> -tar-1.22.ebuild, -tar-1.23.ebuild:
Pull revisions that cause havoc with GCC 4.5; these should never be
stabled.
*tar-1.22-r1 (25 Apr 2010)
25 Apr 2010; <chainsaw@gentoo.org> +tar-1.22-r1.ebuild,
+files/tar-1.22-strncpy.patch:
Glibc built with GCC 4.5 will notice a buffer overflow in the handling of
OLD_GNU magic bytes and kill us. Apply a Fedora patch scavenged by Emil
Karlson to avoid this happening; closes bug #317139.
*tar-1.23-r1 (25 Apr 2010)
25 Apr 2010; <chainsaw@gentoo.org> +tar-1.23-r1.ebuild,
+files/tar-1.23-strncpy.patch:
Glibc built with GCC 4.5 will notice a buffer overflow in the handling of
OLD_GNU magic bytes and kill us. Apply a Fedora patch scavenged by Emil
Karlson to avoid this happening; closes bug #317139.
*tar-1.23 (10 Mar 2010)
10 Mar 2010; Mike Frysinger <vapier@gentoo.org> +tar-1.23.ebuild:
Version bump.
10 Mar 2010; Mike Frysinger <vapier@gentoo.org> files/tar.1:
Updates from Benno Schulenberg for tar(1) man page #177678.
*tar-1.22 (05 Mar 2009)
05 Mar 2009; Mike Frysinger <vapier@gentoo.org> +tar-1.22.ebuild:
Version bump.
02 Feb 2009; Ryan Hill <dirtyepic@gentoo.org>
+files/tar-1.21-testsuite.patch, tar-1.21-r1.ebuild:
Add patch from upstream to fix testsuite failures. (bug #253122)
*tar-1.21-r1 (29 Dec 2008)
29 Dec 2008; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.21-revert-pipe.patch, +tar-1.21-r1.ebuild:
Revert an upstream change that breaks when piping data into tar as pointed
out by Zac Medico #252680 by Etienne Hilson.
*tar-1.21 (27 Dec 2008)
27 Dec 2008; Mike Frysinger <vapier@gentoo.org> +tar-1.21.ebuild:
Version bump.
27 Nov 2008; Jeroen Roovers <jer@gentoo.org> tar-1.20.ebuild:
Stable for HPPA (bug #249118).
16 Jun 2008; Joseph Jezak <josejx@gentoo.org> tar-1.20.ebuild:
Marked ppc/ppc64 stable.
02 Jun 2008; Santiago M. Mola <coldwind@gentoo.org> tar-1.20.ebuild:
amd64 stable
21 May 2008; Raúl Porcel <armin76@gentoo.org> tar-1.20.ebuild:
alpha/ia64/sparc/x86 stable
*tar-1.20 (14 Apr 2008)
14 Apr 2008; Mike Frysinger <vapier@gentoo.org> +tar-1.20.ebuild:
Version bump.
27 Feb 2008; Santiago M. Mola <coldwind@gentoo.org> tar-1.19-r1.ebuild:
amd64 stable wrt bug #211101
22 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org> tar-1.19-r1.ebuild:
ppc stable, bug #211101
05 Feb 2008; Markus Rothe <corsair@gentoo.org> tar-1.19-r1.ebuild:
Stable on ppc64
17 Jan 2008; Jeroen Roovers <jer@gentoo.org> tar-1.19-r1.ebuild:
Stable for HPPA too.
16 Jan 2008; Raúl Porcel <armin76@gentoo.org> tar-1.19-r1.ebuild:
alpha/ia64/sparc/x86 stable
14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org> tar-1.19.ebuild:
ppc. stable
*tar-1.19-r1 (10 Dec 2007)
10 Dec 2007; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.19-update-flag.patch, +tar-1.19-r1.ebuild:
Fix from upstream for an update regression #200315 by Billy DeVincentis.
01 Dec 2007; Markus Rothe <corsair@gentoo.org> tar-1.19.ebuild:
Stable on ppc64
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> tar-1.19.ebuild:
Stable on mips.
18 Nov 2007; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.19-gnu-inline.patch, tar-1.19.ebuild:
Fixes from upstream for changes in "extern inline" #198817 by Ryan Hill.
16 Nov 2007; Samuli Suominen <drac@gentoo.org> tar-1.19.ebuild:
amd64 stable
10 Nov 2007; Raúl Porcel <armin76@gentoo.org> tar-1.19.ebuild:
alpha/ia64/sparc/x86 stable
*tar-1.19 (10 Oct 2007)
10 Oct 2007; Mike Frysinger <vapier@gentoo.org> +tar-1.19.ebuild:
Version bump.
29 Aug 2007; Markus Rothe <corsair@gentoo.org> tar-1.18-r2.ebuild:
Stable on ppc64; bug #189682
24 Aug 2007; Raúl Porcel <armin76@gentoo.org> tar-1.18-r2.ebuild:
alpha/ia64 stable wrt security #189682
23 Aug 2007; Joshua Kinard <kumba@gentoo.org> tar-1.18-r2.ebuild:
Stable on mips, per #189682.
23 Aug 2007; Jeroen Roovers <jer@gentoo.org> tar-1.18-r2.ebuild:
Stable for HPPA (bug #189682).
22 Aug 2007; Christoph Mende <angelos@gentoo.org> tar-1.18-r2.ebuild:
Stable on amd64 wrt security bug #189682
22 Aug 2007; Andrej Kacian <ticho@gentoo.org> tar-1.18-r2.ebuild:
Stable on x86, security bug #189682.
22 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> tar-1.18-r2.ebuild:
ppc stable, bug #189682
22 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.18-r2.ebuild:
Stable on sparc wrt security #189682
*tar-1.18-r2 (22 Aug 2007)
*tar-1.17-r1 (22 Aug 2007)
22 Aug 2007; Roy Marples <uberlord@gentoo.org>
+files/tar-1.15.1-alt-contains-dot-dot.patch, +tar-1.17-r1.ebuild,
+tar-1.18-r2.ebuild:
Patch to fix a directory traversal vulnerability, #189682
thanks to Robert Buchholz.
21 Aug 2007; Jeroen Roovers <jer@gentoo.org> tar-1.18-r1.ebuild:
Stable for HPPA too.
13 Aug 2007; Christoph Mende <angelos@gentoo.org> tar-1.18-r1.ebuild:
Stable on amd64
09 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> tar-1.18-r1.ebuild:
Stable on ppc.
02 Aug 2007; Christian Birchinger <joker@gentoo.org> tar-1.18-r1.ebuild:
Added sparc stable keyword
01 Aug 2007; Raúl Porcel <armin76@gentoo.org> tar-1.18-r1.ebuild:
alpha/ia64/x86 stable
10 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.17.ebuild:
Stable on sparc wrt #184453
09 Jul 2007; Jeroen Roovers <jer@gentoo.org> tar-1.17.ebuild:
Stable for HPPA (bug #184453).
08 Jul 2007; Christoph Mende <angelos@gentoo.org> tar-1.17.ebuild:
Stable on amd64 wrt bug #184453
07 Jul 2007; Lars Weiler <pylon@gentoo.org> tar-1.17.ebuild:
Stable on ppc; bug #184453.
07 Jul 2007; Raúl Porcel <armin76@gentoo.org> tar-1.17.ebuild:
alpha/ia64/x86 stable wrt #184453
*tar-1.18-r1 (07 Jul 2007)
07 Jul 2007; Ulrich Mueller <ulm@gentoo.org> +files/tar.1-1.15.1,
files/tar.1, tar-1.15.1-r1.ebuild, -tar-1.18.ebuild, +tar-1.18-r1.ebuild:
Update man page on "-l" option, fixes bug #168555. Fix some typos, #170691.
07 Jul 2007; Markus Rothe <corsair@gentoo.org> tar-1.17.ebuild:
Stable on ppc64; bug #184453
07 Jul 2007; Joshua Kinard <kumba@gentoo.org> tar-1.17.ebuild:
Stable on mips, per #184453.
*tar-1.18 (29 Jun 2007)
29 Jun 2007; Mike Frysinger <vapier@gentoo.org> +tar-1.18.ebuild:
Version bump.
11 Jun 2007; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.17-exclude-test.patch, tar-1.17.ebuild:
Fix from upstream for exclude.at test failure.
*tar-1.17 (10 Jun 2007)
10 Jun 2007; Mike Frysinger <vapier@gentoo.org> +tar-1.17.ebuild:
Version bump.
16 May 2007; Jose Luis Rivero <yoswink@gentoo.org> tar-1.16.1.ebuild:
Stable on alpha wrt bug #171669
18 Apr 2007; Alexander Færøy <eroyf@gentoo.org> tar-1.16.1.ebuild:
Stable on MIPS; bug #171669
02 Apr 2007; Raúl Porcel <armin76@gentoo.org> tar-1.16.1.ebuild:
ia64 stable wrt bug 171669
27 Mar 2007; Peter Weller <welp@gentoo.org> tar-1.16.1.ebuild:
Stable on amd64 wrt bug 171669
24 Mar 2007; Joseph Jezak <josejx@gentoo.org> tar-1.16.1.ebuild:
Marked ppc stable for bug #171669.
24 Mar 2007; Markus Rothe <corsair@gentoo.org> tar-1.16.1.ebuild:
Stable on ppc64; bug #171669
22 Mar 2007; Jeroen Roovers <jer@gentoo.org> tar-1.16.1.ebuild:
Stable for HPPA (bug #171669).
22 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.16.1.ebuild:
Stable on sparc wrt #171669
20 Mar 2007; Raúl Porcel <armin76@gentoo.org> tar-1.16.1.ebuild:
x86 stable
30 Dec 2006; Mike Frysinger <vapier@gentoo.org> +files/rmt,
tar-1.16.1.ebuild:
Take a page from Debian and make /etc/rmt a shell script so people know why
this cruft exists #159429 by Rafal Rzepecki.
*tar-1.16.1 (10 Dec 2006)
10 Dec 2006; Mike Frysinger <vapier@gentoo.org> +tar-1.16.1.ebuild:
Version bump.
08 Dec 2006; Daniel Gryniewicz <dang@gentoo.org> tar-1.16-r2.ebuild:
Marked stable on amd64 for bug #155901
06 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> tar-1.16-r2.ebuild:
Stable on Alpha; bug #155901
06 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> tar-1.16-r2.ebuild:
Stable on MIPS; bug #155901
06 Dec 2006; Markus Rothe <corsair@gentoo.org> tar-1.16-r2.ebuild:
Stable on ppc64; bug #155901
03 Dec 2006; Tim Yamin <plasmaroo@gentoo.org> tar-1.16-r2.ebuild:
Stable on IA64; bug #155901.
03 Dec 2006; Jeroen Roovers <jer@gentoo.org> tar-1.16-r2.ebuild:
Stable for HPPA (bug #155901).
03 Dec 2006; Jason Wever <weeve@gentoo.org> tar-1.16-r2.ebuild:
Stable on SPARC wrt security bug #155901
03 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org> tar-1.16-r2.ebuild:
ppc stable, bug #155901
03 Dec 2006; Andrej Kacian <ticho@gentoo.org> tar-1.16-r2.ebuild:
Stable on x86, bug #155901.
*tar-1.16-r2 (02 Dec 2006)
02 Dec 2006; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.16-remove-GNUTYPE_NAMES.patch, +tar-1.16-r2.ebuild:
Grab change from upstream to remove GNUTYPE_NAMES #155901.
*tar-1.16-r1 (01 Nov 2006)
01 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.16-segv.patch, +tar-1.16-r1.ebuild:
Add fix from upstream.
*tar-1.16 (21 Oct 2006)
21 Oct 2006; Mike Frysinger <vapier@gentoo.org> +tar-1.16.ebuild:
Version bump.
15 Oct 2006; Timothy Redaelli <drizzt@gentoo.org> tar-1.15.92-r1.ebuild:
Added ~x86-fbsd keyword
*tar-1.15.92-r1 (14 Oct 2006)
14 Oct 2006; Sven Wegener <swegener@gentoo.org>
+files/tar-1.15.92-stderr.patch, +tar-1.15.92-r1.ebuild:
Fix from upstream for stdout/verbose bug #151239.
*tar-1.15.92 (13 Oct 2006)
13 Oct 2006; Mike Frysinger <vapier@gentoo.org> +tar-1.15.92.ebuild:
Version bump.
30 Sep 2006; Fabian Groffen <grobian@gentoo.org>
+files/tar-1.15.91-darwin.patch, tar-1.15.91.ebuild:
Marked ~ppc-macos, added darwin patch. Backport from prefix.
*tar-1.15.91 (03 Jul 2006)
03 Jul 2006; Mike Frysinger <vapier@gentoo.org> +tar-1.15.91.ebuild:
Version bump #138979 by David Watzke.
23 May 2006; <solar@gentoo.org> -tar-1.14.ebuild, -tar-1.15.1.ebuild:
- removed obsolete vuln ebuilds
28 Apr 2006; Joshua Kinard <kumba@gentoo.org> tar-1.15.1-r1.ebuild:
Marked stable on mips.
09 Mar 2006; Tobias Scherbaum <dertobi123@gentoo.org>
tar-1.15.1-r1.ebuild:
ppc stable, bug #123038
09 Mar 2006; Jose Luis Rivero <yoswink@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on alpha wrt sec bug #123038
08 Mar 2006; Markus Rothe <corsair@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on ppc64; bug #123038
08 Mar 2006; Mark Loeser <halcy0n@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on x86; bug #123038
08 Mar 2006; Mike Doty <kingtaco@gentoo.org> tar-1.15.1-r1.ebuild:
amd64 stable bug 123038
08 Mar 2006; <plasmaroo@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on IA64; bug #123038.
07 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on sparc wrt security #123038
07 Mar 2006; Jeroen Roovers <jer@gentoo.org> tar-1.15.1-r1.ebuild:
Stable on hppa (bug #123038).
*tar-1.15.1-r1 (07 Mar 2006)
07 Mar 2006; <solar@gentoo.org> +files/tar-CVE-2006-0300.patch,
+tar-1.15.1-r1.ebuild:
- security bump. numerous bugs in xheader.c ; CVE-2006-0300 ; bug 123038
12 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> tar-1.15.1.ebuild:
Remove the charset.alias file (created on non-GNU systems, useless here).
12 Aug 2005; Mike Frysinger <vapier@gentoo.org> tar-1.15.1.ebuild:
Add support for renaming tar on non-GNU systems #96363.
17 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.15.1-lseek.patch, tar-1.15.1.ebuild:
Add patch from upstream cvs / fedora.
17 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.15.1-less-verbose-newer.patch, tar-1.15.1.ebuild:
Make --newer option not so verbose #86467 by Johny.
28 May 2005; Mike Frysinger <vapier@gentoo.org> +files/append.at,
tar-1.15.1.ebuild:
Add missing append.at test #86878 by R Hill.
27 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.15.1-dont-abort-long-names.patch, tar-1.15.1.ebuild:
Dont abort with long file names in archives #87540 by Jim Faulkner.
08 Apr 2005; Markus Rothe <corsair@gentoo.org> tar-1.15.1.ebuild:
Stable on ppc64
07 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+files/tar-1.15.1-gcc4-test.patch, tar-1.15.1.ebuild:
Add patch from Fedora to fix tests with gcc4 #88214 by Ryan Hill.
27 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> tar-1.15.1.ebuild:
Stable on ppc.
26 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> tar-1.15.1.ebuild:
Stable on alpha.
22 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.15.1.ebuild:
Stable on sparc
05 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+files/1.15.1-flex-arg.patch, tar-1.15.1.ebuild:
Add patch from upstream to make arguements more flexible #71076 by FieldySnuts.
*tar-1.15.1 (05 Jan 2005)
05 Jan 2005; Mike Frysinger <vapier@gentoo.org> +tar-1.15.1.ebuild:
Version bump.
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
03 Nov 2004; Travis Tilley <lv@gentoo.org> +files/1.14.90-optimize.patch,
tar-1.14.90-r1.ebuild:
added a patch from James Couzens that fixes building tar 1.14.90 with newer
glibc snapshots
*tar-1.14.90-r1 (16 Oct 2004)
16 Oct 2004; Aron Griffis <agriffis@gentoo.org>
+files/1.14.90-scripts.patch, +tar-1.14.90-r1.ebuild:
Install the backup/restore scripts that are described in the tar info pages
(as backup-tar and restore-tar so they don't conflict with app-arch/dump).
Move cflags manglement to src_compile where it belongs
12 Oct 2004; Mike Frysinger <vapier@gentoo.org> tar-1.14.90.ebuild:
Add a workaround to handle a bug in tar #67051.
11 Oct 2004; Mike Frysinger <vapier@gentoo.org>
+files/1.14.90-gnulib.patch, tar-1.14.90.ebuild:
Add a patch from the gnulib cvs to fix #67038 by joecool.
10 Oct 2004; Seemant Kulleen <seemant@gentoo.org> :
add metadata
10 Oct 2004; Seemant Kulleen <seemant@gentoo.org> tar-1.14.90.ebuild:
added ~seemant to SRC_URI until it propagates to the mirrors
10 Oct 2004; Mike Frysinger <vapier@gentoo.org>
+files/1.14.90-tests.patch, tar-1.14.90.ebuild:
Add patch from upstream cvs to fix tests #67023 by Hanno Meyer-Thurow.
10 Oct 2004; Mike Frysinger <vapier@gentoo.org>
+files/1.14.90-remote-shell.patch, tar-1.14.90.ebuild:
Fix build failure when rsh doesnt exist #66959 by Didier Link.
10 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> tar-1.14.90.ebuild:
Fixed SRC_URI.
*tar-1.14.90 (10 Oct 2004)
10 Oct 2004; Mike Frysinger <vapier@gentoo.org> +tar-1.14.90.ebuild:
Version bump.
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
tar-1.13.92-r3.ebuild, tar-1.14.ebuild:
Masked tar-1.14.ebuild stable for ppc
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
tar-1.13.92-r3.ebuild:
Masked tar-1.13.92-r3.ebuild stable for ppc
15 Jul 2004; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.14.ebuild:
Stable on sparc
07 Jul 2004; Travis Tilley <lv@gentoo.org> tar-1.14.ebuild:
stable on amd64
05 Jul 2004; Joshua Kinard <kumba@gentoo.org> tar-1.14.ebuild:
Marked stable on mips.
03 Jul 2004; Guy Martin <gmsoft@gentoo.org> tar-1.14.ebuild:
Marked stable on hppa.
29 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> tar-1.14.ebuild:
Use append-ldflags for static support instead of overriding LDFLAGS
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> tar-1.14.ebuild:
stable on x86, alpha, ia64
25 Jun 2004; <solar@gentoo.org> tar-1.13.92-r3.ebuild, tar-1.14.ebuild:
uclibc update
15 Jun 2004; <solar@gentoo.org> tar-1.13.92-r3.ebuild, tar-1.13.94.ebuild,
tar-1.14.ebuild:
USE=build cleanups
26 May 2004; <tuxus@gentoo.org> tar-1.13.92-r3.ebuild:
Stable on mips
*tar-1.14 (26 May 2004)
26 May 2004; Michael Sterrett <mr_bones_@gentoo.org> tar-1.14.ebuild:
version bump
04 May 2004; Bryan Østergaard <kloeri@gentoo.org> tar-1.13.92-r3.ebuild:
Stable on alpha.
04 May 2004; Bryan Østergaard <kloeri@gentoo.org> tar-1.13.92-r3.ebuild:
Stable on alpha.
04 May 2004; Guy Martin <gmsoft@gentoo.org> tar-1.13.92-r3.ebuild:
Marked stable on hppa.
28 Apr 2004; Gustavo Zacarias <gustavoz@gentoo.org> tar-1.13.92-r3.ebuild:
Stable on sparc
27 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> tar-1.13.92-r3.ebuild:
Unmask on x86.
26 Apr 2004; Michael McCabe <randy@gentoo.org> tar-1.13.94.ebuild:
Marked stable on s390
*tar-1.13.94 (10 Apr 2004)
10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> tar-1.13.94.ebuild:
version bump; two patches from 1.13.92 were integrated upstream
10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> tar-1.13.25-r3.ebuild,
tar-1.13.92-r3.ebuild:
don't assign default to S; "`use foo`" -> use foo
12 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> tar-1.13.92-r3.ebuild:
amd64 unmask.
02 Mar 2004; Brian Jackson <iggy@gentoo.org> tar-1.13.92-r3.ebuild:
adding initial s390 support
*tar-1.13.92-r3 (11 Jan 2004)
11 Jan 2004; Martin Schlemmer <azarah@gentoo.org> tar-1.13.92-r3.ebuild,
files/tar-1.13.92-fix-one_file_system.patch:
Fix -l, --one-file-system option to actually work.
*tar-1.13.92-r2 (11 Jan 2004)
11 Jan 2004; Martin Schlemmer <azarah@gentoo.org> tar-1.13.92-r2.ebuild,
files/tar-1.13.92-dont-strip-dot_slash.patch:
Do not strip './' in path elements, as they are valid, bug #37132. This is
the proper fix from CVS.
*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)
28 Dec 2003; Seemant Kulleen <seemant@gentoo.org> tar-1.13.92.ebuild,
files/tar-1.13.19-r1-gentoo.diff, files/tar-1.13.19.patch:
added updated version from alpha.gnu to all arches for testing
*tar-1.13.25-r3 (13 Nov 2003)
13 Nov 2003; Seemant Kulleen <seemant@gentoo.org> tar-1.13.25-r3.ebuild,
files/tar-1.13.19-r1-gentoo.diff, files/tar-1.13.19.patch,
files/tar-1.13.25-r3.gentoo.diff, files/tar.1:
Moved from sys-apps to app-arch
02 Nov 2003; Jason Wever <weeve@gentoo.org> tar-1.13.25-r3.ebuild:
Added sparc keyword.
01 Nov 2003; Seemant Kulleen <seemant@gentoo.org> tar-1.13.25-r1.ebuild,
tar-1.13.25-r2.ebuild, tar-1.13.25-r3.ebuild:
src_uri fix to add gentoo mirrors first, since the gnu mirrors are still outta
whack. Closes bug #32521 by Stony Yakovac <stonyy@tek.com>
28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> tar-1.13.25-r3.ebuild:
Remove unneeded old API SELinux patch
02 Sep 2003; Martin Holzer <mholzer@gentoo.org> tar-1.13.25-r1.ebuild,
tar-1.13.25-r2.ebuild, tar-1.13.25-r3.ebuild:
Now uses mirror://gnu.
*tar-1.13.25-r3 (23 Mar 2003)
20 May 2003; Joshua Kinard <kumba@gentoo.org> tar-1.13.25-r3.ebuild:
Added gnuconfig eclass to support linux-mips targets
23 Mar 2003; Joshua Brindle <method@gentoo.org> tar-1.13.25-r3.ebuild:
added selinux support
20 Feb 2003; Zach Welch <zwelch@gentoo.org> tar-1-13-25-r3.ebuild :
Added arm to keywords.
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> tar-1-13-25-r3.ebuild :
Added hppa to keywords.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*tar-1-13-25-r3 (01 Oct 2002)
18 Jan 2003; Jan Seidel <tuxus@gentoo.org> :
Added mips to keywords
01 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
Security update. Added patch developed by Redhat to fix directory traversals.
09 Dec 2002; Jon Portnoy <avenj@gentoo.org> :
Updated ebuild to work with USE="icc", no need to up the revision
number.
10 Dec 2002; Jon Portnoy <avenj@gentoo.org> :
Moved USE="icc" into r4 to prevent blocked deps with icc-7.0.
*tar-1.13.19-r1.ebuild (14 July 2002)
16 Aug 2002; Seemant Kulleen <seemant@gentoo.org> tar-1.13.25-r2.ebuild :
Added gzip, bzip2 and ncompress to DEPEND list. Closes bug #6611 by
laurent.mouillart@free.fr (Laurent Mouillart)
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.19.ebuild :
Added LICENSE, KEYWORDS, SLOT.
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.19-r1.ebuild :
Added LICENSE, KEYWORDS, SLOT.
*tar-1.13.18-r4.ebuild (14 July 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.18-r4.ebuild :
Added LICENSE, KEYWORDS, SLOT.
*tar-1.13.25-r2 (12 Apr 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.25.ebuild :
Added LICENSE, KEYWORDS, SLOT.
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.25-r2.ebuild :
Added LICENSE, KEYWORDS, SLOT.
12 Apr 2002; Spider <spider@gentoo.org> :
Updating the tar with a symlink in /etc that allows remote-tar to work properly.
Fix a cd to make dodoc and doman work
Credit to Daniel Mettler <mettlerd@icu.unizh.ch> for the patch for rmt
*tar-1.13.25-r1 (1 Feb 2002)
14 Jul 2002; phoen][x <phoenix@gentoo.org> tar-1.13.25-r1.ebuild :
Added LICENSE, KEYWORDS, SLOT.
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -1 +1,35 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX rmt 263 SHA256 c0371cb0243a190b6bb43609c86dfb4cd637882d4ff3ff9651ca7ec8d6b59355 SHA512 2f1a9d3a522fc1f0d5385d1ea4c27da88a1c9357b866340432c6310604c01d3e328e33080ed1e951c0da6f025c3ee2a0c9f170d4b86a1d235ebb56be48fef152 WHIRLPOOL 11869239f2ebbb237f8429d1f13f146fd2414e90edc2475d190f16659d052d3ac949d717939dcfc815a30942855fb26e60b6b506104876ccad32747191b04727
AUX tar-1.26-no-gets.patch 779 SHA256 80533a828c8a657ec1d585a6d3b7b2e8fcae6ba1d93d778195a185805f9a2a39 SHA512 98c54f084bb9770c69ba9ec58aff0e4182385984410e83cb93451ceda81152e4a8ddf63d3035b491153b1791888004744ae07f29866daf43e6a0caa4d067bd19 WHIRLPOOL caa81ebf934f60921e40cec889dd164154a43750034d9383e98d3755fdaa9e1f5c6d3a7714b8bcf25d86f41b944dc95c16126af0a6670eedd7939b3b2fe2fc10
AUX tar-1.26-xattr.patch 29828 SHA256 ce2b67c9fca5e610e117e11485f11bea5d4c6b053392c97825da7f7e65e9d043 SHA512 c8b88b7b9dc642344882d70903dd1657980e05100a618c9919f096e5599954120f6412226e15a827f166db2016c6a7558b07336e14a1a703f27d20339b9d8ace WHIRLPOOL f7e15d70a38b1ea9d6f6a6a3e1357a9c869306420d8ff0a4e325ccfda02fbd6e91fce7c5ca59a35fac43d9c75aae5d508c9eefff781454fe8ed1948537a8dbfd
AUX tar-1.27.1-recursion_norecursion.patch 765 SHA256 2232bcf904f9cc0a1a485549baf229b741d13fa89b69f8d112846c5f4f8ee0b0 SHA512 6b9a8c9a9f1d8a6c96137353a86c77c170d8f3bdc348c99a1147c950b43780aa896f0d8e1c0c1c70a044a0169f445f2ee6ca89ea680729062bf4f73f93a99ef1 WHIRLPOOL dfef48b1df29c53ff0aacbf7958c9101faf591d98f0e843b22185cd979e5e5d694b5c02b69f692c47f840f214d5bbffdf8cacb043fe1c901a30bd2df218a1643
AUX tar-1.27.1-xattr_build_fix.patch 5762 SHA256 a23332692959044ecc281a93de19de2ac7c37c56971d6aa541adf2fd3bc74251 SHA512 d44322734813ec201567d389deffc94f6a08c2f83c93d495f18451666409465a3ad577ca7f4c540d8ca668dd4d3f77d327fdf32669ec8e932d12e8d819f8c5ab WHIRLPOOL 1245479b74b1f11aabbe29f55b90eb7c179f6c8175f77f43f409e58b71b11026dd3f882665c10e777ae3837c1e5fac2ddd0e8f9d241a9a6d694a2ccb20ae38b5
AUX tar.1 16744 SHA256 47100e0f1dcaeee56b99083d8bb6fb398be701030f0a72439a1b4de31ac701d3 SHA512 1d0cc0449b4e9dbd0693d2ec678629f5dae47b7c25268a754fab07bb422957aded103164c096f12bf21dd12d08622067a26e1ac8d38cda0dfd9320e8ab7cb134 WHIRLPOOL f817e98f978ad0f79a6a8512038174e3438e3c5f5240d0191a0afb8c2e9a4a203c0b2a7e33125d1b3f8632f54851d2ba0d55ae6e141b7703988f4086a39b40af
AUX tar.1-1.27 13442 SHA256 fd1410214bad29525c08fc0fe499c8807c4cc648c7d56ba83bf429a2c43fdffd SHA512 4810df7e549713287e74a4de7113f2ba41bd96173829313d123be7ac9d74242d3d39ef17604761fbcc607cdd72ada0bcc26c99de5867cab5c1d0e9410131707b WHIRLPOOL ad8847f9d7f3395d42e9500aed6aa43cef2791e034e54c192a6ecef4953b8ba415dbfe1ddda4b113031c9aeb409e0630bc8b432f17ae28e905afa9b1d2b459a6
DIST tar-1.26.tar.bz2 2339773 SHA256 5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 SHA512 3bc12441bebfc388017ad0632fb3e777ceaf62be82fb19ce771df8bbb765eb094dad336110189f49f5eaaebd4d6ced586098e1e3c8b9f7f775dc483d5513f209 WHIRLPOOL bfdc579f97a260d6b6776211f470bfc1a99b81d89a8067b2ebfab3101ab1a4f2b4f7c444edffc05bc7585993cae601c499ec074bb606c7ef289deac5429cfb2b DIST tar-1.26.tar.bz2 2339773 SHA256 5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 SHA512 3bc12441bebfc388017ad0632fb3e777ceaf62be82fb19ce771df8bbb765eb094dad336110189f49f5eaaebd4d6ced586098e1e3c8b9f7f775dc483d5513f209 WHIRLPOOL bfdc579f97a260d6b6776211f470bfc1a99b81d89a8067b2ebfab3101ab1a4f2b4f7c444edffc05bc7585993cae601c499ec074bb606c7ef289deac5429cfb2b
DIST tar-1.27.1.tar.bz2 2573070 SHA256 9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6 SHA512 f14a0a58e574db3aeec0914621aff2f0518b8d8acce81106b8219b36b3fed47349d6cb802c51a836a5e6889529337434d83b3c50cd7fc1801b9b3944eecc695b WHIRLPOOL fd44ee747f44febc9dd4b0e1a532c38a835fcb55967143a1ab29b29dfc27316de76dfa1d23438f1843bb0a7962eb0b59c3ec75041cc0fbe879b02af292ebc6e9
DIST tar-1.28.tar.bz2 2693989 SHA256 60e4bfe0602fef34cd908d91cf638e17eeb09394d7b98c2487217dc4d3147562 SHA512 4f66a236a2d9185114e2b358a09f3d38c3c38e984e5fca4bedc4d7eb461bdaace6a7a9fc62aafb70428b1f3dc617fb0d0553558fb29cad33f0cb53ba081521c4 WHIRLPOOL 54ad7b73e973d436cff853fda267d21ab22139f53d18f6870c7a53cf74e53ec8735022b6d3c503504ee416f1b9f9d43ca1af60d2fedb5d852766cb8dd2ac72d0
EBUILD tar-1.26-r1.ebuild 2290 SHA256 03651edf07bc9cc141a524efd006f4361c4cd79b1d5796dd88ebd3e4fd25eb5e SHA512 346ad7e358e2bc5337011cd076daaff887ed7c83d1bd2c411c409b7327d35dfeb01c4be51102623cb0e004da0c4a24393746b0d8260799e86f5de94ff633958d WHIRLPOOL 492c281e5e6929286c01dc9ecbd37b9de72947d3701237e34adeb690f1cdc84a559fcbc2f346505a64ebc4ae1e25d6d4f6882df03495dd767159e0e04ea89100
EBUILD tar-1.27.1-r2.ebuild 2441 SHA256 b37d9c2f2e5297499aa83930f2893ab0f7c16cc6e4be2279b9d7d0cb7a616ebd SHA512 38226606176dc485bf196e496e275986bb84ce85bbd69c708d0df41ca724c52e1f2e1d47301b8ded635fb5bc7fb488cb28526c1155c2401a2934f2476bd70d8f WHIRLPOOL 1f0b44b9284a9a7f0c53acd101ebe381221cf696409e58650cc4b5e2afc489f78fed53d640643c085bd422fe340a7c98efde5e8373a83ee4cdf9ae3626e1b958
EBUILD tar-1.28.ebuild 2288 SHA256 b6c4f42706042001033c09f99767acafb5870569ba87ed42b4a8d2275e2d73a5 SHA512 10bc263ba7e386cc4cf047748d5273be575c5b6e8a6c65f8db033cd500a28925e5a493eca7252fe3d62fbeb959f0534027cd671771656a881ee1af12b49d0d98 WHIRLPOOL 4c4348df02f5cc5a83731ae0dd6cc927f90efc5079e3dcaddb6d610161a80c96b35e1126eca7f6f21ddaebcafaf00df57ebe70fbe344cdde8bbae318bdaec3ef
MISC ChangeLog 31576 SHA256 249b65b171d9aa2d0334b36653fe06ec0e4506ab3de4f7f8d4dc9008497e152b SHA512 daba79cede48c6494264c931dca571386bcc6c40893e21ddba0a036bd2c328455960ed008ba4157a0239c300a911e260d9bd5e5c0a96a06faf0c48b69b05e8c3 WHIRLPOOL 1a763a158468d4adba123725292c1aba00411dee2b8b36ce44df801372d217d1f0f29331c9263d5b2915167f43846206d4c83787533de035291ddc61553635c7
MISC metadata.xml 298 SHA256 776c92889812df8f8dc072ae2ac1d7091f1613afc6332eccd0e20a0d90caaf0b SHA512 9e7e0d3343fc95c9164d7b5cd7bf9a8cc21d5bba06af0ce19f693f8e6039415ab472411fba602fb99a1728529774cd85e828311a77c34d1f157cf4fedea59f65 WHIRLPOOL ddeaf15e3d36ed3c9e0ac13b17e49a187d0855255f38bf60a3726bd10ebaddbfc269a2101bbc64d4c8f69491228165016b2d76b15aabbd9bc3a0bd1732ca8f2e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJT6gXrAAoJEPGu1DbS6WIABicQAIj0GVGpAYyrH9ARdwhOBNg4
oadqZpJmH6clbFE7t6uKkYvtArOMnb13I39TjS0V8FuG8FBxBfSUosGZgpeOwmPV
qYMU1O31AOIS/VPca7gbarxte5EJXYjVzQVq+DvLsso0M+pXQ3OtBeTQFxeExDZI
HxoMj8lm5TCZ4W8CLtaypFjSkqucTVa1FxX9tvpgQpeXREtbOX3DWHUVpQXDvswM
sVuLtM4jBMaTSoCUllbJbS5Rmq62rff44jlZxnja03uY1/LZIlkhm54WYAD0mMXN
3Y7WXSRp/cJ1NjZk4ibStjCnukGa4qbwV7Gb9K7/I3ZM8+NTgVjYRRP0MntcebQN
5ZNw091TJ3/y1FJbmC7Ze/ENvOehEzg/nUr3P++8dqsVqAyrEXN52ns0JRxgr4yy
9DISN1dqeugpAOM6mXCziDs/dw8KkoE3S7z5nvrUXiKJuvdr7NZPb7rtoQbHzciv
gaRcGE5JLtkUTesRwjLsg4fCRIvcNpvrdi4+oTVkLhz/RLOQRo2KwBdNk5XiRg+2
Goq6YUKHBM4vvruiqXgNT9KfAFavY6SSbwQOxFZhgChNrBU5E+oG/4yuJG5LwRvk
+PE1mPIWMFF8a6YHmP/qSfDGod3gXSxhqld79D6NpRvzDOzIuYV6p4DxPVbHvw2u
zEhfscv21jGuEjZmUJ4I
=ZVsV
-----END PGP SIGNATURE-----

View File

@ -5,4 +5,4 @@
# utilities that expect to find (and execute) rmt in the /etc directory # utilities that expect to find (and execute) rmt in the /etc directory
# on remote systems. # on remote systems.
# #
exec /usr/sbin/rmt "$@" exec rmt "$@"

View File

@ -0,0 +1,25 @@
From 2bd9c15391b0bd6ef0bff76aebf09cfb53003199 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <gray@gnu.org>
Date: Thu, 09 Jan 2014 22:13:15 +0000
Subject: Fix the use of --no-recursion and --recursion options.
Each option remains in effect until cancelled by the next ocurrence
of its counterpart, as stated in the documentation.
* src/names.c (name_next_elt): Restore recursion_option from the
value of matching_flags.
---
diff --git a/src/names.c b/src/names.c
index fc9841e..7777dc1 100644
--- a/src/names.c
+++ b/src/names.c
@@ -570,6 +570,7 @@ name_next_elt (int change_dirs)
case NELT_FMASK:
matching_flags = ep->v.matching_flags;
+ recursion_option = matching_flags & FNM_LEADING_DIR;
name_list_advance ();
continue;
--
cgit v0.9.0.2

View File

@ -0,0 +1,196 @@
http://lists.gnu.org/archive/html/bug-tar/2013-12/msg00023.html
https://bugs.gentoo.org/489170
--- tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
+++ tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100
@@ -33619,19 +33619,20 @@
fi
- for ac_header in attr/xattr.h
+ for ac_header in sys/xattr.h attr/xattr.h
do :
- ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
-if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_ATTR_XATTR_H 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
- if test "$ac_cv_header_attr_xattr_h" = yes; then
+ if test "$ac_cv_header_sys_xattr_h" = yes -o "$ac_cv_header_attr_xattr_h" = yes; then
TAR_COND_XATTR_H_TRUE=
TAR_COND_XATTR_H_FALSE='#'
else
@@ -33639,30 +33640,130 @@
TAR_COND_XATTR_H_FALSE=
fi
- if test "$ac_cv_header_attr_xattr_h" = yes; then
- for ac_func in getxattr fgetxattr lgetxattr \
- setxattr fsetxattr lsetxattr \
- listxattr flistxattr llistxattr
-do :
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+
+ if test "$with_xattrs" != no; then
+ # If <sys/xattr.h> doesn't exist and <attr/xattr.h> does,
+ # then link against libattr.so and not libc
+ if test "$ac_cv_header_sys_xattr_h" = no -a "$ac_cv_header_attr_xattr_h" = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; }
+if ${ac_cv_lib_attr_fgetxattr+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lattr $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char fgetxattr ();
+int
+main ()
+{
+return fgetxattr ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_attr_fgetxattr=yes
+else
+ ac_cv_lib_attr_fgetxattr=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then :
cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_LIBATTR 1
_ACEOF
- # only when functions are present
-$as_echo "#define HAVE_ATTR_XATTR_H 1" >>confdefs.h
+ LIBS="-lattr $LIBS"
- if test "$with_xattrs" != no; then
+fi
-$as_echo "#define HAVE_XATTRS /**/" >>confdefs.h
+ fi
+ have_functions=yes
+ for xattr_func in getxattr fgetxattr lgetxattr \
+ setxattr fsetxattr lsetxattr \
+ listxattr flistxattr llistxattr; do \
+ as_ac_Search=`$as_echo "ac_cv_search_$xattr_func" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing $xattr_func" >&5
+$as_echo_n "checking for library containing $xattr_func... " >&6; }
+if eval \${$as_ac_Search+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $xattr_func ();
+int
+main ()
+{
+return $xattr_func ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' attr; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Search=\$ac_res"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if eval \${$as_ac_Search+:} false; then :
+ break
+fi
+done
+if eval \${$as_ac_Search+:} false; then :
- fi
+else
+ eval "$as_ac_Search=no"
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+eval ac_res=\$$as_ac_Search
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+eval ac_res=\$$as_ac_Search
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+else
+ have_functions=no
fi
-done
+ test $have_functions = no && break
+ done
+ if test $have_functions = yes; then
+
+$as_echo "#define HAVE_XATTRS 1" >>confdefs.h
+
+ else
+ test "$with_xattrs" = yes && as_fn_error $? "xattr support requested but not found." "$LINENO" 5
+ fi
fi
--- tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
+++ tar-1.27.1/lib/xattr-at.h 2013-03-14 21:18:10.000000000 +0100
@@ -20,7 +20,15 @@
#define XATTRS_AT_H
#include <sys/types.h>
-#include <attr/xattr.h>
+#if defined(HAVE_SYS_XATTR_H)
+# include <sys/xattr.h>
+#elif defined(HAVE_ATTR_XATTR_H)
+# include <attr/xattr.h>
+#endif
+
+#ifndef ENOATTR
+# define ENOATTR ENODATA /* No such attribute */
+#endif
/* These are the dir-fd-relative variants of the functions without the
"at" suffix. For example, setxattrat (AT_FDCWD, path, name, value, size,

View File

@ -654,9 +654,6 @@ process only NUM occurrences of each named file; used with
.BR --one-file-system .BR --one-file-system
stay in local file system when creating an archive stay in local file system when creating an archive
.TP .TP
.BR --one-file-system
stay in local file system when creating an archive
.TP
.BR --overwrite .BR --overwrite
overwrite existing files and directory metadata when extracting overwrite existing files and directory metadata when extracting
.TP .TP

View File

@ -0,0 +1,388 @@
.\" generated by script on Mon Oct 21 08:29:21 2013
.Dd Oct 21, 2013
.Dt TAR 1
.Sh NAME
.Nm tar
.Nd The GNU version of the tar archiving utility
.Sh SYNOPSIS
.Nm tar
.Oo Fl Oc Cm A Fl \-catenate \-concatenate Cm \||\| c Fl \-create Cm \||\| d Fl \-diff \-compare Cm \||\| Fl \-delete Cm \||\| r Fl \-append Cm \||\| t Fl \-list Cm \||\| Fl \-test\-label Cm \||\| u Fl \-update Cm \||\| x Fl \-extract \-get
.Op Ar options
.Op Ar pathname ...
.Sh DESCRIPTION
.Nm Tar
stores and extracts files from a tape or disk archive.
.Pp
The first argument to
tar
should be a function; either one of the letters
.Cm Acdrtux ,
or one of the long function names.
A function letter need not be prefixed with ``\-'', and may be combined
with other single-letter options.
A long function name must be prefixed with
.Cm \\-\\- .
Some options take a parameter; with the single-letter form
these must be given as separate arguments.
With the long form, they may be given by appending
.Cm = Ns Ar value
to the option.
.Sh FUNCTION LETTERS
Main operation mode:
.Bl -tag -width flag
.It Fl A , Fl \-catenate , Fl \-concatenate
append tar files to an archive
.It Fl c , Fl \-create
create a new archive
.It Fl d , Fl \-diff , Fl \-compare
find differences between archive and file system
.It Fl \-delete
delete from the archive (not on mag tapes!)
.It Fl r , Fl \-append
append files to the end of an archive
.It Fl t , Fl \-list
list the contents of an archive
.It Fl \-test\-label
test the archive volume label and exit
.It Fl u , Fl \-update
only append files newer than copy in archive
.It Fl x , Fl \-extract , Fl \-get
extract files from an archive
.El
.Sh OTHER OPTIONS
Operation modifiers:
.Bl -tag -width flag
.It \-[0\-7][lmh]
specify drive and density
.It Fl a , Fl \-auto\-compress
use archive suffix to determine the compression program
.It Fl \-acls
Enable the POSIX ACLs support
.It Fl \-no\-acls
Disable the POSIX ACLs support
.It Fl \-add\-file Ns \= Ns Ar FILE
add given FILE to the archive (useful if its name starts with a dash)
.It Fl \-anchored
patterns match file name start
.It Fl \-no\-anchored
patterns match after any '/' (default for exclusion)
.It Fl \-atime\-preserve
preserve access times on dumped files, either by restoring the times
.It Fl \-no\-auto\-compress
do not use archive suffix to determine the compression program
.It Fl b , Fl \-blocking\-factor Ar BLOCKS
BLOCKS x 512 bytes per record
.It Fl B , Fl \-read\-full\-records
reblock as we read (for 4.2BSD pipes)
.It Fl \-backup
backup before removal, choose version CONTROL
.It Fl C , Fl \-directory Ar DIR
change to directory DIR
.It Fl \-check\-device
check device numbers when creating incremental archives (default)
.It Fl \-no\-check\-device
do not check device numbers when creating incremental archives
.It Fl \-checkpoint
display progress messages every NUMBERth record (default 10)
.It Fl \-checkpoint\-action Ns \= Ns Ar ACTION
execute ACTION on each checkpoint
.It Fl \-delay\-directory\-restore
delay setting modification times and permissions of extracted
.It Fl \-no\-delay\-directory\-restore
cancel the effect of --delay-directory-restore option
.It Fl \-exclude Ns \= Ns Ar PATTERN
exclude files, given as a PATTERN
.It Fl \-exclude\-backups
exclude backup and lock files
.It Fl \-exclude\-caches
exclude contents of directories containing CACHEDIR.TAG,
.It Fl \-exclude\-caches\-all
exclude directories containing CACHEDIR.TAG
.It Fl \-exclude\-caches\-under
exclude everything under directories containing CACHEDIR.TAG
.It Fl \-exclude\-tag Ns \= Ns Ar FILE
exclude contents of directories containing FILE, except
.It Fl \-exclude\-tag\-all Ns \= Ns Ar FILE
exclude directories containing FILE
.It Fl \-exclude\-tag\-under Ns \= Ns Ar FILE
exclude everything under directories containing FILE
.It Fl \-exclude\-vcs
exclude version control system directories
.It Fl f , Fl \-file Ar ARCHIVE
use archive file or device ARCHIVE
.It Fl F , Fl \-info\-script , Fl \-new\-volume\-script Ar NAME
run script at end of each tape (implies -M)
.It Fl \-force\-local
archive file is local even if it has a colon
.It Fl \-full\-time
print file time to its full resolution
.It Fl g , Fl \-listed\-incremental Ar FILE
handle new GNU-format incremental backup
.It Fl G , Fl \-incremental
handle old GNU-format incremental backup
.It Fl \-group Ns \= Ns Ar NAME
force NAME as group for added files
.It Fl h , Fl \-dereference
follow symlinks; archive and dump the files they point to
.It Fl H , Fl \-format Ar FORMAT
create archive of the given formatFORMAT is one of the following:
.Bl -tag -width flag
.It Fl \-format=gnu
GNU tar 1.13.x format
.It Fl \-format=oldgnu
GNU format as per tar <= 1.12
.It Fl \-format=pax
POSIX 1003.1-2001 (pax) format
.It Fl \-format=posix
same as pax
.It Fl \-format=ustar
POSIX 1003.1-1988 (ustar) format
.It Fl \-format=v7
old V7 tar format
.El
.It Fl \-hard\-dereference
follow hard links; archive and dump the files they refer to
.It Fl i , Fl \-ignore\-zeros
ignore zeroed blocks in archive (means EOF)
.It Fl I , Fl \-use\-compress\-program Ar PROG
filter through PROG (must accept -d)
.It Fl \-ignore\-case
ignore case
.It Fl \-no\-ignore\-case
case sensitive matching (default)
.It Fl \-ignore\-command\-error
ignore exit codes of children
.It Fl \-no\-ignore\-command\-error
treat non-zero exit codes of children as error
.It Fl \-ignore\-failed\-read
do not exit with nonzero on unreadable files
.It Fl \-index\-file Ns \= Ns Ar FILE
send verbose output to FILE
.It Fl j , Fl \-bzip2
.It Fl J , Fl \-xz
.It Fl k , Fl \-keep\-old\-files
don't replace existing files when extracting,
.It Fl K , Fl \-starting\-file Ar MEMBER-NAME
begin at member MEMBER-NAME when reading the archive
.It Fl \-keep\-directory\-symlink
preserve existing symlinks to directories when extracting
.It Fl \-keep\-newer\-files
don't replace existing files that are newer than their archive copies
.It Fl l , Fl \-check\-links
print a message if not all links are dumped
.It Fl L , Fl \-tape\-length Ar NUMBER
change tape after writing NUMBER x 1024 bytes
.It Fl \-level Ns \= Ns Ar NUMBER
dump level for created listed-incremental archive
.It Fl \-lzip
.It Fl \-lzma
.It Fl \-lzop
.It Fl m , Fl \-touch
don't extract file modified time
.It Fl M , Fl \-multi\-volume
create/list/extract multi-volume archive
.It Fl \-mode Ns \= Ns Ar CHANGES
force (symbolic) mode CHANGES for added files
.It Fl \-mtime Ns \= Ns Ar DATE-OR-FILE
set mtime for added files from DATE-OR-FILE
.It Fl n , Fl \-seek
archive is seekable
.It Fl N , Fl \-newer , Fl \-after\-date Ar DATE-OR-FILE
only store files newer than DATE-OR-FILE
.It Fl \-newer\-mtime Ns \= Ns Ar DATE
compare date and time when data changed only
.It Fl \-null
-T reads null-terminated names, disable -C
.It Fl \-no\-null
disable the effect of the previous --null option
.It Fl \-numeric\-owner
always use numbers for user/group names
.It Fl O , Fl \-to\-stdout
extract files to standard output
.It Fl \-occurrence
process only the NUMBERth occurrence of each file in the archive;
.It Fl \-old\-archive , Fl \-portability
same as --format=v7
.It Fl \-one\-file\-system
stay in local file system when creating archive
.It Fl \-overwrite
overwrite existing files when extracting
.It Fl \-overwrite\-dir
overwrite metadata of existing directories when extracting (default)
.It Fl \-no\-overwrite\-dir
preserve metadata of existing directories
.It Fl \-owner Ns \= Ns Ar NAME
force NAME as owner for added files
.It Fl p , Fl \-preserve\-permissions , Fl \-same\-permissions
extract information about file permissions (default for superuser)
.It Fl P , Fl \-absolute\-names
don't strip leading '/'s from file names
.It Fl \-pax\-option Ns \= Ns Ar keyword[[:]=value][,keyword[[:]=value]]...
control pax keywords
.It Fl \-posix
same as --format=posix
.It Fl \-preserve
same as both -p and -s
.It Fl \-quote\-chars Ns \= Ns Ar STRING
additionally quote characters from STRING
.It Fl \-no\-quote\-chars Ns \= Ns Ar STRING
disable quoting for characters from STRING
.It Fl \-quoting\-style Ns \= Ns Ar STYLE
set name quoting style; see below for valid STYLE values
.It Fl R , Fl \-block\-number
show block number within archive with each message
.It Fl \-record\-size Ns \= Ns Ar NUMBER
NUMBER of bytes per record, multiple of 512
.It Fl \-recursion
recurse into directories (default)
.It Fl \-no\-recursion
avoid descending automatically in directories
.It Fl \-recursive\-unlink
empty hierarchies prior to extracting directory
.It Fl \-remove\-files
remove files after adding them to the archive
.It Fl \-restrict
disable use of some potentially harmful options
.It Fl \-rmt\-command Ns \= Ns Ar COMMAND
use given rmt COMMAND instead of rmt
.It Fl \-rsh\-command Ns \= Ns Ar COMMAND
use remote COMMAND instead of rsh
.It Fl s , Fl \-preserve\-order , Fl \-same\-order
member arguments are listed in the same order as the
.It Fl S , Fl \-sparse
handle sparse files efficiently
.It Fl \-same\-owner
try extracting files with the same ownership as exists in the archive (default for superuser)
.It Fl \-no\-same\-owner
extract files as yourself (default for ordinary users)
.It Fl \-no\-same\-permissions
apply the user's umask when extracting permissions from the archive (default for ordinary users)
.It Fl \-no\-seek
archive is not seekable
.It Fl \-selinux
Enable the SELinux context support
.It Fl \-no\-selinux
Disable the SELinux context support
.It Fl \-show\-defaults
show tar defaults
.It Fl \-show\-omitted\-dirs
when listing or extracting, list each directory that does not match search criteria
.It Fl \-show\-snapshot\-field\-ranges
show valid ranges for snapshot-file fields
.It Fl \-show\-transformed\-names , Fl \-show\-stored\-names
show file or archive names after transformation
.It Fl \-skip\-old\-files
don't replace existing files when extracting, silently skip over them
.It Fl \-sparse\-version Ns \= Ns Ar MAJOR[.MINOR]
set version of the sparse format to use (implies --sparse)
.It Fl \-strip\-components Ns \= Ns Ar NUMBER
strip NUMBER leading components from file names on extraction
.It Fl \-suffix Ns \= Ns Ar STRING
backup before removal, override usual suffix ('~' unless overridden by environment variable SIMPLE_BACKUP_SUFFIX)
.It Fl T , Fl \-files\-from Ar FILE
get names to extract or create from FILE
.It Fl \-to\-command Ns \= Ns Ar COMMAND
pipe extracted files to another program
.It Fl \-totals
print total bytes after processing the archive;
.It Fl \-transform , Fl \-xform Ar EXPRESSION
use sed replace EXPRESSION to transform file names
.It Fl U , Fl \-unlink\-first
remove each file prior to extracting over it
.It Fl \-unquote
unquote filenames read with -T (default)
.It Fl \-no\-unquote
do not unquote filenames read with -T
.It Fl \-utc
print file modification times in UTC
.It Fl v , Fl \-verbose
verbosely list files processed
.It Fl V , Fl \-label Ar TEXT
create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name
.It Fl \-volno\-file Ns \= Ns Ar FILE
use/update the volume number in FILE
.It Fl w , Fl \-interactive , Fl \-confirmation
ask for confirmation for every action
.It Fl W , Fl \-verify
attempt to verify the archive after writing it
.It Fl \-warning Ns \= Ns Ar KEYWORD
warning control
.It Fl \-wildcards
use wildcards (default for exclusion)
.It Fl \-wildcards\-match\-slash
wildcards match '/' (default for exclusion)
.It Fl \-no\-wildcards\-match\-slash
wildcards do not match '/'
.It Fl \-no\-wildcards
verbatim string matching
.It Fl X , Fl \-exclude\-from Ar FILE
exclude patterns listed in FILE
.It Fl \-xattrs
Enable extended attributes support
.It Fl \-xattrs\-exclude Ns \= Ns Ar MASK
specify the exclude pattern for xattr keys
.It Fl \-xattrs\-include Ns \= Ns Ar MASK
specify the include pattern for xattr keys
.It Fl \-no\-xattrs
Disable extended attributes support
.It Fl z , Fl \-gzip , Fl \-gunzip Fl \-ungzip
.It Fl Z , Fl \-compress , Fl \-uncompress
.El
.Sh ENVIRONMENT
The behavior of tar is controlled by the following environment variables,
among others:
.Bl -tag -width Ds
.It Ev SIMPLE_BACKUP_SUFFIX
Backup prefix to use when extracting, if
.Fl \-suffix
is not specified.
The backup suffix defaults to `~' if neither is specified.
.It Ev TAR_OPTIONS
Options to prepend to those specified on the command line, separated by
whitespace. Embedded backslashes may be used to escape whitespace or
backslashes within an option.
.It Ev TAPE
Device or file to use for the archive if
.Fl \-file
is not specified.
If this environment variable is unset, use stdin or stdout instead.
.El
.Sh EXAMPLES
Create archive.tar from files foo and bar.
.Bd -literal -offset indent -compact
tar \-cf archive.tar foo bar
.Ed
List all files in archive.tar verbosely.
.Bd -literal -offset indent -compact
tar \-tvf archive.tar
.Ed
Extract all files from archive.tar.
.Bd -literal -offset indent -compact
tar \-xf archive.tar
.Ed
.Sh SEE ALSO
.\" libarchive
.Xr tar 5 ,
.\" man-pages
.Xr symlink 7 ,
.Xr rmt 8
.Sh HISTORY
The
.Nm tar
command appeared in
.At v7 .
.Sh BUGS
The GNU folks, in general, abhor man pages, and create info documents instead.
Unfortunately, the info document describing tar is licensed under the GFDL with
invariant cover texts, which makes it impossible to include any text
from that document in this man page.
Most of the text in this document was automatically extracted from the usage
text in the source.
It may not completely describe all features of the program.

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>base-system</herd>
<use>
<flag name='minimal'>just install `tar`</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:gnu:tar</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.26-r1.ebuild,v 1.7 2012/11/06 03:19:17 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.26-r1.ebuild,v 1.17 2014/01/18 01:55:14 vapier Exp $
EAPI="3" EAPI="3"
@ -11,9 +11,9 @@ HOMEPAGE="http://www.gnu.org/software/tar/"
SRC_URI="mirror://gnu/tar/${P}.tar.bz2 SRC_URI="mirror://gnu/tar/${P}.tar.bz2
mirror://gnu-alpha/tar/${P}.tar.bz2" mirror://gnu-alpha/tar/${P}.tar.bz2"
LICENSE="GPL-3" LICENSE="GPL-3+"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="minimal nls static userland_GNU xattr" IUSE="minimal nls static userland_GNU xattr"
RDEPEND="xattr? ( sys-apps/attr )" RDEPEND="xattr? ( sys-apps/attr )"

View File

@ -0,0 +1,79 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.27.1-r2.ebuild,v 1.7 2014/08/12 12:17:44 vapier Exp $
EAPI=4
inherit flag-o-matic eutils
DESCRIPTION="Use this to make tarballs :)"
HOMEPAGE="http://www.gnu.org/software/tar/"
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
mirror://gnu-alpha/tar/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="acl minimal nls selinux static userland_GNU xattr"
RDEPEND="acl? ( virtual/acl )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.10.35 )
xattr? ( sys-apps/attr )"
src_prepare() {
EPATCH_OPTS="-Z" \
epatch "${FILESDIR}/${P}-xattr_build_fix.patch"
epatch "${FILESDIR}/${P}-recursion_norecursion.patch"
if ! use userland_GNU ; then
sed -i \
-e 's:/backup\.sh:/gbackup.sh:' \
scripts/{backup,dump-remind,restore}.in \
|| die "sed non-GNU"
fi
}
src_configure() {
use static && append-ldflags -static
FORCE_UNSAFE_CONFIGURE=1 \
econf \
--enable-backup-scripts \
--bindir="${EPREFIX}"/bin \
--libexecdir="${EPREFIX}"/usr/sbin \
$(usex userland_GNU "" "--program-prefix=g") \
$(use_with acl posix-acls) \
$(use_enable nls) \
$(use_with selinux) \
$(use_with xattr xattrs)
}
src_install() {
emake DESTDIR="${D}" install
local p=$(usex userland_GNU "" "g")
if [[ -z ${p} ]] ; then
# a nasty yet required piece of baggage
exeinto /etc
doexe "${FILESDIR}"/rmt
fi
# autoconf looks for gtar before tar (in configure scripts), hence
# in Prefix it is important that it is there, otherwise, a gtar from
# the host system (FreeBSD, Solaris, Darwin) will be found instead
# of the Prefix provided (GNU) tar
if use prefix ; then
dosym tar /bin/gtar
fi
dodoc AUTHORS ChangeLog* NEWS README* THANKS
newman "${FILESDIR}"/tar.1-1.27 ${p}tar.1
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
if use minimal ; then
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
-delete || die
fi
}

View File

@ -0,0 +1,75 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.28.ebuild,v 1.2 2014/08/03 14:22:07 polynomial-c Exp $
EAPI=4
inherit flag-o-matic eutils
DESCRIPTION="Use this to make tarballs :)"
HOMEPAGE="http://www.gnu.org/software/tar/"
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
mirror://gnu-alpha/tar/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="acl minimal nls selinux static userland_GNU xattr"
RDEPEND="acl? ( virtual/acl )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.10.35 )
xattr? ( sys-apps/attr )"
src_prepare() {
if ! use userland_GNU ; then
sed -i \
-e 's:/backup\.sh:/gbackup.sh:' \
scripts/{backup,dump-remind,restore}.in \
|| die "sed non-GNU"
fi
}
src_configure() {
use static && append-ldflags -static
FORCE_UNSAFE_CONFIGURE=1 \
econf \
--enable-backup-scripts \
--bindir="${EPREFIX}"/bin \
--libexecdir="${EPREFIX}"/usr/sbin \
$(usex userland_GNU "" "--program-prefix=g") \
$(use_with acl posix-acls) \
$(use_enable nls) \
$(use_with selinux) \
$(use_with xattr xattrs)
}
src_install() {
emake DESTDIR="${D}" install
local p=$(usex userland_GNU "" "g")
if [[ -z ${p} ]] ; then
# a nasty yet required piece of baggage
exeinto /etc
doexe "${FILESDIR}"/rmt
fi
# autoconf looks for gtar before tar (in configure scripts), hence
# in Prefix it is important that it is there, otherwise, a gtar from
# the host system (FreeBSD, Solaris, Darwin) will be found instead
# of the Prefix provided (GNU) tar
if use prefix ; then
dosym tar /bin/gtar
fi
dodoc AUTHORS ChangeLog* NEWS README* THANKS
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
if use minimal ; then
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
-delete || die
fi
}

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install unpack
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
HOMEPAGE=http://www.bzip.org/
IUSE=static
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=b33d5e932e24959fccc3d220b06e9f9f

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install unpack
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
HOMEPAGE=http://www.bzip.org/
IUSE=static
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=7db25287822fc697f574e2a8d1291ed3

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile install prepare
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
EAPI=2
HOMEPAGE=http://www.bzip.org/
IUSE=static
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=7a8b7e22d198b7868cb7d5fdc98a9b78

View File

@ -3,9 +3,9 @@ DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
EAPI=2 EAPI=2
HOMEPAGE=http://www.bzip.org/ HOMEPAGE=http://www.bzip.org/
IUSE=static static-libs IUSE=static static-libs
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2 LICENSE=BZIP2
SLOT=0 SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 _eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=a5b82bb3c4c68c4f31155e5f89dc7761 _md5_=5cc71632984195b066ba1102178fe9a8

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
EAPI=4
HOMEPAGE=http://www.bzip.org/
IUSE=static static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=28d9e0efc76f089d36fea9c97d4f9ff7

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
EAPI=4
HOMEPAGE=http://www.bzip.org/
IUSE=static static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=1409137256f698d74afbfc7697172298

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=A high-quality data compressor used extensively by Gentoo Linux
EAPI=4
HOMEPAGE=http://www.bzip.org/
IUSE=static static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
LICENSE=BZIP2
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
SLOT=0
SRC_URI=http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=952dccfbdc67c20f65c42f985bef019f

View File

@ -1,12 +1,12 @@
DEFINED_PHASES=compile configure install prepare test DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Parallel bzip2 utility DESCRIPTION=Parallel bzip2 utility
EAPI=4 EAPI=5
HOMEPAGE=https://github.com/kjn/lbzip2/ HOMEPAGE=https://github.com/kjn/lbzip2/
IUSE=debug symlink IUSE=debug symlink
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux
LICENSE=GPL-3 LICENSE=GPL-3
RDEPEND=symlink? ( !app-arch/pbzip2[symlink] ) RDEPEND=symlink? ( !app-arch/pbzip2[symlink] )
SLOT=0 SLOT=0
SRC_URI=mirror://github/kjn/lbzip2/lbzip2-2.2.tar.gz SRC_URI=http://archive.lbzip2.org/lbzip2-2.3.tar.gz
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 _eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=4ec834a7dfd12050839afbb157348570 _md5_=899254fbf9ade61bf150a210a9f16bd2

View File

@ -1,12 +1,12 @@
DEFINED_PHASES=compile configure install prepare test DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Parallel bzip2 utility DESCRIPTION=Parallel bzip2 utility
EAPI=4 EAPI=5
HOMEPAGE=https://github.com/kjn/lbzip2/ HOMEPAGE=https://github.com/kjn/lbzip2/
IUSE=debug symlink IUSE=debug symlink
KEYWORDS=alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux
LICENSE=GPL-3 LICENSE=GPL-3
RDEPEND=symlink? ( !app-arch/pbzip2[symlink] ) RDEPEND=symlink? ( !app-arch/pbzip2[symlink] )
SLOT=0 SLOT=0
SRC_URI=mirror://github/kjn/lbzip2/lbzip2-2.2.tar.gz SRC_URI=http://archive.lbzip2.org/lbzip2-2.5.tar.gz
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 _eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 eutils 06133990e861be0fe60c2b428fd025d9 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=3f0e29a10133135372c7378676acdff5 _md5_=aaf47e71d611a50175f59df2e1747b19

View File

@ -4,10 +4,10 @@ DESCRIPTION=Use this to make tarballs :)
EAPI=3 EAPI=3
HOMEPAGE=http://www.gnu.org/software/tar/ HOMEPAGE=http://www.gnu.org/software/tar/
IUSE=minimal nls static userland_GNU xattr IUSE=minimal nls static userland_GNU xattr
KEYWORDS=alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3 LICENSE=GPL-3+
RDEPEND=xattr? ( sys-apps/attr ) RDEPEND=xattr? ( sys-apps/attr )
SLOT=0 SLOT=0
SRC_URI=mirror://gnu/tar/tar-1.26.tar.bz2 mirror://gnu-alpha/tar/tar-1.26.tar.bz2 SRC_URI=mirror://gnu/tar/tar-1.26.tar.bz2 mirror://gnu-alpha/tar/tar-1.26.tar.bz2
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 _eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=b5eb5bc4028a623a9fe6e4df13b0dde1 _md5_=c35f81fd3add10e76aaaf83cee3374a0

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=acl? ( virtual/acl ) selinux? ( sys-libs/libselinux ) nls? ( >=sys-devel/gettext-0.10.35 ) xattr? ( sys-apps/attr )
DESCRIPTION=Use this to make tarballs :)
EAPI=4
HOMEPAGE=http://www.gnu.org/software/tar/
IUSE=acl minimal nls selinux static userland_GNU xattr
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3+
RDEPEND=acl? ( virtual/acl ) selinux? ( sys-libs/libselinux )
SLOT=0
SRC_URI=mirror://gnu/tar/tar-1.27.1.tar.bz2 mirror://gnu-alpha/tar/tar-1.27.1.tar.bz2
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=ad0c65f9fe4d8ccb953b4ae8a9de526f

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=acl? ( virtual/acl ) selinux? ( sys-libs/libselinux ) nls? ( >=sys-devel/gettext-0.10.35 ) xattr? ( sys-apps/attr )
DESCRIPTION=Use this to make tarballs :)
EAPI=4
HOMEPAGE=http://www.gnu.org/software/tar/
IUSE=acl minimal nls selinux static userland_GNU xattr
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-3+
RDEPEND=acl? ( virtual/acl ) selinux? ( sys-libs/libselinux )
SLOT=0
SRC_URI=mirror://gnu/tar/tar-1.28.tar.bz2 mirror://gnu-alpha/tar/tar-1.28.tar.bz2
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
_md5_=8d73ea21e1f03b1dc81f9b60c1b9e662