Portage is a package management system used by Gentoo Linux
# ChangeLog for app-arch/libarchive
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.27 2008/07/04 14:34:27 flameeyes Exp $
*libarchive-2.5.5 (04 Jul 2008)
04 Jul 2008; Diego Pettenò
-files/libarchive-2.5.4b-glibc.patch, -libarchive-2.5.4_beta.ebuild,
+libarchive-2.5.5.ebuild:
Version bump, remove old beta.
*libarchive-2.5.4_beta (26 May 2008)
26 May 2008; Diego Pettenò
+files/libarchive-2.5.4b-glibc.patch, -libarchive-2.4.5.ebuild,
-libarchive-2.4.14.ebuild, -libarchive-2.5.0_beta.ebuild,
-libarchive-2.5.1_beta.ebuild, -libarchive-2.5.3_beta.ebuild,
+libarchive-2.5.4_beta.ebuild:
Version bump (with patch), and cleanup old versions.
*libarchive-2.5.3_beta (05 May 2008)
05 May 2008; Diego Pettenò
+libarchive-2.5.3_beta.ebuild:
Version bump.
*libarchive-2.5.1_beta (05 Apr 2008)
*libarchive-2.4.17 (05 Apr 2008)
05 Apr 2008; Diego Pettenò
+libarchive-2.4.17.ebuild, +libarchive-2.5.1_beta.ebuild:
Version bump for both stable and beta branches.
16 Mar 2008; Raúl Porcel
libarchive-2.5.0_beta.ebuild:
Add ~ia64/~sparc
*libarchive-2.5.0_beta (15 Mar 2008)
15 Mar 2008; Diego Pettenò
+libarchive-2.5.0_beta.ebuild:
Add new beta of libarchive 2.5. Not package.masked as there seems not to
be any huge changes for now.
15 Mar 2008; Santiago M. Mola
libarchive-2.4.12.ebuild:
amd64 stable wrt bug #213503
15 Mar 2008; Diego Pettenò
Signing failed, re-sign.
*libarchive-2.4.14 (15 Mar 2008)
15 Mar 2008; Diego Pettenò
-libarchive-2.4.13.ebuild, +libarchive-2.4.14.ebuild:
Version bump.
*libarchive-2.4.13 (26 Feb 2008)
26 Feb 2008; Diego Pettenò
-libarchive-2.4.11.ebuild, +libarchive-2.4.13.ebuild:
Version bump.
23 Jan 2008; Samuli Suominen
Needs uudecode from sharutils or freebsd-ubin.
*libarchive-2.4.12 (23 Jan 2008)
23 Jan 2008; Diego Pettenò
+libarchive-2.4.12.ebuild:
Version bump.
*libarchive-2.4.11 (31 Dec 2007)
31 Dec 2007; Diego Pettenò
-libarchive-2.4.8.ebuild, -libarchive-2.4.10.ebuild,
+libarchive-2.4.11.ebuild:
Version bump and remove old versions.
*libarchive-2.4.10 (29 Dec 2007)
29 Dec 2007; Diego Pettenò
+libarchive-2.4.10.ebuild:
Version bump.
*libarchive-2.4.8 (14 Dec 2007)
14 Dec 2007; Diego Pettenò
-libarchive-2.4.7.ebuild, +libarchive-2.4.8.ebuild:
Version bump.
*libarchive-2.4.7 (13 Dec 2007)
13 Dec 2007; Diego Pettenò
-files/libarchive-2.1.5-acl.patch, -files/libarchive-2.1.9-static.patch,
-libarchive-2.2.4.ebuild, -libarchive-2.4.0-r1.ebuild,
+libarchive-2.4.7.ebuild:
Version bump, and remove old versions and patches.
05 Dec 2007; Samuli Suominen
amd64 stable wrt #200173
*libarchive-2.4.5 (05 Dec 2007)
05 Dec 2007; Samuli Suominen
Version bump, test suite works now.
*libarchive-2.4.4 (04 Dec 2007)
04 Dec 2007; Samuli Suominen
Version bump, thanks to Tim Kientzle
our patch fixing automagic acl and xattr. This version also fixes most of
the test suite.
*libarchive-2.4.2 (03 Dec 2007)
03 Dec 2007; Samuli Suominen
Version bump.
*libarchive-2.4.0-r1 (06 Nov 2007)
06 Nov 2007; Diego Pettenò
-libarchive-2.3.5.ebuild, -libarchive-2.4.0.ebuild,
+libarchive-2.4.0-r1.ebuild:
Fix linking of shared libarchive, thanks to Jan Psota for reporting.
*libarchive-2.4.0 (04 Nov 2007)
04 Nov 2007; Diego Pettenò
-libarchive-2.2.5.ebuild, -libarchive-2.3.3.ebuild,
-libarchive-2.3.4.ebuild, +libarchive-2.4.0.ebuild:
Version bump, and cleanup of old ebuilds.
*libarchive-2.3.5 (29 Oct 2007)
29 Oct 2007; Roy Marples
Bump and enable bsdcpio.
*libarchive-2.3.4 (10 Oct 2007)
10 Oct 2007; Roy Marples
Bump
*libarchive-2.3.3 (04 Oct 2007)
04 Oct 2007;
Version bump
*libarchive-2.2.5 (14 Jul 2007)
14 Jul 2007; Diego Pettenò
+libarchive-2.2.5.ebuild:
Version bump.
13 Jul 2007; Diego Pettenò
+files/libarchive-2.1.5-acl.patch, +files/libarchive-2.1.9-static.patch,
+metadata.xml, +libarchive-2.2.4.ebuild:
Add libarchive.
*libarchive-2.2.4 (13 Jul 2007)
13 Jul 2007; Diego Pettenò
+files/libarchive-2.1.5-acl.patch, +files/libarchive-2.1.9-static.patch,
+metadata.xml, +libarchive-2.2.4.ebuild:
Move app-arch/bsdtar to app-arch/libarchive
13 Jul 2007; Steve Dibb
amd64 stable, security bug 184984
*bsdtar-2.2.4 (12 Jul 2007)
12 Jul 2007; Roy Marples
Bumpage.
23 Jun 2007; Diego Pettenò
-files/libarchive-1.2.53-strict-aliasing.patch,
-files/libarchive-1.2.57-acl.patch,
-files/libarchive-1.3.1-infiniteloop.patch, -bsdtar-1.3.1-r2.ebuild,
-bsdtar-2.2.2.ebuild:
Remove some old files.
31 May 2007; Daniel Gryniewicz
Marked stable on amd64 for bug #180017
*bsdtar-2.2.3 (27 May 2007)
27 May 2007; Diego Pettenò
-bsdtar-2.0.24.ebuild, -bsdtar-2.0.25.ebuild, -bsdtar-2.0.28.ebuild,
-bsdtar-2.1.5.ebuild, +bsdtar-2.2.3.ebuild:
Version bump to 2.2.3 and remove redundant versions.
23 May 2007; Timothy Redaelli
-bsdtar-2.1.10.ebuild:
Remove bugged bsdtar versions.
*bsdtar-2.2.2 (17 May 2007)
17 May 2007; Roy Marples
New version.
*bsdtar-2.1.10 (03 May 2007)
03 May 2007; Timothy Redaelli
Version bump
*bsdtar-2.1.9 (26 Apr 2007)
26 Apr 2007; Timothy Redaelli
+files/libarchive-2.1.9-static.patch, +bsdtar-2.1.9.ebuild:
Version bump, fixed static patch
*bsdtar-2.1.5 (17 Apr 2007)
17 Apr 2007; Timothy Redaelli
+files/libarchive-2.1.5-acl.patch, +bsdtar-2.1.5.ebuild:
Version bump, updated acl patch
*bsdtar-2.0.31 (15 Apr 2007)
15 Apr 2007; Timothy Redaelli
Version bump (thx to Flameeyes for reporting on irc)
*bsdtar-2.0.28 (07 Apr 2007)
07 Apr 2007; Timothy Redaelli
Version bump (thx to Flameeyes for reporting on irc)
*bsdtar-2.0.25 (13 Mar 2007)
13 Mar 2007; Timothy Redaelli
Just another bsdtar bump.
*bsdtar-2.0.24 (11 Mar 2007)
11 Mar 2007; Timothy Redaelli
-files/libarchive-2.0.21-tests.patch, -bsdtar-2.0.21.ebuild,
+bsdtar-2.0.24.ebuild:
Just another bsdtar bump
*bsdtar-2.0.21 (10 Mar 2007)
10 Mar 2007; Timothy Redaelli
+files/libarchive-2.0.21-tests.patch, +bsdtar-2.0.21.ebuild:
Version bump, patch taken from Flameeyes overlay
*bsdtar-2.0.20 (04 Mar 2007)
04 Mar 2007; Timothy Redaelli
-bsdtar-2.0_beta17.ebuild, +bsdtar-2.0.20.ebuild:
Finally a 2.0 final release.
*bsdtar-2.0_beta17 (01 Mar 2007)
01 Mar 2007; Timothy Redaelli
-bsdtar-2.0_beta15.ebuild, +bsdtar-2.0_beta17.ebuild:
Just another bsdtar version bump
*bsdtar-2.0_beta15 (27 Feb 2007)
27 Feb 2007; Timothy Redaelli
-files/libarchive-2.0b12-tests.patch, -bsdtar-2.0_beta13.ebuild,
+bsdtar-2.0_beta15.ebuild:
Version bump (taken from Flameeyes overlay)
*bsdtar-2.0_beta13 (26 Feb 2007)
26 Feb 2007; Timothy Redaelli
-files/libarchive-2.0b11-tests.patch,
+files/libarchive-2.0b12-tests.patch, -bsdtar-2.0_beta12.ebuild,
+bsdtar-2.0_beta13.ebuild:
Version bump (taken from Flameeyes overlay)
*bsdtar-2.0_beta12 (25 Feb 2007)
25 Feb 2007; Timothy Redaelli
-files/libarchive-2.0b7-noacl.patch, -bsdtar-2.0_beta11.ebuild,
+bsdtar-2.0_beta12.ebuild:
Version Bump
11 Feb 2007; Diego Pettenò
files/libarchive-2.0b11-tests.patch:
Improve tests patch, one less failure although it still doesn't pass.
11 Feb 2007; Diego Pettenò
-files/libarchive-2.0b6-linux.patch:
Remove extra patch.
*bsdtar-2.0_beta11 (11 Feb 2007)
11 Feb 2007; Diego Pettenò
+files/libarchive-2.0b11-tests.patch, -bsdtar-2.0_beta9.ebuild,
-bsdtar-2.0_beta10.ebuild, +bsdtar-2.0_beta11.ebuild:
Version bump, and add a src_test function with the libarchive/bsdtar tests,
it is currently failing.
*bsdtar-2.0_beta10 (07 Feb 2007)
07 Feb 2007; Diego Pettenò
+bsdtar-2.0_beta10.ebuild:
Version bump.
01 Feb 2007; Diego Pettenò
bsdtar-2.0_beta9.ebuild:
Fix manpage symlinks.
*bsdtar-2.0_beta9 (01 Feb 2007)
01 Feb 2007; Diego Pettenò
-bsdtar-2.0_beta7.ebuild, +bsdtar-2.0_beta9.ebuild:
Update to latest version.
28 Jan 2007; Diego Pettenò
bsdtar-2.0_beta7.ebuild:
Fix keywording.
*bsdtar-2.0_beta7 (28 Jan 2007)
28 Jan 2007; Diego Pettenò
+files/libarchive-2.0b6-acl.patch, +files/libarchive-2.0b6-linux.patch,
+files/libarchive-2.0b7-noacl.patch, +bsdtar-2.0_beta7.ebuild:
Version bump, with a few patches to make it compile.
21 Nov 2006; Diego Pettenò
Give this back to bsd herd.
14 Nov 2006; Diego Pettenò
-files/libarchive-1.2.51-acl.patch,
-files/libarchive-1.2.51-linking.patch, -bsdtar-1.2.53.ebuild,
-bsdtar-1.2.57.ebuild, -bsdtar-1.3.1.ebuild, -bsdtar-1.3.1-r1.ebuild:
Remove old versions, and old patches.
11 Nov 2006;
stable on amd64
09 Nov 2006; Diego Pettenò
Manifest sign.
*bsdtar-1.3.1-r2 (09 Nov 2006)
09 Nov 2006; Diego Pettenò
+files/libarchive-1.3.1-infiniteloop.patch, +bsdtar-1.3.1-r2.ebuild:
Add patch to fix the infinite loop as per bug #154334.
17 Oct 2006; Roy Marples
Added ~sparc-fbsd keyword.
08 Oct 2006; Fabian Groffen
bsdtar-1.2.57.ebuild, bsdtar-1.3.1.ebuild, bsdtar-1.3.1-r1.ebuild:
Dropped ~ppc-macos, see you in prefix.
*bsdtar-1.3.1-r1 (06 Oct 2006)
06 Oct 2006; Diego Pettenò
+files/libarchive-1.3.1-static.patch, +bsdtar-1.3.1-r1.ebuild:
Make sure that build/static useflags are correctly respected (as this
package is used in Gentoo/FreeBSD stage1).
06 Oct 2006; Diego Pettenò
Fix dependencies.
24 Sep 2006; Diego Pettenò
bsdtar-1.2.57.ebuild, bsdtar-1.3.1.ebuild:
Fix the autotools version dependencies.
*bsdtar-1.3.1 (08 Sep 2006)
08 Sep 2006; Diego Pettenò
-bsdtar-1.2.53-r1.ebuild, +bsdtar-1.3.1.ebuild:
Version bump and remove old version.
*bsdtar-1.2.57 (02 Sep 2006)
02 Sep 2006; Diego Pettenò
+files/libarchive-1.2.57-acl.patch, +bsdtar-1.2.57.ebuild:
Version bump with a new patch.
31 Jul 2006; Diego Pettenò
bsdtar-1.2.53-r1.ebuild:
Use -j1 to actually install.
30 Jul 2006; Diego Pettenò
bsdtar-1.2.53-r1.ebuild:
Die when the install failed.
*bsdtar-1.2.53-r1 (18 Jun 2006)
18 Jun 2006; Diego Pettenò
+files/libarchive-1.2.53-strict-aliasing.patch, +bsdtar-1.2.53-r1.ebuild:
Add patch to fix strict-aliasing.
09 Jun 2006; Emanuele Giaquinta
Simplify test for static, no need to special case darwin.
14 May 2006; Diego Pettenò
-files/bsdtar-1.02.027-osx.patch, -bsdtar-1.02.027-r1.ebuild,
-bsdtar-1.2.52.ebuild:
Drop old versions.
14 May 2006; Luis Medinas
Stable on amd64. Bug #132604.
30 Mar 2006; Diego Pettenò
Add ~x86-fbsd keyword.
*bsdtar-1.2.53 (24 Mar 2006)
24 Mar 2006; Diego Pettenò
Version bump.
*bsdtar-1.2.52 (22 Mar 2006)
22 Mar 2006; Diego Pettenò
-bsdtar-1.2.51-r1.ebuild, +bsdtar-1.2.52.ebuild:
Version bump to fix problems on FreeBSD.
21 Mar 2006; Diego Pettenò
-bsdtar-1.2.38.ebuild:
Drop old versions.
*bsdtar-1.2.51-r1 (21 Mar 2006)
21 Mar 2006; Diego Pettenò
+files/libarchive-1.2.51-acl.patch,
+files/libarchive-1.2.51-linking.patch, -bsdtar-1.2.51.ebuild,
+bsdtar-1.2.51-r1.ebuild:
Add patches to make acl and attr optional, plus link bsdtar non statically.
*bsdtar-1.2.51 (19 Mar 2006)
19 Mar 2006; Diego Pettenò
Version bump, this version merges libarchive and bsdtar in the same package,
so it requires to get libarchive removed before merging.
*bsdtar-1.2.38 (18 Feb 2006)
18 Feb 2006; Diego Pettenò
Bump following upstream.
05 Jan 2006; Diego Pettenò
-bsdtar-1.02.036.ebuild:
Drop old version.
*bsdtar-1.2.37 (08 Nov 2005)
08 Nov 2005; Diego Pettenò
Updated to latest upstream version. Changed versioning scheme by upstream.
05 Nov 2005; Diego Pettenò
-bsdtar-1.02.030.ebuild, -bsdtar-1.02.034.ebuild:
Remove old versions.
*bsdtar-1.02.036 (13 Oct 2005)
13 Oct 2005; Diego Pettenò
+bsdtar-1.02.036.ebuild:
Updated to latest version.
09 Oct 2005; Diego Pettenò
bsdtar-1.02.027-r1.ebuild, bsdtar-1.02.030.ebuild, bsdtar-1.02.034.ebuild:
Don't symlink bsdtar on every BSD userland, but just on freebsd. NetBSD uses
OpenBSD pax instead, for example.
25 Sep 2005; Diego Pettenò
Don't try to use -static on Darwin userland, as it doesn't work.
*bsdtar-1.02.034 (25 Sep 2005)
25 Sep 2005; Diego Pettenò
-bsdtar-1.02.032.ebuild, -bsdtar-1.02.033.ebuild, +bsdtar-1.02.034.ebuild:
Updated to latest upstream version, cleaned up old versions.
*bsdtar-1.02.033 (24 Sep 2005)
24 Sep 2005; Diego Pettenò
+bsdtar-1.02.033.ebuild:
Update to latest upstream version.
*bsdtar-1.02.032 (07 Sep 2005)
07 Sep 2005; Diego Pettenò
-files/bsdtar-1.02.031-wchar.patch, -bsdtar-1.02.031.ebuild,
+bsdtar-1.02.032.ebuild:
Updated to latest upstream version, dropped wchar patch as new libarchive
fixes it definitively (changed dependency to avoid problems; also now just
RDEPEND on it if not built static, and not on zlib/bzip2 as they are
dependencies of libarchive itself).
*bsdtar-1.02.031 (06 Sep 2005)
06 Sep 2005; Diego Pettenò
+files/bsdtar-1.02.031-wchar.patch, +bsdtar-1.02.031.ebuild:
Updated bsdtar, unrestricted the libarchive dependency. Added patch to
compile clean with latest libarchive.
30 Aug 2005; Diego Pettenò
Don't use ${P} for osx patch.
30 Aug 2005; Diego Pettenò
Re-added osx patch as it's still needed, I trusted upstream on that but
direct test shown it's not as it was told.
*bsdtar-1.02.030 (28 Aug 2005)
28 Aug 2005; Diego Pettenò
+bsdtar-1.02.030.ebuild:
Updated to latest upstream version. Dropped osx patch as it's fixed upstream
now.
28 Jul 2005; Diego Pettenò
bsdtar-1.02.027-r1.ebuild:
Stable on amd64.
22 Jul 2005; Diego Pettenò
+files/bsdtar-1.02.027-osx.patch, bsdtar-1.02.027-r1.ebuild:
Added patch for OSX compatibility.
21 Jun 2005; Diego Pettenò
bsdtar-1.02.027-r1.ebuild:
Added build and static useflag, needed to build Gentoo/FreeBSD stage.
*bsdtar-1.02.027-r1 (17 Jun 2005)
17 Jun 2005;
+bsdtar-1.02.027-r1.ebuild:
Install in /bin as does gnutar. Symlink man page on BSD systems.
16 Jun 2005; David Holm
Added to ~ppc.
*bsdtar-1.02.027 (16 Jun 2005)
16 Jun 2005; Diego Pettenò
+bsdtar-1.02.027.ebuild:
Initial version, BSD version of tar, usable also on Linux. Faster and
simpler, and supports more fileformats.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST libarchive-2.4.12.tar.gz 823753 RMD160 9330cbeb6a2130ea476dce324b010506ec14e9a8 SHA1 78ce56e823277a5574ee54d05555b79bac3a679c SHA256 c4731d48779c91536c8ae3b28b64c785c4b322a6f8b26c3ccccf2ac743ef738c
DIST libarchive-2.4.17.tar.gz 826206 RMD160 10be300628e7d81ab24f1fb1e51aaa90ff3e1b14 SHA1 9921f7a96ab22f3542990d87107812174504f879 SHA256 27dcdf1bdebb53190268858c0ff07b1113bb27e9050e6990492d2ed03466b5f9
DIST libarchive-2.5.5.tar.gz 865962 RMD160 f77601a9b066bbb0acc36962752e4e0fb2f9a393 SHA1 a98771df25f605b786faa36f6411cc81abb98236 SHA256 b566ffd57b6d39ea9614b03df29950064c92015d3324072b053a0bf43375a9a9
EBUILD libarchive-2.4.12.ebuild 1700 RMD160 e00760e535974f709b2b80ab0d3ff750d94e1f68 SHA1 0f55a3148433c61b20596455461e31f4f5e0d627 SHA256 7a4d37b873547e7c41977fbbee261fa5d029a732af0b4d023adf2237b39d1bc9
EBUILD libarchive-2.4.17.ebuild 1736 RMD160 9b68fcfdc438c0b6948ee97fcbe70a50ac2a3db4 SHA1 e7a38e1410d97e79bb8b1a1ab1d889a2e13a7233 SHA256 5443541b07f052866e5f9d0d2a130192c328f59fff4a628a0f305b87fbf3a81c
EBUILD libarchive-2.5.5.ebuild 1765 RMD160 eac4f7a87dd2cd0bdea95df72820954fd4a4e73b SHA1 81cdc5958114ff1f17d1f8bd90a410dafcee8725 SHA256 90cacae3d1826486ff689f22d91c8927c1f02f809998524f5e7535343da1f92f
MISC ChangeLog 17476 RMD160 39039495affcbe6515ea8a2593d15e7c2c6df429 SHA1 7201cc05d005a0a2fe587d3544bb5e2384a59693 SHA256 ae4da62c97926ff1af8af16b7d39c980f20b7b0cd03cf57e3c8d2bd4f0038bb3
MISC metadata.xml 337 RMD160 31dad5aaff39f6017382ea7c4f77ac229793c487 SHA1 c32d51164489ed68a27016c26aafae04b70ee447 SHA256 c82266892e94c9792cadf25c0ba9c4cf42d5279903e791b80e8f735ec91d923b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhuNPkACgkQAiZjviIA2XgCkgCgrjzVfvJLnlLgUkEcAeSA3cxp
YmgAn1uhmBSyrxGe6GCEJtYpBXi69Hi2
=RZuX
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.12.ebuild,v 1.3 2008/03/15 16:21:59 coldwind Exp $
inherit eutils libtool toolchain-funcs
DESCRIPTION="BSD tar command"
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="build static acl xattr kernel_linux"
RDEPEND="!dev-libs/libarchive
kernel_linux? (
acl? ( sys-apps/acl )
xattr? ( sys-apps/attr )
)
!static? ( !build? (
app-arch/bzip2
sys-libs/zlib ) )"
DEPEND="${RDEPEND}
|| ( app-arch/sharutils sys-freebsd/freebsd-ubin )
kernel_linux? ( sys-fs/e2fsprogs
virtual/os-headers )"
src_unpack() {
unpack ${A}
cd "${S}"
elibtoolize
epunt_cxx
}
src_compile() {
local myconf
if ! use static && ! use build ; then
myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
fi
econf --bindir=/bin --enable-bsdcpio \
$(use_enable acl) $(use_enable xattr) \
${myconf} || die "econf failed."
emake || die "emake failed."
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed."
# Create tar symlink for FreeBSD
if [[ ${CHOST} == *-freebsd* ]]; then
dosym bsdtar /bin/tar
dosym bsdtar.1 /usr/share/man/man1/tar.1
# We may wish to switch to symlink bsdcpio to cpio too one day
fi
dodoc NEWS README
if use build; then
rm -rf "${D}"/usr
rm -rf "${D}"/lib/*.so*
return 0
fi
dodir /$(get_libdir)
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
gen_usr_ldscript libarchive.so
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.17.ebuild,v 1.1 2008/04/05 14:49:32 flameeyes Exp $
inherit eutils libtool toolchain-funcs
DESCRIPTION="BSD tar command"
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="build static acl xattr kernel_linux"
RDEPEND="!dev-libs/libarchive
kernel_linux? (
acl? ( sys-apps/acl )
xattr? ( sys-apps/attr )
)
!static? ( !build? (
app-arch/bzip2
sys-libs/zlib ) )"
DEPEND="${RDEPEND}
|| ( app-arch/sharutils sys-freebsd/freebsd-ubin )
kernel_linux? ( sys-fs/e2fsprogs
virtual/os-headers )"
src_unpack() {
unpack ${A}
cd "${S}"
elibtoolize
epunt_cxx
}
src_compile() {
local myconf
if ! use static && ! use build ; then
myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
fi
econf --bindir=/bin --enable-bsdcpio \
$(use_enable acl) $(use_enable xattr) \
${myconf} \
--disable-dependency-tracking || die "econf failed."
emake || die "emake failed."
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed."
# Create tar symlink for FreeBSD
if [[ ${CHOST} == *-freebsd* ]]; then
dosym bsdtar /bin/tar
dosym bsdtar.1 /usr/share/man/man1/tar.1
# We may wish to switch to symlink bsdcpio to cpio too one day
fi
dodoc NEWS README
if use build; then
rm -rf "${D}"/usr
rm -rf "${D}"/lib/*.so*
return 0
fi
dodir /$(get_libdir)
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
gen_usr_ldscript libarchive.so
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.5.5.ebuild,v 1.1 2008/07/04 14:34:27 flameeyes Exp $
MY_P="${P/_beta/b}"
inherit eutils libtool toolchain-funcs
DESCRIPTION="BSD tar command"
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="build static acl xattr kernel_linux"
RDEPEND="!dev-libs/libarchive
kernel_linux? (
acl? ( sys-apps/acl )
xattr? ( sys-apps/attr )
)
!static? ( !build? (
app-arch/bzip2
sys-libs/zlib ) )"
DEPEND="${RDEPEND}
kernel_linux? ( sys-fs/e2fsprogs
virtual/os-headers )"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
elibtoolize
epunt_cxx
}
src_compile() {
local myconf
if ! use static && ! use build ; then
myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
fi
econf --bindir=/bin \
--enable-bsdtar --enable-bsdcpio \
$(use_enable acl) $(use_enable xattr) \
${myconf} \
--disable-dependency-tracking || die "econf failed."
emake || die "emake failed."
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed."
# Create tar symlink for FreeBSD
if [[ ${CHOST} == *-freebsd* ]]; then
dosym bsdtar /bin/tar
dosym bsdtar.1 /usr/share/man/man1/tar.1
# We may wish to switch to symlink bsdcpio to cpio too one day
fi
dodoc NEWS README
if use build; then
rm -rf "${D}"/usr
rm -rf "${D}"/lib/*.so*
return 0
fi
dodir /$(get_libdir)
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
gen_usr_ldscript libarchive.so
}
The bsdtar program creates and manipulates streaming archive files.
It has a number of advantages over previous tar implementations.