# 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.60 2007/03/13 15:52:37 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.61 2007/04/07 17:30:23 drizzt Exp $
+
+*bsdtar-2.0.28 (07 Apr 2007)
+
+ 07 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> +bsdtar-2.0.28.ebuild:
+ Version bump (thx to Flameeyes for reporting on irc)
*bsdtar-2.0.25 (13 Mar 2007)
DIST libarchive-2.0.20.tar.gz 566980 RMD160 cdd7368982f96524dd2315106e7c74a2a18920ac SHA1 d33e399547cebf075057091c16d51834eed01571 SHA256 ff846d4f8be27c7f2efcf3e26f56f91347c88b289bab31f65fada7093f879c1f
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
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 815dc5e27c58f9aaa61ef51d83cb891f bsdtar-2.0.25.ebuild 1881
RMD160 ea974158cb793ad126f11eed5593e437db235346 bsdtar-2.0.25.ebuild 1881
SHA256 349a1800950c2cbc6f20d47f7f37ae84c7d6453b5916102cf1736ae7a3886629 bsdtar-2.0.25.ebuild 1881
-MISC ChangeLog 10590 RMD160 467428252ef8af94eee9d13a70d320fb35648813 SHA1 5e67ddf476fc79f538a2ca248ae2528f8bb95c91 SHA256 2e429f952e984047814aa38f4ab24def5bf24651a18b2b1a247e3205a7072f0a
-MD5 1c4aaf62003b664de2323becf2c7fdf0 ChangeLog 10590
-RMD160 467428252ef8af94eee9d13a70d320fb35648813 ChangeLog 10590
-SHA256 2e429f952e984047814aa38f4ab24def5bf24651a18b2b1a247e3205a7072f0a ChangeLog 10590
+EBUILD bsdtar-2.0.28.ebuild 1881 RMD160 9004ef70f541c1c12ff3bb1afb5d05b8c6fb15b7 SHA1 f2adf971f4012c963970cd98d7ba94842220bc38 SHA256 67ca53ae6bfbe09c4da228abab4d5ffe6a4dc2d1abe1d4c23eaff9c7d25fd101
+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
MISC metadata.xml 337 RMD160 31dad5aaff39f6017382ea7c4f77ac229793c487 SHA1 c32d51164489ed68a27016c26aafae04b70ee447 SHA256 c82266892e94c9792cadf25c0ba9c4cf42d5279903e791b80e8f735ec91d923b
MD5 abbe0170afef9b0f317830b41e537afa metadata.xml 337
RMD160 31dad5aaff39f6017382ea7c4f77ac229793c487 metadata.xml 337
MD5 f053d011cd46e18cd94b41a832eb46bf files/digest-bsdtar-2.0.25 253
RMD160 4a31150258fd040f2ad23bf4c9a26164c266acde files/digest-bsdtar-2.0.25 253
SHA256 36b0f67a19ca0f273125e3897bfd60fb2c81d55e3ac0aaa544e17ad4b6fff8d7 files/digest-bsdtar-2.0.25 253
+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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF9sjMGDyatLGpTbYRAnDVAKChgFnUeBwYtYyGYIQdoAKb2dtZlwCeI6yd
-olL9i+M8EcXteNFNPErngAE=
-=9k90
+iD8DBQFGF9U1GDyatLGpTbYRAh2NAJ0ffIrcHookmxjtR/NKXADY2VETvwCfX48P
+WKiEkzD5TYfkjOdIPswCoBE=
+=CpZ6
-----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.28.ebuild,v 1.1 2007/04/07 17:30:23 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
+}