# ChangeLog for app-arch/bsdtar
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.61 2007/04/07 17:30:23 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.62 2007/04/15 15:17:50 drizzt Exp $
+
+*bsdtar-2.0.31 (15 Apr 2007)
+
+ 15 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> +bsdtar-2.0.31.ebuild:
+ Version bump (thx to Flameeyes for reporting on irc)
*bsdtar-2.0.28 (07 Apr 2007)
DIST libarchive-2.0.24.tar.gz 574114 RMD160 81f6fc4074c017e6139d7330b9c92594a8c59a0e SHA1 569776e5516c8fb99dca247ff57eb37ac26a44e7 SHA256 2d233e4191fde110a4dadcdff33016f027d2942658f273f6f10ee59f5112db94
DIST libarchive-2.0.25.tar.gz 574428 RMD160 d699cb9612bba7a71616ce95d39986d34d93dd0b SHA1 d1f28baf34f73e6ada73cd85c4577e6cedfac905 SHA256 76068ac0f426e1bf565086f57e13ef2c705c2a06dd4a6044053a26dc95d51e44
DIST libarchive-2.0.28.tar.gz 587038 RMD160 800d43826bfcc9f1caf05a564ac0dedcb1e04ff8 SHA1 b321a930bf3ccf22cc3bfb944ddfaefa10374280 SHA256 8c543ee180aa0b3d2c045e0f5301cece5346f374ab972f1ca6502e18550798d6
+DIST libarchive-2.0.31.tar.gz 602844 RMD160 11a67ff388a02cf2d570df1a0576ead91570e6b6 SHA1 07a455ad4a9fb4ba37a33675693bc5a56fb67393 SHA256 ee661b2c5ef7e19930834e047acd247f83d019af46ded1c7016bf747b0eeb9df
EBUILD bsdtar-1.3.1-r2.ebuild 1900 RMD160 2ab4303a9250f0bb958c838fee4b78b0d40d6079 SHA1 dc695fd9ff572f84b45b32e723d59a83444db1d6 SHA256 f4975dbc3ea0ce23cee1c0a21b1f0017f58e65b946fe5959752908e3939ab2f3
MD5 91eb945235769a64c6f88e79561ff150 bsdtar-1.3.1-r2.ebuild 1900
RMD160 2ab4303a9250f0bb958c838fee4b78b0d40d6079 bsdtar-1.3.1-r2.ebuild 1900
MD5 b39545199e772e90b338731d8eb6c377 bsdtar-2.0.28.ebuild 1881
RMD160 9004ef70f541c1c12ff3bb1afb5d05b8c6fb15b7 bsdtar-2.0.28.ebuild 1881
SHA256 67ca53ae6bfbe09c4da228abab4d5ffe6a4dc2d1abe1d4c23eaff9c7d25fd101 bsdtar-2.0.28.ebuild 1881
-MISC ChangeLog 10751 RMD160 5c16ebdb0ba0f1ed130ba5b062a5702eaf0c8341 SHA1 6212c598f427b11add7fcbc8a86f2fea49076caa SHA256 bd74f5a397b4d9cd65664d6270b0ad08e711f73a65511684b466bf86a72108df
-MD5 071984809556cfd241e6a6609abadcc2 ChangeLog 10751
-RMD160 5c16ebdb0ba0f1ed130ba5b062a5702eaf0c8341 ChangeLog 10751
-SHA256 bd74f5a397b4d9cd65664d6270b0ad08e711f73a65511684b466bf86a72108df ChangeLog 10751
+EBUILD bsdtar-2.0.31.ebuild 1881 RMD160 d32d938e4bef21fa217be1e8f34cc57499afac29 SHA1 a86319be7fc220a3e2a058613ced3b89cf55d6f3 SHA256 4a9dc83cf80a38215e4bb9bafa6e40793f5c34a4d742e257860e227c99912ebd
+MD5 70b95fa05d0d7d5ed27b2ea1a469e267 bsdtar-2.0.31.ebuild 1881
+RMD160 d32d938e4bef21fa217be1e8f34cc57499afac29 bsdtar-2.0.31.ebuild 1881
+SHA256 4a9dc83cf80a38215e4bb9bafa6e40793f5c34a4d742e257860e227c99912ebd bsdtar-2.0.31.ebuild 1881
+MISC ChangeLog 10912 RMD160 617a673de2bde208b95ff66f867b810dac9fc5d4 SHA1 d9b8fd2d4f04a84d2d374a40c65d1af96286c896 SHA256 5b8bafb8743673e8418c82b1245f9de6cc7e7a23be0c64d046befb100f65a55d
+MD5 21ff3b91f1e8966994406a0c7052e4a5 ChangeLog 10912
+RMD160 617a673de2bde208b95ff66f867b810dac9fc5d4 ChangeLog 10912
+SHA256 5b8bafb8743673e8418c82b1245f9de6cc7e7a23be0c64d046befb100f65a55d ChangeLog 10912
MISC metadata.xml 337 RMD160 31dad5aaff39f6017382ea7c4f77ac229793c487 SHA1 c32d51164489ed68a27016c26aafae04b70ee447 SHA256 c82266892e94c9792cadf25c0ba9c4cf42d5279903e791b80e8f735ec91d923b
MD5 abbe0170afef9b0f317830b41e537afa metadata.xml 337
RMD160 31dad5aaff39f6017382ea7c4f77ac229793c487 metadata.xml 337
MD5 67d35e9b86d3615d4cbb819f0ebde1de files/digest-bsdtar-2.0.28 253
RMD160 74ce19570f2a5a7096767a1eb5a5d2516580ad94 files/digest-bsdtar-2.0.28 253
SHA256 2a011173a31e3e27b36388a70063caa0bd85eb71956420efa5d88475b604db8d files/digest-bsdtar-2.0.28 253
+MD5 0549b39d91908dfc781f229eee6eced9 files/digest-bsdtar-2.0.31 253
+RMD160 5f2fa7fb92b36187fada6ca5a132402950660948 files/digest-bsdtar-2.0.31 253
+SHA256 557ebd11dce3faa8f6014ab3d4fc8b1caac52ccfa698f6bcff1bc1c126e50f9a files/digest-bsdtar-2.0.31 253
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFGF9U1GDyatLGpTbYRAh2NAJ0ffIrcHookmxjtR/NKXADY2VETvwCfX48P
-WKiEkzD5TYfkjOdIPswCoBE=
-=CpZ6
+iD8DBQFGIkIkjJyKLBkBVroRAkz4AJ40uPiyPd7KgJJDblrSyzwmMgF0vQCgpP9A
+crZu2TkhqbO7JD2xCitmCto=
+=mGHv
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-2.0.31.ebuild,v 1.1 2007/04/15 15:17:50 drizzt Exp $
+
+inherit eutils autotools toolchain-funcs flag-o-matic
+
+MY_P="libarchive-${PV/_beta/b}"
+
+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 ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="build static acl xattr"
+
+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}"
+
+ epatch "${FILESDIR}"/libarchive-1.3.1-static.patch
+ epatch "${FILESDIR}"/libarchive-2.0b6-acl.patch
+
+ eautoreconf
+ epunt_cxx
+}
+
+src_compile() {
+ local myconf
+
+ if use static || use build ; then
+ myconf="${myconf} --enable-static-bsdtar"
+ else
+ myconf="${myconf} --disable-static-bsdtar"
+ fi
+
+ # Upstream doesn't seem to care to fix the problems
+ # and I don't want to continue running after them.
+ append-flags -fno-strict-aliasing
+
+ econf \
+ --bindir=/bin \
+ $(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
+ fi
+
+ 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
+}