summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-10-10 09:41:44 +0000
committerRoy Marples <uberlord@gentoo.org>2007-10-10 09:41:44 +0000
commitc20abdb1ad37f5c629c6f15cfab1d49d6d2aab58 (patch)
tree21d8c6b07ca6114a71cec25f6831ecf2d6a5b4aa /app-arch/libarchive
parentdev-cpp/libgnomemm: remove 2.0.1 (also in bug #159996) (diff)
downloadgentoo-2-c20abdb1ad37f5c629c6f15cfab1d49d6d2aab58.tar.gz
gentoo-2-c20abdb1ad37f5c629c6f15cfab1d49d6d2aab58.tar.bz2
gentoo-2-c20abdb1ad37f5c629c6f15cfab1d49d6d2aab58.zip
Bump
(Portage version: 2.1.3.12)
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r--app-arch/libarchive/ChangeLog7
-rw-r--r--app-arch/libarchive/files/digest-libarchive-2.3.43
-rw-r--r--app-arch/libarchive/libarchive-2.3.4.ebuild81
3 files changed, 90 insertions, 1 deletions
diff --git a/app-arch/libarchive/ChangeLog b/app-arch/libarchive/ChangeLog
index 8bcf441af5b8..b470f74f9bc0 100644
--- a/app-arch/libarchive/ChangeLog
+++ b/app-arch/libarchive/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2007/10/04 09:53:45 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.4 2007/10/10 09:41:44 uberlord Exp $
+
+*libarchive-2.3.4 (10 Oct 2007)
+
+ 10 Oct 2007; Roy Marples <uberlord@gentoo.org> +libarchive-2.3.4.ebuild:
+ Bump
*libarchive-2.3.3 (04 Oct 2007)
diff --git a/app-arch/libarchive/files/digest-libarchive-2.3.4 b/app-arch/libarchive/files/digest-libarchive-2.3.4
new file mode 100644
index 000000000000..04e6d566dcaa
--- /dev/null
+++ b/app-arch/libarchive/files/digest-libarchive-2.3.4
@@ -0,0 +1,3 @@
+MD5 22138fa535e8d47c1ec5a8df8814240d libarchive-2.3.4.tar.gz 682180
+RMD160 ea3d7ed18221ecb69ca794c10f5e2d91558bed4a libarchive-2.3.4.tar.gz 682180
+SHA256 1956e384f2097031b0a1797c1c8172458270fb13b9944ee6f9cb0f4b71ca1c07 libarchive-2.3.4.tar.gz 682180
diff --git a/app-arch/libarchive/libarchive-2.3.4.ebuild b/app-arch/libarchive/libarchive-2.3.4.ebuild
new file mode 100644
index 000000000000..81eb1c1c068a
--- /dev/null
+++ b/app-arch/libarchive/libarchive-2.3.4.ebuild
@@ -0,0 +1,81 @@
+# 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.3.4.ebuild,v 1.1 2007/10/10 09:41:44 uberlord Exp $
+
+inherit eutils autotools toolchain-funcs flag-o-matic
+
+MY_P=${P/_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}"/${PN}-2.1.5-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
+}