[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: 0d93ac9990743fb898c92dbdb274b660dada2e7f
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d93ac99

sys-libs/libcap-ng: Stabilize 0.8.5 x86, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index e708e95727d0..fa5abe056e54 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: d4882fb43bf2b06467a7ce80b2066d7cca4884b3
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4882fb4

sys-libs/libcap-ng: Stabilize 0.8.5 arm64, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index 26bc7a7b0dbf..0e1097a7a8d2 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: 5a57e99543e7321f1a5c8c25c9041a6296376fe2
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a57e995

sys-libs/libcap-ng: Stabilize 0.8.5 ppc, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index e16bf5e6f778..b1631c5e9180 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: feea41e0ad707cd7b16af1d46cb54f167fb7af0f
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feea41e0

sys-libs/libcap-ng: Stabilize 0.8.5 amd64, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index fa5abe056e54..e16bf5e6f778 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: 4b02cc0a35f106846f21e47a554b75125e435075
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b02cc0a

sys-libs/libcap-ng: Stabilize 0.8.5 arm, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index 0e1097a7a8d2..e708e95727d0 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: a817ebcd614fcf4eee1b0c00a6ec9da48a67b784
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a817ebcd

sys-libs/libcap-ng: Stabilize 0.8.5 ppc64, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index cdbc9bd9b5c8..7e8735c4902b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-05-29 Thread Sam James
commit: 570c319eb7eb2df1f21ed0a44d930b8e0373d90f
Author: Sam James  gentoo  org>
AuthorDate: Thu May 30 03:23:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 30 03:23:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570c319e

sys-libs/libcap-ng: Stabilize 0.8.5 sparc, #933154

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
index 7e8735c4902b..26bc7a7b0dbf 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/, sys-libs/libcap-ng/files/

2024-04-28 Thread Sam James
commit: 4cb4ecd4c87ba0763d414b78946f2dd533217109
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 28 23:38:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 28 23:38:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb4ecd4

sys-libs/libcap-ng: add 0.8.5

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/Manifest|   1 +
 .../libcap-ng/files/libcap-ng-0.8.5-python.patch   |  23 +
 sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild  | 101 +
 3 files changed, 125 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 7602e04c471e..43578be71196 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1 +1,2 @@
 DIST libcap-ng-0.8.4.tar.gz 453749 BLAKE2B 
523480281cfa544e77e30932968b4b18424286dbced06bb4645d536cf19d4cc0f7c73de82006ffc329aa7ef208e0cf8e3379f1b20e1e8e4e90e422ed736f6c44
 SHA512 
f4f3499d592e8583c2bdb8d700981a7930bd545f0889bc02f49acecf17e3bc600b100cd4f64e9326e5bac0a07a02a1ac4b7e83e91956305a3d67cbe6871e
+DIST libcap-ng-0.8.5.tar.gz 460149 BLAKE2B 
ce0fc4ebceaa66d6f888f8b752e501bed7513d45231425054340016a6215ce52f0cd81b3a4a54c7c9ec0b623965002d66316c6c37844f0bd132b186ff7c6a41f
 SHA512 
89fb86454847f354c012411ecdc7e17f07bb40d7e9719ca0b93ea81c4361136855c1b9cb1b7ac92d216c105c687285304135beb156aedd55ab1c61e4f269

diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch 
b/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch
new file mode 100644
index ..ddad5ff49d7a
--- /dev/null
+++ b/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch
@@ -0,0 +1,23 @@
+https://github.com/stevegrubb/libcap-ng/commit/1fe7c1cfeea00ba4eb903fbb39b74361594d4835
+
+From 1fe7c1cfeea00ba4eb903fbb39b74361594d4835 Mon Sep 17 00:00:00 2001
+From: Jan Palus 
+Date: Wed, 10 Apr 2024 21:30:51 +0200
+Subject: [PATCH] Fix python path when invoking py-compile (#54)
+
+48eebb2 replaced custom PYTHON3 variable with PYTHON by using standard
+AM_PATH_PYTHON macro. Makefile however still referred to old one.
+There's no need to set PYTHON explicitly anymore so drop it.
+
+Fixes #53
+--- a/bindings/python3/Makefile.am
 b/bindings/python3/Makefile.am
+@@ -27,7 +27,6 @@ AM_CPPFLAGS = -I. -I$(top_builddir) $(PYTHON3_INCLUDES)
+ LIBS = ${top_builddir}/src/libcap-ng.la
+ SWIG_FLAGS = -python
+ SWIG_INCLUDES = ${AM_CPPFLAGS}
+-PYTHON = $(PYTHON3)
+ pyexec_PYTHON = capng.py
+ pyexec_LTLIBRARIES = _capng.la
+ pyexec_SOLIBRARIES = _capng.so
+

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
new file mode 100644
index ..cdbc9bd9b5c8
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
+# Same maintainer in Fedora as upstream
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools flag-o-matic out-of-source-utils python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-python.patch
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   
--with-capability_header="${ESYSROOT}"/usr/include/linux/capability.h
+   )
+
+   local pythonconf=(
+   --without-python3
+   )
+
+   # Set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=(
+   --with-python3
+   )
+
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]] ; then
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-04-28 Thread Sam James
commit: 9823c6b31eecd9620227823da8536d9613318d4d
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 28 23:33:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 28 23:33:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9823c6b3

sys-libs/libcap-ng: drop 0.8.3, 0.8.4

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/Manifest   |   2 -
 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 109 --
 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 100 ---
 3 files changed, 211 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 0ffa199c4537..7602e04c471e 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,3 +1 @@
-DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
-DIST libcap-ng-0.8.3.tar.gz 455383 BLAKE2B 
c54dd753e0ef6dd21bcf6af7b003f85ded9faf2fbf1ea834cda6b181b165ff4b11a0284c23c73d0e6f97a810b3e6a63fceeb57ff583a2b32f23924bdee597ef5
 SHA512 
0ef9bc7bc6b7b59991f43b79aa6cde3e8d2c22c4b9ced2af8deae501e01d51e893033d109cb8aa0fdcba190140110993089245346334d7b114d18f1bb1b55b97
 DIST libcap-ng-0.8.4.tar.gz 453749 BLAKE2B 
523480281cfa544e77e30932968b4b18424286dbced06bb4645d536cf19d4cc0f7c73de82006ffc329aa7ef208e0cf8e3379f1b20e1e8e4e90e422ed736f6c44
 SHA512 
f4f3499d592e8583c2bdb8d700981a7930bd545f0889bc02f49acecf17e3bc600b100cd4f64e9326e5bac0a07a02a1ac4b7e83e91956305a3d67cbe6871e

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
deleted file mode 100644
index ffb59a372613..
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
-# Same maintainer in Fedora as upstream
-PYTHON_COMPAT=( python3_{9..11} )
-inherit autotools flag-o-matic out-of-source-utils python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-# Patch works around / reverts a behaviour change because not all consumers 
were ready.
-# Keep this patch for a bit longer until Fedora stop shipping it (not clear 
what else
-# other than gnome-keyring was broken by it: bug #759550)
-# Fedora 0.8.2 
https://src.fedoraproject.org/rpms/libcap-ng/c/a5b0f536df1132d8e7afa4c0ce07b630e7970cad?branch=master
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
-   
https://src.fedoraproject.org/rpms/libcap-ng/raw/a5b0f536df1132d8e7afa4c0ce07b630e7970cad/f/libcap-ng-0.8.2-apply-disable.patch;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-PATCHES=(
-   "${DISTDIR}"/libcap-ng-0.8.2-apply-disable.patch
-)
-
-src_prepare() {
-   default
-
-   if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   # bug #668722
-   eautomake
-   fi
-}
-
-src_configure() {
-   use sparc && replace-flags -O? -O0
-
-   local ECONF_SOURCE="${S}"
-
-   local myconf=(
-   $(use_enable static-libs static)
-   )
-
-   local pythonconf=(
-   --without-python
-   --without-python3
-   )
-
-   # Set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   pythonconf=(
-   --without-python
-   --with-python3
-   )
-
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   else
-   local BUILD_DIR="${WORKDIR}"/build
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   fi
-}
-
-src_compile() {
-   if use python ; then
-   python_foreach_impl run_in_build_dir emake
-   else
-   local BUILD_DIR="${WORKDIR}"/build
-   emake -C "${BUILD_DIR}"
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]] ; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   if use python ; then
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/files/, sys-libs/libcap-ng/

2024-04-04 Thread Mike Gilbert
commit: 971cbaa931df4aa0c40b10438808ed83d3a62879
Author: orbea  riseup  net>
AuthorDate: Thu Apr  4 14:48:49 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Apr  4 16:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971cbaa9

sys-libs/libcap-ng: link using libcap-ng.la

Closes: https://bugs.gentoo.org/928450
Upstream-PR: https://github.com/stevegrubb/libcap-ng/pull/52
Upstream-Commit: 
https://github.com/stevegrubb/libcap-ng/commit/75fe3714a8da28f0e2939c4402527782014401dd
Signed-off-by: orbea  riseup.net>
Signed-off-by: Mike Gilbert  gentoo.org>

 .../libcap-ng/files/libcap-ng-0.8.4-slibtool.patch | 32 ++
 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild   |  8 --
 2 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch 
b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch
new file mode 100644
index ..d69f986875e3
--- /dev/null
+++ b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch
@@ -0,0 +1,32 @@
+https://github.com/stevegrubb/libcap-ng/commit/75fe3714a8da28f0e2939c4402527782014401dd
+https://github.com/stevegrubb/libcap-ng/pull/52
+
+From b7d21b473badb349bc0d6246b3804a8a2d329f36 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Wed, 3 Apr 2024 17:32:04 -0700
+Subject: [PATCH] utils: link using libcap-ng.la
+
+When linking internal dependencies that were linked using $(LIBTOOL) the
+ideal method is to use the generated libtool archive (.la) file. This
+fixes the build with slibtool which doesn't find -lcap-ng during the
+build and explicitly requires the .la file to be used.
+
+Gentoo Issue: https://bugs.gentoo.org/928450
+Signed-off-by: orbea 
+---
+ utils/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/Makefile.am b/utils/Makefile.am
+index f430454..97aa021 100644
+--- a/utils/Makefile.am
 b/utils/Makefile.am
+@@ -25,7 +25,7 @@ CONFIG_CLEAN_FILES = *.loT *.rej *.orig
+ AUTOMAKE_OPTIONS = no-dependencies
+ EXTRA_DIST = $(man_MANS)
+ AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/src
+-LIBS = -L${top_builddir}/src -lcap-ng
++LDADD = ${top_builddir}/src/libcap-ng.la
+ AM_CFLAGS = -W -Wall -Wshadow ${WFLAGS} -Wundef -D_GNU_SOURCE
+ bin_PROGRAMS = pscap netcap filecap captest
+ man_MANS = pscap.8 netcap.8 filecap.8 captest.8

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index f69c5049ed83..b2bf31f448fc 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -27,17 +27,19 @@ BDEPEND="python? ( >=dev-lang/swig-2 )"
 
 PATCHES=(
"${FILESDIR}"/${P}-swig.patch
+   # https://bugs.gentoo.org/928450
+   "${FILESDIR}"/${P}-slibtool.patch
 )
 
 src_prepare() {
default
 
if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
# bug #668722
-   eautomake
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
fi
-   elibtoolize
+
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-04-04 Thread Mike Gilbert
commit: b3f94bba178cadead0e41c7a9b41f9119b58f3f8
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Apr  4 16:44:44 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Apr  4 16:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f94bba

sys-libs/libcap-ng: drop libtool eclass

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index 61b5078da390..4e102c79baf0 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
 PYTHON_COMPAT=( python3_{10..12} )
-inherit autotools flag-o-matic libtool python-r1
+inherit autotools flag-o-matic python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-04-04 Thread Mike Gilbert
commit: dfc4d55e7af6dcd888b193fbcd6d1b31b8591840
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Apr  4 16:45:26 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Apr  4 16:48:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc4d55e

sys-libs/libcap-ng: inherit out-of-source-utils

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild| 4 ++--
 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild| 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index fdc6248bdbe1..ffb59a372613 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
 PYTHON_COMPAT=( python3_{9..11} )
-inherit autotools flag-o-matic python-r1
+inherit autotools flag-o-matic out-of-source-utils python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index 4e102c79baf0..f6c6b3dbba65 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
 PYTHON_COMPAT=( python3_{10..12} )
-inherit autotools flag-o-matic python-r1
+inherit autotools flag-o-matic out-of-source-utils python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index f0f688f287be..cffaa6067dc7 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
 PYTHON_COMPAT=( python3_{10..12} )
-inherit autotools flag-o-matic python-r1
+inherit autotools flag-o-matic out-of-source-utils python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-04-04 Thread Mike Gilbert
commit: a7a715d88cb763b2457d2ea5f8ff8d73413437d2
Author: orbea  riseup  net>
AuthorDate: Thu Apr  4 16:02:27 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Apr  4 16:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a715d8

sys-libs/libcap-ng: use --with-capability_header

The sed no longer does anything so use the new upstream configure
argument instead.

Upstream-Commit: 
https://github.com/stevegrubb/libcap-ng/commit/a22d36a8c23dd40b39073ee0d3ca59f8eda160fe
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/36101
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index b2bf31f448fc..61b5078da390 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -34,11 +34,6 @@ PATCHES=(
 src_prepare() {
default
 
-   if use prefix ; then
-   # bug #668722
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   fi
-
eautoreconf
 }
 
@@ -49,6 +44,7 @@ src_configure() {
 
local myconf=(
$(use_enable static-libs static)
+   
--with-capability_header="${ESYSROOT}"/usr/include/linux/capability.h
)
 
local pythonconf=(



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-03-18 Thread Ionen Wolkens
commit: 3cabe0129e9490302670ea230d19db2c4431a225
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Mar 18 15:28:35 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar 19 03:42:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cabe012

sys-libs/libcap-ng: Stabilize 0.8.4-r1 hppa, #924911

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index 884785285ab2..f69c5049ed83 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-03-02 Thread Arthur Zamarin
commit: f9038184784c34a627a18394edaaea4f908d7a14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 18:00:38 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 18:00:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9038184

sys-libs/libcap-ng: Stabilize 0.8.4-r1 ppc, #924911

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index 159df67e7c45..884785285ab2 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-18 Thread Sam James
commit: f6d432b09c1c81a53b6dd51f35ad730f682a0518
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Feb 18 22:15:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 19 04:04:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d432b0

sys-libs/libcap-ng: apply elibtoolize to ensure LTO flags stick

It optionally runs eautomake for prefix, but never elibtoolize...

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index a1b318b5eae6..159df67e7c45 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
 PYTHON_COMPAT=( python3_{10..12} )
-inherit autotools flag-o-matic python-r1
+inherit autotools flag-o-matic libtool python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
@@ -37,6 +37,7 @@ src_prepare() {
# bug #668722
eautomake
fi
+   elibtoolize
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-18 Thread Sam James
commit: 0cc55e1292cb0d41b7f2f2336feb8557c0ac0673
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 13:32:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 13:32:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc55e12

sys-libs/libcap-ng: Stabilize 0.8.4-r1 arm, #924911

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index fcb2e5b2310e..dd4060fd05a7 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-18 Thread Sam James
commit: 733ff4322a61bc940946f58961008736ff5bdecc
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 13:20:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 13:20:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733ff432

sys-libs/libcap-ng: Stabilize 0.8.4-r1 arm64, #924911

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
index 1774677f7280..fcb2e5b2310e 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-07 Thread Sam James
commit: 1c4dc034974d902b0226768020d5692f08ceffe2
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  8 01:49:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  8 01:49:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4dc034

sys-libs/libcap-ng: Stabilize 0.8.4 hppa, #923517

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 6771a04c4ac7..f0f688f287be 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-02 Thread Sam James
commit: 7e054ba0a8d9a3772fe475092b8ffa33396b81f6
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  3 06:54:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  3 06:54:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e054ba0

sys-libs/libcap-ng: Stabilize 0.8.4 arm64, #923517

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 3ca538f91196..6771a04c4ac7 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-02 Thread Arthur Zamarin
commit: 66b1b87de0bf0f4b5b1721f61e6405cd1f0ae0c0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 16:27:01 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 16:27:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b1b87d

sys-libs/libcap-ng: Stabilize 0.8.4 x86, #923517

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 4bea6f5c2ee0..3ca538f91196 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-02 Thread Arthur Zamarin
commit: 8b69d4cd016d6df8539c32abbed65f97474e3a53
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 14:58:15 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 14:58:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b69d4cd

sys-libs/libcap-ng: Stabilize 0.8.4 amd64, #923517

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 0c747ad18bd7..4bea6f5c2ee0 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2024-02-01 Thread Sam James
commit: 5506dd848d5a8110ebbccc446e1d021deac7d0ab
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 06:37:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 06:38:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5506dd84

sys-libs/libcap-ng: Stabilize 0.8.4 ppc, #923517

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 657a908f9eb8..0c747ad18bd7 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/, sys-libs/libcap-ng/files/

2024-01-04 Thread Sam James
commit: 62ab48d8edb336e83f2a8988f09c85766c368c75
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan  5 05:17:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  5 05:17:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ab48d8

sys-libs/libcap-ng: fix swig-4.2.0 compat

Closes: https://bugs.gentoo.org/921305
Signed-off-by: Sam James  gentoo.org>

 .../libcap-ng/files/libcap-ng-0.8.4-swig.patch |  31 ++
 sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild   | 104 +
 2 files changed, 135 insertions(+)

diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch 
b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch
new file mode 100644
index ..4b3f41a580ab
--- /dev/null
+++ b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/921305
+https://github.com/stevegrubb/libcap-ng/issues/48
+https://github.com/stevegrubb/libcap-ng/commit/30453b6553948cd05c438f9f509013e3bb84f25b
+
+From 30453b6553948cd05c438f9f509013e3bb84f25b Mon Sep 17 00:00:00 2001
+From: Steve Grubb 
+Date: Thu, 4 Jan 2024 15:06:29 -0500
+Subject: [PATCH] Remove python global exception handler since its deprecated
+
+---
+ bindings/src/capng_swig.i | 7 ---
+ 2 files changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/bindings/src/capng_swig.i b/bindings/src/capng_swig.i
+index fcdaf18..fa85e13 100644
+--- a/bindings/src/capng_swig.i
 b/bindings/src/capng_swig.i
+@@ -30,13 +30,6 @@
+ 
+ %varargs(16, signed capability = 0) capng_updatev;
+ 
+-%except(python) {
+-  $action
+-  if (result < 0) {
+-PyErr_SetFromErrno(PyExc_OSError);
+-return NULL;
+-  }
+-}
+ #endif
+ 
+ %define __signed__

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
new file mode 100644
index ..1774677f7280
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
+# Same maintainer in Fedora as upstream
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-swig.patch
+)
+
+src_prepare() {
+   default
+
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   # bug #668722
+   eautomake
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=(
+   --without-python3
+   )
+
+   # Set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=(
+   --with-python3
+   )
+
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]] ; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2023-12-23 Thread Sam James
commit: 24f7b521a7505c47244add5782a15ecfe9d6e88c
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 24 02:17:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 24 02:17:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f7b521

sys-libs/libcap-ng: update LICENSE

The utilities are GPL-2+ and the library is LGPL-2.1+.

See also 
https://github.com/stevegrubb/libcap-ng/commit/5c415c7c13d53eb3d2757f83fa57406beed47cff.

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
index 610a3467043c..9f6b840b89b1 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
 SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
-LICENSE="LGPL-2.1"
+LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2023-12-23 Thread Sam James
commit: 3f94f64e9243db42bda7a418edb8008b6acb4fc5
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 24 01:41:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 24 01:45:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f94f64e

sys-libs/libcap-ng: add 0.8.4

Note that this drops the workaround for bug #759550 - as the upstream maintainer
has done in Fedora too [0]

[0] https://lists.fedoraproject.org/archives/list/devel  
lists.fedoraproject.org/thread/A4NEVRDJLLLOK5LLLTQC7Y2HS3MVAWQM/

Bug: https://bugs.gentoo.org/759550
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/Manifest   |   1 +
 sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild | 100 ++
 2 files changed, 101 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 45b492af66d5..0ffa199c4537 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,2 +1,3 @@
 DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
 DIST libcap-ng-0.8.3.tar.gz 455383 BLAKE2B 
c54dd753e0ef6dd21bcf6af7b003f85ded9faf2fbf1ea834cda6b181b165ff4b11a0284c23c73d0e6f97a810b3e6a63fceeb57ff583a2b32f23924bdee597ef5
 SHA512 
0ef9bc7bc6b7b59991f43b79aa6cde3e8d2c22c4b9ced2af8deae501e01d51e893033d109cb8aa0fdcba190140110993089245346334d7b114d18f1bb1b55b97
+DIST libcap-ng-0.8.4.tar.gz 453749 BLAKE2B 
523480281cfa544e77e30932968b4b18424286dbced06bb4645d536cf19d4cc0f7c73de82006ffc329aa7ef208e0cf8e3379f1b20e1e8e4e90e422ed736f6c44
 SHA512 
f4f3499d592e8583c2bdb8d700981a7930bd545f0889bc02f49acecf17e3bc600b100cd4f64e9326e5bac0a07a02a1ac4b7e83e91956305a3d67cbe6871e

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
new file mode 100644
index ..610a3467043c
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.4.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
+# Same maintainer in Fedora as upstream
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="
+   ${RDEPEND}
+   sys-kernel/linux-headers
+"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+src_prepare() {
+   default
+
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   # bug #668722
+   eautomake
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=(
+   --without-python3
+   )
+
+   # Set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=(
+   --with-python3
+   )
+
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]] ; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+
+   find "${ED}" -name '*.la' 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2023-03-07 Thread Sam James
commit: 8f5a4031027e25d719725acd0b00e708ac58f1c9
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 11:35:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 11:35:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5a4031

sys-libs/libcap-ng: enable py3.11

Closes: https://bugs.gentoo.org/897314
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index ebc77fd26e7d..fdc6248bdbe1 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 # Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
 # Same maintainer in Fedora as upstream
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit autotools flag-o-matic python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-07-28 Thread Sam James
commit: 2327bf545ce918882ecc3150b7dd1573c002c1ab
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 12:58:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:19:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2327bf54

sys-libs/libcap-ng: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/metadata.xml | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libcap-ng/metadata.xml b/sys-libs/libcap-ng/metadata.xml
index 2d75111936ad..d321b5cf8882 100644
--- a/sys-libs/libcap-ng/metadata.xml
+++ b/sys-libs/libcap-ng/metadata.xml
@@ -1,17 +1,18 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
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.
-
-
-   cpe:/a:libcap-ng_project:libcap-ng
-
+   
+   
+   cpe:/a:libcap-ng_project:libcap-ng
+   stevegrubb/libcap-ng
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-21 Thread David Seifert
commit: 4f65249b18d046d144901481249857ae9738ed8c
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 09:40:59 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 09:40:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f65249b

sys-libs/libcap-ng: drop 0.8.2-r1

Signed-off-by: David Seifert  gentoo.org>

 sys-libs/libcap-ng/Manifest  |  1 -
 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 95 
 2 files changed, 96 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index c555c666fdf8..45b492af66d5 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,3 +1,2 @@
 DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
-DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
 DIST libcap-ng-0.8.3.tar.gz 455383 BLAKE2B 
c54dd753e0ef6dd21bcf6af7b003f85ded9faf2fbf1ea834cda6b181b165ff4b11a0284c23c73d0e6f97a810b3e6a63fceeb57ff583a2b32f23924bdee597ef5
 SHA512 
0ef9bc7bc6b7b59991f43b79aa6cde3e8d2c22c4b9ced2af8deae501e01d51e893033d109cb8aa0fdcba190140110993089245346334d7b114d18f1bb1b55b97

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
deleted file mode 100644
index f79095d55829..
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-# Fedora 0.8.2 
https://src.fedoraproject.org/rpms/libcap-ng/c/a5b0f536df1132d8e7afa4c0ce07b630e7970cad?branch=master
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
-   
https://src.fedoraproject.org/rpms/libcap-ng/raw/a5b0f536df1132d8e7afa4c0ce07b630e7970cad/f/libcap-ng-0.8.2-apply-disable.patch;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-PATCHES=(
-   "${DISTDIR}"/libcap-ng-0.8.2-apply-disable.patch
-)
-
-src_prepare() {
-   default
-   if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   eautomake #668722
-   fi
-}
-
-src_configure() {
-   use sparc && replace-flags -O? -O0
-
-   local ECONF_SOURCE="${S}"
-
-   local myconf=(
-   $(use_enable static-libs static)
-   )
-
-   local pythonconf=( --without-python --without-python3 )
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   pythonconf=( --without-python --with-python3 )
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   fi
-}
-
-src_compile() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}"
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   if use python; then
-   python_foreach_impl run_in_build_dir emake check
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" check
-   fi
-}
-
-src_install() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
-   fi
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-02 Thread Jakov Smolić
commit: 0654af18a67298e815d961b77c4b213d495d947c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  2 07:31:35 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  2 07:31:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0654af18

sys-libs/libcap-ng: Stabilize 0.8.3 hppa, #849185

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index e49bdcd3bbc0..2a39040466ec 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Jakov Smolić
commit: 00b3368c49994ca131d67f94a2d539ea84c2bce2
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  2 05:03:04 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  2 05:03:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b3368c

sys-libs/libcap-ng: Stabilize 0.8.3 sparc, #849185

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 51bffb6873cb..e49bdcd3bbc0 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: 9194a3d5b3fa3a2fefba86ceb3142ed2abbada65
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:59:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:59:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9194a3d5

sys-libs/libcap-ng: Stabilize 0.8.3 ppc64, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 2e6635dd2c3c..51bffb6873cb 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: eb19bc4056b275eef5370f1c94e7dd2aa7c42c8d
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:23:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:23:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb19bc40

sys-libs/libcap-ng: Stabilize 0.8.3 ppc, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index b174e765953b..2e6635dd2c3c 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: 30fd0d1daf59d7ceb15e874f1ef64fa13ea28ac3
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:11:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:11:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30fd0d1d

sys-libs/libcap-ng: Stabilize 0.8.3 x86, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 35cb03c6ad7d..b174e765953b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: 08a8b481b8c1ed24dedeebea9b06e4b22577fb70
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:10:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:10:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a8b481

sys-libs/libcap-ng: Stabilize 0.8.3 amd64, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 36661e2c7b7d..35cb03c6ad7d 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: ed2489a61c3b1da9c86a1450c3053c5f855d7e2c
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:01:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:05:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2489a6

sys-libs/libcap-ng: Stabilize 0.8.3 arm64, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 3e163b1e19cb..e39b3266e534 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-06-01 Thread Sam James
commit: 4e791e4484a45dd28eaf7e1f61694151d6226b9a
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:01:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:05:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e791e44

sys-libs/libcap-ng: Stabilize 0.8.3 arm, #849185

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index e39b3266e534..36661e2c7b7d 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-05-05 Thread WANG Xuerui
commit: 95be14d8575972f3b71d7ac82d4797274b2f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 09:42:01 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 09:51:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95be14d8

sys-libs/libcap-ng: keyword 0.8.3 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
index 9dbc035b5526..3e163b1e19cb 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2022-04-06 Thread Sam James
commit: 9d1c977852df6f69ece2d34b831c7869d120ea47
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr  7 02:44:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr  7 03:37:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1c9778

sys-libs/libcap-ng: add 0.8.3

Keep the Fedora patch for now (one last time?) which reverts a behaviour
change until we're a bit more certain consumers are fixed. Given Fedora
is still shipping it (and the upstream maintainer == Fedora maintainer),
I'd rather wait a bit longer before dropping.

That said, gnome-keyring is fixed since 40, and it was the only
known breakage AFAIK.

Bug: https://bugs.gentoo.org/759550
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/Manifest   |   1 +
 sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild | 109 ++
 2 files changed, 110 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 91583ac0a494..c555c666fdf8 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,2 +1,3 @@
 DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
 DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
+DIST libcap-ng-0.8.3.tar.gz 455383 BLAKE2B 
c54dd753e0ef6dd21bcf6af7b003f85ded9faf2fbf1ea834cda6b181b165ff4b11a0284c23c73d0e6f97a810b3e6a63fceeb57ff583a2b32f23924bdee597ef5
 SHA512 
0ef9bc7bc6b7b59991f43b79aa6cde3e8d2c22c4b9ced2af8deae501e01d51e893033d109cb8aa0fdcba190140110993089245346334d7b114d18f1bb1b55b97

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
new file mode 100644
index ..9dbc035b5526
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.3.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Keep an eye on Fedora's packaging 
(https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches
+# Same maintainer in Fedora as upstream
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+# Patch works around / reverts a behaviour change because not all consumers 
were ready.
+# Keep this patch for a bit longer until Fedora stop shipping it (not clear 
what else
+# other than gnome-keyring was broken by it: bug #759550)
+# Fedora 0.8.2 
https://src.fedoraproject.org/rpms/libcap-ng/c/a5b0f536df1132d8e7afa4c0ce07b630e7970cad?branch=master
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
+   
https://src.fedoraproject.org/rpms/libcap-ng/raw/a5b0f536df1132d8e7afa4c0ce07b630e7970cad/f/libcap-ng-0.8.2-apply-disable.patch;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+PATCHES=(
+   "${DISTDIR}"/libcap-ng-0.8.2-apply-disable.patch
+)
+
+src_prepare() {
+   default
+
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   # bug #668722
+   eautomake
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=(
+   --without-python
+   --without-python3
+   )
+
+   # Set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=(
+   --without-python
+   --with-python3
+   )
+
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR="${WORKDIR}"/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python ; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-10-31 Thread Arthur Zamarin
commit: eacbddc77cea0ff4313712022078d7e83da52e76
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct 31 07:47:41 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct 31 20:09:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacbddc7

sys-libs/libcap-ng: enable py3.10

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index e8d8ab36eea..f79095d5582 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit autotools flag-o-matic python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-06-06 Thread David Seifert
commit: a52145ea2f148b9f170deb7e3380ab1c1170c24d
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun  6 15:41:29 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun  6 15:41:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52145ea

sys-libs/libcap-ng: drop 0.7.11, 0.8, 0.8.1-r1

Signed-off-by: David Seifert  gentoo.org>

 sys-libs/libcap-ng/Manifest  |  4 --
 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild   | 89 -
 sys-libs/libcap-ng/libcap-ng-0.8.1-r1.ebuild | 98 
 sys-libs/libcap-ng/libcap-ng-0.8.ebuild  | 89 -
 4 files changed, 280 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index c24cc40930b..91583ac0a49 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,6 +1,2 @@
-DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
-DIST libcap-ng-0.8.1.tar.gz 454950 BLAKE2B 
d2d8902526f1cb6f1f579ec4ca1ca33bf45db325eac07a94b97dcee58411f8657591a840cb7420a94617bf8c21858c4b31138ca3126f6cfaff6b8c82b991149f
 SHA512 
cd28ceb43e2cf5d3a0140fddbd2ea13dfda8eeea8a6de1817f3cc3b38df874ab8653917dbd405ad771bcb9ec246d995079aa3cb0af1cffbdb37dfdd99232
 DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
-DIST libcap-ng-0.8.2-apply.patch 2898 BLAKE2B 
4c388bc2a61646639a78b6b3038a1027df7807076b9d0bef7c850e8c86e354260eaee47b4f3d10a1db3d961584935005e155eba04a38decbe4256fc3e5fab968
 SHA512 
1d3d443c524fb4b885702b460f7ec7eda6377ed571528ca679add9494eb8172ead607ba32e139d4150672e81e79e12687a5b09c93d4f24eb2edb1381c2ced76d
 DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
-DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
deleted file mode 100644
index a8cccecf3c6..000
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit autotools flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-src_prepare() {
-   default
-   if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   eautomake #668722
-   fi
-}
-
-src_configure() {
-   use sparc && replace-flags -O? -O0
-
-   local ECONF_SOURCE="${S}"
-
-   local myconf=(
-   $(use_enable static-libs static)
-   )
-
-   local pythonconf=( --without-python --without-python3 )
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   pythonconf=( --without-python --with-python3 )
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   fi
-}
-
-src_compile() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}"
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-26 Thread Sergei Trofimovich
commit: 08f3f450da8af39afbee32a9486081889c2bf051
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May 26 16:14:12 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 26 18:28:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f3f450

sys-libs/libcap-ng: stable 0.8.2-r1 for hppa, bug #791664

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 5ebb5b2eaa3..e8d8ab36eea 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-26 Thread Sam James
commit: 4296eb8435d09fa74d05780480f0128c6a5e8623
Author: Sam James  gentoo  org>
AuthorDate: Wed May 26 08:05:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 08:10:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4296eb84

sys-libs/libcap-ng: Stabilize 0.8.2-r1 ppc64, #791664

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 99e9f351fe2..5ebb5b2eaa3 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-26 Thread Sam James
commit: 3ddafd54016e30e9658aaa4f6bd49fe13e684b24
Author: Sam James  gentoo  org>
AuthorDate: Wed May 26 08:02:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 26 08:03:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ddafd54

sys-libs/libcap-ng: Stabilize 0.8.2-r1 ppc, #791664

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index e9ac2f4e807..99e9f351fe2 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-25 Thread Sam James
commit: 6f23497b2077896e223db4725cb8002e41df3175
Author: Sam James  gentoo  org>
AuthorDate: Tue May 25 11:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 25 11:05:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f23497b

sys-libs/libcap-ng: Stabilize 0.8.2-r1 sparc, #791664

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index dad6ef081b3..e9ac2f4e807 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-24 Thread Agostino Sarubbo
commit: 3561f645d814c6c621d11668b8420051b8c04fc4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 24 13:04:24 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 24 13:04:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3561f645

sys-libs/libcap-ng: amd64 stable wrt bug #791664

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index a2d15c20a27..dad6ef081b3 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-23 Thread Sam James
commit: 0906e85ac0c21f0179bceea82f07b94baea916b7
Author: Sam James  gentoo  org>
AuthorDate: Mon May 24 00:06:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 24 00:06:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0906e85a

sys-libs/libcap-ng: Stabilize 0.8.2-r1 arm, #791664

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 6f020012506..a2d15c20a27 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-23 Thread Sam James
commit: 4326c6fc53bee6ef99060f5502189230ce5c703e
Author: Sam James  gentoo  org>
AuthorDate: Mon May 24 00:06:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 24 00:06:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4326c6fc

sys-libs/libcap-ng: Stabilize 0.8.2-r1 arm64, #791664

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 2210a047c5b..6f020012506 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-23 Thread Thomas Deutschmann
commit: db28e95f89937c2342d753c30d77d7838a88d9da
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 23 23:04:39 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 23 23:06:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db28e95f

sys-libs/libcap-ng: x86 stable (bug #791664)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 52a72cf9c08..2210a047c5b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2021-05-06 Thread Lars Wendler
commit: dee97bb76f704bc1c5b14abad3dbfcd8d00e5df7
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu May  6 07:07:40 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu May  6 07:10:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee97bb7

sys-libs/libcap-ng: Added python3_9 support

Closes: https://bugs.gentoo.org/772266
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
index 4eacf6ed02b..52a72cf9c08 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit autotools flag-o-matic python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-12-14 Thread Robin H. Johnson
commit: 87a9246ba1a1091db7dc7f677f20916546afe408
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 14 22:54:40 2020 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 14 23:21:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a9246b

sys-libs/libcap-ng: add patches for gnome-keyring-daemon breakage

The upstream author of libcap-ng is ALSO the Fedora packager, and ships
a critical behavior fix regarding new error codes for the recent
versions, both of which are available in different Fedora releases.
After careful review, include BOTH of those releases in our tree, to
allow testing for regressions.

Closes: https://bugs.gentoo.org/759550
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-libs/libcap-ng/Manifest  |  3 +
 sys-libs/libcap-ng/libcap-ng-0.8.1-r1.ebuild | 98 
 sys-libs/libcap-ng/libcap-ng-0.8.2-r1.ebuild | 95 +++
 3 files changed, 196 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 98256cb8ff0..c24cc40930b 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,3 +1,6 @@
 DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
+DIST libcap-ng-0.8.1.tar.gz 454950 BLAKE2B 
d2d8902526f1cb6f1f579ec4ca1ca33bf45db325eac07a94b97dcee58411f8657591a840cb7420a94617bf8c21858c4b31138ca3126f6cfaff6b8c82b991149f
 SHA512 
cd28ceb43e2cf5d3a0140fddbd2ea13dfda8eeea8a6de1817f3cc3b38df874ab8653917dbd405ad771bcb9ec246d995079aa3cb0af1cffbdb37dfdd99232
+DIST libcap-ng-0.8.2-apply-disable.patch 723 BLAKE2B 
70d9959c55119c02bbc4ea605251491c04c477511c20b9fe93e6527ffd3fe2f35a72fabab5ca149c4aaf536c6cd8dceb15375297158f8827a0c676744381bbc1
 SHA512 
8c9317bdd4fde7d6a4618ec613bce46bed7646891bd16bc3fa307e9a814e38601bf3c6ad13102389d4596d9ed6a7ad853cca58624e724fe07383007e386c51f8
+DIST libcap-ng-0.8.2-apply.patch 2898 BLAKE2B 
4c388bc2a61646639a78b6b3038a1027df7807076b9d0bef7c850e8c86e354260eaee47b4f3d10a1db3d961584935005e155eba04a38decbe4256fc3e5fab968
 SHA512 
1d3d443c524fb4b885702b460f7ec7eda6377ed571528ca679add9494eb8172ead607ba32e139d4150672e81e79e12687a5b09c93d4f24eb2edb1381c2ced76d
 DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
 DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.1-r1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.1-r1.ebuild
new file mode 100644
index 000..a83d11757d8
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.1-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+# Fedora 0.8.1 
https://src.fedoraproject.org/rpms/libcap-ng/c/49e3114cf75fabe9919300e42f7b151eee9e37d1?branch=master
+# Fedora 0.8.2 
https://src.fedoraproject.org/rpms/libcap-ng/c/a5b0f536df1132d8e7afa4c0ce07b630e7970cad?branch=master
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz
+   
https://src.fedoraproject.org/rpms/libcap-ng/raw/49e3114cf75fabe9919300e42f7b151eee9e37d1/f/libcap-ng-0.8.2-apply.patch
+   
https://src.fedoraproject.org/rpms/libcap-ng/raw/a5b0f536df1132d8e7afa4c0ce07b630e7970cad/f/libcap-ng-0.8.2-apply-disable.patch;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+PATCHES=(
+   "${DISTDIR}"/libcap-ng-0.8.2-apply.patch
+   "${DISTDIR}"/libcap-ng-0.8.2-apply-disable.patch
+)
+
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-12-14 Thread Robin H. Johnson
commit: 88fc8692b22b772cb88f0aeb7795d64f2c03cb93
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Dec 14 22:57:43 2020 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Dec 14 23:21:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88fc8692

sys-libs/libcap-ng: drop known broken version

Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild | 89 ---
 1 file changed, 89 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild
deleted file mode 100644
index 846ebcd8aae..000
--- a/sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit autotools flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-src_prepare() {
-   default
-   if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   eautomake #668722
-   fi
-}
-
-src_configure() {
-   use sparc && replace-flags -O? -O0
-
-   local ECONF_SOURCE="${S}"
-
-   local myconf=(
-   $(use_enable static-libs static)
-   )
-
-   local pythonconf=( --without-python --without-python3 )
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   pythonconf=( --without-python --with-python3 )
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   fi
-}
-
-src_compile() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}"
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   if use python; then
-   python_foreach_impl run_in_build_dir emake check
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" check
-   fi
-}
-
-src_install() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
-   fi
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-12-11 Thread Lars Wendler
commit: ec78709b5a8835b6387b8354f2d46359649291cb
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Dec 11 14:56:21 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Dec 11 14:59:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec78709b

sys-libs/libcap-ng: Bump to version 0.8.2. Removed old

Bug: https://bugs.gentoo.org/755596
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest   | 2 +-
 sys-libs/libcap-ng/{libcap-ng-0.8.1.ebuild => libcap-ng-0.8.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 27147c4690f..ba1b03d4aa1 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,4 +1,4 @@
 DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
 DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
-DIST libcap-ng-0.8.1.tar.gz 454950 BLAKE2B 
d2d8902526f1cb6f1f579ec4ca1ca33bf45db325eac07a94b97dcee58411f8657591a840cb7420a94617bf8c21858c4b31138ca3126f6cfaff6b8c82b991149f
 SHA512 
cd28ceb43e2cf5d3a0140fddbd2ea13dfda8eeea8a6de1817f3cc3b38df874ab8653917dbd405ad771bcb9ec246d995079aa3cb0af1cffbdb37dfdd99232
+DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
 DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild
similarity index 100%
rename from sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild
rename to sys-libs/libcap-ng/libcap-ng-0.8.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-12-11 Thread Lars Wendler
commit: 0cd1e6acf2814887f8f224b02966a24e7fe5c39e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Dec 11 14:58:54 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Dec 11 14:59:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd1e6ac

sys-libs/libcap-ng: Removed old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest|  1 -
 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 89 --
 2 files changed, 90 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index ba1b03d4aa1..98256cb8ff0 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,4 +1,3 @@
-DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
 DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
 DIST libcap-ng-0.8.2.tar.gz 456066 BLAKE2B 
7e721d05b92fd3708b970527e76b1898daa91bde3ab6ed5d8f23b1435404fbe7d15731461c6d9d2c791738e5498d1f5eaba727413480d34b7edea13c8691c32b
 SHA512 
0ac6e55c03b1fba3a849048b721e250951afb59190d9646704d4fd9938eccc3bd0767380fbddc42f186b4f55695475e31f34f537ae91c04a37662577a5b7a19b
 DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
deleted file mode 100644
index ffc8687f1aa..000
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit autotools flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-src_prepare() {
-   default
-   if use prefix ; then
-   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
-   eautomake #668722
-   fi
-}
-
-src_configure() {
-   use sparc && replace-flags -O? -O0
-
-   local ECONF_SOURCE="${S}"
-
-   local myconf=(
-   $(use_enable static-libs static)
-   )
-
-   local pythonconf=( --without-python --without-python3 )
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   pythonconf=( --without-python --with-python3 )
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
-   fi
-}
-
-src_compile() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}"
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   if use python; then
-   python_foreach_impl run_in_build_dir emake check
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" check
-   fi
-}
-
-src_install() {
-   if use python; then
-   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
-   else
-   local BUILD_DIR=${WORKDIR}/build
-   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
-   fi
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-23 Thread Sergei Trofimovich
commit: e8a509e37c613de5cb073b7b46c2804337b15630
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 23 08:00:03 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 23 08:00:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a509e3

sys-libs/libcap-ng: stable 0.7.11 for hppa

stable wrt bug #755482

Package-Manager: Portage-3.0.10, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index b83c4832828..ffc8687f1aa 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-22 Thread Sergei Trofimovich
commit: fce65b57d13c2a0d08bb874469801da5b7b5aac8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Nov 23 07:52:15 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 23 07:52:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce65b57

sys-libs/libcap-ng: stable 0.7.11 for ppc

stable wrt bug #755482

Package-Manager: Portage-3.0.10, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index b233a94ad2d..b83c4832828 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-22 Thread Sam James
commit: 47710339f02ff4e88670bb8e028ce49cf5de7706
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 23 04:04:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 23 04:04:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47710339

sys-libs/libcap-ng: Stabilize 0.7.11 ppc64, #755482

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index bdb1124c291..b233a94ad2d 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-20 Thread Sergei Trofimovich
commit: 0eead35083059b153e3b739a83b4cbf9de3fa8aa
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Nov 20 20:00:55 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Nov 20 20:00:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eead350

sys-libs/libcap-ng: stable 0.7.11 for sparc

stable wrt bug #755482

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index 0ab4c81205a..bdb1124c291 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-19 Thread Sam James
commit: 17b4916b130ed37b524714720514d49d56fa2a65
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 20 01:59:00 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 20 01:59:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b4916b

sys-libs/libcap-ng: Stabilize 0.7.11 arm, #755482

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index 099e7a2049a..0ab4c81205a 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-19 Thread Sam James
commit: 6a0bab6a6436b1d8e0adcef3cabb2008860c043e
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 20 01:58:16 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 20 01:58:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0bab6a

sys-libs/libcap-ng: Stabilize 0.7.11 arm64, #755482

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index de361f22f2c..099e7a2049a 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-19 Thread Thomas Deutschmann
commit: dd9e638c9e2cb7336565207a2ef583c1af44d7f3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 20 01:32:14 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 20 01:32:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9e638c

sys-libs/libcap-ng: x86 stable (bug #755482)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index 84c698cc9a1..de361f22f2c 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-19 Thread Sam James
commit: 48cadb847126062feee037cad023a91e36da768e
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 19 22:57:10 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 19 22:57:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48cadb84

sys-libs/libcap-ng: Stabilize 0.7.11 amd64, #755482

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
index 846ebcd8aae..84c698cc9a1 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-11-19 Thread Lars Wendler
commit: 3b21fd6ca86ea550213ff4e08319a08718b1a0f4
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 19 08:43:08 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 19 09:36:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b21fd6c

sys-libs/libcap-ng: Bump to version 0.8.1

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest   |  1 +
 sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild | 89 +++
 2 files changed, 90 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index a7ac7241a58..27147c4690f 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,3 +1,4 @@
 DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
 DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
+DIST libcap-ng-0.8.1.tar.gz 454950 BLAKE2B 
d2d8902526f1cb6f1f579ec4ca1ca33bf45db325eac07a94b97dcee58411f8657591a840cb7420a94617bf8c21858c4b31138ca3126f6cfaff6b8c82b991149f
 SHA512 
cd28ceb43e2cf5d3a0140fddbd2ea13dfda8eeea8a6de1817f3cc3b38df874ab8653917dbd405ad771bcb9ec246d995079aa3cb0af1cffbdb37dfdd99232
 DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild
new file mode 100644
index 000..846ebcd8aae
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=( --without-python --without-python3 )
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=( --without-python --with-python3 )
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-09-09 Thread Lars Wendler
commit: 72a3821c25e6b2e0dbcc03d43791dc93562c0781
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep  9 06:42:40 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep  9 06:42:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a3821c

sys-libs/libcap-ng: Bump to version 0.8

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest |  1 +
 sys-libs/libcap-ng/libcap-ng-0.8.ebuild | 89 +
 2 files changed, 90 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 998a8b48c37..a7ac7241a58 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,2 +1,3 @@
 DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
 DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c
+DIST libcap-ng-0.8.tar.gz 453181 BLAKE2B 
8f4b2e13e5c2c21f1ac1455ebdaf04b42e07fa79d9026651f41eab041cdf99bd40d91b8ce2262e58bc2de3e2a793f676df8c69d832ccadfa4b486ebefeb4b128
 SHA512 
d410d66f46ad25765f35ffac17e0d36740329c334c6535d55a13fa218718a750763b7ad4610efa47efe7c256c143ead7dde7d37a29e99cb5c55161f577c40bb2

diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.8.ebuild
new file mode 100644
index 000..846ebcd8aae
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.8.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=( --without-python --without-python3 )
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=( --without-python --with-python3 )
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-08-24 Thread Thomas Deutschmann
commit: 9d74f34f8e38687f12d7ee05b8b04daaaef1b34f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Aug 24 22:46:53 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Aug 24 22:47:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d74f34f

sys-libs/libcap-ng: bump to v0.7.11

Closes: https://bugs.gentoo.org/731304
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libcap-ng/Manifest|  1 +
 sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild | 89 ++
 2 files changed, 90 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index b33a3ee0224..998a8b48c37 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1 +1,2 @@
 DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
+DIST libcap-ng-0.7.11.tar.gz 450541 BLAKE2B 
66217f7fb9e3b3876ada6f355a2b69f16fda4ab3ab490e524358c4120583280ce6497770ec6452596426594b877d79c0e03db10d6413c1cf20bd01e996f7347b
 SHA512 
150c4f48d7334966aa7af683e46bc3b8b4d4a2e80be826e6f6a61a0ea0666e2f4dafcd012c536fa321c4954c00059c689cc8d6dc089000ca1dca2fd52e3efe9c

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
new file mode 100644
index 000..846ebcd8aae
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.11.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
+
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=( --without-python --without-python3 )
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   pythonconf=( --without-python --with-python3 )
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-08-14 Thread Andreas Sturmlechner
commit: 8b78a2bf52cd04def3279d150b8117b738c70d08
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug  3 21:25:55 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 14 23:21:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b78a2bf

sys-libs/libcap-ng: Drop superfluous calls to python_is_python3

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index f19dc4e73c8..ffc8687f1aa 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -44,12 +44,7 @@ src_configure() {
# set up python bindings build(s)
if use python ; then
setup_python_flags_configure() {
-   if python_is_python3; then
-   pythonconf=( --without-python --with-python3 )
-   else
-   pythonconf=( --with-python --without-python3 )
-   local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
-   fi
+   pythonconf=( --without-python --with-python3 )
run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
}
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-07-30 Thread Lars Wendler
commit: 6e5de898bf7d042cd5b4d9f4370c7d89ac2a5ced
Author: David Michael  gmail  com>
AuthorDate: Thu Jul 30 14:04:08 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 30 14:04:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5de898

sys-libs/libcap-ng: Put python dep into BDEPEND

Closes: https://bugs.gentoo.org/734774
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index dda9a06b3da..f19dc4e73c8 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -19,8 +19,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
-   sys-kernel/linux-headers
-   python? ( >=dev-lang/swig-2 )"
+   sys-kernel/linux-headers"
+BDEPEND="python? ( >=dev-lang/swig-2 )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Lars Wendler
commit: 38df4a213ca899f760ba39b65292ed012339cb72
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Apr 11 16:19:24 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Apr 11 16:19:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38df4a21

sys-libs/libcap-ng: Removed old

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest   |   2 -
 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 100 --
 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild |  94 
 3 files changed, 196 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index a47182634d1..b33a3ee0224 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,3 +1 @@
 DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
-DIST libcap-ng-0.7.8.tar.gz 447946 BLAKE2B 
a26af2dcdd1af26cf03ca668dc95eed7bc1d0344729031497f46bba865bcb23ded2f1ea2ca5cb500b9419bbbd7ed75501921485257a3c8930d156a94e0a2c1c1
 SHA512 
c32a4c5780c183b13611615abe9061221fd8987188b08828d1617cdaee338ad8de67b3430aa83bde60128efc76449a688546bfbf697f0847b6a835cb1a868756
-DIST libcap-ng-0.7.9.tar.gz 449038 BLAKE2B 
3f84e5078d5d443cb61358c49405e4f16ff82a56e1c96d5127b522613b1b5c56a566a01b14b40055eca85f13b37f3d795248a506c54ac4612ab184a94addc365
 SHA512 
095edabaf76a943aab0645b843b14e20b1733ba1d47a8e34d82f6586ca9a1512ba2677d232b13dd3900b913837401bb58bf74481970e967ba19041959dc43259

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
deleted file mode 100644
index b4fa6ac24f4..000
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-PYTHON_COMPAT=( python3_6 )
-
-inherit autotools-utils flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sparc 
x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers
-   python? ( >=dev-lang/swig-2 )"
-
-RESTRICT="test"
-
-src_prepare() {
-   sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
-
-   autotools-utils_src_prepare
-
-   use sparc && replace-flags -O? -O0
-}
-
-src_configure() {
-   # set up the library build
-   local myeconfargs=( --without-python --without-python3 )
-   autotools-utils_src_configure
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   if [[ ${EPYTHON} == python2* ]] ; then
-   myeconfargs=( --with-python --without-python3 )
-   else
-   myeconfargs=( --with-python --with-python3 )
-   fi
-   autotools-utils_src_configure
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   fi
-}
-
-src_compile() {
-   autotools-utils_src_compile
-
-   if use python; then
-   python_compile() {
-   local CFLAGS=${CFLAGS}
-
-   python_is_python3 || CFLAGS+=" -fno-strict-aliasing"
-
-   emake "${@}" \
-   -C "${BUILD_DIR}"/bindings/python
-   }
-
-   # help build system find the right objects
-   python_foreach_impl python_compile \
-   VPATH="${BUILD_DIR}"/bindings/python \
-   LIBS="${BUILD_DIR}"/src/libcap-ng.la
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   autotools-utils_src_test
-
-   if use python; then
-   python_foreach_impl \
-   autotools-utils_src_compile -C bindings/python check \
-   
VPATH="${BUILD_DIR}"/bindings/python:"${S}"/bindings/python/test
-   fi
-}
-
-src_install() {
-   autotools-utils_src_install
-
-   if use python; then
-   python_foreach_impl \
-   autotools-utils_src_install -C bindings/python \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Agostino Sarubbo
commit: e224de15f70e624024278a4ebcc9d73b43b889db
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 11 16:12:30 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 11 16:12:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e224de15

sys-libs/libcap-ng: x86 stable wrt bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index cfc43ba94d8..7f8aa862b22 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Agostino Sarubbo
commit: 58c582702d3871d4417e3903968f3a66b996f75a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 11 16:10:22 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 11 16:10:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c58270

sys-libs/libcap-ng: ppc64 stable wrt bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index 0aadee621ec..cfc43ba94d8 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Agostino Sarubbo
commit: 1f4de4c6e95c9def8af66b7202c8079e0fbed23c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 11 15:59:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 11 15:59:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4de4c6

sys-libs/libcap-ng: ppc stable wrt bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index 4691d4c0e7b..0aadee621ec 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Agostino Sarubbo
commit: 4970be913d29eaadaf602f62b7284938237d6ad1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 11 15:58:27 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 11 15:58:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4970be91

sys-libs/libcap-ng: arm stable wrt bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index ce1262b4c7d..4691d4c0e7b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-11 Thread Mart Raudsepp
commit: c32d757cb0ac4d35f451c33423a71c5cd1946e1a
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Apr  9 19:17:54 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Apr 11 11:20:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32d757c

sys-libs/libcap-ng: arm64 stable (bug #716794)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index 2cb7e6c8f3a..ce1262b4c7d 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-10 Thread Sergei Trofimovich
commit: 2da15dcc4de9ec3718ab1e2c086a6d55757005f0
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Apr 10 22:51:42 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr 10 22:56:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da15dcc

sys-libs/libcap-ng: stable 0.7.10 for sparc, bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index 04a68fc8556..2cb7e6c8f3a 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-04-09 Thread Agostino Sarubbo
commit: 6ffb8df5c7a4a9809ad6fe5a87bc39543f1930a4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr  9 18:00:46 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr  9 18:00:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffb8df5

sys-libs/libcap-ng: amd64 stable wrt bug #716794

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index f5bb0b976dc..04a68fc8556 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2020-02-10 Thread Michał Górny
commit: b57b1d339f273539e7869bf6d326be68da1611ec
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 21:15:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 21:25:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57b1d33

sys-libs/libcap-ng: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild  | 2 +-
 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index 9361395aa7c..03baf68eeb4 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit autotools flag-o-matic python-r1
 

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 1cc1c9d7b30..a9bbeaa640b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit autotools-utils flag-o-matic python-r1
 

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
index 56ee56eaf61..202648aebe3 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit autotools flag-o-matic python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2019-12-02 Thread Andreas Sturmlechner
commit: 91496c2546b8270fa7c6bc84d6d9408ecb8cf24a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Nov 30 15:14:43 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec  2 14:23:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91496c25

sys-libs/libcap-ng: python3_8

Closes: https://bugs.gentoo.org/701570
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
index e73f7cf226b..4bfeb7b05ef 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} )
 
 inherit autotools flag-o-matic python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2019-10-02 Thread Thomas Deutschmann
commit: 27a7df4094b89c77bcd156b2ad47a40693b21048
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  2 23:21:38 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  2 23:21:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a7df40

sys-libs/libcap-ng: bump to v0.7.10

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libcap-ng/Manifest|  1 +
 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index dda87749b49..a47182634d1 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,2 +1,3 @@
+DIST libcap-ng-0.7.10.tar.gz 450243 BLAKE2B 
8eb21b0309e46b05fa42752b9c814d90bc1eda4852ac7a4975868c279764431a8d5eafc53e50998470f622e2a59e2b4c6c2ac1ac20525c6fcd0633b09b113012
 SHA512 
1b93c7f5c20ae5cc705fe5244af3e299454e988388cda95f006e248d97c0713e77da2a81c67ecf15755f3958df373fc6d1ca14197d6357ab1f2d8c3a0fd12def
 DIST libcap-ng-0.7.8.tar.gz 447946 BLAKE2B 
a26af2dcdd1af26cf03ca668dc95eed7bc1d0344729031497f46bba865bcb23ded2f1ea2ca5cb500b9419bbbd7ed75501921485257a3c8930d156a94e0a2c1c1
 SHA512 
c32a4c5780c183b13611615abe9061221fd8987188b08828d1617cdaee338ad8de67b3430aa83bde60128efc76449a688546bfbf697f0847b6a835cb1a868756
 DIST libcap-ng-0.7.9.tar.gz 449038 BLAKE2B 
3f84e5078d5d443cb61358c49405e4f16ff82a56e1c96d5127b522613b1b5c56a566a01b14b40055eca85f13b37f3d795248a506c54ac4612ab184a94addc365
 SHA512 
095edabaf76a943aab0645b843b14e20b1733ba1d47a8e34d82f6586ca9a1512ba2677d232b13dd3900b913837401bb58bf74481970e967ba19041959dc43259

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
new file mode 100644
index 000..e73f7cf226b
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit autotools flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers
+   python? ( >=dev-lang/swig-2 )"
+
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
+   fi
+}
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE="${S}"
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=( --without-python --without-python3 )
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   if python_is_python3; then
+   pythonconf=( --without-python --with-python3 )
+   else
+   pythonconf=( --with-python --without-python3 )
+   local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+   fi
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2019-05-05 Thread Mikle Kolyada
commit: dc34e0ca37bbe9e98a29bc5c155dfd89bdcaf531
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  5 13:49:24 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  5 13:49:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc34e0ca

sys-libs/libcap-ng: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
index 94a945149ac..10b0913e870 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sh ~sparc ~x86 ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2018-11-21 Thread Lars Wendler
commit: 502191e9780c5d5d6e9b886318915c6394a8bf36
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 21 14:41:45 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 21 14:45:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502191e9

sys-libs/libcap-ng: Run eautomake in prefix

Prefix needs to change some Makefile.am files which then requires
eautomake to be run.

Bug: https://bugs.gentoo.org/668722
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
index 5ca28257fb8..6b134492aa9 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
 
-inherit flag-o-matic python-r1
+inherit autotools flag-o-matic python-r1
 
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
@@ -26,13 +26,14 @@ src_prepare() {
default
if use prefix ; then
sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   eautomake #668722
fi
 }
 
 src_configure() {
use sparc && replace-flags -O? -O0
 
-   local ECONF_SOURCE=${S}
+   local ECONF_SOURCE="${S}"
 
local myconf=(
$(use_enable static-libs static)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2018-03-19 Thread Guilherme Amadio
commit: ffe9a35a54fb083cedd42df283d78d995e8314bf
Author: Guilherme Amadio  gentoo  org>
AuthorDate: Mon Mar 19 13:09:05 2018 +
Commit: Guilherme Amadio  gentoo  org>
CommitDate: Mon Mar 19 18:05:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe9a35a

sys-libs/libcap-ng: prefix support

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
index 850239d9c23..e0f8423c7f6 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
@@ -22,6 +22,13 @@ DEPEND="${RDEPEND}
sys-kernel/linux-headers
python? ( >=dev-lang/swig-2 )"
 
+src_prepare() {
+   default
+   if use prefix ; then
+   sed -i "s@cat /usr@cat ${EPREFIX}/usr@" 
bindings/python*/Makefile.am || die
+   fi
+}
+
 src_configure() {
use sparc && replace-flags -O? -O0
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2018-02-08 Thread Mike Gilbert
commit: c1ec0a7a814111a7eccf8f18102a16d08b0f3ce7
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Feb  8 16:36:11 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Feb  8 16:36:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ec0a7a

sys-libs/libcap-ng: bump to 0.7.9

Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 sys-libs/libcap-ng/Manifest   |  1 +
 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 277155c33a5..dda87749b49 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1 +1,2 @@
 DIST libcap-ng-0.7.8.tar.gz 447946 BLAKE2B 
a26af2dcdd1af26cf03ca668dc95eed7bc1d0344729031497f46bba865bcb23ded2f1ea2ca5cb500b9419bbbd7ed75501921485257a3c8930d156a94e0a2c1c1
 SHA512 
c32a4c5780c183b13611615abe9061221fd8987188b08828d1617cdaee338ad8de67b3430aa83bde60128efc76449a688546bfbf697f0847b6a835cb1a868756
+DIST libcap-ng-0.7.9.tar.gz 449038 BLAKE2B 
3f84e5078d5d443cb61358c49405e4f16ff82a56e1c96d5127b522613b1b5c56a566a01b14b40055eca85f13b37f3d795248a506c54ac4612ab184a94addc365
 SHA512 
095edabaf76a943aab0645b843b14e20b1733ba1d47a8e34d82f6586ca9a1512ba2677d232b13dd3900b913837401bb58bf74481970e967ba19041959dc43259

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
new file mode 100644
index 000..850239d9c23
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~arm-linux ~x86-linux"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers
+   python? ( >=dev-lang/swig-2 )"
+
+src_configure() {
+   use sparc && replace-flags -O? -O0
+
+   local ECONF_SOURCE=${S}
+
+   local myconf=(
+   $(use_enable static-libs static)
+   )
+
+   local pythonconf=( --without-python --without-python3 )
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   if python_is_python3; then
+   pythonconf=( --without-python --with-python3 )
+   else
+   pythonconf=( --with-python --without-python3 )
+   local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+   fi
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
+   fi
+}
+
+src_compile() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}"
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   if use python; then
+   python_foreach_impl run_in_build_dir emake check
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" check
+   fi
+}
+
+src_install() {
+   if use python; then
+   python_foreach_impl run_in_build_dir emake DESTDIR="${D}" 
install
+   else
+   local BUILD_DIR=${WORKDIR}/build
+   emake -C "${BUILD_DIR}" DESTDIR="${D}" install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2018-01-11 Thread Mike Frysinger
commit: f4f093efba15d4ed5cbec1a717ab3c8d91cd
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Jan 12 03:59:59 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 12 04:08:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f093ef

sys-libs/libcap-ng: mark 0.7.8 arm64/m68k/s390/sh stable

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 4d8132b1ac0..6b6283bc78f 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-05-26 Thread David Seifert
commit: dfe5b93cf70e8c71a082b49bec4b48eb31f2554a
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 26 22:30:41 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 26 22:53:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe5b93c

sys-libs/libcap-ng: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 6fe529292f4..4d8132b1ac0 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -17,6 +17,7 @@ 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"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-04-28 Thread Manuel Rüger
commit: 873edd65947403625b57b97d36d402f99ce5a706
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 28 14:05:50 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 28 14:06:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873edd65

sys-libs/libcap-ng: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 97ed02fc42b..6fe529292f4 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit autotools-utils flag-o-matic python-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-02-17 Thread Lars Wendler
commit: a68fc1696e1136d402ffbfb19e9560a0ccd495fe
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Feb 18 06:39:15 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Feb 18 06:45:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68fc169

sys-libs/libcap-ng: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-libs/libcap-ng/Manifest   |   1 -
 sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild | 100 --
 2 files changed, 101 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 0f66f7e3a1..1ab399d9e7 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,2 +1 @@
-DIST libcap-ng-0.7.7.tar.gz 420178 SHA256 
615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b SHA512 
eb049b29fdd31aa31c6c14ca023df62c2910504c1edd1242dba13579d0befae5b98249c22c145517bd5451969a0b186390dc11b2269e58001336e10c855e920c
 WHIRLPOOL 
5d376b8d12ed8c19ca649095297e6016e86e5ad6112fd12685929bdd5f3c34bbcdf9c1c61cad44f44d3784192ca37df1a77c478e5fc15dacb20a2561ee945652
 DIST libcap-ng-0.7.8.tar.gz 447946 SHA256 
c21af997445cd4107a55d386f955c5ea6f6e96ead693e9151277c0ab5f97d05f SHA512 
c32a4c5780c183b13611615abe9061221fd8987188b08828d1617cdaee338ad8de67b3430aa83bde60128efc76449a688546bfbf697f0847b6a835cb1a868756
 WHIRLPOOL 
a56ee901f301c4c2e0353e2b9e38938fcd6efbb9394d60af6c7045967e6a310fd19b658617b362f14489a75da64a69e82a3afcada97f898c2ab25fad6fb6603d

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
deleted file mode 100644
index 987fac72a2..00
--- a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit autotools-utils flag-o-matic python-r1
-
-DESCRIPTION="POSIX 1003.1e capabilities"
-HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
-SRC_URI="https://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? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers
-   python? ( >=dev-lang/swig-2 )"
-
-RESTRICT="test"
-
-src_prepare() {
-   sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
-
-   autotools-utils_src_prepare
-
-   use sparc && replace-flags -O? -O0
-}
-
-src_configure() {
-   # set up the library build
-   local myeconfargs=( --without-python --without-python3 )
-   autotools-utils_src_configure
-
-   # set up python bindings build(s)
-   if use python ; then
-   setup_python_flags_configure() {
-   if [[ ${EPYTHON} == python2* ]] ; then
-   myeconfargs=( --with-python --without-python3 )
-   else
-   myeconfargs=( --with-python --with-python3 )
-   fi
-   autotools-utils_src_configure
-   }
-
-   python_foreach_impl setup_python_flags_configure
-   fi
-}
-
-src_compile() {
-   autotools-utils_src_compile
-
-   if use python; then
-   python_compile() {
-   local CFLAGS=${CFLAGS}
-
-   python_is_python3 || CFLAGS+=" -fno-strict-aliasing"
-
-   emake "${@}" \
-   -C "${BUILD_DIR}"/bindings/python
-   }
-
-   # help build system find the right objects
-   python_foreach_impl python_compile \
-   VPATH="${BUILD_DIR}"/bindings/python \
-   LIBS="${BUILD_DIR}"/src/libcap-ng.la
-   fi
-}
-
-src_test() {
-   if [[ "${EUID}" -eq 0 ]]; then
-   ewarn "Skipping tests due to root permissions."
-   return
-   fi
-
-   autotools-utils_src_test
-
-   if use python; then
-   python_foreach_impl \
-   autotools-utils_src_compile -C bindings/python check \
-   
VPATH="${BUILD_DIR}"/bindings/python:"${S}"/bindings/python/test
-   fi
-}
-
-src_install() {
-   autotools-utils_src_install
-
-   if use python; then
-   python_foreach_impl \
-   autotools-utils_src_install -C bindings/python \
-   VPATH="${BUILD_DIR}"/bindings/python
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-02-17 Thread Markus Meier
commit: a41e4b6336c455f6a45b4ab270336e15aea45f13
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Feb 18 05:53:20 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Feb 18 05:53:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41e4b63

sys-libs/libcap-ng: arm stable, bug #605166

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 926b03b8bb..3a4a1e312c 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-20 Thread Agostino Sarubbo
commit: df5eac462005b180473a14f9552c79c330d8e58b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan 20 11:03:38 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan 20 11:04:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5eac46

sys-libs/libcap-ng: ppc64 stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index dd43260..926b03b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-17 Thread Agostino Sarubbo
commit: 8f4382a05d3352379e88685e1aa37ca6ffad8d47
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 17 14:21:26 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 17 14:24:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4382a0

sys-libs/libcap-ng: ia64 stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 6ff86d1..dd43260 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-16 Thread Tobias Klausmann
commit: 38023ed19d2e99e5b98ebaf784e04683a7e61080
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jan 16 19:56:19 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jan 16 19:56:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38023ed1

sys-libs/libcap-ng-0.7.8-r0: stable on alpha

Gentoo-Bug: 605166

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 4e86f4d..6ff86d1 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-15 Thread Agostino Sarubbo
commit: 497187d04ff63f0c21d3767e4bf50fb1fc8fe4eb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 15 15:47:20 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 15 15:50:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497187d0

sys-libs/libcap-ng: ppc stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 3a7b732..4e86f4d 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-15 Thread Jeroen Roovers
commit: a97117904638424fa43ae3721f7d5f1148a902e6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 15 09:58:37 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan 15 09:58:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9711790

sys-libs/libcap-ng: Stable for HPPA (bug #605166).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index fdbb2bd..3a7b732 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-11 Thread Agostino Sarubbo
commit: 6d04c8ed994a4c21b569194fdbdbd01cef59192a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan 11 10:35:04 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan 11 10:35:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d04c8ed

sys-libs/libcap-ng: sparc stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 8fd6117..fdbb2bd 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-10 Thread Agostino Sarubbo
commit: 3ab1929ea5342bf8b0fe0fb7f1553072971c2c52
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 10 15:21:50 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 10 15:21:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab1929e

sys-libs/libcap-ng: x86 stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 46d4601..8fd6117 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2017-01-10 Thread Agostino Sarubbo
commit: 6fb39abdf09d2312678b2e01dd204bddc189
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 10 14:54:14 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 10 14:54:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb39abd

sys-libs/libcap-ng: amd64 stable wrt bug #605166

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
index 42620e9..46d4601 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2016-07-29 Thread Lars Wendler
commit: 9daa908a1adb55e4d56226ac262277535f757af0
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul 29 15:08:05 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul 29 15:08:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9daa908a

sys-libs/libcap-ng: Bump to version 0.7.8

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libcap-ng/Manifest   |   1 +
 sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild | 100 ++
 2 files changed, 101 insertions(+)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 1f99af6..0f66f7e 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1 +1,2 @@
 DIST libcap-ng-0.7.7.tar.gz 420178 SHA256 
615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b SHA512 
eb049b29fdd31aa31c6c14ca023df62c2910504c1edd1242dba13579d0befae5b98249c22c145517bd5451969a0b186390dc11b2269e58001336e10c855e920c
 WHIRLPOOL 
5d376b8d12ed8c19ca649095297e6016e86e5ad6112fd12685929bdd5f3c34bbcdf9c1c61cad44f44d3784192ca37df1a77c478e5fc15dacb20a2561ee945652
+DIST libcap-ng-0.7.8.tar.gz 447946 SHA256 
c21af997445cd4107a55d386f955c5ea6f6e96ead693e9151277c0ab5f97d05f SHA512 
c32a4c5780c183b13611615abe9061221fd8987188b08828d1617cdaee338ad8de67b3430aa83bde60128efc76449a688546bfbf697f0847b6a835cb1a868756
 WHIRLPOOL 
a56ee901f301c4c2e0353e2b9e38938fcd6efbb9394d60af6c7045967e6a310fd19b658617b362f14489a75da64a69e82a3afcada97f898c2ab25fad6fb6603d

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
new file mode 100644
index 000..ca213a6
--- /dev/null
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.8.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit autotools-utils flag-o-matic python-r1
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/;
+SRC_URI="https://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? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers
+   python? ( >=dev-lang/swig-2 )"
+
+RESTRICT="test"
+
+src_prepare() {
+   sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+
+   autotools-utils_src_prepare
+
+   use sparc && replace-flags -O? -O0
+}
+
+src_configure() {
+   # set up the library build
+   local myeconfargs=( --without-python --without-python3 )
+   autotools-utils_src_configure
+
+   # set up python bindings build(s)
+   if use python ; then
+   setup_python_flags_configure() {
+   if [[ ${EPYTHON} == python2* ]] ; then
+   myeconfargs=( --with-python --without-python3 )
+   else
+   myeconfargs=( --with-python --with-python3 )
+   fi
+   autotools-utils_src_configure
+   }
+
+   python_foreach_impl setup_python_flags_configure
+   fi
+}
+
+src_compile() {
+   autotools-utils_src_compile
+
+   if use python; then
+   python_compile() {
+   local CFLAGS=${CFLAGS}
+
+   python_is_python3 || CFLAGS+=" -fno-strict-aliasing"
+
+   emake "${@}" \
+   -C "${BUILD_DIR}"/bindings/python
+   }
+
+   # help build system find the right objects
+   python_foreach_impl python_compile \
+   VPATH="${BUILD_DIR}"/bindings/python \
+   LIBS="${BUILD_DIR}"/src/libcap-ng.la
+   fi
+}
+
+src_test() {
+   if [[ "${EUID}" -eq 0 ]]; then
+   ewarn "Skipping tests due to root permissions."
+   return
+   fi
+
+   autotools-utils_src_test
+
+   if use python; then
+   python_foreach_impl \
+   autotools-utils_src_compile -C bindings/python check \
+   
VPATH="${BUILD_DIR}"/bindings/python:"${S}"/bindings/python/test
+   fi
+}
+
+src_install() {
+   autotools-utils_src_install
+
+   if use python; then
+   python_foreach_impl \
+   autotools-utils_src_install -C bindings/python \
+   VPATH="${BUILD_DIR}"/bindings/python
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/files/, sys-libs/libcap-ng/

2016-02-17 Thread Mike Frysinger
commit: 8c69c05cabd3207eb37a135eac0525fd886ad845
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Feb 17 07:21:25 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Feb 17 16:03:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c69c05c

sys-libs/libcap-ng: drop old <0.7.7 versions

 sys-libs/libcap-ng/Manifest|   5 -
 .../files/libcap-ng-0.7.5-add-unistd_h.patch   |  20 
 sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild  | 117 -
 sys-libs/libcap-ng/libcap-ng-0.7.3.ebuild  | 115 
 sys-libs/libcap-ng/libcap-ng-0.7.4.ebuild  |  92 
 sys-libs/libcap-ng/libcap-ng-0.7.5.ebuild  |  93 
 sys-libs/libcap-ng/libcap-ng-0.7.6.ebuild  |  93 
 7 files changed, 535 deletions(-)

diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 52418a0..1f99af6 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,6 +1 @@
-DIST libcap-ng-0.6.6.tar.gz 367231 SHA256 
89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d SHA512 
383aaa9e315e2498c779a17bef35df6aee072c42598d07d92bdd7a2328a3bcd22d5ec46d600babc467aa4d1b01e9dd660493dafba3b06c7ac81f35df9d4d6e3e
 WHIRLPOOL 
c1a72480d545b45ae385065449098f0878f8c8d138f1d9bd9b3445d1146fd6a227bb9b0ac0148542995c5b6683c7c5998d0cd61a369b9f5c84fb39a9dc5cf8a3
-DIST libcap-ng-0.7.3.tar.gz 392613 SHA256 
5ca441c8d3a1e4cfe8a8151907977662679457311ccaa7eaac91447c33a35bb1 SHA512 
f03a35c54b5998ef2e712540caa1f4ade37f9abe60992a1e727142b26815a4b8a7ce86ea94466fe692e4798c7297e5e1bbd338e5afe05689905ee9e0c0f16ef2
 WHIRLPOOL 
7752a70ea348dfc52537f67d5dccab03d598a112a7263a8811987453b53cda58643e938b4651c5cd8d0ea02f20fddc10bff2ac8bc23f68f97c9ab8c5791429ab
-DIST libcap-ng-0.7.4.tar.gz 407007 SHA256 
48a2083276f9820cb92dcb05d001b30733bcbf48c14c230303cac3cd08b45b6b SHA512 
443b92f44cffd4b436a2651eb3539c560382102d918faf63f993d3b6627c03e80f7b4a5105ddb040890ef82122a42ca6881795ab0639de337f693705f5506cf0
 WHIRLPOOL 
3d62f26fad8c9e7756374022982a4f2fcdde5af5532474dfa7eb6ba1bc7f97984691bdda8975ef32423b8e86af2462ef672ba3175a3121a484c46096cc8f10b2
-DIST libcap-ng-0.7.5.tar.gz 409426 SHA256 
7ba01e73c027e4f17bff6cdd77c01b25987e58ed14e422a437e14df6e2dbca31 SHA512 
947ec84037c6c383e47d7e15168058b01a0a6eddf73c94cea7e1d4c8b27af1d646b483abdf14d3aa8ecb35fda2ead803f8596aed023a7e5ff9396690313c24a1
 WHIRLPOOL 
8dc79529034f5ad2c4c8cc514157adfd9097b902647240134be82bd2bc2eb590adadb74c71f4324788702a0694d612ab0f5bdb9c0ddfc688407505ad23a39132
-DIST libcap-ng-0.7.6.tar.gz 417329 SHA256 
9de3caebcc6248f3e9f8c278068253dee89c39d7ffcd284a10fc6ce2b06a2dff SHA512 
838b8731d10c4adcfbc5fd1199d60f831dcb4e69cb3a645bd9e5c284c883ddbdc48289d696ecbed47a782112403210b685816935d2eec38f344adc1051d357fe
 WHIRLPOOL 
3863f22d74e22cdfd88fc329a8f616fda1e846ed8489dcfe3a5bceeb76d847fce4b7fc3ac4166429b1e1c37691ac5b085e08c790b1c274b52551678797b7d4c3
 DIST libcap-ng-0.7.7.tar.gz 420178 SHA256 
615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b SHA512 
eb049b29fdd31aa31c6c14ca023df62c2910504c1edd1242dba13579d0befae5b98249c22c145517bd5451969a0b186390dc11b2269e58001336e10c855e920c
 WHIRLPOOL 
5d376b8d12ed8c19ca649095297e6016e86e5ad6112fd12685929bdd5f3c34bbcdf9c1c61cad44f44d3784192ca37df1a77c478e5fc15dacb20a2561ee945652

diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.7.5-add-unistd_h.patch 
b/sys-libs/libcap-ng/files/libcap-ng-0.7.5-add-unistd_h.patch
deleted file mode 100644
index bfeef6e..000
--- a/sys-libs/libcap-ng/files/libcap-ng-0.7.5-add-unistd_h.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-utils/proc-llist.c: include 
-
-proc-llist.c references pid_t and uid_t types but does not include . 
 This
-works on glibc and uClibc because of the way their headers stack, but on musl 
(and
-possible other libc) this fails.  POSIX mandates that  provides 
these.  See
-Issue 6 at 
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html.
-
-Signed-off-by: Anthony G. Basile 
-
-diff -Nuar libcap-ng-0.7.5.orig/utils/proc-llist.c 
libcap-ng-0.7.5/utils/proc-llist.c
 libcap-ng-0.7.5.orig/utils/proc-llist.c2015-02-18 17:13:33.0 
-0500
-+++ libcap-ng-0.7.5/utils/proc-llist.c 2015-05-25 13:39:32.196624248 -0400
-@@ -24,6 +24,7 @@
- #include "config.h"
- #include 
- #include 
-+#include 
- #include "proc-llist.h"
- 
- void list_create(llist *l)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild
deleted file mode 100644
index 5de6541..000
--- a/sys-libs/libcap-ng/libcap-ng-0.6.6.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
-
-inherit autotools flag-o-matic python
-
-DESCRIPTION="POSIX 1003.1e capabilities"

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2016-02-17 Thread Mike Frysinger
commit: 0b1220eb96303711f7baf8727fcc389cd6f4565b
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Feb 17 07:17:29 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Feb 17 16:03:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1220eb

sys-libs/libcap-ng: mark 0.7.7 arm64/s390/sh stable

 sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
index b485acb..451ccbf 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2015-09-21 Thread Agostino Sarubbo
commit: 6555be17f4a6468d657dfbe61ed32ef231d21ddd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep 21 11:26:07 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep 21 11:26:07 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6555be17

sys-libs/libcap-ng: sparc stable wrt bug #556872

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="sparc"

 sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
index d75c556..b485acb 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://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"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~arm-linux ~x86-linux"
 IUSE="python static-libs"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/

2015-08-26 Thread Markus Meier
commit: 897e0cbfd1edc3fe7d3e8fa7038f39e675928cc9
Author: Markus Meier maekke AT gentoo DOT org
AuthorDate: Wed Aug 26 15:55:00 2015 +
Commit: Markus Meier maekke AT gentoo DOT org
CommitDate: Wed Aug 26 15:55:00 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897e0cbf

sys-libs/libcap-ng: arm stable, bug #556872

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches=arm

 sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild 
b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
index 7042ac2..850702b 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.7.7.ebuild
@@ -16,7 +16,7 @@ SRC_URI=https://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
+KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~arm-linux ~x86-linux
 IUSE=python static-libs
 
 RDEPEND=python? ( ${PYTHON_DEPS} )



  1   2   >