summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-22 22:48:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-22 22:48:37 +0000
commit5e1eae3c2ada33cc4382ab0f06e95e0d1b257750 (patch)
tree9b330e20436d966749bc607c5d5dd36edf326eef /app-arch/bsdtar
parentWay to quote, Bryan. Moron. (diff)
downloadhistorical-5e1eae3c2ada33cc4382ab0f06e95e0d1b257750.tar.gz
historical-5e1eae3c2ada33cc4382ab0f06e95e0d1b257750.tar.bz2
historical-5e1eae3c2ada33cc4382ab0f06e95e0d1b257750.zip
Added patch for OSX compatibility.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-arch/bsdtar')
-rw-r--r--app-arch/bsdtar/ChangeLog6
-rw-r--r--app-arch/bsdtar/Manifest11
-rw-r--r--app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild13
-rw-r--r--app-arch/bsdtar/files/bsdtar-1.02.027-osx.patch15
4 files changed, 36 insertions, 9 deletions
diff --git a/app-arch/bsdtar/ChangeLog b/app-arch/bsdtar/ChangeLog
index 7491b7509adf..3c552ecce35f 100644
--- a/app-arch/bsdtar/ChangeLog
+++ b/app-arch/bsdtar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/bsdtar
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.4 2005/06/21 12:51:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.5 2005/07/22 22:48:37 flameeyes Exp $
+
+ 22 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/bsdtar-1.02.027-osx.patch, bsdtar-1.02.027-r1.ebuild:
+ Added patch for OSX compatibility.
21 Jun 2005; Diego Pettenò <flameeyes@gentoo.org>
bsdtar-1.02.027-r1.ebuild:
diff --git a/app-arch/bsdtar/Manifest b/app-arch/bsdtar/Manifest
index 5f250c9aeaec..0c6e41ce08b8 100644
--- a/app-arch/bsdtar/Manifest
+++ b/app-arch/bsdtar/Manifest
@@ -2,13 +2,14 @@
Hash: SHA1
MD5 afec809b169074e5d5b0803e4f8f5ec8 metadata.xml 428
-MD5 313b32a1625c70ffeafd9e5c33f57837 ChangeLog 882
-MD5 64caac79e7778366634a05fb7178532a bsdtar-1.02.027-r1.ebuild 1019
+MD5 1aea31de4fa4a85195fd4a0f892673b6 ChangeLog 1036
+MD5 ddbbe0fe8b96c0d70889b94b2de44d89 bsdtar-1.02.027-r1.ebuild 1113
MD5 7cf5fd7cad3a8974a71ce2e1622824c5 files/digest-bsdtar-1.02.027-r1 67
+MD5 23a5ba81fd708274f460d74e61f6f10d files/bsdtar-1.02.027-osx.patch 475
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCuA1dj5H05b2HAEkRAs+NAKCD7R5giWikBoEnWsiaZOgX1rZzGACaAhRw
-uakMqxu/8/YTERjic62/An0=
-=Ojeb
+iD8DBQFC4XfSj5H05b2HAEkRAv3KAJ9Acsajx8Nmt5e4k2U3wCa51yqUXwCfcL2B
+6FM0BkSChhl1Krd0wwSPMv8=
+=+6lc
-----END PGP SIGNATURE-----
diff --git a/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild b/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild
index 5536f174543a..0627109a1d64 100644
--- a/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild
+++ b/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild,v 1.2 2005/06/21 12:51:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.02.027-r1.ebuild,v 1.3 2005/07/22 22:48:37 flameeyes Exp $
-inherit flag-o-matic
+inherit eutils flag-o-matic
DESCRIPTION="BSD tar command"
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
@@ -10,7 +10,7 @@ SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
IUSE="build static"
# This is told to be used ( !elibc_glibc? ( dev-libs/libgnugetopt ) ) but isn't
@@ -21,6 +21,13 @@ RDEPEND="app-arch/bzip2
DEPEND="~dev-libs/libarchive-${PV}
${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-osx.patch
+}
+
src_compile() {
( use static || use build ) && append-ldflags -static
diff --git a/app-arch/bsdtar/files/bsdtar-1.02.027-osx.patch b/app-arch/bsdtar/files/bsdtar-1.02.027-osx.patch
new file mode 100644
index 000000000000..b14f30f53b84
--- /dev/null
+++ b/app-arch/bsdtar/files/bsdtar-1.02.027-osx.patch
@@ -0,0 +1,15 @@
+diff -ur bsdtar-1.02.027/bsdtar_platform.h bsdtar-1.02.027-osx/bsdtar_platform.h
+--- bsdtar-1.02.027/bsdtar_platform.h 2005-07-23 00:19:59.000000000 +0200
++++ bsdtar-1.02.027-osx/bsdtar_platform.h 2005-07-23 00:21:15.000000000 +0200
+@@ -122,9 +122,11 @@
+ */
+ #if HAVE_SYS_ACL_H && HAVE_ACL_PERMSET_T
+ #if HAVE_ACL_GET_PERM || HAVE_ACL_GET_PERM_NP
++#if ! __APPLE__
+ #define HAVE_POSIX_ACL 1
+ #endif
+ #endif
++#endif
+
+ #if HAVE_ACL_GET_PERM
+ #define ACL_GET_PERM acl_get_perm