summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-07-25 21:34:00 +0000
committerTim Harder <radhermit@gentoo.org>2012-07-25 21:34:00 +0000
commit7b89441bb5e661d18cffa4d7a04d81c811f1e607 (patch)
tree0942b7346a70250809839019ce2536d089e7203a /sys-libs/libcap-ng
parentFix ChangeLog (diff)
downloadhistorical-7b89441bb5e661d18cffa4d7a04d81c811f1e607.tar.gz
historical-7b89441bb5e661d18cffa4d7a04d81c811f1e607.tar.bz2
historical-7b89441bb5e661d18cffa4d7a04d81c811f1e607.zip
Version bump.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r--sys-libs/libcap-ng/ChangeLog7
-rw-r--r--sys-libs/libcap-ng/Manifest22
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.7.ebuild115
3 files changed, 135 insertions, 9 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog
index 7ae940ad50c0..f4e6512720a2 100644
--- a/sys-libs/libcap-ng/ChangeLog
+++ b/sys-libs/libcap-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libcap-ng
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.47 2012/05/19 12:46:28 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.48 2012/07/25 21:34:00 radhermit Exp $
+
+*libcap-ng-0.7 (25 Jul 2012)
+
+ 25 Jul 2012; Tim Harder <radhermit@gentoo.org> +libcap-ng-0.7.ebuild:
+ Version bump.
19 May 2012; Anthony G. Basile <blueness@gentoo.org> libcap-ng-0.6.6.ebuild:
Keyword mips
diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index b691d07db9ef..fce046fbbc51 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,14 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST libcap-ng-0.6.6.tar.gz 367231 RMD160 499c005eba372e6b554cc60fcfb2705871eed47c SHA1 5a48ab9ff121218d1c34bd674e89d64714ec54f5 SHA256 89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d
-EBUILD libcap-ng-0.6.6.ebuild 2521 RMD160 8de5893f5422cbcbadececfc507894cde2bb1186 SHA1 a97eb39ff57a7bc3613d9023335908052320a047 SHA256 780e8fb7377721e424614f69068e53416fab4ab8a4577d9078cdb3242cc465a0
-MISC ChangeLog 6352 RMD160 35f3b2afbfdfef5f4e669358f85350f747b0ac31 SHA1 9c262338884f3a1284759724689d38e2b68a77cb SHA256 a5d967a543ab241fcca7f3b2b33e92df537f043c527e43bc08c949b05b1ece17
-MISC metadata.xml 501 RMD160 243ce31ced026c13aeb98e60d0ad39845a8d5789 SHA1 6599292aa01f13ebb2992aa320d4eabccbee501d SHA256 2ba6118979e987255eff0de2453eff6e9a76d4e2ffa04e3acbe1bc92fda0a171
+DIST libcap-ng-0.6.6.tar.gz 367231 SHA256 89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d SHA512 383aaa9e315e2498c779a17bef35df6aee072c42598d07d92bdd7a2328a3bcd22d5ec46d600babc467aa4d1b01e9dd660493dafba3b06c7ac81f35df9d4d6e3e WHIRLPOOL c1a72480d545b45ae385065449098f0878f8c8d138f1d9bd9b3445d1146fd6a227bb9b0ac0148542995c5b6683c7c5998d0cd61a369b9f5c84fb39a9dc5cf8a3
+DIST libcap-ng-0.7.tar.gz 387600 SHA256 369682b2e5a5716a6271a6c5db9a43e3809e91acfb08438c0d3de2fec1284a35 SHA512 30f439690d09581d2ae8f8f286021bd370a6ef1c4343630123fd537743efecd355452ff3eae3cbe0f332667ec48d78f2dba108c244d10801174c00a78e017721 WHIRLPOOL 866574b46b78b0a1056bc8d37a8aff31636de872c692d37a65c14a9ac5538bd21bbb1b92eb9733e596d05c978eb9a1b2df6b309731277ad0d654c2c860b8bc31
+EBUILD libcap-ng-0.6.6.ebuild 2521 SHA256 780e8fb7377721e424614f69068e53416fab4ab8a4577d9078cdb3242cc465a0 SHA512 f470112c2b21f8199d048c86e482257c7eb09ea81c394357e8ff8e2e40419e257b447b7fca96c51c753449db1482dcef553ff13e056ed7ce64bc5ef5b0ec090d WHIRLPOOL 1d87fa2bac0b517aee854b872194e41ce2d45edeb91f36d2baeb604211af54f35edfc9ec7ed8901310b7664aa08c33e79390f2daccc32d1149000c3ae518e5b6
+EBUILD libcap-ng-0.7.ebuild 2476 SHA256 b295540492040277501a0aff147d275b059ed5e068ec2d286b585f9b40fd6977 SHA512 eaa2db1adca7826058a6acca21cfac6ab8c35f3ad2d1b74d2adbc84bb61baa02615f170cc447b33deb40bb6c3493e12482dde185b6155ea224467fe081408141 WHIRLPOOL 27d2b9d99cb09ae783e6a00b87929bc19aca2d285bda0f6377ccaf38c51d35790be5bbd275f4c680f4fd22c0062ecc66369909c548fb427d7471dcd6c44c8480
+MISC ChangeLog 6472 SHA256 b1aba8b827a9c9999d5457d6aa4c7162f6e534a0e0e75c7bdf81ede31114937a SHA512 0021bd3c7dde086d073187549b61aff7e7e73c08586b9afb7baada449d9de7dcbe8a45298c3acf08279bd837c7d87c4f28bd27f7ad092f935168716f247dbf72 WHIRLPOOL 822dc9062915080f866a623a8c9128b020e974bca3b4748676d6a175ab5764f105ad82d68d64a0fba05a8a9c3393d2c9da35ac6e6c8874e6d2e4dfc86490df3a
+MISC metadata.xml 501 SHA256 2ba6118979e987255eff0de2453eff6e9a76d4e2ffa04e3acbe1bc92fda0a171 SHA512 f974d0009e90640257cab704897db67cc736663313d026ba2092a6aaae004973416e1f649c9d7a0373b1f58d49db8103217e85803faa8c37a7830c9057f2c5e8 WHIRLPOOL 38c2e18fffda49e0b81e47bce317af92b0e992d1371c79e2e8bed04ea69e704902e005af8693735f7bf1fbf8d1cda5bea6ec9e0c20886018103914d11a95ec30
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAk+3li4ACgkQl5yvQNBFVTUB1ACfV6YI1G4xxk6DzD8zzTtNeyRE
-JMYAnRQds+VC1U7NR/iwzU7WDuRV3fsi
-=EbV8
+iQEcBAEBCAAGBQJQEGZOAAoJEEqz6FtPBkyjBUMH/RjDzk3oG/usJ6Ly/YkPjtdK
+2MQTTuj10twdU9WwQOHQjr7NK5vidY67u5fuxynAfpErm0lnAuymW5zpMwMc+ZJ8
+axLvGV/wR3cDzFw2iVZRqZQJqXItOYvmLjE1WfEM5EVW8RkcK7jyMXqggCZvTC/X
+y0wOq9MyPrDssQKEI4NBNbWbR8UgyufqoZOAQuNy9uxx4ux7TK/1WE/c0x869AkR
+3pbVEzL9XZuBFvDPB+KlYrd4JQsvSR337cu5mSBoo4SLfib/YWnBreSjuUIqtTsl
+3miemx/8+Dsywe74B8LUTSFkXJoUbGBVPTSNOWagDCQ4j93yNScp1AwOcy3M9bs=
+=RPoP
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.ebuild
new file mode 100644
index 000000000000..697248780f97
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2012 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.7.ebuild,v 1.1 2012/07/25 21:34:00 radhermit Exp $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
+
+inherit autotools eutils flag-o-matic python
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="http://people.redhat.com/sgrubb/libcap-ng/"
+SRC_URI="http://people.redhat.com/sgrubb/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="python static-libs"
+
+RDEPEND="sys-apps/attr
+ python? ( dev-lang/python )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+ python? ( >=dev-lang/swig-2 )"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+pkg_setup() {
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ # Disable byte-compilation of Python modules.
+ >py-compile
+
+ # Python bindings are built/tested/installed manually.
+ sed -i -e "/^SUBDIRS/s/ python//" bindings/Makefile.am || die
+
+ eautoreconf
+
+ use sparc && replace-flags -O? -O0
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(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() {
+ default
+
+ 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
+
+ rm -f "${ED}"/usr/lib*/${PN}.la
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize capng.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup capng.py
+}