diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-12-04 16:24:54 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-12-04 16:24:54 +0000 |
commit | 7407dbc13760e61d714f798f7421b470ed2c49f5 (patch) | |
tree | 4cf1c681644fff6ae20af339597bd60546873ba5 /app-arch/libarchive | |
parent | Version bump (diff) | |
download | gentoo-2-7407dbc13760e61d714f798f7421b470ed2c49f5.tar.gz gentoo-2-7407dbc13760e61d714f798f7421b470ed2c49f5.tar.bz2 gentoo-2-7407dbc13760e61d714f798f7421b470ed2c49f5.zip |
Version bump, thanks to Tim Kientzle <kientzle at freebsd.org> for applying our patch fixing automagic acl and xattr. This version also fixes most of the test suite.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r-- | app-arch/libarchive/ChangeLog | 9 | ||||
-rw-r--r-- | app-arch/libarchive/files/digest-libarchive-2.4.4 | 3 | ||||
-rw-r--r-- | app-arch/libarchive/libarchive-2.4.4.ebuild | 70 |
3 files changed, 81 insertions, 1 deletions
diff --git a/app-arch/libarchive/ChangeLog b/app-arch/libarchive/ChangeLog index 0e88b2044e19..bb4cc79872da 100644 --- a/app-arch/libarchive/ChangeLog +++ b/app-arch/libarchive/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-arch/libarchive # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.8 2007/12/03 15:43:16 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.9 2007/12/04 16:24:53 drac Exp $ + +*libarchive-2.4.4 (04 Dec 2007) + + 04 Dec 2007; Samuli Suominen <drac@gentoo.org> +libarchive-2.4.4.ebuild: + Version bump, thanks to Tim Kientzle <kientzle at freebsd.org> for applying + our patch fixing automagic acl and xattr. This version also fixes most of + the test suite. *libarchive-2.4.2 (03 Dec 2007) diff --git a/app-arch/libarchive/files/digest-libarchive-2.4.4 b/app-arch/libarchive/files/digest-libarchive-2.4.4 new file mode 100644 index 000000000000..9c6651649e7b --- /dev/null +++ b/app-arch/libarchive/files/digest-libarchive-2.4.4 @@ -0,0 +1,3 @@ +MD5 ef8a63e989a450b0f630284c5a02c8e5 libarchive-2.4.4.tar.gz 803198 +RMD160 bd6b65a81d42bd33c2db7cd2a1fa35ee81c9e025 libarchive-2.4.4.tar.gz 803198 +SHA256 33ca395a0e9838219ee956a322b3b82ca4e1fec71bddcd8f47e50621089f8fdb libarchive-2.4.4.tar.gz 803198 diff --git a/app-arch/libarchive/libarchive-2.4.4.ebuild b/app-arch/libarchive/libarchive-2.4.4.ebuild new file mode 100644 index 000000000000..f2398926250c --- /dev/null +++ b/app-arch/libarchive/libarchive-2.4.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.4.ebuild,v 1.1 2007/12/04 16:24:53 drac 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} + 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 +} |