diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-11-02 11:43:30 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-11-02 11:43:30 +0000 |
commit | df5dad08f40f455f1387b7c0fd9c26ee9e6295cd (patch) | |
tree | 1f82391fd377e8198fb8618f0ff5a7d1a46bbe15 /sys-libs/libcap-ng | |
parent | Revision bump: EAPI 4, add ~amd64 keyword, wrt bug #440804. Thanks to Mikle K... (diff) | |
download | historical-df5dad08f40f455f1387b7c0fd9c26ee9e6295cd.tar.gz historical-df5dad08f40f455f1387b7c0fd9c26ee9e6295cd.tar.bz2 historical-df5dad08f40f455f1387b7c0fd9c26ee9e6295cd.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r-- | sys-libs/libcap-ng/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/libcap-ng/Manifest | 18 | ||||
-rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.7.1.ebuild | 115 |
3 files changed, 131 insertions, 9 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog index 1a915eae5f22..477d3838f327 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.49 2012/07/26 02:39:08 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.50 2012/11/02 11:43:21 radhermit Exp $ + +*libcap-ng-0.7.1 (02 Nov 2012) + + 02 Nov 2012; Tim Harder <radhermit@gentoo.org> +libcap-ng-0.7.1.ebuild: + Version bump. 26 Jul 2012; Tim Harder <radhermit@gentoo.org> libcap-ng-0.6.6.ebuild, libcap-ng-0.7.ebuild: diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest index bbcc889f5580..0c753c48ae77 100644 --- a/sys-libs/libcap-ng/Manifest +++ b/sys-libs/libcap-ng/Manifest @@ -2,19 +2,21 @@ Hash: SHA256 DIST libcap-ng-0.6.6.tar.gz 367231 SHA256 89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d SHA512 383aaa9e315e2498c779a17bef35df6aee072c42598d07d92bdd7a2328a3bcd22d5ec46d600babc467aa4d1b01e9dd660493dafba3b06c7ac81f35df9d4d6e3e WHIRLPOOL c1a72480d545b45ae385065449098f0878f8c8d138f1d9bd9b3445d1146fd6a227bb9b0ac0148542995c5b6683c7c5998d0cd61a369b9f5c84fb39a9dc5cf8a3 +DIST libcap-ng-0.7.1.tar.gz 390354 SHA256 bf74455c9540667a924d2983090c4eb7285f0a4a82a25becd0a496e8bbf3d8ff SHA512 d7252a34bc1edc30224f46c8a99f125189c8fcd874d721d0cb4b52509dbd980b55f114e71625980615f379bdd7783e98ab123ebc89ae1b6dc274da2d3061e7d4 WHIRLPOOL 04f2ce162f0668b00b79ab0cdd0d5022dff4beb725b52af33e9276744bbf0273e7a15457740dc46f911ad9fdf2393f5ffe34e75054ec453a47afad87bf49ecdb DIST libcap-ng-0.7.tar.gz 387600 SHA256 369682b2e5a5716a6271a6c5db9a43e3809e91acfb08438c0d3de2fec1284a35 SHA512 30f439690d09581d2ae8f8f286021bd370a6ef1c4343630123fd537743efecd355452ff3eae3cbe0f332667ec48d78f2dba108c244d10801174c00a78e017721 WHIRLPOOL 866574b46b78b0a1056bc8d37a8aff31636de872c692d37a65c14a9ac5538bd21bbb1b92eb9733e596d05c978eb9a1b2df6b309731277ad0d654c2c860b8bc31 EBUILD libcap-ng-0.6.6.ebuild 2515 SHA256 34967b49aaab191ccd019a7d057b533665f227cb4e9657b91cd3c9e63ec9c2b2 SHA512 af0d89bb0a7a5b422668cd2cba3ad87deca3b559be2b0d552c82d37b99c289eee2d1270a7813fb6f0f00f8fd52395f3f4704e482cc93d462238e063706efab8b WHIRLPOOL 2614cb420195b3a1924722b95230e8bcfc0bac379ebfc544d90a0dda3a4e899ddab0598b556afddfeb06eaf8729631f1a02112adc3497aebe381332ec3c760a0 +EBUILD libcap-ng-0.7.1.ebuild 2471 SHA256 3e8b35b34dd6feab85a794b602840e92f954219630f151aa8f580215f1b6cb70 SHA512 4a3d8bce3ffa15391c6fe3b1c02a623b544123b46f83df1f3ac15d7e9a71af345785d6d6ff6d19b5d8a82e558c86db5d770bbf166b97327e3be2c590994649cf WHIRLPOOL fed35fb5bf0ead7e9f26163d93fb05099675a8492f26dd341e56c8deb0d3bd9b0af1e73ac9ec50e7d78e765a013b19943a88ae7b71426173ded739e10e9eacb8 EBUILD libcap-ng-0.7.ebuild 2469 SHA256 676ca626cd1532339430311d87c8cad5323048428de83e37cae71eb239c39a5c SHA512 2041858ce26f8f241ade8dc8629036554bc18a81ac94d4c92852218802fa76fc6e1581a8c0be618d77c9302f71660acd528a1a29601041a9c527faab7088c886 WHIRLPOOL 130de3514269350e81838dce84b5bdc658d3f873eac1c043543e92de02dfa008ef72a8b24ac12cfd4324f640eb231cadf4231516efd489a359e55ee4538e1bf2 -MISC ChangeLog 6602 SHA256 b7a1ccb349e31e65280d348ca4ecad597d7c502141ceb922e8629f1090cb325a SHA512 ae89f3001ca1cf9f67c00c2a3d125f533ba7029f2730e0b17bb4d82c256a0ea8ca6350f85411c6d21f1dbe83ed2fe521a346d3d2e67e03dc51314af59e486d6d WHIRLPOOL 0f1e1b17f583b4d896ab7f5ad7f1e0aefc8a712428b3862182042df1ab9bf899d25af48fb6d1d2aa0c3c024a4ab912616f110f66012bb3d730b341418735b1e0 +MISC ChangeLog 6725 SHA256 1e11ce9b41263254cad4d96470b73c701be6f36c6d9e13d237b08f2274e31e8a SHA512 6c0e4e0cc65f2106a029736397048660b97a00438986d698343563abe6dd80602d2f432bf8a210da806dfa3019f329940acfc97bcde2bc974d36f3797c2066ab WHIRLPOOL 4d29225616a327564b3ea2fef4f7b2af86f112a51d1ed2047c9b1872e777b9f8b0b225310558c9fc5887d4c0164622d234b50b7f3eb3c0d74fd8fe3c4a4d15ac MISC metadata.xml 501 SHA256 2ba6118979e987255eff0de2453eff6e9a76d4e2ffa04e3acbe1bc92fda0a171 SHA512 f974d0009e90640257cab704897db67cc736663313d026ba2092a6aaae004973416e1f649c9d7a0373b1f58d49db8103217e85803faa8c37a7830c9057f2c5e8 WHIRLPOOL 38c2e18fffda49e0b81e47bce317af92b0e992d1371c79e2e8bed04ea69e704902e005af8693735f7bf1fbf8d1cda5bea6ec9e0c20886018103914d11a95ec30 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQEK3TAAoJEEqz6FtPBkyjGO4H/3hthk/IMNck/xB0gK4irsbV -SmxCJNMc7JUQvCyPeq4o1qwMRLcL7049v0D3TtnkEIwAoAIC4z1bEBoIsGzbgN7q -TPmWRp7FY9klHVgbSOyVyQ2kJf6Aka62uKmr4O8X9RA1SlHvYbXjNGkyE/sOk9fy -tKVYl/DXEG4l4Aksd9Pwt6yMFPlmUz07YnMDb2HR3cBamlcM56h8MG1mqussHONX -gf3gwkMuVo6ACCrE9kHm5omFilAAhD0SMp4i22co57CxYji7gT6Xmcn072jtRmu5 -/H1dSln9wBFLrtKE4BrCSpQHP9YfavihGgJ0ixXriuI5adsXFjuHzd9O0hErYuU= -=txq4 +iQEcBAEBCAAGBQJQk7HhAAoJEEqz6FtPBkyj26kIAKYz4YiaNMLXrQwDv4nOA7a2 +ZmQ8jz6sMXuaCftsdnX1dN9NgCeP922id9G32hHMB4/fJUDNvBbKuKeH8EA3F4BA +wA49j3nlNIwZo6wavRPARwBo1yEkb0AuEZp87h8LQvHiRa0aKKyuP5f/BKpyzMk+ +XRrveloXPMCN3CdNz/H6UFYGPbl3Z5kqd/Aoe0idWFZsG57YIInqEAAY+z56rrDa +9IcpXf2VfypwSXZLNDQibyabWAmhux93FEKifzTqSyZGI4Btetvd3gLr1WIJej51 +q1K64nPcm4XIKMqc45HBodszYy33AmF/ULsL31Mwc1ZiJrf1jgajazN7UQFzD2w= +=n/Zz -----END PGP SIGNATURE----- diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.1.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.1.ebuild new file mode 100644 index 000000000000..844b18aaa5e4 --- /dev/null +++ b/sys-libs/libcap-ng/libcap-ng-0.7.1.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.1.ebuild,v 1.1 2012/11/02 11:43:21 radhermit Exp $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython *-pypy-*" + +inherit 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/${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 +} |