diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-22 04:19:39 -0800 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-22 04:19:39 -0800 |
commit | b269c9e098cf008475727190316c5fcb30ef7d75 (patch) | |
tree | c1d4e38e457c9168c136373a5ca5e6707749b66a /sys-libs | |
parent | net-fs/cifs-utils: clone upstream (diff) | |
download | gmt-b269c9e098cf008475727190316c5fcb30ef7d75.tar.gz gmt-b269c9e098cf008475727190316c5fcb30ef7d75.tar.bz2 gmt-b269c9e098cf008475727190316c5fcb30ef7d75.zip |
sys-libs/libcap-ng: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libcap-ng/ChangeLog | 241 | ||||
-rw-r--r-- | sys-libs/libcap-ng/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.7.3-r1.ebuild | 115 | ||||
-rw-r--r-- | sys-libs/libcap-ng/metadata.xml | 10 |
4 files changed, 370 insertions, 0 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog new file mode 100644 index 0000000..8ac347d --- /dev/null +++ b/sys-libs/libcap-ng/ChangeLog @@ -0,0 +1,241 @@ +# ChangeLog for sys-libs/libcap-ng +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.66 2014/01/19 20:11:39 vapier Exp $ + + 19 Jan 2014; Mike Frysinger <vapier@gentoo.org> libcap-ng-0.7.3.ebuild: + Add arm64 love. + + 06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for sparc, wrt bug #479616 + + 05 Sep 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for ppc64, wrt bug #479616 + + 04 Sep 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for ppc, wrt bug #479616 + + 02 Sep 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for alpha, wrt bug #479616 + + 02 Sep 2013; Jeff Horelick <jdhore@gentoo.org> libcap-ng-0.7.3.ebuild: + marked x86 per bug 479616 + + 31 Aug 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for arm, wrt bug #479616 + + 31 Aug 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for amd64, wrt bug #479616 + + 29 Aug 2013; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for ia64, wrt bug #479616 + + 29 Aug 2013; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.7.3.ebuild: + Stable for HPPA (bug #479616). + + 20 Feb 2013; Zac Medico <zmedico@gentoo.org> libcap-ng-0.7.3.ebuild: + Add ~arm-linux keyword. + + 16 Feb 2013; Zac Medico <zmedico@gentoo.org> libcap-ng-0.7.3.ebuild: + Add ~x86-linux keyword. + + 15 Jan 2013; Diego E. Pettenò <flameeyes@gentoo.org> libcap-ng-0.7.3.ebuild: + Fix bug #452118 (automake-1.13 failure). + + 24 Nov 2012; Tim Harder <radhermit@gentoo.org> -libcap-ng-0.7.ebuild: + Remove old. + +*libcap-ng-0.7.3 (24 Nov 2012) + + 24 Nov 2012; Tim Harder <radhermit@gentoo.org> +libcap-ng-0.7.3.ebuild: + Version bump. + + 02 Nov 2012; Tim Harder <radhermit@gentoo.org> libcap-ng-0.7.1.ebuild: + Drop unused sys-apps/attr dep as noted by Arfrever. + +*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: + Remove unused eutils inherit. + +*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 + + 06 Apr 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml: + Drop maintainer due retirement, bug #63588 + + 03 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> -libcap-ng-0.6.2.ebuild, + -libcap-ng-0.6.4.ebuild, -files/libcap-ng-0.6.4-fix_tests_building.patch, + -files/libcap-ng-0.6.4-python.patch, -libcap-ng-0.6.5.ebuild, + -files/libcap-ng-gentoo.patch: + old + + 01 Apr 2012; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.6.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #407773 + + 25 Mar 2012; Markus Meier <maekke@gentoo.org> libcap-ng-0.6.6.ebuild: + arm stable, bug #407773 + + 16 Mar 2012; Thomas Kahle <tomka@gentoo.org> libcap-ng-0.6.6.ebuild: + marked x86 per bug 407773 + + 15 Mar 2012; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.6.ebuild: + Stable for HPPA (bug #407773). + + 13 Mar 2012; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.6.ebuild: + Marking libcap-ng-0.6.6 ppc for bug 407773 + + 12 Mar 2012; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.6.ebuild: + Marking libcap-ng-0.6.6 ppc64 for bug 407773 + + 11 Mar 2012; Agostino Sarubbo <ago@gentoo.org> libcap-ng-0.6.6.ebuild: + Stable for amd64, wrt bug #407773 + + 11 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libcap-ng-0.6.6.ebuild: + Raise dev-lang/swig dependency wrt #407693 by "godfath3rr" + + 10 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libcap-ng-0.6.6.ebuild: + Restrict *-jython as per comment from Arfrever. + + 10 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libcap-ng-0.6.6.ebuild: + USE="static-libs" and remove useless libtool archive. + + 20 Feb 2012; Patrick Lauer <patrick@gentoo.org> libcap-ng-0.6.4.ebuild, + libcap-ng-0.6.5.ebuild, libcap-ng-0.6.6.ebuild: + Restricting pypy #403813 + + 08 Jan 2012; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.5.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #396137 + +*libcap-ng-0.6.6 (10 Nov 2011) + + 10 Nov 2011; Alin Năstac <mrness@gentoo.org> -libcap-ng-0.6.1.ebuild, + +libcap-ng-0.6.6.ebuild: + Version bump bug #389253 (also fixes test failure, see bug #370473). + + 07 Aug 2011; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.1.ebuild, + libcap-ng-0.6.2.ebuild, libcap-ng-0.6.4.ebuild, libcap-ng-0.6.5.ebuild: + Add ~s390/~sh + + 19 Feb 2011; Markus Meier <maekke@gentoo.org> libcap-ng-0.6.5.ebuild: + arm stable, bug #353448 + + 19 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> + libcap-ng-0.6.5.ebuild: + ppc/ppc64 stable wrt #353448 + + 11 Feb 2011; Markos Chandras <hwoarang@gentoo.org> libcap-ng-0.6.5.ebuild: + Stable on amd64 wrt bug #353448 + + 05 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + libcap-ng-0.6.5.ebuild: + x86 stable wrt bug #353448 + + 02 Feb 2011; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.5.ebuild: + Stable for HPPA (bug #353448). + + 21 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> + libcap-ng-0.6.4.ebuild: + ppc64 stable wrt #341619 + + 06 Jan 2011; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.4.ebuild: + Marking libcap-ng-0.6.4 ppc for bug 341619 + + 18 Dec 2010; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.1.ebuild, + libcap-ng-0.6.2.ebuild, libcap-ng-0.6.4.ebuild, libcap-ng-0.6.5.ebuild: + Add ~alpha/~ia64 wrt #348951 + +*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: + x86 stable wrt bug #341619 + + 29 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + libcap-ng-0.6.4.ebuild: + Skip tests with FEATURES="-userpriv" (bug #342301). + + 29 Oct 2010; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.4.ebuild: + Stable for HPPA (bug #341619). + + 24 Oct 2010; Markus Meier <maekke@gentoo.org> libcap-ng-0.6.4.ebuild: + arm stable, bug #341619 + + 24 Oct 2010; Markos Chandras <hwoarang@gentoo.org> libcap-ng-0.6.4.ebuild: + Stable on amd64 wrt bug #341619 + + 01 Oct 2010; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.2.ebuild: + stable ppc64, bug 314523 + +*libcap-ng-0.6.4 (20 Sep 2010) + + 20 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +libcap-ng-0.6.4.ebuild, +files/libcap-ng-0.6.4-fix_tests_building.patch, + +files/libcap-ng-0.6.4-python.patch: + Version bump (bug #311641). Support installation for multiple Python ABIs, + don't install .a, .la, .pyc and .pyo files into Python site-packages + directories, fix tests with Python 3, avoid breaking strict-aliasing rules + with Python 2 (bug #316953). + + 19 Jul 2010; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.2.ebuild: + Stable for HPPA (bug #314523). + + 26 Jun 2010; <nixnut@gentoo.org> libcap-ng-0.6.2.ebuild: + ppc stable #314523 + + 24 May 2010; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.2.ebuild: + arm/sparc stable wrt #314523 + + 09 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + libcap-ng-0.6.2.ebuild: + x86 stable wrt bug #314523 + + 08 May 2010; Pacho Ramos <pacho@gentoo.org> libcap-ng-0.6.2.ebuild: + amd64 stable, bug 314523 + + 21 Mar 2010; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.1.ebuild, + libcap-ng-0.6.2.ebuild: + Marking .1 and .2 ~ppc64 for bug 284655 + + 06 Mar 2010; Markus Meier <maekke@gentoo.org> libcap-ng-0.6.2.ebuild: + add ~arm, bug #284655 + + 05 Feb 2010; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.2.ebuild: + Marked ~hppa (bug #284655). + + 04 Feb 2010; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.2.ebuild: + Marked ~ppc (bug #284655). + + 01 Feb 2010; Raúl Porcel <armin76@gentoo.org> libcap-ng-0.6.2.ebuild: + Add ~sparc wrt #284655 + + 22 Jan 2010; Brent Baude <ranger@gentoo.org> libcap-ng-0.6.1.ebuild: + keyworded ~arch for ppc, bug 284655 + +*libcap-ng-0.6.2 (26 Oct 2009) + + 26 Oct 2009; Mike Frysinger <vapier@gentoo.org> +libcap-ng-0.6.2.ebuild: + Version bump. + + 30 Sep 2009; Christian Faulhammer <fauli@gentoo.org> + libcap-ng-0.6.1.ebuild: + add ~x86, bug 284655 + +*libcap-ng-0.6.1 (12 Sep 2009) + + 12 Sep 2009; Alin Năstac <mrness@gentoo.org> + +files/libcap-ng-gentoo.patch, +metadata.xml, +libcap-ng-0.6.1.ebuild: + Initial version. diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest new file mode 100644 index 0000000..6ad4c19 --- /dev/null +++ b/sys-libs/libcap-ng/Manifest @@ -0,0 +1,4 @@ +DIST libcap-ng-0.7.3.tar.gz 392613 SHA256 5ca441c8d3a1e4cfe8a8151907977662679457311ccaa7eaac91447c33a35bb1 SHA512 f03a35c54b5998ef2e712540caa1f4ade37f9abe60992a1e727142b26815a4b8a7ce86ea94466fe692e4798c7297e5e1bbd338e5afe05689905ee9e0c0f16ef2 WHIRLPOOL 7752a70ea348dfc52537f67d5dccab03d598a112a7263a8811987453b53cda58643e938b4651c5cd8d0ea02f20fddc10bff2ac8bc23f68f97c9ab8c5791429ab +EBUILD libcap-ng-0.7.3-r1.ebuild 2440 SHA256 763fe18901b3aa2aa84cb967e469543fd2f9e233baa7d50694d12779d98515fd SHA512 a14da29c4fa2636d720a09b985a7a1ad06133da68bab3ab69e9a05d4a368d8e77133c6272691b8281191fd475120affaa0852e555d0b5aab955cf0db759fa171 WHIRLPOOL c940328f13d22971163bce0660c109209992d69b791d79ba8a4de116f1e6599b4b9d7a72ea85c90237151248d2832f2b01e42e5c6e2e1ad1910b69ead3e4cbc5 +MISC ChangeLog 8444 SHA256 c5e16aedda472a222c3228d11fd02f71bafefc9427ef1f028f11e57932f57744 SHA512 7338869cda1ff90a8fc53e24c56dd26284124f0d2a9b1efebe607fbc124b23e3a4dd3967eb7a966bf7d6600fb67f206526c19a0633e5883793ecb9abd3ab34d4 WHIRLPOOL df1bf5cc63713bd259f8101a7ea54bfc2865d860dc2a7b9b246d5e414772a025f5966c14998de80931f693f7feccff56002f5a8d0e6282a5d167b543a1dc7420 +MISC metadata.xml 501 SHA256 2ba6118979e987255eff0de2453eff6e9a76d4e2ffa04e3acbe1bc92fda0a171 SHA512 f974d0009e90640257cab704897db67cc736663313d026ba2092a6aaae004973416e1f649c9d7a0373b1f58d49db8103217e85803faa8c37a7830c9057f2c5e8 WHIRLPOOL 38c2e18fffda49e0b81e47bce317af92b0e992d1371c79e2e8bed04ea69e704902e005af8693735f7bf1fbf8d1cda5bea6ec9e0c20886018103914d11a95ec30 diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.3-r1.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.3-r1.ebuild new file mode 100644 index 0000000..07f3e79 --- /dev/null +++ b/sys-libs/libcap-ng/libcap-ng-0.7.3-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +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 arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" +IUSE="python static-libs" + +RDEPEND="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 + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || 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 +} diff --git a/sys-libs/libcap-ng/metadata.xml b/sys-libs/libcap-ng/metadata.xml new file mode 100644 index 0000000..703c252 --- /dev/null +++ b/sys-libs/libcap-ng/metadata.xml @@ -0,0 +1,10 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>base-system</herd> + <longdescription>The libcap-ng library is intended to make programming with + POSIX capabilities much easier than the traditional libcap library. It + includes utilities that can analyse all currently running applications and + print out any capabilities and whether or not it has an open ended bounding + set.</longdescription> +</pkgmetadata> |