summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-03 10:58:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-03 10:58:34 +0000
commit6e50915057816f8b08af6e9a00384184ac9e4ff4 (patch)
treefe87fba702578363bfded33fb67693a1ddc9a03b /sys-libs
parentVersion bump. (diff)
downloadgentoo-2-6e50915057816f8b08af6e9a00384184ac9e4ff4.tar.gz
gentoo-2-6e50915057816f8b08af6e9a00384184ac9e4ff4.tar.bz2
gentoo-2-6e50915057816f8b08af6e9a00384184ac9e4ff4.zip
old
(Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcap-ng/ChangeLog8
-rw-r--r--sys-libs/libcap-ng/files/libcap-ng-0.6.4-fix_tests_building.patch27
-rw-r--r--sys-libs/libcap-ng/files/libcap-ng-0.6.4-python.patch86
-rw-r--r--sys-libs/libcap-ng/files/libcap-ng-gentoo.patch33
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.2.ebuild38
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild115
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild112
7 files changed, 7 insertions, 412 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog
index 508b9b140506..9a05e46ab071 100644
--- a/sys-libs/libcap-ng/ChangeLog
+++ b/sys-libs/libcap-ng/ChangeLog
@@ -1,6 +1,12 @@
# 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.44 2012/04/01 16:36:10 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.45 2012/04/03 10:58:34 ssuominen Exp $
+
+ 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
diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.6.4-fix_tests_building.patch b/sys-libs/libcap-ng/files/libcap-ng-0.6.4-fix_tests_building.patch
deleted file mode 100644
index 52a8e4ba2c5a..000000000000
--- a/sys-libs/libcap-ng/files/libcap-ng-0.6.4-fix_tests_building.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://fedorahosted.org/libcap-ng/changeset/2
-
---- src/test/Makefile.am
-+++ src/test/Makefile.am
-@@ -1,5 +1,5 @@
- # Makefile.am --
--# Copyright 2009 Red Hat Inc., Durham, North Carolina.
-+# Copyright 2009,10 Red Hat Inc., Durham, North Carolina.
- # All Rights Reserved.
- #
- # This library is free software; you can redistribute it and/or
-@@ -20,6 +20,7 @@
- # Steve Grubb <sgrubb@redhat.com>
- #
-
-+INCLUDES = -I${top_srcdir} -I${top_srcdir}/src
- check_PROGRAMS = lib_test thread_test
- TESTS = $(check_PROGRAMS)
-
---- src/test/thread_test.c
-+++ src/test/thread_test.c
-@@ -1,4 +1,5 @@
- #include <stdio.h>
-+#include <stdlib.h>
- #include <cap-ng.h>
- #include <pthread.h>
-
diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.6.4-python.patch b/sys-libs/libcap-ng/files/libcap-ng-0.6.4-python.patch
deleted file mode 100644
index fdf8a51cb69b..000000000000
--- a/sys-libs/libcap-ng/files/libcap-ng-0.6.4-python.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-https://fedorahosted.org/libcap-ng/changeset/9
-
---- bindings/python/Makefile.am
-+++ bindings/python/Makefile.am
-@@ -29,7 +29,8 @@
- pyexec_PYTHON = capng.py
- pyexec_LTLIBRARIES = _capng.la
- pyexec_SOLIBRARIES = _capng.so
--_capng_la_LDFLAGS = -module -avoid-version
-+_capng_la_CFLAGS = -shared
-+_capng_la_LDFLAGS = -module -avoid-version -shared
- _capng_la_HEADERS: $(top_builddir)/config.h
- _capng_la_DEPENDENCIES =${top_srcdir}/src/cap-ng.h ${top_builddir}/src/libcap-ng.la
- nodist__capng_la_SOURCES = capng_wrap.c
---- bindings/python/test/capng-test.py
-+++ bindings/python/test/capng-test.py
-@@ -10,15 +10,15 @@
- import capng
- last = capng.CAP_LAST_CAP
-
--print "Doing basic bit tests..."
-+print("Doing basic bit tests...")
- capng.capng_clear(capng.CAPNG_SELECT_BOTH)
- if capng.capng_have_capabilities(capng.CAPNG_SELECT_BOTH) != capng.CAPNG_NONE:
-- print "Failed clearing capabilities\n"
-+ print("Failed clearing capabilities\n")
- sys.exit(1)
-
- capng.capng_fill(capng.CAPNG_SELECT_BOTH)
- if capng.capng_have_capabilities(capng.CAPNG_SELECT_BOTH) != capng.CAPNG_FULL:
-- print "Failed filling capabilities"
-+ print("Failed filling capabilities")
- sys.exit(1)
-
- text = capng.capng_print_caps_numeric(capng.CAPNG_PRINT_BUFFER, capng.CAPNG_SELECT_CAPS)
-@@ -26,42 +26,42 @@
- if len < 80 and last > 30:
- last = 30
-
--print "Doing advanced bit tests for %d capabilities...\n" % (last)
-+print("Doing advanced bit tests for %d capabilities...\n" % (last))
- for i in range(last+1):
- capng.capng_clear(capng.CAPNG_SELECT_BOTH)
- rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i)
- if rc:
-- print "Failed update test 1"
-+ print("Failed update test 1")
- sys.exit(1)
-
- rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i))
- if rc <= capng.CAPNG_NONE:
-- print "Failed have capability test 1"
-+ print("Failed have capability test 1")
- capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
- sys.exit(1)
-
- if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_PARTIAL:
-- print "Failed have capabilities test 1"
-+ print("Failed have capabilities test 1")
- sys.exit(1)
-
- capng.capng_fill(capng.CAPNG_SELECT_BOTH)
- rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i)
- if rc:
-- print "Failed update test 3"
-+ print("Failed update test 3")
- sys.exit(1)
-
- if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS)!=capng.CAPNG_PARTIAL:
-- print "Failed have capabilities test 3"
-+ print("Failed have capabilities test 3")
- capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
- sys.exit(1)
-
- rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i)
- if rc:
-- print "Failed update test 4"
-+ print("Failed update test 4")
- sys.exit(1)
-
- if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_FULL:
-- print "Failed have capabilities test 4"
-+ print("Failed have capabilities test 4")
- capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
- sys.exit(1)
-
diff --git a/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch b/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch
deleted file mode 100644
index 301c3d72b84b..000000000000
--- a/sys-libs/libcap-ng/files/libcap-ng-gentoo.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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.2.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.2.ebuild
deleted file mode 100644
index 264d1f3988cf..000000000000
--- a/sys-libs/libcap-ng/libcap-ng-0.6.2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2011 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.2.ebuild,v 1.14 2011/08/07 15:02:12 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils autotools flag-o-matic
-
-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="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="python"
-
-RDEPEND="sys-apps/attr
- python? ( dev-lang/python )"
-DEPEND="${RDEPEND}
- sys-kernel/linux-headers
- python? ( dev-lang/swig )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-gentoo.patch
- eautoreconf
-
- use sparc && replace-flags -O? -O0
-}
-
-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/libcap-ng-0.6.4.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild
deleted file mode 100644
index c6bfb3a5698b..000000000000
--- a/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# 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.6.4.ebuild,v 1.11 2012/02/20 15:26:27 patrick Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.7-pypy-*"
-
-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="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~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
-
- epatch "${FILESDIR}"/${PN}-gentoo.patch
- epatch "${FILESDIR}"/${P}-python.patch
- epatch "${FILESDIR}"/${P}-fix_tests_building.patch
- eautoreconf
-
- use sparc && replace-flags -O? -O0
-}
-
-src_configure() {
- econf $(use_enable 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
-}
diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild
deleted file mode 100644
index e4fb138370d7..000000000000
--- a/sys-libs/libcap-ng/libcap-ng-0.6.5.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# 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.6.5.ebuild,v 1.10 2012/02/20 15:26:27 patrick Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.7-pypy-*"
-
-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="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh 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
-}