summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-02 20:56:41 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-02 20:56:41 +0000
commit1ed06f0966e0ac39e294a6d36d1b9c558bc14221 (patch)
tree39002804ae8c59507513c287a60ca4fa52e7af1c /app-arch/bsdtar
parentStable on ia64. (diff)
downloadhistorical-1ed06f0966e0ac39e294a6d36d1b9c558bc14221.tar.gz
historical-1ed06f0966e0ac39e294a6d36d1b9c558bc14221.tar.bz2
historical-1ed06f0966e0ac39e294a6d36d1b9c558bc14221.zip
Version bump with a new patch.
Package-Manager: portage-2.1.1_rc1-r2
Diffstat (limited to 'app-arch/bsdtar')
-rw-r--r--app-arch/bsdtar/ChangeLog8
-rw-r--r--app-arch/bsdtar/Manifest28
-rw-r--r--app-arch/bsdtar/bsdtar-1.2.57.ebuild71
-rw-r--r--app-arch/bsdtar/files/digest-bsdtar-1.2.573
-rw-r--r--app-arch/bsdtar/files/libarchive-1.2.57-acl.patch68
5 files changed, 169 insertions, 9 deletions
diff --git a/app-arch/bsdtar/ChangeLog b/app-arch/bsdtar/ChangeLog
index dfe3f4c874d6..97ff626646b4 100644
--- a/app-arch/bsdtar/ChangeLog
+++ b/app-arch/bsdtar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/bsdtar
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.32 2006/07/31 11:19:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.33 2006/09/02 20:56:41 flameeyes Exp $
+
+*bsdtar-1.2.57 (02 Sep 2006)
+
+ 02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libarchive-1.2.57-acl.patch, +bsdtar-1.2.57.ebuild:
+ Version bump with a new patch.
31 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
bsdtar-1.2.53-r1.ebuild:
diff --git a/app-arch/bsdtar/Manifest b/app-arch/bsdtar/Manifest
index 1a7654a18213..ed683ce7c3de 100644
--- a/app-arch/bsdtar/Manifest
+++ b/app-arch/bsdtar/Manifest
@@ -13,7 +13,12 @@ AUX libarchive-1.2.53-strict-aliasing.patch 3035 RMD160 e2f5a29eb6b20c8e40b59e68
MD5 6a4d65adad4b81af8804449e92ea5764 files/libarchive-1.2.53-strict-aliasing.patch 3035
RMD160 e2f5a29eb6b20c8e40b59e682eeaf71494660b27 files/libarchive-1.2.53-strict-aliasing.patch 3035
SHA256 3720b81598e6fff554b1d4a1b84e32a926880583dabe8c47aa01d4b55111ff15 files/libarchive-1.2.53-strict-aliasing.patch 3035
+AUX libarchive-1.2.57-acl.patch 2526 RMD160 c6101f157aa719d8e0075a13bfd7efb73c1ee70a SHA1 4fe0705d50c68554b913afbe3b396053c486ce6b SHA256 b444555096ebd1e1591414cc84f85b65b1f50e753045a5f63ae313de58715125
+MD5 1ec027876e064e268a47ef73d2033991 files/libarchive-1.2.57-acl.patch 2526
+RMD160 c6101f157aa719d8e0075a13bfd7efb73c1ee70a files/libarchive-1.2.57-acl.patch 2526
+SHA256 b444555096ebd1e1591414cc84f85b65b1f50e753045a5f63ae313de58715125 files/libarchive-1.2.57-acl.patch 2526
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
EBUILD bsdtar-1.2.53-r1.ebuild 1681 RMD160 1bd2d2146312fe98438e5ec0f6ab202cdaab752a SHA1 157e8f4230ca5e76655850bda0be93b5be0e5c89 SHA256 26ede1c64e5edf6fce5bed24408fa8be866fb18ee25ee3b08d030d761216b8f4
MD5 a78966a599779511d1d7e41c0252a86d bsdtar-1.2.53-r1.ebuild 1681
RMD160 1bd2d2146312fe98438e5ec0f6ab202cdaab752a bsdtar-1.2.53-r1.ebuild 1681
@@ -22,10 +27,14 @@ EBUILD bsdtar-1.2.53.ebuild 1600 RMD160 313e244fb44c1afe1557539c81a521d075aae958
MD5 c5c63a67e81c9226593da85be7da1d95 bsdtar-1.2.53.ebuild 1600
RMD160 313e244fb44c1afe1557539c81a521d075aae958 bsdtar-1.2.53.ebuild 1600
SHA256 44a1bb84bbfa9954a67e3327e3dac643f705a01ab89ef7a5700164a219441901 bsdtar-1.2.53.ebuild 1600
-MISC ChangeLog 5716 RMD160 ce4b231eb06cd80ac70118573db429340c959ec7 SHA1 2a1b601af1733d0083488f0cdd5110e9105ed618 SHA256 957bbe0423ef1338cf63e8d3cc7cfcba1b05190d68924c04d410944c4db87f65
-MD5 5d31c1d18e12ee05b9614bcf85f14f85 ChangeLog 5716
-RMD160 ce4b231eb06cd80ac70118573db429340c959ec7 ChangeLog 5716
-SHA256 957bbe0423ef1338cf63e8d3cc7cfcba1b05190d68924c04d410944c4db87f65 ChangeLog 5716
+EBUILD bsdtar-1.2.57.ebuild 1683 RMD160 f3366a2fdf7ba1f77751058880a92ed57d775d9f SHA1 60d8bea2d792d6b6283756a0134e581826bcb91b SHA256 a840dee14ec16b283aa53b2408d66403e53fdbf928d6dc6d8d0ef77fd1da4478
+MD5 e0cfa25e8f92e7383c3b678ecdae768b bsdtar-1.2.57.ebuild 1683
+RMD160 f3366a2fdf7ba1f77751058880a92ed57d775d9f bsdtar-1.2.57.ebuild 1683
+SHA256 a840dee14ec16b283aa53b2408d66403e53fdbf928d6dc6d8d0ef77fd1da4478 bsdtar-1.2.57.ebuild 1683
+MISC ChangeLog 5894 RMD160 369d3ea2b74d2a9cda2bf40d1e3e04fb27b93af2 SHA1 85283b351f12620ba6fe598103e7d375cbb56da4 SHA256 15da11d1f46516fd6ed1a27ba64ca7f472cc8557a03717efb7609f7646742a83
+MD5 ecb98c550e6e4439d389901942d9ecb7 ChangeLog 5894
+RMD160 369d3ea2b74d2a9cda2bf40d1e3e04fb27b93af2 ChangeLog 5894
+SHA256 15da11d1f46516fd6ed1a27ba64ca7f472cc8557a03717efb7609f7646742a83 ChangeLog 5894
MISC metadata.xml 428 RMD160 b1ff6b3d84ad489dc4f5ab5f1d9ee9b60266c2ff SHA1 a45d1c0b222b298767f08a2df8d4d84fdecc8434 SHA256 236fee13551e3785be53bd3f70c0784803827edf245c913851f239689e3278f4
MD5 afec809b169074e5d5b0803e4f8f5ec8 metadata.xml 428
RMD160 b1ff6b3d84ad489dc4f5ab5f1d9ee9b60266c2ff metadata.xml 428
@@ -36,10 +45,13 @@ SHA256 201b8a1f8f7573230fb2d6570235725889268096f6ef0643bfa794c055dd2d39 files/di
MD5 72610f8c99a21763a948e9a145bdbab9 files/digest-bsdtar-1.2.53-r1 253
RMD160 07410a6b17c6336da8b8b3f56e6148046a660023 files/digest-bsdtar-1.2.53-r1 253
SHA256 201b8a1f8f7573230fb2d6570235725889268096f6ef0643bfa794c055dd2d39 files/digest-bsdtar-1.2.53-r1 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
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE6NBwamhnQswr0vIRAj99AKC9wW0f+5lYw/BZy0Y50YNdJ5OLlwCfXgv7
-pqHq6j1cFXJWmCrwoMBlJN0=
-=SNfs
+iD8DBQFE+fAYAiZjviIA2XgRAm1EAKCkkyMKRo8DngWKC9+Kf+Y5iDdwDwCgrvOG
+qgzQ9wdRCT8BPMNR1C/GBFQ=
+=cbby
-----END PGP SIGNATURE-----
diff --git a/app-arch/bsdtar/bsdtar-1.2.57.ebuild b/app-arch/bsdtar/bsdtar-1.2.57.ebuild
new file mode 100644
index 000000000000..8f5fe986065a
--- /dev/null
+++ b/app-arch/bsdtar/bsdtar-1.2.57.ebuild
@@ -0,0 +1,71 @@
+# 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.1 2006/09/02 20:56:41 flameeyes Exp $
+
+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 ~ppc-macos ~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
+
+ if [[ ${CHOST} != *-darwin* ]]; then
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
+ gen_usr_ldscript libarchive.so
+ fi
+}
diff --git a/app-arch/bsdtar/files/digest-bsdtar-1.2.57 b/app-arch/bsdtar/files/digest-bsdtar-1.2.57
new file mode 100644
index 000000000000..ddf66c8c0084
--- /dev/null
+++ b/app-arch/bsdtar/files/digest-bsdtar-1.2.57
@@ -0,0 +1,3 @@
+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
diff --git a/app-arch/bsdtar/files/libarchive-1.2.57-acl.patch b/app-arch/bsdtar/files/libarchive-1.2.57-acl.patch
new file mode 100644
index 000000000000..6df561418ba4
--- /dev/null
+++ b/app-arch/bsdtar/files/libarchive-1.2.57-acl.patch
@@ -0,0 +1,68 @@
+Index: libarchive-1.2.57/configure.ac
+===================================================================
+--- libarchive-1.2.57.orig/configure.ac
++++ libarchive-1.2.57/configure.ac
+@@ -55,7 +55,6 @@ 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])
+ # Include inttypes.h into archive.h only if appropriate.
+@@ -77,8 +76,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)
+
+@@ -142,9 +139,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])
+@@ -182,6 +178,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,
+@@ -189,6 +195,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])
+@@ -222,6 +232,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