diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-05-19 15:17:31 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-05-19 15:17:31 +0000 |
commit | 00623d730457b9376c53948abb05903d6ab63581 (patch) | |
tree | 4410dc7edc2ece157d3f0f54ece7094462a74f7c /app-arch/xar | |
parent | nemiver is safe for unmask (diff) | |
download | historical-00623d730457b9376c53948abb05903d6ab63581.tar.gz historical-00623d730457b9376c53948abb05903d6ab63581.tar.bz2 historical-00623d730457b9376c53948abb05903d6ab63581.zip |
Fix automagic libacl and libbz2 linking; amd64 stable.
Package-Manager: portage-2.1.5
Diffstat (limited to 'app-arch/xar')
-rw-r--r-- | app-arch/xar/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/xar/Manifest | 17 | ||||
-rw-r--r-- | app-arch/xar/files/xar-1.5.2-automagic_acl_and_bzip2.patch | 46 | ||||
-rw-r--r-- | app-arch/xar/xar-1.5.1.ebuild | 21 | ||||
-rw-r--r-- | app-arch/xar/xar-1.5.2.ebuild | 26 |
5 files changed, 75 insertions, 42 deletions
diff --git a/app-arch/xar/ChangeLog b/app-arch/xar/ChangeLog index ebca5ea5ee96..f097d554c982 100644 --- a/app-arch/xar/ChangeLog +++ b/app-arch/xar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/xar # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/ChangeLog,v 1.14 2008/04/21 16:29:01 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/ChangeLog,v 1.15 2008/05/19 15:17:30 drac Exp $ + + 19 May 2008; Samuli Suominen <drac@gentoo.org> + +files/xar-1.5.2-automagic_acl_and_bzip2.patch, -xar-1.5.1.ebuild, + xar-1.5.2.ebuild: + Fix automagic libacl and libbz2 linking; amd64 stable. 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Fix up metadata.xml. If there's no maintainer for the package, the metadata diff --git a/app-arch/xar/Manifest b/app-arch/xar/Manifest index 0fbe5a725f63..1dc18e2c0281 100644 --- a/app-arch/xar/Manifest +++ b/app-arch/xar/Manifest @@ -1,16 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST xar-1.5.1.tar.gz 136623 RMD160 f5be236a56d6a855587be431338240eca8de9702 SHA1 bf6506dd200ea18ea1331391da7aaece1188208d SHA256 1e3ac7af4b8ef23ec0889debe405e44ae88266e43ae271aa2177ddd9a72d6a67 +AUX xar-1.5.2-automagic_acl_and_bzip2.patch 1619 RMD160 279a78c9af8bc39620e2df05acf66e85bd3158f0 SHA1 11add3593907fcf61752e577f2d26acc67d84a7a SHA256 2ac709aa38122395c6742e82fb2352393ceb39c62fae0b0ff173f9d29bde3caf DIST xar-1.5.2.tar.gz 137973 RMD160 e3fd6a2ea8b2812a66305f43182ed8e41f129808 SHA1 eb411a92167387aa5d06a81970f7e929ec3087c9 SHA256 4c5d5682803cdfab16d72365cf51fc4075d597c5eeaa8c7d1990fea98cdae3e6 -EBUILD xar-1.5.1.ebuild 635 RMD160 9abf799269fccc776a065fb414099562a848be14 SHA1 a4b2ec6ae83b208b536491edb72f8b71ed9125dc SHA256 10f6710e750e2cec5cacaa42fa96a71dd720c8b5254d0395ede1c7385239fa5b -EBUILD xar-1.5.2.ebuild 688 RMD160 e1d32c6825ac932e4d85d1deac69bb10dfbf78b1 SHA1 db980ed8df2cc5cb316baf5a8d7a5f7f9cf87461 SHA256 2ecda15fe26bed0daf5262fcf1c0b6ab10917f75e3641d30e4aee0be19c22c31 -MISC ChangeLog 2200 RMD160 f9110a6e976b9a309bcc3d3e5fc6c946f219ae74 SHA1 d7ee91a942f22de62a9653c7b022d0de6b790b24 SHA256 fc4c78faf9d80580518267dde673b2ed1f7e8d3bea514e4dd38381257beab661 +EBUILD xar-1.5.2.ebuild 898 RMD160 8e7ec007b77b07dde3a3e1aa8beac9c4f1c0c510 SHA1 879996af0b52d538ac6bed93c44dbfa509f16d82 SHA256 3ad79d5b583e42b8741ed2eb253ae16d9b7349091eb7d244369f6c46f58dcc1c +MISC ChangeLog 2394 RMD160 8d80baf64485f034fd52288f313c2b4d3a394925 SHA1 ceecd71c1448cafca9223cc6c1644874aaab72ff SHA256 b7d0ca41093c3950d195ea84fa729451e3576058b7f6f754a5cdd4b5ab72f5a7 MISC metadata.xml 938 RMD160 1477d5f81fef79501bacd0fd7c70e3f79b1b9860 SHA1 cd18c2e52106562c35793ad8968b32b7fc9503d4 SHA256 9d1c46009476b422dd35e7c14f7b880a52735137c92c783d4df6b6f87c3bac06 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) - -iD8DBQFIDMDSyuNVb5qfaOYRAs9iAKCHybR1z9eUhkZkeoEm0T5FoxmSegCgj83f -EFxYsb83hXQeSpzPhMJj9Lg= -=26uj ------END PGP SIGNATURE----- diff --git a/app-arch/xar/files/xar-1.5.2-automagic_acl_and_bzip2.patch b/app-arch/xar/files/xar-1.5.2-automagic_acl_and_bzip2.patch new file mode 100644 index 000000000000..54ad8f725314 --- /dev/null +++ b/app-arch/xar/files/xar-1.5.2-automagic_acl_and_bzip2.patch @@ -0,0 +1,46 @@ +diff -ur xar-1.5.2.orig/configure.ac xar-1.5.2/configure.ac +--- xar-1.5.2.orig/configure.ac 2007-12-29 20:49:57.000000000 +0200 ++++ xar-1.5.2/configure.ac 2008-05-19 17:07:23.000000000 +0300 +@@ -181,8 +181,13 @@ + ) + AC_SUBST([enable_autogen]) + ++AC_ARG_ENABLE(acl, AC_HELP_STRING([--disable-acl], [disable support for libacl (default=autodetect)]), [ enable_acl=$enableval ], [ enable_acl=yes ]) ++ ++if test "x$enable_acl" = "xyes"; then + AC_TRY_COMPILE([#include <sys/types.h> + #include <sys/acl.h>], [acl_t a], [AC_DEFINE([HAVE_SYS_ACL_H],[1], [define if you have sys/acl.h and it has a working acl_t type])]) ++fi ++ + AC_CHECK_HEADERS(ext2fs/ext2_fs.h sys/statfs.h sys/xattr.h sys/param.h sys/extattr.h libutil.h) + AC_CHECK_FUNCS(lgetxattr) + AC_CHECK_FUNCS(lsetxattr) +@@ -251,7 +256,9 @@ + AC_ERROR(can not detect the size of your system's dev_t type) + fi + +-AC_CHECK_LIB(acl, acl_get_file) ++if test "x$enable_acl" = "xyes"; then ++ AC_CHECK_LIB(acl, acl_get_file) ++fi + + dnl Check for paths + AC_PREFIX_DEFAULT(/usr/local) +@@ -342,9 +349,14 @@ + dnl + dnl Configure libbz2. + dnl +-have_libbz2="1" +-AC_CHECK_HEADERS([bzlib.h], , [have_libbz2="0"]) +-AC_CHECK_LIB([bz2], [BZ2_bzCompress], , [have_libbz2="0"]) ++AC_ARG_ENABLE(bzip2, AC_HELP_STRING([--disable-bzip2], [disable support for libbz2 (default=autodetect)]), [ enable_bzip2=$enableval ], [ enable_bzip2=yes ]) ++ ++if test "x$enable_bzip2" = "xyes"; then ++ have_libbz2="1" ++ AC_CHECK_HEADERS([bzlib.h], , [have_libbz2="0"]) ++ AC_CHECK_LIB([bz2], [BZ2_bzCompress], , [have_libbz2="0"]) ++fi ++ + if test "x${have_libbz2}" = "x1" ; then + AC_DEFINE([HAVE_LIBBZ2]) + fi diff --git a/app-arch/xar/xar-1.5.1.ebuild b/app-arch/xar/xar-1.5.1.ebuild deleted file mode 100644 index c984030f5b23..000000000000 --- a/app-arch/xar/xar-1.5.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.1.ebuild,v 1.4 2007/12/10 17:27:40 jer Exp $ - -DESCRIPTION="an easily extensible archive format" -HOMEPAGE="http://code.google.com/p/xar" -SRC_URI="http://xar.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -# this also has optional acl/bzip2 linkage ... -DEPEND="dev-libs/openssl - dev-libs/libxml2 - sys-libs/zlib" - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." -} diff --git a/app-arch/xar/xar-1.5.2.ebuild b/app-arch/xar/xar-1.5.2.ebuild index 256ca538793d..17eec717b7f7 100644 --- a/app-arch/xar/xar-1.5.2.ebuild +++ b/app-arch/xar/xar-1.5.2.ebuild @@ -1,23 +1,37 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.2.ebuild,v 1.1 2008/01/29 22:45:56 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.2.ebuild,v 1.2 2008/05/19 15:17:30 drac Exp $ EAPI=1 +inherit autotools eutils + DESCRIPTION="an easily extensible archive format" HOMEPAGE="http://code.google.com/p/xar" SRC_URI="http://xar.googlecode.com/files/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="+bzip2" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="acl +bzip2" -# bad. automagic acl and bzip2 linkage. -RDEPEND="dev-libs/openssl +DEPEND="dev-libs/openssl dev-libs/libxml2 + sys-libs/zlib + acl? ( sys-apps/acl ) bzip2? ( app-arch/bzip2 )" -DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-automagic_acl_and_bzip2.patch + eautoconf +} + +src_compile() { + econf $(use_enable acl) $(use_enable bzip2) + emake || die "emake failed." +} src_install() { emake DESTDIR="${D}" install || die "emake install failed." |