diff options
author | 2009-09-12 03:59:20 +0000 | |
---|---|---|
committer | 2009-09-12 03:59:20 +0000 | |
commit | 80c4601b68d45abdd90a23862b989b9d1413facc (patch) | |
tree | 660e7d2deb2f9cac525480aed187cd0b9dd96859 /sys-libs | |
parent | Cleaning out unused patch (diff) | |
download | historical-80c4601b68d45abdd90a23862b989b9d1413facc.tar.gz historical-80c4601b68d45abdd90a23862b989b9d1413facc.tar.bz2 historical-80c4601b68d45abdd90a23862b989b9d1413facc.zip |
Initial version.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libcap-ng/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libcap-ng/Manifest | 15 | ||||
-rw-r--r-- | sys-libs/libcap-ng/files/libcap-ng-gentoo.patch | 33 | ||||
-rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.6.1.ebuild | 38 | ||||
-rw-r--r-- | sys-libs/libcap-ng/metadata.xml | 14 |
5 files changed, 110 insertions, 0 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog new file mode 100644 index 000000000000..971d083d0861 --- /dev/null +++ b/sys-libs/libcap-ng/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-libs/libcap-ng +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.1 2009/09/12 03:59:19 mrness Exp $ + +*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 000000000000..5bbfdfe0acb0 --- /dev/null +++ b/sys-libs/libcap-ng/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 +EBUILD libcap-ng-0.6.1.ebuild 910 RMD160 5c788556bfcb3c5ec6a9e11f1d701892cb973f43 SHA1 28dbe0c82a9ade1aeebbffcdb950478d806aebbb SHA256 9eedd1dd79ce8560e303457fe800643e0a7638fbbe410ff8364f472f09a0591e +MISC ChangeLog 382 RMD160 f8fbef08b27929dfb9c3379261322881f11000a6 SHA1 cbf6a119174b415ea3e84860176623df765c88ca SHA256 f6cbfc1c242eb265ae78705ec9ce41d9872b383c8f06b0e6ab80891b0ae49f00 +MISC metadata.xml 598 RMD160 4a0562ce9e5fab2b4d7310962390815b518a18a5 SHA1 2b87404da773bdf8e2dfb41844fc6c8c23c4bce4 SHA256 340a9c3dd4c0fe6edafe6685af1c8d9b8d2c668fe0b29c6809cc81dda5d06e9d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkqrHKMACgkQ9A5kJBGSrsv6ygCeIMFpJf8iCVwT19nBJhlqYSYx +W8UAn1CMsSA5ZnfD5N4NTq6en4humPOC +=9VqJ +-----END PGP SIGNATURE----- diff --git a/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch b/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch new file mode 100644 index 000000000000..301c3d72b84b --- /dev/null +++ b/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch @@ -0,0 +1,33 @@ +diff -Nru libcap-ng-0.6.1.orig/configure.ac libcap-ng-0.6.1/configure.ac +--- libcap-ng-0.6.1.orig/configure.ac 2009-09-12 05:39:48.000000000 +0200 ++++ libcap-ng-0.6.1/configure.ac 2009-09-12 05:40:11.000000000 +0200 +@@ -100,12 +100,25 @@ + + AC_SUBST(DEBUG) + +-AC_CHECK_PROG(swig_found, swig, yes, no) +-if test x"${swig_found}" = x"no" ; then +- AC_MSG_WARN("Swig not found, python bindings will not be made") ++AC_ARG_ENABLE(python, ++[ --disable-python disable python bindings], ++[ ++if test "x${enableval}" = xyes; then ++ PYTHONBINDINGS="yes" ++else ++ PYTHONBINDINGS="no" ++fi ++],PYTHONBINDINGS="yes") ++if test x"${PYTHONBINDINGS}" = xyes; then ++ AC_CHECK_PROG(swig_found, swig, yes, no) ++ if test x"${swig_found}" = x"no" ; then ++ AC_MSG_WARN("Swig not found, python bindings will not be made") ++ fi ++ AM_PATH_PYTHON ++else ++ swig_found="no" + fi + AM_CONDITIONAL(HAVE_SWIG, test x"${swig_found}" = x"yes") +-AM_PATH_PYTHON + + AC_OUTPUT(Makefile src/Makefile src/test/Makefile bindings/Makefile + bindings/python/Makefile bindings/python/test/Makefile diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.1.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.1.ebuild new file mode 100644 index 000000000000..cd17e066e32e --- /dev/null +++ b/sys-libs/libcap-ng/libcap-ng-0.6.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 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.1.ebuild,v 1.1 2009/09/12 03:59:19 mrness Exp $ + +EAPI="2" + +inherit eutils autotools + +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" +IUSE="python" + +COMMON_DEPEND="sys-apps/attr" +RDEPEND="${COMMON_DEPEND} + python? ( dev-lang/python )" +DEPEND="${COMMON_DEPEND} + sys-kernel/linux-headers + python? ( dev-lang/swig dev-lang/python )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-gentoo.patch + eautoreconf +} + +src_configure() { + econf $(use_enable python) || die "econf failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + dodoc ChangeLog README +} diff --git a/sys-libs/libcap-ng/metadata.xml b/sys-libs/libcap-ng/metadata.xml new file mode 100644 index 000000000000..413ad15cfaa1 --- /dev/null +++ b/sys-libs/libcap-ng/metadata.xml @@ -0,0 +1,14 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>base-system</herd> + <maintainer> + <email>mrness@gentoo.org</email> + <name>Alin Nastac</name> + </maintainer> + <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> |