# ChangeLog for app-arch/libarchive
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.97 2011/10/29 18:41:18 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.98 2012/01/10 12:52:25 ssuominen Exp $
+
+*libarchive-3.0.2 (10 Jan 2012)
+
+ 10 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +libarchive-3.0.2.ebuild,
+ metadata.xml:
+ Version bump. Remove USE="static" and move everything back to /usr wrt #398047
+ by Michał Górny.
29 Oct 2011; Raúl Porcel <armin76@gentoo.org> libarchive-2.8.4-r1.ebuild:
s390 stable
DIST libarchive-2.8.3.tar.gz 1438099 RMD160 7c77a87cdfc096417f67182bfc74141eab61aea4 SHA1 e0634a326cce2b46c8dc637de84d7556257e59e0 SHA256 16095d15334b3c8dbb02db5af3d415f12c1c3bdd4eb43af7bbc36ab7572c0b7a
DIST libarchive-2.8.4.tar.gz 1502828 RMD160 4df65456c9026cdcf05b285db33518f4ff734c6e SHA1 b9cc3bbd20bd71f996be9ec738f19fda8653f7af SHA256 86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688
DIST libarchive-2.8.5.tar.gz 1410485 RMD160 b4b75a5cf5b15312dff8addde44d91161ad1a7a4 SHA1 e48a3b50de84b1d747f5af9ca5ba90eb6d3a4a78 SHA256 13993e0ffbd121ccda46ea226b1f8eac218de0fa8da7d8b1f998093d5c32a72d
+DIST libarchive-3.0.2.tar.gz 3505998 RMD160 201c63a1743bc427243a5f6d6a0fee4d7acc53e0 SHA1 c29a45931bb9e5b0f46d848bc96f7b78a77d08a9 SHA256 b27a10182f4fc3f69d01419a59ddb16fccf5df8c4b166008c04f41905e29fd74
EBUILD libarchive-2.7.1-r1.ebuild 2537 RMD160 75c73b310d81b40fa4c734fbdbd543fb96ce3c8c SHA1 a707050438136643a5a0d701ede86e1763b87bf5 SHA256 778c0f5efa9284100da01f195d86d2128793a4f9f7bc62426e45dc08488d53cd
EBUILD libarchive-2.8.3-r1.ebuild 2782 RMD160 ec5107f384d912ba1ecfde8dc56cfda15fcc2a3c SHA1 9effece5324bc6a4e7a164b52dd71fce9a341417 SHA256 c60c400ef3094e53cd196cd618f93e3191858be59d447377facb33b60df83927
EBUILD libarchive-2.8.3.ebuild 2702 RMD160 6438f59b1379de2b9d55ffe1f207436d9f16b4f9 SHA1 2783a2d3549a783210189e8b7702c7d432d5a83c SHA256 04862c8c5c651df9a4ae52ed9666eba9019545ac5b51b269eacf0a41c331e190
EBUILD libarchive-2.8.4-r1.ebuild 2784 RMD160 0ceaaecb479d117210039398561dc66e70b14cc6 SHA1 e035db816e2d14b8d49a66323469d4c0c76292c1 SHA256 262a63e7515095f12c4762e143918d48ac8cb6747ab316410935e2f43b28131c
EBUILD libarchive-2.8.4.ebuild 2705 RMD160 82947ba234a3350384408a8c2ca47c70d6a88c00 SHA1 4ea6e95687fb264c3ae131981a831ebfc60a418f SHA256 81c4c2d06a8b30f96b51cf323a0319b95267427ad7a62b3348daa0cbbb44339d
EBUILD libarchive-2.8.5.ebuild 2669 RMD160 15a4f1265b444d7afe23fb49c67a35b54d22a28a SHA1 8d49d43e4ba6da3cf6ae33f87d7ff2af61d3e4d5 SHA256 be6256a002612a6d6e63ead4476db88c50a3806d00c27f8bcc47264a0b6b9ee2
-MISC ChangeLog 28018 RMD160 e9bd974aea73f7ce6236e832a7a5733f31878755 SHA1 1f78a73a2f2b01d5ffb683d96b017e76a8fc7401 SHA256 b661d5b791cec6564a744358fe534a2ea0e439d0b10ef571f928f39d42d7acc4
-MISC metadata.xml 1216 RMD160 337435107c616573f847037641dd542c7a24015c SHA1 3da011edda7fc72969758d40647db2b3923bd654 SHA256 e29b8e1de7ad22e681df9eb149ace27215e5bf222fda9b2096f1449ffbaa68fb
+EBUILD libarchive-3.0.2.ebuild 2151 RMD160 196d640497cd16935591393f4ca3ad23cf40f7db SHA1 afc8edc9f12217c99270f5f4f4550eb2d1e15d2b SHA256 ef89583fb9466417481e4be0b4b9027409eca22105981806ae71d67d7cc8beac
+MISC ChangeLog 28252 RMD160 3b02616a886249cb2502fe8b1be3aebd563f3d6d SHA1 45a2dc349cd11bee0310663b87cda5da08991c2a SHA256 d1bf287d8c5faa901c8f5ee88decec64728ebdf80490e27e316be0242c327a8d
+MISC metadata.xml 1276 RMD160 73e216cc9fa2119fc7aea6ed11acf6393540908c SHA1 de1edc64ba801f169e482578eacb63c59386cad0 SHA256 2820dcbb05d9f56cc62e4ae8f1c2bed66be2eef33f3ef8ef3dfd303566bd314b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6sSNQACgkQuQc30/atMkCnCgCfRNEqJwuT0BgItWTysfVDNy5y
-7MQAoKN4SbaghpxqR91yuv4JtuW2XZet
-=PiY1
+iQEcBAEBAgAGBQJPDDQyAAoJEEdUh39IaPFNlPIH/ia5lVqzKBZVaNjaLL9NEpY/
+dq154eynDgFh1FPeqAz0Eat5GPO6N9dnPinskrL62lhrz/vjBDVnCN0DXcK14DT4
++cU0caKLKFTthtpjQJ4669RRY1nIVB3+Q5uk4lOvieJgT2CbsuEOxL2CadaT4XEK
+hdmQ5kmBBQFda45iR4bZ2VOjuRfBeE1Hzl+RrXg/tyXHlOVMoS/l7qGZK2xmOShk
+FP1rVI4C5d6IvmGHnI1eY95nD4eD6ne5nJoe+ViZh/Ogg6MBYhf9n8MKpAIa+h2d
+4vee9Sp3Vj5UqBmB+L00YAEX7Watw82HCVFcn4Z5yQUkQpdofCglKfHow2LzA9w=
+=Vx1b
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-3.0.2.ebuild,v 1.1 2012/01/10 12:52:25 ssuominen Exp $
+
+EAPI=4
+inherit eutils multilib
+
+DESCRIPTION="BSD tar command"
+HOMEPAGE="http://code.google.com/p/libarchive/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="acl +bzip2 expat +iconv kernel_linux +lzma nettle static-libs xattr +zlib"
+
+RDEPEND="!dev-libs/libarchive
+ dev-libs/openssl:0
+ acl? ( virtual/acl )
+ bzip2? ( app-arch/bzip2 )
+ expat? ( dev-libs/expat )
+ !expat? ( dev-libs/libxml2 )
+ iconv? ( virtual/libiconv )
+ lzma? ( app-arch/xz-utils )
+ nettle? ( dev-libs/nettle )
+ xattr? (
+ kernel_linux? ( sys-apps/attr )
+ )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ kernel_linux? (
+ sys-fs/e2fsprogs
+ virtual/os-headers
+ )"
+
+src_configure() {
+ # We disable lzmadec because we support the newer liblzma from xz-utils
+ # and not liblzmadec with this version.
+ econf \
+ $(use_enable static-libs static) \
+ --enable-bsdtar=shared \
+ --enable-bsdcpio=shared \
+ $(use_enable xattr) \
+ $(use_enable acl) \
+ $(use_with zlib) \
+ $(use_with bzip2 bz2lib) \
+ --without-lzmadec \
+ $(use_with iconv) \
+ $(use_with lzma) \
+ $(use_with nettle) \
+ $(use_with !expat xml2) \
+ $(use_with expat expat) \
+ ${myconf}
+}
+
+src_test() {
+ # Replace the default src_test so that it builds tests in parallel
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # Libs.private: should be used from libarchive.pc instead
+ rm -f "${ED}"usr/lib*/lib*.la
+
+ # Create tar symlink for FreeBSD
+ if [[ ${CHOST} == *-freebsd* ]]; then
+ dosym bsdtar /usr/bin/tar
+ echo '.so bsdtar.1' > "${T}"/tar.1
+ doman "${T}"/tar.1
+ # We may wish to switch to symlink bsdcpio to cpio too one day
+ fi
+
+ dodoc NEWS README
+}
+
+pkg_preinst() {
+ preserve_old_lib /{,usr/}$(get_libdir)/libarchive$(get_libname 2)
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /{,usr/}$(get_libdir)/libarchive$(get_libname 2)
+}
<flag name="static">
Build bsdtar and bsdcpio as static archives, removing
dependencies over the enabled compression libraries (lzma,
- lzmadec, libbz2, zlib).
+ libbz2, zlib).
</flag>
<flag name="zlib">
Allow accessing gzip-compressed archives through
libarchive's native support: bsdtar will keep using bunzip2 as a
filter if that's not built-in.
</flag>
+ <flag name="nettle">Use dev-libs/nettle as crypto backend</flag>
</use>
</pkgmetadata>