-AUX libarchive-1.2.51-acl.patch 2740 RMD160 307439bd45948f57c68aaa581ee2728ba9582b2a SHA1 30476981d9c4861cfbef07d4288665861e135aeb SHA256 9953e4ecfd7c905920a48ae66d35bf901f8ba89765a8b51c51065c1c01a15ec2
-MD5 1728ebab5ae7315f1ca463ab5448474c files/libarchive-1.2.51-acl.patch 2740
-RMD160 307439bd45948f57c68aaa581ee2728ba9582b2a files/libarchive-1.2.51-acl.patch 2740
-SHA256 9953e4ecfd7c905920a48ae66d35bf901f8ba89765a8b51c51065c1c01a15ec2 files/libarchive-1.2.51-acl.patch 2740
-AUX libarchive-1.2.51-linking.patch 1234 RMD160 ace6aed10691c0cf240bc2f76f8182ffcbb5a3be SHA1 038bd23e04c98cc226c2646ca380b162306f6b65 SHA256 88095bb5782102108f3048d900b23fe7746ae5fb881b268463bdbcf3512964a7
-MD5 70231828a2a2269c2f912708d80226ed files/libarchive-1.2.51-linking.patch 1234
-RMD160 ace6aed10691c0cf240bc2f76f8182ffcbb5a3be files/libarchive-1.2.51-linking.patch 1234
-SHA256 88095bb5782102108f3048d900b23fe7746ae5fb881b268463bdbcf3512964a7 files/libarchive-1.2.51-linking.patch 1234
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libarchive-1.2.53-strict-aliasing.patch 3035 RMD160 e2f5a29eb6b20c8e40b59e682eeaf71494660b27 SHA1 aa37628f94159f885ff426a98c531671e33e6b09 SHA256 3720b81598e6fff554b1d4a1b84e32a926880583dabe8c47aa01d4b55111ff15
MD5 6a4d65adad4b81af8804449e92ea5764 files/libarchive-1.2.53-strict-aliasing.patch 3035
RMD160 e2f5a29eb6b20c8e40b59e682eeaf71494660b27 files/libarchive-1.2.53-strict-aliasing.patch 3035
MD5 6590bb296f0bb64ecfcd6b779cae3890 files/libarchive-1.3.1-static.patch 1333
RMD160 21488116b37c75506061f6f5873f91670a3fe45a files/libarchive-1.3.1-static.patch 1333
SHA256 40be241edf721d5601824286e9221955add582d9136f3fc7e29f9abcb192a78c files/libarchive-1.3.1-static.patch 1333
-DIST libarchive-1.2.53.tar.gz 522540 RMD160 651d5b93d36b2a2c3f3cb781669e368e83a73964 SHA1 24c960b57ac7502944c95daedf265a333ee347af SHA256 7ea32dcf542471d48464bad4e408fbb3b7dbea7d6594a01df73236ae3dc378e8
-DIST libarchive-1.2.57.tar.gz 536128 RMD160 238a44ec554aa4fc5ae795c1af3640d253f36445 SHA1 70bf5a0a6a8af4cefda412db5a2ba53724e9e3e8 SHA256 96b7db97df7e889f0ee2637b6986e94a2136ebac7d48f605dcec1165374746c6
DIST libarchive-1.3.1.tar.gz 901173 RMD160 e518f802d9a50afcfede6dd7cbb4f42b2cbe12a1 SHA1 aed6eda15b012adbb88af0f0d76887920ffe7bbf SHA256 ad9eaf5779df75b9a0618a732eb227792e65db17c6713fe81ef5bff2bbc616a8
-EBUILD bsdtar-1.2.53.ebuild 1588 RMD160 17bdd547a622dfcfc75e310d9fc60c4c652af5cd SHA1 1384c88a80daa5b8aca85974572dd4e16cda98ff SHA256 6d11e87dc5c83eaa08d6e22f0f25a08ee9d20d17bf70a532617128d42e460f1b
-MD5 947b67ee5be292d0174a9e8c0f8290e3 bsdtar-1.2.53.ebuild 1588
-RMD160 17bdd547a622dfcfc75e310d9fc60c4c652af5cd bsdtar-1.2.53.ebuild 1588
-SHA256 6d11e87dc5c83eaa08d6e22f0f25a08ee9d20d17bf70a532617128d42e460f1b bsdtar-1.2.53.ebuild 1588
-EBUILD bsdtar-1.2.57.ebuild 1668 RMD160 f13db1d5937946d56535e0617f17f60ff7ddfe3d SHA1 933c85cb5f9615494cd9b86db45f01354bf91318 SHA256 63fdd4bcd5ac889c15e1368eef4aec6b64f026d77cf541aac0030ab415ebd7be
-MD5 3b8e3f2da8f22f7639263349ce51574c bsdtar-1.2.57.ebuild 1668
-RMD160 f13db1d5937946d56535e0617f17f60ff7ddfe3d bsdtar-1.2.57.ebuild 1668
-SHA256 63fdd4bcd5ac889c15e1368eef4aec6b64f026d77cf541aac0030ab415ebd7be bsdtar-1.2.57.ebuild 1668
-EBUILD bsdtar-1.3.1-r1.ebuild 1848 RMD160 da9c7976d86019a7722824dfe65dc6cfb865db60 SHA1 6ebf3e5f2f2370c6158282f5d34f4d1a47de6bb2 SHA256 cad15749b05ae70e25073ab929b916fd4b95f1b23c081f2c6153b66d37255062
-MD5 ad6439cfdd617904bcd6520c3fd01831 bsdtar-1.3.1-r1.ebuild 1848
-RMD160 da9c7976d86019a7722824dfe65dc6cfb865db60 bsdtar-1.3.1-r1.ebuild 1848
-SHA256 cad15749b05ae70e25073ab929b916fd4b95f1b23c081f2c6153b66d37255062 bsdtar-1.3.1-r1.ebuild 1848
EBUILD bsdtar-1.3.1-r2.ebuild 1902 RMD160 71e20bec1780b142c5130030a65c2898529ac8d1 SHA1 833662fc6915bd847c5268d951b77300b368bd83 SHA256 03912f1d79fbc6b302dbdd9d8548d50c8835b26cc8e7129a1899494f48c1b560
MD5 f7f610f0a82206de9ef5c49e8106de4d bsdtar-1.3.1-r2.ebuild 1902
RMD160 71e20bec1780b142c5130030a65c2898529ac8d1 bsdtar-1.3.1-r2.ebuild 1902
SHA256 03912f1d79fbc6b302dbdd9d8548d50c8835b26cc8e7129a1899494f48c1b560 bsdtar-1.3.1-r2.ebuild 1902
-EBUILD bsdtar-1.3.1.ebuild 1711 RMD160 a1c52f6c1a9e6dd4d245331b72a1130a4d909591 SHA1 bd867478aced371513217bacf574e21500c2d9ae SHA256 400f7a4611a85b54391a67cea55cd581f96cfca0a0fe3cfac2febe0eabf5900d
-MD5 4cfcdebe871fb44045e1a6c9619eaeb6 bsdtar-1.3.1.ebuild 1711
-RMD160 a1c52f6c1a9e6dd4d245331b72a1130a4d909591 bsdtar-1.3.1.ebuild 1711
-SHA256 400f7a4611a85b54391a67cea55cd581f96cfca0a0fe3cfac2febe0eabf5900d bsdtar-1.3.1.ebuild 1711
-MISC ChangeLog 7248 RMD160 b98099dc1e18f8a6092567a9d18336af6b2c7552 SHA1 a7f402aa49bb7dce49b14eac7aca9dee4cdbeab7 SHA256 c2439e4a1961a0c294232c6bbaf2fa0c0cf756fb8851b3dc7deb68e966cd9883
-MD5 77fc0b40fe9ab0832bf721e1978f30dd ChangeLog 7248
-RMD160 b98099dc1e18f8a6092567a9d18336af6b2c7552 ChangeLog 7248
-SHA256 c2439e4a1961a0c294232c6bbaf2fa0c0cf756fb8851b3dc7deb68e966cd9883 ChangeLog 7248
+MISC ChangeLog 7521 RMD160 613b950102a7c704790bba9cdd9adf9b37583245 SHA1 a2741dc93f6d2859cd2ece2a94ead01976a7800d SHA256 e0b23c26ad3c6288c887afb1d92c08d353b51b1fd22afc2c1db41507db239078
+MD5 52c9ef5db259b23a1164a8dfec9a8663 ChangeLog 7521
+RMD160 613b950102a7c704790bba9cdd9adf9b37583245 ChangeLog 7521
+SHA256 e0b23c26ad3c6288c887afb1d92c08d353b51b1fd22afc2c1db41507db239078 ChangeLog 7521
MISC metadata.xml 428 RMD160 b1ff6b3d84ad489dc4f5ab5f1d9ee9b60266c2ff SHA1 a45d1c0b222b298767f08a2df8d4d84fdecc8434 SHA256 236fee13551e3785be53bd3f70c0784803827edf245c913851f239689e3278f4
MD5 afec809b169074e5d5b0803e4f8f5ec8 metadata.xml 428
RMD160 b1ff6b3d84ad489dc4f5ab5f1d9ee9b60266c2ff metadata.xml 428
SHA256 236fee13551e3785be53bd3f70c0784803827edf245c913851f239689e3278f4 metadata.xml 428
-MD5 72610f8c99a21763a948e9a145bdbab9 files/digest-bsdtar-1.2.53 253
-RMD160 07410a6b17c6336da8b8b3f56e6148046a660023 files/digest-bsdtar-1.2.53 253
-SHA256 201b8a1f8f7573230fb2d6570235725889268096f6ef0643bfa794c055dd2d39 files/digest-bsdtar-1.2.53 253
-MD5 f4ac6c20736d40af2551839b3ea573d3 files/digest-bsdtar-1.2.57 253
-RMD160 cc0d75bb3386a0acca5d8d67f541e4058bb3301b files/digest-bsdtar-1.2.57 253
-SHA256 5dc6a314cd6a804369cf4c9c2bd4d61ce00b41e58647edfbb66f526766a4719f files/digest-bsdtar-1.2.57 253
-MD5 46c18ca117e44e7e3f070e41f466f72e files/digest-bsdtar-1.3.1 250
-RMD160 5bacf3a8252a2b227bfe4e6edf52d55c4240f6a4 files/digest-bsdtar-1.3.1 250
-SHA256 bbe48267a685e9836d773f76142f7f7a0bcc3f1a05262ed7fb3fb847a9fefd1e files/digest-bsdtar-1.3.1 250
-MD5 46c18ca117e44e7e3f070e41f466f72e files/digest-bsdtar-1.3.1-r1 250
-RMD160 5bacf3a8252a2b227bfe4e6edf52d55c4240f6a4 files/digest-bsdtar-1.3.1-r1 250
-SHA256 bbe48267a685e9836d773f76142f7f7a0bcc3f1a05262ed7fb3fb847a9fefd1e files/digest-bsdtar-1.3.1-r1 250
MD5 46c18ca117e44e7e3f070e41f466f72e files/digest-bsdtar-1.3.1-r2 250
RMD160 5bacf3a8252a2b227bfe4e6edf52d55c4240f6a4 files/digest-bsdtar-1.3.1-r2 250
SHA256 bbe48267a685e9836d773f76142f7f7a0bcc3f1a05262ed7fb3fb847a9fefd1e files/digest-bsdtar-1.3.1-r2 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFWa5gAiZjviIA2XgRAiNVAKCqYgWANjWAk+H/gWCrDI3y+1ODxgCfVKa2
+Ncu6ijnhAMaQpTGo/rv20sk=
+=rE/h
+-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.2.53.ebuild,v 1.8 2006/10/08 19:44:50 grobian Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils autotools toolchain-funcs
-
-MY_P="libarchive-${PV}"
-
-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 ~x86 ~x86-fbsd"
-IUSE="build static acl xattr"
-
-RDEPEND="!dev-libs/libarchive
- kernel_linux? (
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- )"
-DEPEND="kernel_linux? ( sys-fs/e2fsprogs
- virtual/os-headers )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch "${FILESDIR}/libarchive-1.2.51-linking.patch"
- epatch "${FILESDIR}/libarchive-1.2.51-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
-
- econf --bindir=/bin \
- $(use_enable acl) \
- $(use_enable xattr) \
- ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
-
- # Create tar symlink for FreeBSD
- if [[ ${CHOST} == *-freebsd* ]]; then
- dosym bsdtar /bin/tar
- dosym bsdtar.1.gz /usr/share/man/man1/tar.1.gz
- fi
-
- dodir /$(get_libdir)
- mv ${D}/usr/$(get_libdir)/*.so* ${D}/$(get_libdir)
- gen_usr_ldscript libarchive.so
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.2.57.ebuild,v 1.3 2006/10/08 19:44:50 grobian Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils autotools toolchain-funcs
-
-MY_P="libarchive-${PV}"
-
-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 ~x86 ~x86-fbsd"
-IUSE="build static acl xattr"
-
-RDEPEND="!dev-libs/libarchive
- kernel_linux? (
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- )"
-DEPEND="kernel_linux? ( sys-fs/e2fsprogs
- virtual/os-headers )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/libarchive-1.2.51-linking.patch
- epatch "${FILESDIR}"/libarchive-1.2.57-acl.patch
- epatch "${FILESDIR}"/libarchive-1.2.53-strict-aliasing.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
-
- 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.gz /usr/share/man/man1/tar.1.gz
- fi
-
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
- gen_usr_ldscript libarchive.so
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.3.1-r1.ebuild,v 1.3 2006/10/17 12:01:10 uberlord Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils autotools toolchain-funcs flag-o-matic
-
-MY_P="libarchive-${PV}"
-
-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-1.2.57-acl.patch
- epatch "${FILESDIR}"/libarchive-1.2.53-strict-aliasing.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
-
- 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.gz /usr/share/man/man1/tar.1.gz
- 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
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.3.1.ebuild,v 1.4 2006/10/08 19:44:50 grobian Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils autotools toolchain-funcs
-
-MY_P="libarchive-${PV}"
-
-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 ~x86 ~x86-fbsd"
-IUSE="build static acl xattr"
-
-RDEPEND="!dev-libs/libarchive
- kernel_linux? (
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- )
- 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.2.51-linking.patch
- epatch "${FILESDIR}"/libarchive-1.2.57-acl.patch
- epatch "${FILESDIR}"/libarchive-1.2.53-strict-aliasing.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
-
- 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.gz /usr/share/man/man1/tar.1.gz
- fi
-
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
- gen_usr_ldscript libarchive.so
-}
+++ /dev/null
-MD5 2e2df461fef05049b3a92e5bedc2de2c libarchive-1.2.53.tar.gz 522540
-RMD160 651d5b93d36b2a2c3f3cb781669e368e83a73964 libarchive-1.2.53.tar.gz 522540
-SHA256 7ea32dcf542471d48464bad4e408fbb3b7dbea7d6594a01df73236ae3dc378e8 libarchive-1.2.53.tar.gz 522540
+++ /dev/null
-MD5 f9934a6a78c7050fd32bd3b185424e50 libarchive-1.2.57.tar.gz 536128
-RMD160 238a44ec554aa4fc5ae795c1af3640d253f36445 libarchive-1.2.57.tar.gz 536128
-SHA256 96b7db97df7e889f0ee2637b6986e94a2136ebac7d48f605dcec1165374746c6 libarchive-1.2.57.tar.gz 536128
+++ /dev/null
-MD5 c618d26d680ace57fcd5f59cea3151c6 libarchive-1.3.1.tar.gz 901173
-RMD160 e518f802d9a50afcfede6dd7cbb4f42b2cbe12a1 libarchive-1.3.1.tar.gz 901173
-SHA256 ad9eaf5779df75b9a0618a732eb227792e65db17c6713fe81ef5bff2bbc616a8 libarchive-1.3.1.tar.gz 901173
+++ /dev/null
-MD5 c618d26d680ace57fcd5f59cea3151c6 libarchive-1.3.1.tar.gz 901173
-RMD160 e518f802d9a50afcfede6dd7cbb4f42b2cbe12a1 libarchive-1.3.1.tar.gz 901173
-SHA256 ad9eaf5779df75b9a0618a732eb227792e65db17c6713fe81ef5bff2bbc616a8 libarchive-1.3.1.tar.gz 901173
+++ /dev/null
-Index: libarchive-1.2.51/configure.ac
-===================================================================
---- libarchive-1.2.51.orig/configure.ac
-+++ libarchive-1.2.51/configure.ac
-@@ -55,11 +55,10 @@ AC_CHECK_TOOL([STRIP],[strip])
- AC_HEADER_STDC
- AC_HEADER_DIRENT
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS([attr/xattr.h])
- AC_CHECK_HEADERS([bzlib.h errno.h ext2fs/ext2_fs.h fcntl.h])
- AC_CHECK_HEADERS([inttypes.h langinfo.h limits.h linux/ext2_fs.h])
- AC_CHECK_HEADERS([locale.h paths.h])
--AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/acl.h sys/ioctl.h])
-+AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/ioctl.h])
- AC_CHECK_HEADERS([sys/param.h sys/time.h unistd.h wchar.h zlib.h])
-
- AC_ARG_ENABLE([static-bsdtar],
-@@ -68,8 +67,6 @@ AC_ARG_ENABLE([static-bsdtar],
- AM_CONDITIONAL([STATIC_BSDTAR], [test "x$enable_static_bsdtar" != "xno"])
-
- # Checks for libraries.
--AC_CHECK_LIB(acl,acl_set_file)
--AC_CHECK_LIB(attr,setxattr)
- AC_CHECK_LIB(bz2,BZ2_bzDecompressInit)
- AC_CHECK_LIB(z,inflate)
-
-@@ -133,9 +130,8 @@ AC_FUNC_STRERROR_R
- AC_FUNC_STRFTIME
- AC_FUNC_VPRINTF
- AC_CHECK_FUNCS([chflags fchdir fchflags fchmod fchown futimes])
--AC_CHECK_FUNCS([ftruncate getopt_long getxattr])
-+AC_CHECK_FUNCS([ftruncate getopt_long])
- AC_CHECK_FUNCS([lchflags lchmod lchown])
--AC_CHECK_FUNCS([lgetxattr listxattr llistxattr fsetxattr lsetxattr])
- AC_CHECK_FUNCS([lutimes memmove])
- AC_CHECK_FUNCS([memset mkdir mkfifo nl_langinfo reallocf setlocale])
- AC_CHECK_FUNCS([strchr strdup strerror strrchr timegm])
-@@ -173,6 +169,16 @@ AC_CHECK_MEMBER(struct dirent.d_namlen,,
- #endif
- ])
-
-+# Check for Extended Attributes support
-+AC_ARG_ENABLE([xattr],
-+ AS_HELP_STRING([--disable-xattr], [Enable Extended Attributes support (default: check)]))
-+
-+if test "x$enable_xattr" != "xno"; then
-+ AC_CHECK_HEADERS([attr/xattr.h])
-+ AC_CHECK_LIB(attr,setxattr)
-+ AC_CHECK_FUNCS([getxattr lgetxattr listxattr llistxattr fsetxattr lsetxattr])
-+fi
-+
- # Check for ACL support
- #
- # The ACL support in libarchive is written against the POSIX1e draft,
-@@ -180,6 +186,10 @@ AC_CHECK_MEMBER(struct dirent.d_namlen,,
- # platforms. Worse, some systems have completely non-POSIX acl functions,
- # which makes the following checks rather more complex than I would like.
- #
-+AC_ARG_ENABLE([acl],
-+ AS_HELP_STRING([--disable-acl], [Enable ACL support (default: check)]))
-+
-+if test "x$enable_acl" != "xno"; then
- AC_CHECK_HEADERS([sys/acl.h])
- AC_CHECK_LIB([acl],[acl_get_file])
- AC_CHECK_FUNCS([acl_create_entry acl_init acl_set_fd acl_set_fd_np acl_set_file])
-@@ -213,6 +223,7 @@ AC_CHECK_DECL([ACL_USER],
- [AC_DEFINE(HAVE_ACL_USER, 1, [True for systems with POSIX ACL support])],
- [],
- [#include <sys/acl.h>])
-+fi
-
- # Additional requirements
- AC_SYS_LARGEFILE
+++ /dev/null
-Index: libarchive-1.2.51/configure.ac
-===================================================================
---- libarchive-1.2.51.orig/configure.ac
-+++ libarchive-1.2.51/configure.ac
-@@ -62,6 +62,11 @@ AC_CHECK_HEADERS([locale.h paths.h])
- AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/acl.h sys/ioctl.h])
- AC_CHECK_HEADERS([sys/param.h sys/time.h unistd.h wchar.h zlib.h])
-
-+AC_ARG_ENABLE([static-bsdtar],
-+ AS_HELP_STRING([--disable-static-bsdtar], [Makes bsdtar link dynamically to libarchive (default: static)]) )
-+
-+AM_CONDITIONAL([STATIC_BSDTAR], [test "x$enable_static_bsdtar" != "xno"])
-+
- # Checks for libraries.
- AC_CHECK_LIB(acl,acl_set_file)
- AC_CHECK_LIB(attr,setxattr)
-Index: libarchive-1.2.51/Makefile.am
-===================================================================
---- libarchive-1.2.51.orig/Makefile.am
-+++ libarchive-1.2.51/Makefile.am
-@@ -110,8 +110,10 @@ bsdtar_DEPENDENCIES = libarchive.la \
- libarchive/archive_entry.h \
- libarchive/archive.h
-
--bsdtar_LDADD= -larchive -lbz2 -lz
-+bsdtar_LDADD= libarchive.la
- bsdtar_CPPFLAGS=-I$(top_builddir)/libarchive
-+if STATIC_BSDTAR
- # Link libarchive statically...
- bsdtar_LDFLAGS= -static -I$(destdir)/libarchive
-+endif
- bsdtar_dist_man_MANS= tar/bsdtar.1