summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-11-25 17:19:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-11-25 17:19:15 +0000
commit1aed757459b0fc3198225681a212dbb3f1f823a2 (patch)
treef348ceab3f60c4666f46241e75a702432c4d0de5 /sys-libs
parentVersion Bump, #346773 (diff)
downloadhistorical-1aed757459b0fc3198225681a212dbb3f1f823a2.tar.gz
historical-1aed757459b0fc3198225681a212dbb3f1f823a2.tar.bz2
historical-1aed757459b0fc3198225681a212dbb3f1f823a2.zip
Version bump, thanks to Gary Macindoe in bug #346517. Fixes build with linux-headers 2.6.36.1.
Package-Manager: portage-2.2.0_alpha5/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcap-ng/ChangeLog9
-rw-r--r--sys-libs/libcap-ng/Manifest14
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild111
3 files changed, 132 insertions, 2 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog
index 1256f0b2f924..735d3ab9ab78 100644
--- a/sys-libs/libcap-ng/ChangeLog
+++ b/sys-libs/libcap-ng/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/libcap-ng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.21 2010/11/01 12:26:06 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.22 2010/11/25 17:19:15 flameeyes Exp $
+
+*libcap-ng-0.6.5 (25 Nov 2010)
+
+ 25 Nov 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +libcap-ng-0.6.5.ebuild:
+ Version bump, thanks to Gary Macindoe in bug #346517. Fixes build with
+ linux-headers 2.6.36.1.
01 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
libcap-ng-0.6.4.ebuild:
diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index b06fe81a50b7..455426ab1adb 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,11 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libcap-ng-0.6.4-fix_tests_building.patch 671 RMD160 d31281293849d2232892168fe9fc14018e01478e SHA1 13806a44b9b25ee0f6ef1b33b6edfb5fe5d60ac9 SHA256 fe7b2f8a64def178c0641b4b66f94e00cb8f96b0bc6e47f1e1c60b6f891def5a
AUX libcap-ng-0.6.4-python.patch 3060 RMD160 a72a20753c53f52a824272ae91674b375fcbf4f3 SHA1 1182a780dda839e6d6c49e196dc7be7bf9708b47 SHA256 73cdea90d2d79b0a57532aed6867c9beabb2a5e9b8b91a40e6fed6ab7788c295
AUX libcap-ng-gentoo.patch 1070 RMD160 23d69ecd9671243c91825af067f72468d6c4a6c1 SHA1 3feea7db14c639aeb61226f20094c8b2ab95613e SHA256 b556f6ed4e8192271e0d8d97d6685fcd9cb1f9200bb4119974e94436417ae4d3
DIST libcap-ng-0.6.1.tar.gz 399309 RMD160 09cf05f11403ae42efa22b35b4ede1ecf7de4120 SHA1 f023c57900ab6bf5062574df0f030525ff8d215a SHA256 ab38136549e2bbbd5bed8738bc8647b37d0f06df711e526f7ee3ea001fce0b5e
DIST libcap-ng-0.6.2.tar.gz 358165 RMD160 a925a73e86d0bca0c8324a84df6e46307ca80768 SHA1 9394d5e61042c49cb0fe15bbbd70837bca1a46c9 SHA256 1d230a03c7e6adf1c761730bf27cee694d6658e97581c9507e993c80a1fab0ff
DIST libcap-ng-0.6.4.tar.gz 361366 RMD160 5f903d9ebede89be07f532ca4d26b6e0971e36bd SHA1 c84f137ccbc272ff2c4dd751048d8a2640a4351d SHA256 9d508706f72ba613e6afdcd02208e2491b3e0d4dff60867a7738ae8d352f0de8
+DIST libcap-ng-0.6.5.tar.gz 361938 RMD160 0e67d255c531f20fdfadb6bde5b7bc6a8671c5e2 SHA1 ca19439f1628c71df399a5ff10c1950316cde9b9 SHA256 293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620
EBUILD libcap-ng-0.6.1.ebuild 927 RMD160 4f8189aff1802823eead2267ec8ea629b189f959 SHA1 c04700726c3b49c3f6ae0b78bdd4e991bf924cee SHA256 3c6cc82a61768792a6ca21bf34fdeb29d3efe6eb71053ce5882f87cc548df721
EBUILD libcap-ng-0.6.2.ebuild 933 RMD160 2c1a384a75d76b9bcb435f7dbf0582718fb87dba SHA1 d7988c6f984ab1e7fcc1fd4d1790b755eeaf04d2 SHA256 bedb3142626d832cc0e897913e8724896f455afe979ea6871d20565be524491e
EBUILD libcap-ng-0.6.4.ebuild 2541 RMD160 ae1b60e2937a779b70bc5e96fd035187711b5dc3 SHA1 5e622034e039cca6c2d2421174c2bcf28bba04b0 SHA256 8edc6162c9845a23ffdfd060210edfca7be36f8354556e48dd7ec865ab912985
-MISC ChangeLog 2922 RMD160 91638d6f055f03b8e695f7c8816bc322e34c3232 SHA1 473b6449a3d37ccc26a7bb6debb70663d588b913 SHA256 48e722e694f62d10296012cccafbfcd3cf989fc361f1909f9bb53d83d243968e
+EBUILD libcap-ng-0.6.5.ebuild 2409 RMD160 1d27477a658f80afa38a3b7f7c8840819b3c2ca9 SHA1 204834d4acaf936aed7bd6403bfa35b06d4d979c SHA256 f712caaeeacb897fe1f7feb9528af24b74c7f834f5127a0f7038a982d88b3d2c
+MISC ChangeLog 3136 RMD160 8114f858ba5887b26aedc02194b112ddd164c119 SHA1 2873f3b0a9419009d59b8823021a5adf083ba69e SHA256 bfd56db218f67c7d67d6964fe06d15ce725574f4c20ef4accbb3b89ac8095134
MISC metadata.xml 598 RMD160 4a0562ce9e5fab2b4d7310962390815b518a18a5 SHA1 2b87404da773bdf8e2dfb41844fc6c8c23c4bce4 SHA256 340a9c3dd4c0fe6edafe6685af1c8d9b8d2c668fe0b29c6809cc81dda5d06e9d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzumn4ACgkQAiZjviIA2Xhv4QCghqZvJV+E8UXtjHnNOjqw72oN
+W6gAoIWGmNwhPIDenDp5WSThv3kgNbuL
+=NBlX
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild
new file mode 100644
index 000000000000..e0bc79e6e52e
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild,v 1.1 2010/11/25 17:19:15 flameeyes Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils autotools flag-o-matic python
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="http://people.redhat.com/sgrubb/libcap-ng/"
+SRC_URI="http://people.redhat.com/sgrubb/libcap-ng/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="python"
+
+RDEPEND="sys-apps/attr
+ python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+ python? ( dev-lang/swig )"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+pkg_setup() {
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ # Disable byte-compilation of Python modules.
+ echo "#!/bin/sh" > py-compile
+
+ # Python bindings are built/tested/installed manually.
+ sed -e "/^SUBDIRS/s/ python//" -i bindings/Makefile.am
+
+ eautoreconf
+
+ use sparc && replace-flags -O? -O0
+}
+
+src_configure() {
+ econf $(use_with python)
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_copy_sources bindings/python
+
+ building() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ PYTHON_VERSION="$(python_get_version)" \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)"
+ }
+ python_execute_function -s --source-dir bindings/python building
+ fi
+}
+
+src_test() {
+ if [[ "${EUID}" -eq 0 ]]; then
+ ewarn "Skipping tests due to root permissions."
+ return
+ fi
+
+ default
+
+ if use python; then
+ testing() {
+ emake \
+ PYTHON_VERSION="$(python_get_version)" \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)" \
+ TESTS_ENVIRONMENT="PYTHONPATH=..:../.libs" \
+ check
+ }
+ python_execute_function -s --source-dir bindings/python testing
+ fi
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+
+ if use python; then
+ installation() {
+ emake \
+ DESTDIR="${D}" \
+ PYTHON_VERSION="$(python_get_version)" \
+ pyexecdir="$(python_get_sitedir)" \
+ pythondir="$(python_get_sitedir)" \
+ install
+ }
+ python_execute_function -s --source-dir bindings/python installation
+
+ python_clean_installation_image
+ fi
+
+ dodoc ChangeLog README
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize capng.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup capng.py
+}