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

2024-05-08 Thread Sam James
commit: 1dc4c0c194edad65536af4838326f7cb13307523
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue May  7 03:15:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  8 19:19:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc4c0c1

sys-libs/libseccomp: run elibtoolize in non-live ebuild

When building live, we always run eautoreconf. However, even in release
mode we should still run elibtoolize to get important fixes -- such as
the ones that pass through LTO sanity flags to the link phase.

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 40a0c5635548..153293b5f8ca 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else
AUTOTOOLS_AUTO_DEPEND=no
-   inherit autotools
+   inherit autotools libtool

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://github.com/matoro/libseccomp/compare/v${PV}..loongarch-r1.patch
-> ${P}-loongarch-r1.patch )"
@@ -78,6 +78,8 @@ src_prepare() {
if [[ ${PV} == * ]] || use experimental-loong; then
rm -f "include/seccomp.h" || die
eautoreconf
+   else
+   elibtoolize
fi
 }
 



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

2024-04-30 Thread Joonas Niilola
commit: f020d62571cd9ed71f7f2736380cff9c71812b98
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Apr 30 23:31:31 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May  1 05:28:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f020d625

sys-libs/libseccomp: Stabilize 2.5.5-r1 hppa, #929933

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index ecedd688b53f..40a0c5635548 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -24,7 +24,7 @@ else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://github.com/matoro/libseccomp/compare/v${PV}..loongarch-r1.patch
-> ${P}-loongarch-r1.patch )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-17 Thread WANG Xuerui
commit: a65ce7b0b71668fb49b960d7259b36eba6ab34cc
Author: Matoro Mahri  matoro  tk>
AuthorDate: Mon Apr 15 23:04:59 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Apr 17 19:45:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a65ce7b0

sys-libs/libseccomp: rebase experimental-loong patches

The fix backported in d58730757b79ce429d5fbe8f35dede6074d4c243 was
already in the loong tree which makes the patch fail to apply.  Rebase
this and also now rather than having a huge patch that doesn't
correspond to VCS with a bunch of checked-in autotools stuff, use the
github diff and eautoreconf for  and loong.

Fixes: d58730757b79 ("sys-libs/libseccomp: backport fix for arch-syscall-check")
Bug: https://bugs.gentoo.org/926648
Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libseccomp/Manifest   |  1 +
 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 18 +-
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 2ecd76d3fa12..4140907f66f9 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
+DIST libseccomp-2.5.5-loongarch-r1.patch 119822 BLAKE2B 
4aa75c1ac87b2ca25cf6be38dfd760879c7255ca8e6cf86be3ac6e354f76cdaf3c8e2f59b646254414ffb0f1ffe6b7c50478f4db895a6ce632db8782c9807e91
 SHA512 
f7cd768d672a25448b2a3ceda27db52e0d62b5d9ab3eeb906226b6ebc19332c89332e0b870aaf82d4ffcfd642c2deb6029a30ae9a6bd702ebad9fdd40622b582
 DIST libseccomp-2.5.5-loongarch64-20231204.patch.xz 41236 BLAKE2B 
7831b28c275771bb675b4b5045e657d96c254e69cee7188a19f4812bc83343e0041772c20be1e7392ec88387726b49f34aa670a906b922dba531a0d35e548b1e
 SHA512 
7870e536d834360dfec446493815b675a305f6bec1b79d0caae6fb546d2f694e77ce52e547bbcdb22cda272272bf3d5a427960b4aa76fb987d06ab035298007d
 DIST libseccomp-2.5.5.tar.gz 642445 BLAKE2B 
d770cee1f3e02fbbcd9f25655b360ab38160ad800e2829a67f2b9da62b095a90be99ac851a67344cf95bd6810a6268da4655dc1d37d996e58239c4999eb41998
 SHA512 
f630e7a7e53a21b7ccb4d3e7b37616b89aeceba916677c8e3032830411d77a14c2d74dcf594cd193b1acc11f52595072e28316dc44300e54083d5d7b314a38da

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 347a6274d5f7..ecedd688b53f 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -16,10 +16,14 @@ HOMEPAGE="https://github.com/seccomp/libseccomp";
 if [[ ${PV} == * ]] ; then
EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
PRERELEASE="2.6.0"
+   AUTOTOOLS_AUTO_DEPEND=yes
inherit autotools git-r3
 else
+   AUTOTOOLS_AUTO_DEPEND=no
+   inherit autotools

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
-   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
+   experimental-loong? ( 
https://github.com/matoro/libseccomp/compare/v${PV}..loongarch-r1.patch
+   -> ${P}-loongarch-r1.patch )"
KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -39,6 +43,7 @@ RDEPEND="${DEPEND}"
 BDEPEND="
${DEPEND}
dev-util/gperf
+   experimental-loong? ( ${AUTOTOOLS_DEPEND} )
python? (
${DISTUTILS_DEPS}
dev-python/cython[${PYTHON_USEDEP}]
@@ -54,11 +59,15 @@ PATCHES=(
 
 src_prepare() {
if use experimental-loong; then
-   PATCHES+=( "${WORKDIR}/${PN}-2.5.5-loongarch64-20231204.patch" )
+   PATCHES+=( "${DISTDIR}/${P}-loongarch-r1.patch" )
fi
 
default
 
+   if [[ ${PV} == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
+   fi
+
if use experimental-loong; then
# touch generated files to avoid activating maintainer mode
# remove when loong-fix-build.patch is no longer necessary
@@ -66,9 +75,8 @@ src_prepare() {
find . -name Makefile.in -exec touch {} + || die
fi
 
-   if [[ ${PV} == * ]] ; then
-   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
-
+   if [[ ${PV} == * ]] || use experimental-loong; then
+   rm -f "include/seccomp.h" || die
eautoreconf
fi
 }



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

2024-04-13 Thread Arthur Zamarin
commit: fd5e27eb94fe6dd342452ab35870afcef1f12a65
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 13 18:52:16 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 18:52:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5e27eb

sys-libs/libseccomp: Stabilize 2.5.5-r1 x86, #929933

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 919f6ebceb34..efa8bd3b5aa1 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-13 Thread Arthur Zamarin
commit: 75ad1b1ef9ba23fa21423713471618cad66f8aa7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 13 18:37:06 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 18:37:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ad1b1e

sys-libs/libseccomp: Stabilize 2.5.5-r1 ppc, #929933

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index ec4c6858aa7e..919f6ebceb34 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-13 Thread Arthur Zamarin
commit: 7f6ae0c0d47427b73f724a307aa5eba06cd85724
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 13 17:48:26 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 17:48:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6ae0c0

sys-libs/libseccomp: Stabilize 2.5.5-r1 arm, #929933

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 2af0d7640c90..ec4c6858aa7e 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-13 Thread Arthur Zamarin
commit: 3da271dcfa7eb5a2f1f0b29a1bbb702476bc48e7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 13 17:48:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 17:48:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3da271dc

sys-libs/libseccomp: Stabilize 2.5.5-r1 ppc64, #929933

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index e4f31b081880..2af0d7640c90 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-13 Thread Arthur Zamarin
commit: 68c57b56781189458dedb6a1ece6cde1984ecb9b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 13 17:48:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 17:48:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c57b56

sys-libs/libseccomp: Stabilize 2.5.5-r1 arm64, #929933

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 4c007df8cdfd..e4f31b081880 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-04-13 Thread Mike Gilbert
commit: d58730757b79ce429d5fbe8f35dede6074d4c243
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Apr 13 17:05:00 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Apr 13 17:10:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5873075

sys-libs/libseccomp: backport fix for arch-syscall-check

Bug: https://bugs.gentoo.org/926648
Signed-off-by: Mike Gilbert  gentoo.org>

 .../libseccomp-2.5.5-arch-syscall-check.patch  | 45 ++
 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild |  1 +
 2 files changed, 46 insertions(+)

diff --git 
a/sys-libs/libseccomp/files/libseccomp-2.5.5-arch-syscall-check.patch 
b/sys-libs/libseccomp/files/libseccomp-2.5.5-arch-syscall-check.patch
new file mode 100644
index ..238098ad4c9e
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.5.5-arch-syscall-check.patch
@@ -0,0 +1,45 @@
+From 744c9a897b74ad66d065791593e25a05e4b6f6a1 Mon Sep 17 00:00:00 2001
+From: Michal Privoznik 
+Date: Tue, 1 Nov 2022 11:59:51 +0100
+Subject: [PATCH] src: Make arch-syscall-check work in VPATH build
+
+The aim of arch-syscall-check test is to check for syscalls
+missing implementation. It does so by comparing two files:
+
+  1) src/syscalls.csv
+  2) include/seccomp-syscalls.h
+
+However, due to use of relative paths these files are not found
+when doing a VPATH build. But, we can re-use an idea from GNU
+coreutils and get an absolute path to the source dir. All that's
+needed then is to prefix those two paths with the source dir
+path.
+
+Signed-off-by: Michal Privoznik 
+Acked-by: Tom Hromatka 
+Signed-off-by: Paul Moore 
+---
+ src/arch-syscall-check | 7 +--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/src/arch-syscall-check b/src/arch-syscall-check
+index ae67daa..9c7fd41 100755
+--- a/src/arch-syscall-check
 b/src/arch-syscall-check
+@@ -22,8 +22,11 @@
+ # along with this library; if not, see .
+ #
+ 
+-SYSCALL_CSV="./syscalls.csv"
+-SYSCALL_HDR="../include/seccomp-syscalls.h"
++# Based on an idea from GNU coreutils
++abs_topsrcdir="$(unset CDPATH; cd $(dirname $0)/.. && pwd)"
++
++SYSCALL_CSV="$abs_topsrcdir/src/syscalls.csv"
++SYSCALL_HDR="$abs_topsrcdir/include/seccomp-syscalls.h"
+ 
+ function check_snr() {
+   (export LC_ALL=C; diff \
+-- 
+2.44.0
+

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index 6d3ea7b07d2b..4c007df8cdfd 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -49,6 +49,7 @@ PATCHES=(
"${FILESDIR}"/libseccomp-python-shared.patch
"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
"${FILESDIR}"/libseccomp-2.5.5-which-hunt.patch
+   "${FILESDIR}"/libseccomp-2.5.5-arch-syscall-check.patch
 )
 
 src_prepare() {



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

2024-04-13 Thread Mike Gilbert
commit: cb3652bdbafdde9e8f247ed61ac734bc7b9d1076
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Apr 13 16:50:48 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Apr 13 16:50:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3652bd

sys-libs/libseccomp: enable py3.12

Closes: https://bugs.gentoo.org/929857
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 2 +-
 sys-libs/libseccomp/libseccomp-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index db6a08dfb2a6..6d3ea7b07d2b 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multilib-minimal
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 45cf592639a0..ac4df4483838 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multilib-minimal
 



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

2024-03-06 Thread Michał Górny
commit: cd3e0eb0f9741f74670bd4d566539af06e875728
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar  6 18:35:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar  6 21:18:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3e0eb0

sys-libs/libseccomp: Use DISTUTILS_DEPS

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

 sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild | 16 +++-
 sys-libs/libseccomp/libseccomp-.ebuild | 16 +++-
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
index d935008bb87f..db6a08dfb2a6 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5-r1.ebuild
@@ -27,17 +27,23 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="experimental-loong python static-libs test"
 RESTRICT="!test? ( test )"
-
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # We need newer kernel headers; we don't keep strict control of the exact
 # version here, just be safe and pull in the latest stable ones. bug #551248
-DEPEND=">=sys-kernel/linux-headers-5.15
-   python? ( ${PYTHON_DEPS} )"
+DEPEND="
+   >=sys-kernel/linux-headers-5.15
+   python? ( ${PYTHON_DEPS} )
+"
 RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}
+BDEPEND="
+   ${DEPEND}
dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+   python? (
+   ${DISTUTILS_DEPS}
+   dev-python/cython[${PYTHON_USEDEP}]
+   )
+"
 
 PATCHES=(
"${FILESDIR}"/libseccomp-python-shared.patch

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 1969eef9f5ea..45cf592639a0 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -26,17 +26,23 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs test"
 RESTRICT="!test? ( test )"
-
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # We need newer kernel headers; we don't keep strict control of the exact
 # version here, just be safe and pull in the latest stable ones. bug #551248
-DEPEND=">=sys-kernel/linux-headers-5.15
-   python? ( ${PYTHON_DEPS} )"
+DEPEND="
+   >=sys-kernel/linux-headers-5.15
+   python? ( ${PYTHON_DEPS} )
+"
 RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}
+BDEPEND="
+   ${DEPEND}
dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+   python? (
+   ${DISTUTILS_DEPS}
+   dev-python/cython[${PYTHON_USEDEP}]
+   )
+"
 
 PATCHES=(
"${FILESDIR}"/libseccomp-2.6.0-python-shared.patch



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

2024-03-01 Thread Sam James
commit: 731dd9aa2de79001b4f67bc04b9409c95a734040
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 04:38:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 04:38:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731dd9aa

sys-libs/libseccomp: drop 2.5.4, 2.5.4-r1

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

 sys-libs/libseccomp/Manifest   |   3 -
 sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild | 111 -
 sys-libs/libseccomp/libseccomp-2.5.4.ebuild| 110 
 3 files changed, 224 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index a6428241f0e9..2ecd76d3fa12 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,5 +1,2 @@
-DIST libseccomp-2.5.4-loongarch64-20220425.patch.xz 132768 BLAKE2B 
f3ab165b028b5f8b4c16574936b915595807ebeb49ef7365d6051f3dfafa7da46ef2a9de458e0a268298cb340152abe1f3c0c293446462a06696bc9ce92d2f72
 SHA512 
94f23c7a2cc2ea8acb01fef00ef184295c276b14b2b3ba0c65687fd72081df8478f3f04c51b0b391ba44529c4f914e6edbb4132af935e3be55902f641d478780
-DIST libseccomp-2.5.4-loongarch64-20220622.patch.xz 67668 BLAKE2B 
faf1b5653a4d454626e310cdfd7def1fb8b768b88d3f792a28170d969a834be7ced8bb7b511a11e0e44691d626046e4c387c08f3fbacdedd6689813f65c129aa
 SHA512 
9aba715c6f120f8df249158f73bc64097243f911d5864294048dc3976580e9ca96cc538c890918a375c3b35369fdbf2383424b6f3d41822c834228ff188680fa
-DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e
 DIST libseccomp-2.5.5-loongarch64-20231204.patch.xz 41236 BLAKE2B 
7831b28c275771bb675b4b5045e657d96c254e69cee7188a19f4812bc83343e0041772c20be1e7392ec88387726b49f34aa670a906b922dba531a0d35e548b1e
 SHA512 
7870e536d834360dfec446493815b675a305f6bec1b79d0caae6fb546d2f694e77ce52e547bbcdb22cda272272bf3d5a427960b4aa76fb987d06ab035298007d
 DIST libseccomp-2.5.5.tar.gz 642445 BLAKE2B 
d770cee1f3e02fbbcd9f25655b360ab38160ad800e2829a67f2b9da62b095a90be99ac851a67344cf95bd6810a6268da4655dc1d37d996e58239c4999eb41998
 SHA512 
f630e7a7e53a21b7ccb4d3e7b37616b89aeceba916677c8e3032830411d77a14c2d74dcf594cd193b1acc11f52595072e28316dc44300e54083d5d7b314a38da

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
deleted file mode 100644
index 0337809eb98f..
--- a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
-   PRERELEASE="2.6.0"
-   inherit autotools git-r3
-else
-   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
-   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220622.patch.xz )"
-   #KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
-   KEYWORDS="-* ~loong"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="experimental-loong python static-libs test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. bug #551248
-DEPEND=">=sys-kernel/linux-headers-5.15
-   python? ( ${PYTHON_DEPS} )"
-RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}
-   dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
-
-PATCHES=(
-   "${FILESDIR}"/libseccomp-python-shared.patch
-   "${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
-)
-
-src_prepare() {
-   if use experimental-loong; then
-   PATCHES+=( "${WORKDIR}/${P}-loongarch64-20220622.patch" )
-   fi
-
-   default
-
-   if use experimental-loong; then
-   # touch generated files to avoid activating maintainer mode
-   # remove when loong-fix-build.patch is no longer necessary
-   touch ./aclocal.m4 ./configure ./configure.h.in || die
-   find . -name Makefile.in -exec touch {} + || die
-   fi
-
-   if [[ ${PV} == * ]] ; then
-   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
-
-   eautoreconf
-   fi
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-  

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

2024-01-22 Thread Sam James
commit: 07b4e2d16a56970aa2081577fd96d6a6dde6f71f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 23 05:00:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 23 05:00:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b4e2d1

sys-libs/libseccomp: Stabilize 2.5.5 ppc, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 8fd9e46947ac..a7ba7a3f25c0 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-22 Thread Sam James
commit: 4ffdf76ca7a301267730472af9aa99c4f6476ef5
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 23 04:16:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 23 04:16:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ffdf76c

sys-libs/libseccomp: Stabilize 2.5.5 hppa, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 3c05a7f48631..8fd9e46947ac 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-17 Thread Sam James
commit: 45082e2d9856f8bb2eebdc27ac4cbf886f5b2761
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 18 00:27:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 18 00:27:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45082e2d

sys-libs/libseccomp: Stabilize 2.5.5 x86, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 18cec93cf169..3c05a7f48631 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-17 Thread Arthur Zamarin
commit: 8b372aa8dcc457caa2f5a497c2050e8f35d50c3b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan 17 08:53:33 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan 17 08:53:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b372aa8

sys-libs/libseccomp: Stabilize 2.5.5 ppc64, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index a7cef5cb7f68..18cec93cf169 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-16 Thread Sam James
commit: 2a68ce1da96945a3fe286984cddcf580340a83b7
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 06:32:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 06:33:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a68ce1d

sys-libs/libseccomp: Stabilize 2.5.5 amd64, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 91b97f546a7b..785e6a1ff772 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-16 Thread Sam James
commit: 9361242e21f1c5137e0426538162764cbbd0f12a
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 06:34:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 06:34:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9361242e

sys-libs/libseccomp: disable py3.9

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

 sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild | 4 ++--
 sys-libs/libseccomp/libseccomp-2.5.4.ebuild| 4 ++--
 sys-libs/libseccomp/libseccomp-2.5.5.ebuild| 2 +-
 sys-libs/libseccomp/libseccomp-.ebuild | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
index 2d5efdbb9646..0337809eb98f 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index f580e66c8070..d8366c834939 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 785e6a1ff772..a7cef5cb7f68 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 8f4603d67b3a..5cf5976ca5ff 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal



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

2024-01-16 Thread Sam James
commit: 0e8250668eabf0a44854a2f469be950491a0abaa
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 05:49:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 05:49:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e825066

sys-libs/libseccomp: Stabilize 2.5.5 arm64, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 51018de4ccdd..0aa93367c0bd 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.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
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2024-01-16 Thread Sam James
commit: ac74a877f214fa68859fd67eff768796434a7be6
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 17 05:49:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 17 05:49:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac74a877

sys-libs/libseccomp: Stabilize 2.5.5 arm, #922280

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

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 0aa93367c0bd..91b97f546a7b 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2023-12-15 Thread Sam James
commit: 2b237c4b6a2bee9fd99ec7fe3362c6fc58a90445
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 16 02:33:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 16 02:35:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b237c4b

sys-libs/libseccomp: drop use of which for tests

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

 .../files/libseccomp-2.5.5-which-hunt.patch| 69 ++
 sys-libs/libseccomp/libseccomp-2.5.5.ebuild|  1 +
 2 files changed, 70 insertions(+)

diff --git a/sys-libs/libseccomp/files/libseccomp-2.5.5-which-hunt.patch 
b/sys-libs/libseccomp/files/libseccomp-2.5.5-which-hunt.patch
new file mode 100644
index ..90dc25bf4e7c
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.5.5-which-hunt.patch
@@ -0,0 +1,69 @@
+https://github.com/seccomp/libseccomp/pull/424
+
+From 865adeed17cac7063cbbce0c5df225aa35c83621 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sat, 16 Dec 2023 02:17:36 +
+Subject: [PATCH] tests: avoid use of non-portable `which`
+
+which is not a standard POSIX utility, and indeed, each of these test scripts
+uses #!/bin/bash as its shebang, so we can use `type -P` which has the same
+behaviour as `which` for free.
+
+(If the tests used POSIX shell, we could do `command -v`, its only caveat is
+that it'll pick up functions in the user's shell, which doesn't matter 99% of
+the time anyway.)
+
+Distributions like Debian [0] and Gentoo [1] are looking to remove `which`
+from their base set of packages.
+
+[0] https://lwn.net/Articles/874049/
+[1] https://bugs.gentoo.org/646588
+
+Signed-off-by: Sam James 
+--- a/tests/38-basic-pfc_coverage.sh
 b/tests/38-basic-pfc_coverage.sh
+@@ -18,7 +18,7 @@
+ #
+ function check_deps() {
+   [[ -z "$1" ]] && return
+-  which "$1" >& /dev/null
++  type -P "$1" >& /dev/null
+   return $?
+ }
+ 
+--- a/tests/55-basic-pfc_binary_tree.sh
 b/tests/55-basic-pfc_binary_tree.sh
+@@ -18,7 +18,7 @@
+ #
+ function check_deps() {
+   [[ -z "$1" ]] && return
+-  which "$1" >& /dev/null
++  type -P "$1" >& /dev/null
+   return $?
+ }
+ 
+--- a/tests/regression
 b/tests/regression
+@@ -73,7 +73,7 @@ GLBL_SYS_API="../tools/scmp_api_level"
+ #
+ function check_deps() {
+   [[ -z "$1" ]] && return
+-  which "$1" >& /dev/null
++  type -P "$1" >& /dev/null
+   return $?
+ }
+ 
+--- a/tests/testgen
 b/tests/testgen
+@@ -32,7 +32,7 @@
+ #
+ function verify_deps() {
+   [[ -z "$1" ]] && return
+-  if ! which "$1" >& /dev/null; then
++  if ! type -P "$1" >& /dev/null; then
+   echo "error: install \"$1\" and include it in your \$PATH"
+   exit 1
+   fi
+-- 
+2.43.0
+

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index e65a98cb7fc6..51018de4ccdd 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -40,6 +40,7 @@ BDEPEND="${DEPEND}
 PATCHES=(
"${FILESDIR}"/libseccomp-python-shared.patch
"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
+   "${FILESDIR}"/libseccomp-2.5.5-which-hunt.patch
 )
 
 src_prepare() {



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

2023-12-05 Thread WANG Xuerui
commit: db29eb38469610f19c39d2e15ffbf9fdb757f9ea
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Dec  5 17:51:24 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Dec  5 17:51:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db29eb38

sys-libs/libseccomp: fix loong patch filename in src_prepare

This is accidentally left out in the previous fix PR.

Fixes: 3d9b808c9ef7335e983f224699ef876199cae9e0
Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 711ca7677992..e65a98cb7fc6 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -44,7 +44,7 @@ PATCHES=(
 
 src_prepare() {
if use experimental-loong; then
-   PATCHES+=( "${WORKDIR}/${PN}-2.5.4-loongarch64-20220425.patch" )
+   PATCHES+=( "${WORKDIR}/${PN}-2.5.5-loongarch64-20231204.patch" )
fi
 
default



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

2023-12-03 Thread WANG Xuerui
commit: 3d9b808c9ef7335e983f224699ef876199cae9e0
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Dec  3 17:04:16 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Dec  4 06:13:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9b808c

sys-libs/libseccomp: refresh the loong patch to fix build

The 2.5.4 patch no longer apply to 2.5.5, due to the syscall table
update upstream. Several clean-ups are also integrated; see the linked
commit for details. Tests pass on amd64 and loong.

See: 
https://github.com/xen0n/libseccomp/tree/b891ac4441d37d57090f1eddbf00e1ff99cd2e34
Closes: https://github.com/gentoo/gentoo/pull/34105
Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libseccomp/Manifest| 1 +
 sys-libs/libseccomp/libseccomp-2.5.5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 2d96b6c0ddf3..a6428241f0e9 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,4 +1,5 @@
 DIST libseccomp-2.5.4-loongarch64-20220425.patch.xz 132768 BLAKE2B 
f3ab165b028b5f8b4c16574936b915595807ebeb49ef7365d6051f3dfafa7da46ef2a9de458e0a268298cb340152abe1f3c0c293446462a06696bc9ce92d2f72
 SHA512 
94f23c7a2cc2ea8acb01fef00ef184295c276b14b2b3ba0c65687fd72081df8478f3f04c51b0b391ba44529c4f914e6edbb4132af935e3be55902f641d478780
 DIST libseccomp-2.5.4-loongarch64-20220622.patch.xz 67668 BLAKE2B 
faf1b5653a4d454626e310cdfd7def1fb8b768b88d3f792a28170d969a834be7ced8bb7b511a11e0e44691d626046e4c387c08f3fbacdedd6689813f65c129aa
 SHA512 
9aba715c6f120f8df249158f73bc64097243f911d5864294048dc3976580e9ca96cc538c890918a375c3b35369fdbf2383424b6f3d41822c834228ff188680fa
 DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e
+DIST libseccomp-2.5.5-loongarch64-20231204.patch.xz 41236 BLAKE2B 
7831b28c275771bb675b4b5045e657d96c254e69cee7188a19f4812bc83343e0041772c20be1e7392ec88387726b49f34aa670a906b922dba531a0d35e548b1e
 SHA512 
7870e536d834360dfec446493815b675a305f6bec1b79d0caae6fb546d2f694e77ce52e547bbcdb22cda272272bf3d5a427960b4aa76fb987d06ab035298007d
 DIST libseccomp-2.5.5.tar.gz 642445 BLAKE2B 
d770cee1f3e02fbbcd9f25655b360ab38160ad800e2829a67f2b9da62b095a90be99ac851a67344cf95bd6810a6268da4655dc1d37d996e58239c4999eb41998
 SHA512 
f630e7a7e53a21b7ccb4d3e7b37616b89aeceba916677c8e3032830411d77a14c2d74dcf594cd193b1acc11f52595072e28316dc44300e54083d5d7b314a38da

diff --git a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index 0c1061b4e9fe..711ca7677992 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
-   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.4-loongarch64-20220425.patch.xz
 )"
+   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.5-loongarch64-20231204.patch.xz
 )"
KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 



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

2023-12-03 Thread Sam James
commit: 00cf8331ebf19a6388a34b26d1b386a4ef88d3db
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec  3 08:02:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  3 08:02:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cf8331

sys-libs/libseccomp: add 2.5.5

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

 sys-libs/libseccomp/Manifest |  1 +
 ...ibseccomp-.ebuild => libseccomp-2.5.5.ebuild} | 20 
 sys-libs/libseccomp/libseccomp-.ebuild   |  2 +-
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 5d986c8464d9..2d96b6c0ddf3 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,3 +1,4 @@
 DIST libseccomp-2.5.4-loongarch64-20220425.patch.xz 132768 BLAKE2B 
f3ab165b028b5f8b4c16574936b915595807ebeb49ef7365d6051f3dfafa7da46ef2a9de458e0a268298cb340152abe1f3c0c293446462a06696bc9ce92d2f72
 SHA512 
94f23c7a2cc2ea8acb01fef00ef184295c276b14b2b3ba0c65687fd72081df8478f3f04c51b0b391ba44529c4f914e6edbb4132af935e3be55902f641d478780
 DIST libseccomp-2.5.4-loongarch64-20220622.patch.xz 67668 BLAKE2B 
faf1b5653a4d454626e310cdfd7def1fb8b768b88d3f792a28170d969a834be7ced8bb7b511a11e0e44691d626046e4c387c08f3fbacdedd6689813f65c129aa
 SHA512 
9aba715c6f120f8df249158f73bc64097243f911d5864294048dc3976580e9ca96cc538c890918a375c3b35369fdbf2383424b6f3d41822c834228ff188680fa
 DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e
+DIST libseccomp-2.5.5.tar.gz 642445 BLAKE2B 
d770cee1f3e02fbbcd9f25655b360ab38160ad800e2829a67f2b9da62b095a90be99ac851a67344cf95bd6810a6268da4655dc1d37d996e58239c4999eb41998
 SHA512 
f630e7a7e53a21b7ccb4d3e7b37616b89aeceba916677c8e3032830411d77a14c2d74dcf594cd193b1acc11f52595072e28316dc44300e54083d5d7b314a38da

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
similarity index 75%
copy from sys-libs/libseccomp/libseccomp-.ebuild
copy to sys-libs/libseccomp/libseccomp-2.5.5.ebuild
index b6598e8ceaa8..0c1061b4e9fe 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.5.ebuild
@@ -16,13 +16,14 @@ if [[ ${PV} == * ]] ; then
PRERELEASE="2.6.0"
inherit autotools git-r3
 else
-   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
+   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${PN}-2.5.4-loongarch64-20220425.patch.xz
 )"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="python static-libs test"
+IUSE="experimental-loong python static-libs test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -37,13 +38,24 @@ BDEPEND="${DEPEND}
python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 PATCHES=(
-   "${FILESDIR}"/libseccomp-2.6.0-python-shared.patch
+   "${FILESDIR}"/libseccomp-python-shared.patch
"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
 )
 
 src_prepare() {
+   if use experimental-loong; then
+   PATCHES+=( "${WORKDIR}/${PN}-2.5.4-loongarch64-20220425.patch" )
+   fi
+
default
 
+   if use experimental-loong; then
+   # touch generated files to avoid activating maintainer mode
+   # remove when loong-fix-build.patch is no longer necessary
+   touch ./aclocal.m4 ./configure ./configure.h.in || die
+   find . -name Makefile.in -exec touch {} + || die
+   fi
+
if [[ ${PV} == * ]] ; then
sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index b6598e8ceaa8..8f4603d67b3a 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2023-03-15 Thread Sam James
commit: fade17c365155fc535fa3fcab4799effdcd58825
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 09:24:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 15 09:24:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fade17c3

sys-libs/libseccomp: remove sourceforge upstream metadata

Last updated there in 2016.

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

 sys-libs/libseccomp/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-libs/libseccomp/metadata.xml b/sys-libs/libseccomp/metadata.xml
index 75b652d43244..72ee48a1f860 100644
--- a/sys-libs/libseccomp/metadata.xml
+++ b/sys-libs/libseccomp/metadata.xml
@@ -10,7 +10,6 @@


seccomp/libseccomp
-   libseccomp
cpe:/a:libseccomp_project:libseccomp

 



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

2023-03-07 Thread Sam James
commit: d596eadc351da3793792b13fc0b67f93ae54cddd
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 11:33:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 11:33:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d596eadc

sys-libs/libseccomp: enable py3.11

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

 sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild | 2 +-
 sys-libs/libseccomp/libseccomp-2.5.4.ebuild| 2 +-
 sys-libs/libseccomp/libseccomp-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
index acb0a0f1e60d..2d5efdbb9646 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 2651fadc3e40..f580e66c8070 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 74507593399d..b6598e8ceaa8 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal



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

2022-10-30 Thread Sam James
commit: f1d0273dc3070fd511e8f65017ea87481934d0b2
Author: Michal Privoznik  gmail  com>
AuthorDate: Tue Oct 25 12:43:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:40:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d0273d

sys-libs/libseccomp: Rebase libseccomp-python-shared.patch

The libseccomp-python-shared.patch that makes python module
depend on libseccomp.so instead of linking it statically in
does no longer apply cleanly. Rebase it.

Signed-off-by: Michal Privoznik  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27943
Signed-off-by: Sam James  gentoo.org>

 .../files/libseccomp-2.6.0-python-shared.patch | 25 ++
 sys-libs/libseccomp/libseccomp-.ebuild |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch 
b/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch
new file mode 100644
index ..34b12db22112
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch
@@ -0,0 +1,25 @@
+From 594fecb16833c693ac0cff8f857aec0edd097077 Mon Sep 17 00:00:00 2001
+Message-Id: 
<594fecb16833c693ac0cff8f857aec0edd097077.1666701554.git.mpriv...@redhat.com>
+From: Michal Privoznik 
+Date: Tue, 25 Oct 2022 14:39:07 +0200
+Subject: [PATCH] Link python module against shared library
+
+---
+ src/python/setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/python/setup.py b/src/python/setup.py
+index 46f9a73..85deb03 100755
+--- a/src/python/setup.py
 b/src/python/setup.py
+@@ -40,6 +40,6 @@ setup(
+   ext_modules = cythonize([
+   Extension("seccomp", ["seccomp.pyx"],
+   # unable to handle libtool libraries directly
+-  extra_objects=["../.libs/libseccomp.a"]),
++  extra_objects=["../.libs/libseccomp.so"]),
+   ])
+ )
+-- 
+2.37.4
+

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index fed0b3c8f425..e97b661f1bb0 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -37,7 +37,7 @@ BDEPEND="${DEPEND}
python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
 PATCHES=(
-   "${FILESDIR}"/libseccomp-python-shared.patch
+   "${FILESDIR}"/libseccomp-2.6.0-python-shared.patch
"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
 )
 



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

2022-06-23 Thread WANG Xuerui
commit: e659616ebf96eeb60ec91a039ccf0c9de9e80908
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Jun 22 15:36:27 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri Jun 24 05:12:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e659616e

sys-libs/libseccomp: revbump for loong patch 20220622

The previous revision of the loong patch still had fstat and newfstatat
declared as present on loong, while the upstreamed loong kernel ABI has
removed support for them. This caused build failures for sys-apps/file
and perhaps others, so bump to latest iteration of the upstream PR [1].
(As for quality of the patch, the PR is likely to be accepted as-is.)

The patch is again generated by diffing `make dist` output against the
official 2.5.4 tarball, due to the package being a base-system one.

This is ~loong-only, because the only thing that got bumped was the
loong patchset.

[1]: https://github.com/seccomp/libseccomp/pull/356

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

 sys-libs/libseccomp/Manifest   |   1 +
 sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild | 111 +
 2 files changed, 112 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index dc573ded9453..5d986c8464d9 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
 DIST libseccomp-2.5.4-loongarch64-20220425.patch.xz 132768 BLAKE2B 
f3ab165b028b5f8b4c16574936b915595807ebeb49ef7365d6051f3dfafa7da46ef2a9de458e0a268298cb340152abe1f3c0c293446462a06696bc9ce92d2f72
 SHA512 
94f23c7a2cc2ea8acb01fef00ef184295c276b14b2b3ba0c65687fd72081df8478f3f04c51b0b391ba44529c4f914e6edbb4132af935e3be55902f641d478780
+DIST libseccomp-2.5.4-loongarch64-20220622.patch.xz 67668 BLAKE2B 
faf1b5653a4d454626e310cdfd7def1fb8b768b88d3f792a28170d969a834be7ced8bb7b511a11e0e44691d626046e4c387c08f3fbacdedd6689813f65c129aa
 SHA512 
9aba715c6f120f8df249158f73bc64097243f911d5864294048dc3976580e9ca96cc538c890918a375c3b35369fdbf2383424b6f3d41822c834228ff188680fa
 DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
new file mode 100644
index ..bd94a086c76d
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.5.4-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.6.0"
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
+   experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220622.patch.xz )"
+   #KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~loong"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="experimental-loong python static-libs test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. bug #551248
+DEPEND=">=sys-kernel/linux-headers-5.15
+   python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}
+   dev-util/gperf
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+   "${FILESDIR}"/libseccomp-python-shared.patch
+   "${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
+)
+
+src_prepare() {
+   if use experimental-loong; then
+   PATCHES+=( "${WORKDIR}/${P}-loongarch64-20220622.patch" )
+   fi
+
+   default
+
+   if use experimental-loong; then
+   # touch generated files to avoid activating maintainer mode
+   # remove when loong-fix-build.patch is no longer necessary
+   touch ./aclocal.m4 ./configure ./configure.h.in || die
+   find . -name Makefile.in -exec touch {} + || die
+   fi
+
+   if [[ ${PV} == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
+
+   eautoreconf
+   fi
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+do_pytho

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

2022-06-21 Thread David Seifert
commit: 32c648a3242ce0ae86c25a60cb8caab3cd4ce17a
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 09:41:00 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 09:41:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c648a3

sys-libs/libseccomp: drop 2.5.1-r1, 2.5.3

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

 sys-libs/libseccomp/Manifest   |  2 -
 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 90 ---
 sys-libs/libseccomp/libseccomp-2.5.3.ebuild| 99 --
 3 files changed, 191 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index e770c0df7ad7..dc573ded9453 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,4 +1,2 @@
-DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af
-DIST libseccomp-2.5.3.tar.gz 637572 BLAKE2B 
cedf04b3a926f9fe5202e6169ddac6b983e755009c14fc1d645157b9c0bcdf65d4085f8ea7abad90f3a0c13ae4d66b5d8306e725168490863aad15976de1eae7
 SHA512 
00170fe2360f0c0b33293dccfcc33e98fabb99619f34ecefbcc92bfdaa249ba91e7433226545b842b71542a3b224b6e980ea2ae656c4addf07e84a0def1870a0
 DIST libseccomp-2.5.4-loongarch64-20220425.patch.xz 132768 BLAKE2B 
f3ab165b028b5f8b4c16574936b915595807ebeb49ef7365d6051f3dfafa7da46ef2a9de458e0a268298cb340152abe1f3c0c293446462a06696bc9ce92d2f72
 SHA512 
94f23c7a2cc2ea8acb01fef00ef184295c276b14b2b3ba0c65687fd72081df8478f3f04c51b0b391ba44529c4f914e6edbb4132af935e3be55902f641d478780
 DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
deleted file mode 100644
index 3838d8dfc8d7..
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
-   PRERELEASE="2.6.0"
-   inherit autotools git-r3
-else
-   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="python static-libs"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="python? ( ${PYTHON_DEPS} )"
-RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}
-   dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )
-"
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   local PATCHES=(
-   "${FILESDIR}/libseccomp-python-shared.patch"
-   )
-   default
-   if [[ "${PV}" == * ]] ; then
-   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
-   eautoreconf
-   fi
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-do_python() {
-   # setup.py reads VERSION_RELEASE from the environment
-   local -x VERSION_RELEASE=${PRERELEASE-${PV}}
-   pushd "${BUILD_DIR}/src/python" >/dev/null || die
-   "$@"
-   popd >/dev/null || die
-}
-
-multilib_src_compile() {
-   emake
-
-   if multilib_is_native_abi && use python ; then
-   # setup.py expects libseccomp.so to live in "../.libs"
-   # Copy the python files to the right place for this.
-   rm -r "${BUILD_DIR}/src/python" || die
-   cp -r "${S}/src/python" "${BUILD_DIR}/src/python" || die
-   local -x CPPFLAGS="-I\"${BUILD_DIR}/include\" 
-I\"${S}/include\" ${CPPFLAGS}"
-   do_python distutils-r1_src_compile
-   fi
-}
-
-multilib_src_install() {
-   emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi && use python ; then
-   do_python distutils-r1_src_install
-   fi
-}
-
-multilib_src_install_all() {
-   

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

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

sys-libs/libseccomp: Stabilize 2.5.4 hppa, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 80a421ef1573..b47ea79882cb 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

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

sys-libs/libseccomp: Stabilize 2.5.4 ppc64, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index b18dc9793627..80a421ef1573 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

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

sys-libs/libseccomp: Stabilize 2.5.4 ppc, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 709024009e27..b18dc9793627 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 
x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-06-01 Thread Jakov Smolić
commit: 818017244b1ee55dc9642f70ed750330205ad04e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  2 03:57:28 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  2 03:57:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81801724

sys-libs/libseccomp: Stabilize 2.5.4 amd64, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 643f20c3af1a..709024009e27 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-06-01 Thread Sam James
commit: 69970cb401a7e8295131ddf63f6bfbc4a80f9ef5
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:22:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:22:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69970cb4

sys-libs/libseccomp: Stabilize 2.5.4 x86, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 799f2dd17a9f..643f20c3af1a 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

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

sys-libs/libseccomp: Stabilize 2.5.4 arm, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index f9c7c9a12f4c..799f2dd17a9f 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

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

sys-libs/libseccomp: Stabilize 2.5.4 arm64, #849188

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

 sys-libs/libseccomp/libseccomp-2.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 09258b43b977..f9c7c9a12f4c 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == * ]] ; then
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz
experimental-loong? ( 
https://dev.gentoo.org/~xen0n/distfiles/${P}-loongarch64-20220425.patch.xz )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-04-21 Thread Sam James
commit: 9bcec639639f15a3f4bd8f4475284df62ebcc605
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 21 20:22:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 21 20:25:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcec639

sys-libs/libseccomp: add 2.5.4

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

 sys-libs/libseccomp/Manifest   |  1 +
 ...seccomp-.ebuild => libseccomp-2.5.4.ebuild} | 29 +++---
 sys-libs/libseccomp/libseccomp-.ebuild | 29 +++---
 3 files changed, 29 insertions(+), 30 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 287959e7d52c..1199558b0162 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
 DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af
 DIST libseccomp-2.5.3.tar.gz 637572 BLAKE2B 
cedf04b3a926f9fe5202e6169ddac6b983e755009c14fc1d645157b9c0bcdf65d4085f8ea7abad90f3a0c13ae4d66b5d8306e725168490863aad15976de1eae7
 SHA512 
00170fe2360f0c0b33293dccfcc33e98fabb99619f34ecefbcc92bfdaa249ba91e7433226545b842b71542a3b224b6e980ea2ae656c4addf07e84a0def1870a0
+DIST libseccomp-2.5.4.tar.gz 637228 BLAKE2B 
38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229
 SHA512 
92650bd7d1d48b383f402a536b97a017fd0f6ad1234daf4b938d01c92e8d134a01d2f2dd45fd9e2d025d7556bd1386ec360402145a87f20580c85949d62cea0e

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
similarity index 81%
copy from sys-libs/libseccomp/libseccomp-.ebuild
copy to sys-libs/libseccomp/libseccomp-2.5.4.ebuild
index 847d2ce335b0..fed0b3c8f425 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,25 +27,24 @@ RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="python? ( ${PYTHON_DEPS} )"
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. bug #551248
+DEPEND=">=sys-kernel/linux-headers-5.15
+   python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 BDEPEND="${DEPEND}
dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )
-"
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )"
 
-src_prepare() {
-   local PATCHES=(
-   "${FILESDIR}/libseccomp-python-shared.patch"
-   "${FILESDIR}/libseccomp-2.5.3-skip-valgrind.patch"
-   )
+PATCHES=(
+   "${FILESDIR}"/libseccomp-python-shared.patch
+   "${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
+)
 
+src_prepare() {
default
 
-   if [[ "${PV}" == * ]] ; then
+   if [[ ${PV} == * ]] ; then
sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
 
eautoreconf
@@ -76,8 +75,8 @@ multilib_src_compile() {
if multilib_is_native_abi && use python ; then
# setup.py expects libseccomp.so to live in "../.libs"
# Copy the python files to the right place for this.
-   rm -r "${BUILD_DIR}/src/python" || die
-   cp -r "${S}/src/python" "${BUILD_DIR}/src/python" || die
+   rm -r "${BUILD_DIR}"/src/python || die
+   cp -r "${S}"/src/python "${BUILD_DIR}"/src/python || die
local -x CPPFLAGS="-I\"${BUILD_DIR}/include\" 
-I\"${S}/include\" ${CPPFLAGS}"
 
do_python distutils-r1_src_compile

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 847d2ce335b0..fed0b3c8f425 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,25 +27,24 @@ RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="python? ( ${PYTHON_DEPS} )"
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. bug #551248
+DEPEND=">=sys-kernel/linux-headers-5.15
+   python? ( ${PYTHON_DEPS} 

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

2022-04-17 Thread Sam James
commit: e8001a42a6303398e3b2ed5de5450e6c8d835835
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 17 17:05:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 17 17:06:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8001a42

sys-libs/libseccomp: drop 2.5.1, 2.5.2

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

 sys-libs/libseccomp/Manifest|  1 -
 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 84 ---
 sys-libs/libseccomp/libseccomp-2.5.2.ebuild | 90 -
 3 files changed, 175 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index e405158403da..287959e7d52c 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,3 +1,2 @@
 DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af
-DIST libseccomp-2.5.2.tar.gz 640305 BLAKE2B 
b61214cb9a9a793d1f04ae1de3f62c578cfaec54fcc355947b4c71efb75072bf60497db8c8a0fd34a46764952349027df3f025ddbd276d58be93209170950e89
 SHA512 
b2a95152cb274d6b35753596fd825406dae20c4a48b2f4076f835f977ecf324de38a3fe02e789dc20b49ecf6b4eb67f03e7733e92d40f5e20f25874307f1c2ac
 DIST libseccomp-2.5.3.tar.gz 637572 BLAKE2B 
cedf04b3a926f9fe5202e6169ddac6b983e755009c14fc1d645157b9c0bcdf65d4085f8ea7abad90f3a0c13ae4d66b5d8306e725168490863aad15976de1eae7
 SHA512 
00170fe2360f0c0b33293dccfcc33e98fabb99619f34ecefbcc92bfdaa249ba91e7433226545b842b71542a3b224b6e980ea2ae656c4addf07e84a0def1870a0

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
deleted file mode 100644
index bf83271b3fde..
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
-   PRERELEASE="2.6.0"
-   inherit autotools git-r3
-else
-   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="python static-libs"
-
-REQUIRED_USE="
-   python? (
-   static-libs
-   ${PYTHON_REQUIRED_USE}
-   )"
-
-DEPEND="python? ( ${PYTHON_DEPS} )"
-RDEPEND="${DEPEND}"
-BDEPEND="${DEPEND}
-   dev-util/gperf
-   python? ( dev-python/cython[${PYTHON_USEDEP}] )
-"
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   default
-   if [[ "${PV}" == * ]] ; then
-   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
-   eautoreconf
-   fi
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_compile() {
-   emake
-
-   if multilib_is_native_abi && use python ; then
-   cd "${S}/src/python" || die
-   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" \
-   -e "/extra_objects/s,\.\.,${OLDPWD}/src," \
-   setup.py || die
-   local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
-   distutils-r1_src_compile
-   fi
-}
-
-multilib_src_install() {
-   emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi && use python ; then
-   cd "${S}/src/python" || die
-   distutils-r1_src_install
-   fi
-}
-
-multilib_src_install_all() {
-   find "${ED}" -type f -name "${PN}.la" -delete || die
-   einstalldocs
-}

diff --git a/sys-libs/libseccomp/libseccomp-2.5.2.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.2.ebuild
deleted file mode 100644
index eea16fa2bbf5..
--- a/sys-libs/libseccomp/libseccomp-2.5.2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-
-if [[ ${PV} == * 

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

2022-02-22 Thread Arthur Zamarin
commit: 0ca044f6f56475d6d528a710cc77051943509175
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb 23 04:38:41 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb 23 04:38:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca044f6

sys-libs/libseccomp: Stabilize 2.5.3 hppa, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index 81600399bd72..1006b5a52a82 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-19 Thread Arthur Zamarin
commit: 51b2c2f35ece406005a0a06e757028108cf1cd53
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 10:59:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 10:59:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b2c2f3

sys-libs/libseccomp: Stabilize 2.5.3 arm64, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index ea633a8499cc..81600399bd72 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-19 Thread Arthur Zamarin
commit: b2f027640eab498f20a298e5aec499eb3e1205e5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 19 10:55:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 19 10:55:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f02764

sys-libs/libseccomp: Stabilize 2.5.3 arm, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index f92d1d6fc919..ea633a8499cc 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-18 Thread Sam James
commit: 1a0f875f0fe0193655eeb0f42a033e8ea4c39555
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 03:05:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 03:05:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0f875f

sys-libs/libseccomp: Stabilize 2.5.3 ppc64, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index 35aa2fdbca99..f92d1d6fc919 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-18 Thread Sam James
commit: cb2b2cb872476960e54d9a53ed39cbde134e37e5
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 02:58:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 02:58:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb2b2cb8

sys-libs/libseccomp: Stabilize 2.5.3 ppc, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index 146cb64e8698..35aa2fdbca99 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-18 Thread Sam James
commit: 07449659e31ef3847d079dd5020adbed96e8d717
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 02:39:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 02:39:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07449659

sys-libs/libseccomp: Stabilize 2.5.3 x86, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index c131bbc9fc56..146cb64e8698 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2022-02-18 Thread Sam James
commit: 40bd1f236e7a46053ae3cd32c27a64d5919e76fd
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 19 02:23:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 19 02:23:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40bd1f23

sys-libs/libseccomp: Stabilize 2.5.3 amd64, #833657

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

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index 847d2ce335b0..c131bbc9fc56 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-11-08 Thread Georgy Yakovlev
commit: 286a416c1be5cc2a0518eea070862ca74f062eef
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Nov  9 04:33:29 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Nov  9 04:33:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286a416c

sys-libs/libseccomp: enable py3.10 in live ebuild

Signed-off-by: Georgy Yakovlev  gentoo.org>

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

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index e0277c89c97..847d2ce335b 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal



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

2021-11-08 Thread Georgy Yakovlev
commit: aa0fe77ab98e4ba94a2fe5ae17a0382ce61582be
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Nov  9 04:31:23 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Nov  9 04:31:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa0fe77a

sys-libs/libseccomp: enable py3.10

Closes: https://bugs.gentoo.org/822480
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index e0277c89c97..847d2ce335b 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 multilib-minimal



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

2021-11-05 Thread Sam James
commit: d7b7d0c23c6ed894ed37937833dcc50981a514af
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  5 21:55:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  5 22:10:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b7d0c2

sys-libs/libseccomp: add 2.5.3

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

 sys-libs/libseccomp/Manifest|  1 +
 .../libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch   | 13 +
 .../{libseccomp-.ebuild => libseccomp-2.5.3.ebuild} | 13 +++--
 sys-libs/libseccomp/libseccomp-.ebuild  | 13 +++--
 4 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 55539be93ca..e405158403d 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
 DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af
 DIST libseccomp-2.5.2.tar.gz 640305 BLAKE2B 
b61214cb9a9a793d1f04ae1de3f62c578cfaec54fcc355947b4c71efb75072bf60497db8c8a0fd34a46764952349027df3f025ddbd276d58be93209170950e89
 SHA512 
b2a95152cb274d6b35753596fd825406dae20c4a48b2f4076f835f977ecf324de38a3fe02e789dc20b49ecf6b4eb67f03e7733e92d40f5e20f25874307f1c2ac
+DIST libseccomp-2.5.3.tar.gz 637572 BLAKE2B 
cedf04b3a926f9fe5202e6169ddac6b983e755009c14fc1d645157b9c0bcdf65d4085f8ea7abad90f3a0c13ae4d66b5d8306e725168490863aad15976de1eae7
 SHA512 
00170fe2360f0c0b33293dccfcc33e98fabb99619f34ecefbcc92bfdaa249ba91e7433226545b842b71542a3b224b6e980ea2ae656c4addf07e84a0def1870a0

diff --git a/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch 
b/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
new file mode 100644
index 000..baf3ed971fc
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
@@ -0,0 +1,13 @@
+Valgrind isn't supported on all arches (and indeed profiles for older types
+of some arches) so let's just skip the automagic Valgrind dependency entirely.
+--- a/tests/regression
 b/tests/regression
+@@ -876,7 +876,7 @@ function run_test() {
+   run_test_bpf_sim_fuzz "$1" $2 "$3"
+   elif [[ "$4" == "bpf-valgrind" ]]; then
+   # only run this test if valgrind is installed
+-  if check_deps valgrind; then
++  if false; then
+   run_test_bpf_valgrind "$testnumstr" "$3"
+   else
+   print_result $testnumstr "SKIPPED" \

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
similarity index 92%
copy from sys-libs/libseccomp/libseccomp-.ebuild
copy to sys-libs/libseccomp/libseccomp-2.5.3.ebuild
index eea16fa2bbf..e0277c89c97 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.3.ebuild
@@ -22,7 +22,8 @@ fi
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="python static-libs"
+IUSE="python static-libs test"
+RESTRICT="!test? ( test )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -39,10 +40,14 @@ DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
 src_prepare() {
local PATCHES=(
"${FILESDIR}/libseccomp-python-shared.patch"
+   "${FILESDIR}/libseccomp-2.5.3-skip-valgrind.patch"
)
+
default
+
if [[ "${PV}" == * ]] ; then
-   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac || die
+
eautoreconf
fi
 }
@@ -52,12 +57,14 @@ multilib_src_configure() {
$(use_enable static-libs static)
--disable-python
)
+
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
 do_python() {
# setup.py reads VERSION_RELEASE from the environment
local -x VERSION_RELEASE=${PRERELEASE-${PV}}
+
pushd "${BUILD_DIR}/src/python" >/dev/null || die
"$@"
popd >/dev/null || die
@@ -72,6 +79,7 @@ multilib_src_compile() {
rm -r "${BUILD_DIR}/src/python" || die
cp -r "${S}/src/python" "${BUILD_DIR}/src/python" || die
local -x CPPFLAGS="-I\"${BUILD_DIR}/include\" 
-I\"${S}/include\" ${CPPFLAGS}"
+
do_python distutils-r1_src_compile
fi
 }
@@ -86,5 +94,6 @@ multilib_src_install() {
 
 multilib_src_install_all() {
find "${ED}" -type f -name "${PN}.la" -delete || die
+
einstalldocs
 }

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index eea16fa2bbf..e0277c89c97 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild

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

2021-10-06 Thread Sam James
commit: c3f074f3b149dcfdb475e456106eb4f42a2ecfcc
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Oct  5 18:27:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct  7 06:36:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f074f3

sys-libs/libseccomp: stable 2.5.1-r1 for hppa, bug #810229

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index acc2906dbae..3838d8dfc8d 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-09-02 Thread Agostino Sarubbo
commit: a81428b5120902523d3a4415c68a649abdc8a5a2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep  3 06:39:08 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep  3 06:39:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81428b5

sys-libs/libseccomp: x86 stable wrt bug #810229

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index 2c2b099e0e3..da71d4c5707 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-09-02 Thread Agostino Sarubbo
commit: a8be3cba13fb1bd5f947eb08411f1df32f3ae4f6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep  3 06:32:44 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep  3 06:32:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8be3cba

sys-libs/libseccomp: amd64 stable wrt bug #810229

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index 30ecd9ca0a1..2c2b099e0e3 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-09-01 Thread Lars Wendler
commit: 7bdae378cd72c7d7e71c47a8ccd1929b60f03b73
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep  2 06:42:54 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep  2 06:43:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bdae378

sys-libs/libseccomp: Bump to version 2.5.2

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/Manifest|  1 +
 sys-libs/libseccomp/libseccomp-2.5.2.ebuild | 90 +
 2 files changed, 91 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index ef91c9f4460..55539be93ca 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1 +1,2 @@
 DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af
+DIST libseccomp-2.5.2.tar.gz 640305 BLAKE2B 
b61214cb9a9a793d1f04ae1de3f62c578cfaec54fcc355947b4c71efb75072bf60497db8c8a0fd34a46764952349027df3f025ddbd276d58be93209170950e89
 SHA512 
b2a95152cb274d6b35753596fd825406dae20c4a48b2f4076f835f977ecf324de38a3fe02e789dc20b49ecf6b4eb67f03e7733e92d40f5e20f25874307f1c2ac

diff --git a/sys-libs/libseccomp/libseccomp-2.5.2.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.2.ebuild
new file mode 100644
index 000..eea16fa2bbf
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.5.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.6.0"
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}
+   dev-util/gperf
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )
+"
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   local PATCHES=(
+   "${FILESDIR}/libseccomp-python-shared.patch"
+   )
+   default
+   if [[ "${PV}" == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   eautoreconf
+   fi
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+do_python() {
+   # setup.py reads VERSION_RELEASE from the environment
+   local -x VERSION_RELEASE=${PRERELEASE-${PV}}
+   pushd "${BUILD_DIR}/src/python" >/dev/null || die
+   "$@"
+   popd >/dev/null || die
+}
+
+multilib_src_compile() {
+   emake
+
+   if multilib_is_native_abi && use python ; then
+   # setup.py expects libseccomp.so to live in "../.libs"
+   # Copy the python files to the right place for this.
+   rm -r "${BUILD_DIR}/src/python" || die
+   cp -r "${S}/src/python" "${BUILD_DIR}/src/python" || die
+   local -x CPPFLAGS="-I\"${BUILD_DIR}/include\" 
-I\"${S}/include\" ${CPPFLAGS}"
+   do_python distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   if multilib_is_native_abi && use python ; then
+   do_python distutils-r1_src_install
+   fi
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2021-09-01 Thread Sam James
commit: 3f13dc57dbb93d8459c2244eaae131a3e3f4831b
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep  1 18:29:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  1 18:31:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f13dc57

sys-libs/libseccomp: Stabilize 2.5.1-r1 arm, #810229

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index 7888e2a6cc7..30ecd9ca0a1 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-09-01 Thread Agostino Sarubbo
commit: c11b6ea2ce30367bc0c98365e73e322e9683cd9d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep  1 13:38:45 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep  1 13:38:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11b6ea2

sys-libs/libseccomp: ppc64 stable wrt bug #810229

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index 324ad93df3f..7888e2a6cc7 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-09-01 Thread Agostino Sarubbo
commit: 18a752fc8e47ffe68ba26e0370678f0f0b0f9728
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep  1 09:31:35 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep  1 09:31:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a752fc

sys-libs/libseccomp: ppc stable wrt bug #810229

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index eea16fa2bbf..324ad93df3f 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-07-23 Thread Sam James
commit: 6b56932f51262aba5d02e7880e7503fcb8f9738c
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 23 22:52:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 23 22:52:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b56932f

sys-libs/libseccomp: fix DISTUTILS_USE_SETUPTOOLS warning, -py3.7

(Python 3.7 is no longer supported by the eclasses,
so drop it while we're here.)

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

 sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild | 3 +--
 sys-libs/libseccomp/libseccomp-2.5.1.ebuild| 3 +--
 sys-libs/libseccomp/libseccomp-.ebuild | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index c445290913e..eea16fa2bbf 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -3,9 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index 169a677b6cf..bf83271b3fd 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -3,9 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index c445290913e..eea16fa2bbf 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -3,9 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 



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

2021-05-23 Thread Mike Gilbert
commit: 0e4b6f02ff363c24df72105616bbad85af62f219
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun May 23 20:49:45 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May 23 22:26:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4b6f02

sys-libs/libseccomp: rework python support

Apply a patch to link against the shared library.
Eliminate a messy sed expression by copying some files around instead.

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

 .../files/libseccomp-python-shared.patch   | 25 +
 ...comp-.ebuild => libseccomp-2.5.1-r1.ebuild} | 32 +-
 sys-libs/libseccomp/libseccomp-.ebuild | 32 +-
 3 files changed, 63 insertions(+), 26 deletions(-)

diff --git a/sys-libs/libseccomp/files/libseccomp-python-shared.patch 
b/sys-libs/libseccomp/files/libseccomp-python-shared.patch
new file mode 100644
index 000..93e1ec8a915
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-python-shared.patch
@@ -0,0 +1,25 @@
+From 763b863c3028f604f16cc6d2de7452dc16458596 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Sun, 23 May 2021 16:17:32 -0400
+Subject: [PATCH] Link python module against shared library
+
+---
+ src/python/setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/python/setup.py b/src/python/setup.py
+index 0419111..fb650d0 100755
+--- a/src/python/setup.py
 b/src/python/setup.py
+@@ -41,7 +41,7 @@ setup(
+   ext_modules = [
+   Extension("seccomp", ["seccomp.pyx"],
+   # unable to handle libtool libraries directly
+-  extra_objects=["../.libs/libseccomp.a"],
++  extra_objects=["../.libs/libseccomp.so"],
+   # fix build warnings, see PEP 3123
+   extra_compile_args=["-fno-strict-aliasing"])
+   ]
+-- 
+2.32.0.rc1
+

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
similarity index 70%
copy from sys-libs/libseccomp/libseccomp-.ebuild
copy to sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
index 9256faff2b5..c445290913e 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1-r1.ebuild
@@ -25,11 +25,7 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="
-   python? (
-   static-libs
-   ${PYTHON_REQUIRED_USE}
-   )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
@@ -42,6 +38,9 @@ BDEPEND="${DEPEND}
 DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
 
 src_prepare() {
+   local PATCHES=(
+   "${FILESDIR}/libseccomp-python-shared.patch"
+   )
default
if [[ "${PV}" == * ]] ; then
sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
@@ -57,16 +56,24 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
+do_python() {
+   # setup.py reads VERSION_RELEASE from the environment
+   local -x VERSION_RELEASE=${PRERELEASE-${PV}}
+   pushd "${BUILD_DIR}/src/python" >/dev/null || die
+   "$@"
+   popd >/dev/null || die
+}
+
 multilib_src_compile() {
emake
 
if multilib_is_native_abi && use python ; then
-   cd "${S}/src/python" || die
-   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" \
-   -e "/extra_objects/s,\.\.,${OLDPWD}/src," \
-   setup.py || die
-   local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
-   distutils-r1_src_compile
+   # setup.py expects libseccomp.so to live in "../.libs"
+   # Copy the python files to the right place for this.
+   rm -r "${BUILD_DIR}/src/python" || die
+   cp -r "${S}/src/python" "${BUILD_DIR}/src/python" || die
+   local -x CPPFLAGS="-I\"${BUILD_DIR}/include\" 
-I\"${S}/include\" ${CPPFLAGS}"
+   do_python distutils-r1_src_compile
fi
 }
 
@@ -74,8 +81,7 @@ multilib_src_install() {
emake DESTDIR="${D}" install
 
if multilib_is_native_abi && use python ; then
-   cd "${S}/src/python" || die
-   distutils-r1_src_install
+   do_python distutils-r1_src_install
fi
 }
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 9256faff2b5..c445290913e 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -25,11 +25,7 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="
-   python? (
-   static-libs
-   ${PYTHON_REQUIRED_USE}
-   )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
@@ -42,6 +38,9 @@

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

2021-05-23 Thread David Seifert
commit: 78f137c3e43591e8f6ea4d90e27fb035f8fd1f79
Author: David Seifert  gentoo  org>
AuthorDate: Sun May 23 11:47:47 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun May 23 11:47:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f137c3

sys-libs/libseccomp: drop 2.4.3, 2.4.4, 2.5.0

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

 sys-libs/libseccomp/Manifest|  3 -
 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 41 --
 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 41 --
 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 86 -
 4 files changed, 171 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 0a32b48f4d9..ef91c9f4460 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,4 +1 @@
-DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
-DIST libseccomp-2.4.4.tar.gz 604420 BLAKE2B 
04a2e22996d94f2525c1f4a890f325e7c75abb7ac84928a1ffde5e4cc569ef6355fcda8415e0c9937139e187f458602714cfd042008de74637c7bf30e9bd58e2
 SHA512 
53e5aa338a1c30ce826551e33be6ef877af43b1d8cfd2e1b6ffb70789eb2070d2610fb7cb5cec4a3a4c4a1221767f867f3d2bc07b6b1d9742719b1e053630b24
-DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae
 DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
deleted file mode 100644
index f6e555a5b8d..000
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: Add python support.
-
-EAPI=7
-
-inherit multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
-IUSE="static-libs"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND=">=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   default
-   sed -i \
-   -e '/_LDFLAGS/s:-static::' \
-   tools/Makefile.in || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -type f -name "${PN}.la" -delete || die
-   einstalldocs
-}

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
deleted file mode 100644
index f6e555a5b8d..000
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: Add python support.
-
-EAPI=7
-
-inherit multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
-IUSE="static-libs"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND=">=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   default
-   sed -i \
-   -e '/_LDFLAGS/s:-static::' \
-   tools/Makefile.in || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -type f -name "${PN}.la" -delete || die
-   einstalldocs
-}

diff --git a/sys-libs/libseccomp/libseccomp

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

2021-05-22 Thread Mike Gilbert
commit: 8335d3c8581458314be2cfc406114ba53369ac32
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat May 22 21:25:40 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat May 22 21:25:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8335d3c8

sys-libs/libseccomp: set DISTUTILS_USE_SETUPTOOLS=no

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

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 3 ++-
 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 1 +
 sys-libs/libseccomp/libseccomp-.ebuild  | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
index d03ab2456c9..afdf3740180 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -1,10 +1,11 @@
-# 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..9} )
 DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index b68cd3835b8..169a677b6cf 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -5,6 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 9df6cc592e4..9256faff2b5 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -5,6 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1 multilib-minimal
 



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

2021-05-16 Thread Mike Gilbert
commit: ea22eac608d06063ae7c8f689c425979f4728665
Author: David Michael  gmail  com>
AuthorDate: Sun May 16 15:24:32 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May 16 15:29:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea22eac6

sys-libs/libseccomp: keep native tools only in BDEPEND, sync live

Closes: https://bugs.gentoo.org/790533
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 12 
 sys-libs/libseccomp/libseccomp-.ebuild  | 11 +--
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index fdc5755fe50..b68cd3835b8 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -30,16 +30,12 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}
)"
 
-BDEPEND="
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}
dev-util/gperf
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/cython[${PYTHON_USEDEP}]
-   )
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )
 "
-DEPEND="${BDEPEND}"
-RDEPEND="${DEPEND}"
-
 # We need newer kernel headers; we don't keep strict control of the exact
 # version here, just be safe and pull in the latest stable ones. #551248
 DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 1d93b949652..9df6cc592e4 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,13 +30,12 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}
)"
 
-BDEPEND="
+DEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}
dev-util/gperf
-   python? ( ${PYTHON_DEPS} )
+   python? ( dev-python/cython[${PYTHON_USEDEP}] )
 "
-DEPEND="${BDEPEND}"
-RDEPEND="${DEPEND}"
-
 # We need newer kernel headers; we don't keep strict control of the exact
 # version here, just be safe and pull in the latest stable ones. #551248
 DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"



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

2021-05-15 Thread Sergei Trofimovich
commit: fe6777d55348023af222398269dda64472301fa5
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat May 15 18:59:54 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May 15 19:14:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6777d5

sys-libs/libseccomp: stable 2.5.1 for hppa, bug #789948

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/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index 21ae150df72..fdc5755fe50 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-14 Thread Agostino Sarubbo
commit: 442b65376664bd932ff680d5efab1da4467f641f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:36:25 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:36:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442b6537

sys-libs/libseccomp: x86 stable wrt bug #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index b751be9097c..21ae150df72 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-14 Thread Agostino Sarubbo
commit: 4e4f641272aef0a714b9971354a6af860b88b46f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:32:18 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:32:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4f6412

sys-libs/libseccomp: ppc64 stable wrt bug #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index ee889f9cb2b..b751be9097c 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-14 Thread Agostino Sarubbo
commit: 7f732633d8ea11dfcf2859fd8da5be0c1e636b3c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:31:36 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:31:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f732633

sys-libs/libseccomp: ppc stable wrt bug #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index c1ab63fdde4..ee889f9cb2b 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-14 Thread Agostino Sarubbo
commit: 80e3e9896493836df5a5c8c05fe74ed99577b401
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 14 09:30:18 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 14 09:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e3e989

sys-libs/libseccomp: amd64 stable wrt bug #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index e7d1c6530f9..c1ab63fdde4 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-13 Thread Sam James
commit: 70004cbcbbef65d75df6fb7835645eee3c443923
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 16:54:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 16:54:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70004cbc

sys-libs/libseccomp: Stabilize 2.5.1 arm, #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index 2b9dd4083e1..e7d1c6530f9 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2021-05-13 Thread Sam James
commit: e5e81f78da2be8850b795af4dcc37db4778d5689
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 16:30:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 16:30:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e81f78

sys-libs/libseccomp: Stabilize 2.5.1 arm64, #789948

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

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index df4feff9724..2b9dd4083e1 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2020-11-29 Thread Lars Wendler
commit: 96569e0818e1208f07292f3bbab159747a00903f
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Nov 29 20:22:40 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Nov 29 20:22:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96569e08

sys-libs/libseccomp: Added dev-python/cython to BDEPEND

Reported-by: Olivier Huber  gmail.com>
Closes: https://bugs.gentoo.org/756064
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index 1375d590f41..bbf6a2d75f0 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -32,7 +32,10 @@ REQUIRED_USE="
 
 BDEPEND="
dev-util/gperf
-   python? ( ${PYTHON_DEPS} )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/cython[${PYTHON_USEDEP}]
+   )
 "
 DEPEND="${BDEPEND}"
 RDEPEND="${DEPEND}"



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

2020-11-23 Thread Agostino Sarubbo
commit: 901acb79a52cf123eb455c756746c59524ad433b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:43:10 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:43:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901acb79

sys-libs/libseccomp: s390 stable wrt bug #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index a459332f72a..fb7d1492bd8 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

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

sys-libs/libseccomp: stable 2.4.4 for hppa

stable wrt bug #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index 4e319b7660d..a459332f72a 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

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

sys-libs/libseccomp: stable 2.4.4 for ppc

stable wrt bug #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index e88f30715d8..4e319b7660d 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-11-22 Thread Sam James
commit: 165d10429023c851c47e186c1e213ec082383d57
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 23 04:36:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 23 04:36:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165d1042

sys-libs/libseccomp: Stabilize 2.4.4 ppc64, #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index f9c245c3f2f..e88f30715d8 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-11-20 Thread Lars Wendler
commit: 02d1673f6db375cca56d885c6982cf1907314abb
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov 20 16:54:35 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov 20 16:54:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d1673f

sys-libs/libseccomp: Use release tarball instead of GitHub one

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

 sys-libs/libseccomp/Manifest| 2 +-
 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 9 -
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index ddb87bd168c..0a32b48f4d9 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,4 +1,4 @@
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
 DIST libseccomp-2.4.4.tar.gz 604420 BLAKE2B 
04a2e22996d94f2525c1f4a890f325e7c75abb7ac84928a1ffde5e4cc569ef6355fcda8415e0c9937139e187f458602714cfd042008de74637c7bf30e9bd58e2
 SHA512 
53e5aa338a1c30ce826551e33be6ef877af43b1d8cfd2e1b6ffb70789eb2070d2610fb7cb5cec4a3a4c4a1221767f867f3d2bc07b6b1d9742719b1e053630b24
 DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae
-DIST libseccomp-2.5.1.tar.gz 189916 BLAKE2B 
8d74764a03f154f29fe7a392ce3f7e13d0342cebd875cd2a8e8453aa362d8ee78e8aed466f4f26ea98bda9263283a0cf5ca31f34afacfd7c658de8942fffeea8
 SHA512 
fcb84b6714dce760387391c42de699897c1767802c4805a71d3221b9cfbc9c3cc20a3122e5f2153e754962faab2f214f892531e5985bacf28875ff1ba9a93996
+DIST libseccomp-2.5.1.tar.gz 638811 BLAKE2B 
683ae7536c0cba36f4d30640b42361171fc34b7cb04985ea56e64369df29c440361a0205385b14580cc0e481e0f9ffd0b0e8ebd4ac98817ed59298db6b274c35
 SHA512 
2be80a6323f9282dbeae8791724e5778b32e2382b2a3d1b0f77366371ec4072ea28128204f675cce101c091c0420d12c497e1a9ccbb7dc5bcbf61bfd777160af

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
index cf8f9e8c84d..1375d590f41 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_OPTIONAL=1
 
-inherit autotools distutils-r1 multilib-minimal
+inherit distutils-r1 multilib-minimal
 
 DESCRIPTION="high level interface to Linux seccomp filter"
 HOMEPAGE="https://github.com/seccomp/libseccomp";
@@ -16,9 +16,8 @@ if [[ ${PV} == * ]] ; then
PRERELEASE="2.6.0"
inherit autotools git-r3
 else
-   
#SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   SRC_URI="https://github.com/seccomp/libseccomp/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa -mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"
@@ -46,8 +45,8 @@ src_prepare() {
default
if [[ "${PV}" == * ]] ; then
sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   eautoreconf
fi
-   eautoreconf
 }
 
 multilib_src_configure() {



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

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

sys-libs/libseccomp: Stabilize 2.4.4 arm, #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index 84c598fff7c..f9c245c3f2f 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-11-19 Thread Sam James
commit: 8e2641c19042d2b9b4217ebc06c9e4663ffd3971
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 20 01:57:37 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 20 01:57:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2641c1

sys-libs/libseccomp: Stabilize 2.4.4 arm64, #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index 286019fe768..84c598fff7c 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

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

sys-libs/libseccomp: x86 stable (bug #755494)

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index d3fd3903f01..286019fe768 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

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

sys-libs/libseccomp: Stabilize 2.4.4 amd64, #755494

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

 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
index 5224cb3571a..d3fd3903f01 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="-* amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-11-19 Thread Lars Wendler
commit: 1ea5acde52551910184e0206ccea82056dd6aa7d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Nov 19 09:06:15 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Nov 19 09:36:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea5acde

sys-libs/libseccomp: Bump to version 2.5.1

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

 sys-libs/libseccomp/Manifest|  1 +
 sys-libs/libseccomp/libseccomp-2.5.1.ebuild | 86 +
 2 files changed, 87 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 87aea1370f3..ddb87bd168c 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,3 +1,4 @@
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
 DIST libseccomp-2.4.4.tar.gz 604420 BLAKE2B 
04a2e22996d94f2525c1f4a890f325e7c75abb7ac84928a1ffde5e4cc569ef6355fcda8415e0c9937139e187f458602714cfd042008de74637c7bf30e9bd58e2
 SHA512 
53e5aa338a1c30ce826551e33be6ef877af43b1d8cfd2e1b6ffb70789eb2070d2610fb7cb5cec4a3a4c4a1221767f867f3d2bc07b6b1d9742719b1e053630b24
 DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae
+DIST libseccomp-2.5.1.tar.gz 189916 BLAKE2B 
8d74764a03f154f29fe7a392ce3f7e13d0342cebd875cd2a8e8453aa362d8ee78e8aed466f4f26ea98bda9263283a0cf5ca31f34afacfd7c658de8942fffeea8
 SHA512 
fcb84b6714dce760387391c42de699897c1767802c4805a71d3221b9cfbc9c3cc20a3122e5f2153e754962faab2f214f892531e5985bacf28875ff1ba9a93996

diff --git a/sys-libs/libseccomp/libseccomp-2.5.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
new file mode 100644
index 000..cf8f9e8c84d
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.5.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_OPTIONAL=1
+
+inherit autotools distutils-r1 multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.6.0"
+   inherit autotools git-r3
+else
+   
#SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   SRC_URI="https://github.com/seccomp/libseccomp/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa -mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="python static-libs"
+
+REQUIRED_USE="
+   python? (
+   static-libs
+   ${PYTHON_REQUIRED_USE}
+   )"
+
+BDEPEND="
+   dev-util/gperf
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${BDEPEND}"
+RDEPEND="${DEPEND}"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   default
+   if [[ "${PV}" == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   fi
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   emake
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" \
+   -e "/extra_objects/s,\.\.,${OLDPWD}/src," \
+   setup.py || die
+   local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   distutils-r1_src_install
+   fi
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2020-10-15 Thread Joshua Kinard
commit: 4b140c170702c113f07a587b21724ba3be44c6ba
Author: Joshua Kinard  gentoo  org>
AuthorDate: Fri Oct 16 03:45:20 2020 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Fri Oct 16 03:45:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b140c17

sys-libs/libseccomp: Negate the MIPS keyword on 2.5.0

There is a compile failure on the MIPS architecture for libseccomp-2.5.0
that is fixed in upstream and will be in libseccomp-2.5.1.  We can hold
at v2.4.4 for now until the next version comes out.

Bug: https://bugs.gentoo.org/749378
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.8, Repoman-3.0.1

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
index 1375d590f41..f45cbfa00a4 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == * ]] ; then
inherit autotools git-r3
 else

SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa -mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="LGPL-2.1"



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

2020-09-03 Thread Lars Wendler
commit: 0f050813172ebe21703e826e870352fe97d0b8af
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Sep  3 19:54:40 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Sep  3 20:00:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f050813

sys-libs/libseccomp: Bump to version 2.4.4

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

 sys-libs/libseccomp/Manifest|  1 +
 sys-libs/libseccomp/libseccomp-2.4.4.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 3daeec58da1..87aea1370f3 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
+DIST libseccomp-2.4.4.tar.gz 604420 BLAKE2B 
04a2e22996d94f2525c1f4a890f325e7c75abb7ac84928a1ffde5e4cc569ef6355fcda8415e0c9937139e187f458602714cfd042008de74637c7bf30e9bd58e2
 SHA512 
53e5aa338a1c30ce826551e33be6ef877af43b1d8cfd2e1b6ffb70789eb2070d2610fb7cb5cec4a3a4c4a1221767f867f3d2bc07b6b1d9742719b1e053630b24
 DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae

diff --git a/sys-libs/libseccomp/libseccomp-2.4.4.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
new file mode 100644
index 000..5224cb3571a
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.4.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# TODO: Add python support.
+
+EAPI=7
+
+inherit multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 
~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND=">=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   default
+   sed -i \
+   -e '/_LDFLAGS/s:-static::' \
+   tools/Makefile.in || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2020-07-23 Thread Lars Wendler
commit: 3fa294e1567f4a0339eee057b392bdb605d549e3
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 23 19:52:17 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 23 19:52:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa294e1

sys-libs/libseccomp: Fixed REQUIRED_USE

Thanks-to: Matt Whitlock  mattwhitlock.name>
Closes: https://bugs.gentoo.org/733654
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 7 +--
 sys-libs/libseccomp/libseccomp-.ebuild  | 7 +--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
index 84690cfcf6b..1375d590f41 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -24,8 +24,11 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   python? ( static-libs )"
+REQUIRED_USE="
+   python? (
+   static-libs
+   ${PYTHON_REQUIRED_USE}
+   )"
 
 BDEPEND="
dev-util/gperf

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 84690cfcf6b..1375d590f41 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -24,8 +24,11 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   python? ( static-libs )"
+REQUIRED_USE="
+   python? (
+   static-libs
+   ${PYTHON_REQUIRED_USE}
+   )"
 
 BDEPEND="
dev-util/gperf



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

2020-07-23 Thread Lars Wendler
commit: 22e856cb74b1d6ca5d6dce4f2626e14fbe2ccc8f
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 23 10:18:29 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 23 10:19:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e856cb

sys-libs/libseccomp: >=2.5.0 now requires dev-util/gperf to build

Thanks-to: Sammy Pfeiffer  gmail.com>
Closes: https://bugs.gentoo.org/733622
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 5 -
 sys-libs/libseccomp/libseccomp-.ebuild  | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
index 726c7a197cb..84690cfcf6b 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -27,7 +27,10 @@ IUSE="python static-libs"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
python? ( static-libs )"
 
-BDEPEND="python? ( ${PYTHON_DEPS} )"
+BDEPEND="
+   dev-util/gperf
+   python? ( ${PYTHON_DEPS} )
+"
 DEPEND="${BDEPEND}"
 RDEPEND="${DEPEND}"
 

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 726c7a197cb..84690cfcf6b 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -27,7 +27,10 @@ IUSE="python static-libs"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
python? ( static-libs )"
 
-BDEPEND="python? ( ${PYTHON_DEPS} )"
+BDEPEND="
+   dev-util/gperf
+   python? ( ${PYTHON_DEPS} )
+"
 DEPEND="${BDEPEND}"
 RDEPEND="${DEPEND}"
 



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

2020-07-21 Thread Lars Wendler
commit: 14413b450f156f779b8ad9a6e2df0d90e19c10eb
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 21 09:53:20 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 21 09:53:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14413b45

sys-libs/libseccomp: Fixed QA warning

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

 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 3 ++-
 sys-libs/libseccomp/libseccomp-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
index a70a1f90aa9..726c7a197cb 100644
--- a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -24,7 +24,8 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="python? ( static-libs )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   python? ( static-libs )"
 
 BDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${BDEPEND}"

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index a70a1f90aa9..726c7a197cb 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -24,7 +24,8 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
 
-REQUIRED_USE="python? ( static-libs )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   python? ( static-libs )"
 
 BDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${BDEPEND}"



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

2020-07-21 Thread Lars Wendler
commit: 7e4f632fcfc68ab3fb3916fa25a08855ded90d06
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 21 08:31:34 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 21 08:32:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4f632f

sys-libs/libseccomp: Bump to version 2.5.0

Bug: https://bugs.gentoo.org/732382
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/Manifest|  1 +
 sys-libs/libseccomp/libseccomp-2.5.0.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 704e44b83fe..59fe8310381 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,2 +1,3 @@
 DIST libseccomp-2.4.2.tar.gz 601014 BLAKE2B 
cff2612498a6ff3097809e9e04542e0be12c2c5d80fd51c2abd35fb6ac59f3ef7fce1c5205216876c1f67eb762d31c7df8e0f237f3957b7710148a1298502ae5
 SHA512 
375a3c7c658be6a08b9bb30963e10bb49e8e066119e0be6d3d97faac3db18b8e2c6938d8b5d3874b2f5331ec8295170112fbae83b5a3b5a5bebc0d6705bdfdbb
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
+DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae

diff --git a/sys-libs/libseccomp/libseccomp-2.5.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
new file mode 100644
index 000..a70a1f90aa9
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.5.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.6.0"
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="python static-libs"
+
+REQUIRED_USE="python? ( static-libs )"
+
+BDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${BDEPEND}"
+RDEPEND="${DEPEND}"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   default
+   if [[ "${PV}" == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   eautoreconf
+   fi
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   emake
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" \
+   -e "/extra_objects/s,\.\.,${OLDPWD}/src," \
+   setup.py || die
+   local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   distutils-r1_src_install
+   fi
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2020-07-21 Thread Lars Wendler
commit: bdd9d770642b91e59b71b6e018db6888a0beba84
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 21 08:25:10 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 21 08:32:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd9d770

sys-libs/libseccomp: Minor improvements for the live ebuild

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

 sys-libs/libseccomp/libseccomp-.ebuild | 22 --
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
index 5604393c136..a70a1f90aa9 100644
--- a/sys-libs/libseccomp/libseccomp-.ebuild
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -3,15 +3,6 @@
 
 EAPI=7
 
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
-   PRERELEASE="2.5.0"
-   inherit autotools git-r3
-else
-   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
-fi
-
 PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_OPTIONAL=1
 
@@ -20,6 +11,15 @@ inherit distutils-r1 multilib-minimal
 DESCRIPTION="high level interface to Linux seccomp filter"
 HOMEPAGE="https://github.com/seccomp/libseccomp";
 
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.6.0"
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+fi
+
 LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="python static-libs"
@@ -55,7 +55,9 @@ multilib_src_compile() {
 
if multilib_is_native_abi && use python ; then
cd "${S}/src/python" || die
-   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" -e 
"/extra_objects/s,\.\.,${OLDPWD}/src," setup.py
+   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" \
+   -e "/extra_objects/s,\.\.,${OLDPWD}/src," \
+   setup.py || die
local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
distutils-r1_src_compile
fi



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

2020-07-21 Thread Lars Wendler
commit: 9c5a52ace71fe4c98e3b15a287d0d316f5d37908
Author: David Michael  gmail  com>
AuthorDate: Tue Jul 21 08:20:38 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 21 08:32:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5a52ac

sys-libs/libseccomp: New live ebuild

Bug: https://bugs.gentoo.org/732382
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libseccomp/libseccomp-.ebuild | 76 ++
 1 file changed, 76 insertions(+)

diff --git a/sys-libs/libseccomp/libseccomp-.ebuild 
b/sys-libs/libseccomp/libseccomp-.ebuild
new file mode 100644
index 000..5604393c136
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/seccomp/libseccomp.git";
+   PRERELEASE="2.5.0"
+   inherit autotools git-r3
+else
+   
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux"
+fi
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="python static-libs"
+
+REQUIRED_USE="python? ( static-libs )"
+
+BDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${BDEPEND}"
+RDEPEND="${DEPEND}"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND="${DEPEND} >=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   default
+   if [[ "${PV}" == * ]] ; then
+   sed -i -e "s/0.0.0/${PRERELEASE}/" configure.ac
+   eautoreconf
+   fi
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+   emake
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   sed -i -e "s/=.*VERSION_RELEASE.*,/=\"${PRERELEASE}\",/" -e 
"/extra_objects/s,\.\.,${OLDPWD}/src," setup.py
+   local -x CPPFLAGS="-I${OLDPWD}/include -I../../include"
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   if multilib_is_native_abi && use python ; then
+   cd "${S}/src/python" || die
+   distutils-r1_src_install
+   fi
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2020-07-21 Thread Lars Wendler
commit: e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 21 08:32:15 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 21 08:32:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e6d6b3

sys-libs/libseccomp: Removed old

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

 sys-libs/libseccomp/Manifest   |  1 -
 .../libseccomp-2.4.2-missing_SNR_ppoll_defs.patch  | 41 
 sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild | 45 --
 3 files changed, 87 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 59fe8310381..3daeec58da1 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,3 +1,2 @@
-DIST libseccomp-2.4.2.tar.gz 601014 BLAKE2B 
cff2612498a6ff3097809e9e04542e0be12c2c5d80fd51c2abd35fb6ac59f3ef7fce1c5205216876c1f67eb762d31c7df8e0f237f3957b7710148a1298502ae5
 SHA512 
375a3c7c658be6a08b9bb30963e10bb49e8e066119e0be6d3d97faac3db18b8e2c6938d8b5d3874b2f5331ec8295170112fbae83b5a3b5a5bebc0d6705bdfdbb
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef
 DIST libseccomp-2.5.0.tar.gz 638793 BLAKE2B 
c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8
 SHA512 
00ef5aeb4db8dafb546ae680b2d6d9b6aeed008df805d0f28f9dd15c074ff6ea7a5e5131ab503825b8011c59aa23046baedd5849ca040aa73352f43ab2d602ae

diff --git 
a/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch 
b/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch
deleted file mode 100644
index 9194706efa0..000
--- a/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c Mon Sep 17 00:00:00 2001
-From: Miroslav Lichvar 
-Date: Wed, 13 Nov 2019 13:36:10 +0100
-Subject: [PATCH] api: define __SNR_ppoll again
-
-Commit bf747eb21e428c2b3ead6ebcca27951b681963a0 accidentally removed the
-__SNR_ppoll definition. Add it back, using a PNR value if disabled in
-the kernel headers.
-
-Signed-off-by: Miroslav Lichvar 
-Acked-by: Tom Hromatka 
-Signed-off-by: Paul Moore 

- include/seccomp-syscalls.h | 7 +++
- 1 file changed, 7 insertions(+)
-
-diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
-index 6457592..3c958df 100644
 a/include/seccomp-syscalls.h
-+++ b/include/seccomp-syscalls.h
-@@ -272,6 +272,7 @@
- #define __PNR_timerfd_gettime64   -10238
- #define __PNR_timerfd_settime64   -10239
- #define __PNR_utimensat_time64-10240
-+#define __PNR_ppoll   -10241
- 
- /*
-  * libseccomp syscall definitions
-@@ -1359,6 +1360,12 @@
- #define __SNR_poll__PNR_poll
- #endif
- 
-+#ifdef __NR_ppoll
-+#define __SNR_ppoll   __NR_ppoll
-+#else
-+#define __SNR_ppoll   __PNR_ppoll
-+#endif
-+
- #ifdef __NR_ppoll_time64
- #define __SNR_ppoll_time64__NR_ppoll_time64
- #else

diff --git a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
deleted file mode 100644
index fc6b6775435..000
--- a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: Add python support.
-
-EAPI=7
-
-inherit multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
-IUSE="static-libs"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND=">=sys-kernel/linux-headers-4.3"
-
-PATCHES=(
-   "${FILESDIR}/${P}-missing_SNR_ppoll_defs.patch"
-)
-
-src_prepare() {
-   default
-   sed -i \
-   -e '/_LDFLAGS/s:-static::' \
-   tools/Makefile.in || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -type f -name libseccomp.la -delete || die
-   einstalldocs
-}



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

2020-07-13 Thread Sam James
commit: 9b857032242881f6aaed460f741aa9ca424ebe2c
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 12 15:55:05 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 13 16:16:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b857032

sys-libs/libseccomp: arm stable (bug #730508)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 36c4337c9d6..fb7d1492bd8 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-09 Thread Agostino Sarubbo
commit: cdefec0de88f33039aef6088edf02d857fdaf9f7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  9 08:34:32 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  9 08:34:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdefec0d

sys-libs/libseccomp: s390 stable wrt bug #730508

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 4ab43b6b46a..c21d3d11acc 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm arm64 hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 ~arm arm64 hppa ~mips ppc ppc64 s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-08 Thread Michał Górny
commit: f5cd6b04a59409be5115e7ea24407b77b03b1dd3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  8 12:22:31 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  8 12:23:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cd6b04

sys-libs/libseccomp: Stabilize 2.4.3 amd64, #730508

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

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 5cd0d9ceccb..4ab43b6b46a 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm arm64 hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 ~arm arm64 hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-06 Thread Sergei Trofimovich
commit: a7de8500618eb3547557046d47d807427a22f260
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jul  7 05:12:06 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jul  7 06:57:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7de8500

sys-libs/libseccomp: stable 2.4.3 for hppa, bug #730508

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

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 7847aee038e..5cd0d9ceccb 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* ~amd64 ~arm arm64 hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-06 Thread Mart Raudsepp
commit: dcfab522a10bf197b3f84942617bae7890a0d273
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sun Jul  5 09:34:03 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon Jul  6 11:27:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfab522

sys-libs/libseccomp: arm64 stable (bug #730508)

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

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 6f490704811..7847aee038e 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-06 Thread Sergei Trofimovich
commit: 553f5578067de784ed2595948f9856f89947c6c6
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  6 07:17:22 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 07:17:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=553f5578

sys-libs/libseccomp: stable 2.4.3 for ppc64

stable wrt bug #730508

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index cb447db815f..6f490704811 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-07-06 Thread Sergei Trofimovich
commit: 9b6fb3cea79c222b4f8c8295b6652d85ff1687d8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jul  6 06:59:20 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jul  6 07:02:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6fb3ce

sys-libs/libseccomp: stable 2.4.3 for ppc

stable wrt bug #730508

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

 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
index 5224cb3571a..cb447db815f 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2020-05-04 Thread Thomas Deutschmann
commit: 12d51435a226b774c2b791a66aed2cb696b55082
Author: Roy Yang  google  com>
AuthorDate: Sat May  2 22:16:51 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon May  4 17:35:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d51435

Fixed CPE tag for sys-libs/libseccomp

Signed-off-by: Roy Yang  google.com>
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-libs/libseccomp/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/libseccomp/metadata.xml b/sys-libs/libseccomp/metadata.xml
index b31e5b3e45a..03ce6dc6c4b 100644
--- a/sys-libs/libseccomp/metadata.xml
+++ b/sys-libs/libseccomp/metadata.xml
@@ -8,5 +8,6 @@

seccomp/libseccomp
libseccomp
+   cpe:/a:libseccomp_project:libseccomp

 



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

2020-03-07 Thread Lars Wendler
commit: e11b9fb0c149eb9b8e974e85eaa548ac53d36565
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Mar  7 15:48:00 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Mar  7 15:51:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11b9fb0

sys-libs/libseccomp: Removed old

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

 sys-libs/libseccomp/Manifest|  2 --
 sys-libs/libseccomp/libseccomp-2.4.0.ebuild | 41 -
 sys-libs/libseccomp/libseccomp-2.4.1.ebuild | 41 -
 3 files changed, 84 deletions(-)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index e43c2e6bbeb..704e44b83fe 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,4 +1,2 @@
-DIST libseccomp-2.4.0.tar.gz 604987 BLAKE2B 
2dd84f2c08d40a61dfe4fdc47a9dcdad2701e2918cdcdeae2d15a66eb114221866121bab11a8292f3bd31493b6cd7b370d0728976cb1bbfd0dbb9e32127b9045
 SHA512 
daa4a32c6c2b2f39aa9db1a4606619f9faeffcd2fca00c25ac5cf95d0405639ec21203293be7c8341317a05b18fd9f603a201544457cac91bf034a0bbd4dfc88
-DIST libseccomp-2.4.1.tar.gz 606860 BLAKE2B 
f80f11ef4e03fc9f59fdd38466e32b081e9858473266942b22a1bd1afbd480d21e9c72f9c33e197349fcd2658361f84ee1ee371f73aa5dfe19561472fec8c1ed
 SHA512 
1fe47ebb032635ba1b1cbefb505a0c103bae659844d1bf106d03e7f28b3c470726f7b0dbbe76d10ab89501630dc4f20b162c2eeefa22394eb632f803ae62ccc5
 DIST libseccomp-2.4.2.tar.gz 601014 BLAKE2B 
cff2612498a6ff3097809e9e04542e0be12c2c5d80fd51c2abd35fb6ac59f3ef7fce1c5205216876c1f67eb762d31c7df8e0f237f3957b7710148a1298502ae5
 SHA512 
375a3c7c658be6a08b9bb30963e10bb49e8e066119e0be6d3d97faac3db18b8e2c6938d8b5d3874b2f5331ec8295170112fbae83b5a3b5a5bebc0d6705bdfdbb
 DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef

diff --git a/sys-libs/libseccomp/libseccomp-2.4.0.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.0.ebuild
deleted file mode 100644
index 8914898af2d..000
--- a/sys-libs/libseccomp/libseccomp-2.4.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: Add python support.
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
-IUSE="static-libs"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND=">=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   default
-   sed -i \
-   -e '/_LDFLAGS/s:-static::' \
-   tools/Makefile.in || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name libseccomp.la -delete
-   einstalldocs
-}

diff --git a/sys-libs/libseccomp/libseccomp-2.4.1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
deleted file mode 100644
index 96b995d7b0d..000
--- a/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: Add python support.
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="high level interface to Linux seccomp filter"
-HOMEPAGE="https://github.com/seccomp/libseccomp";
-SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 
~amd64-linux ~x86-linux"
-IUSE="static-libs"
-
-# We need newer kernel headers; we don't keep strict control of the exact
-# version here, just be safe and pull in the latest stable ones. #551248
-DEPEND=">=sys-kernel/linux-headers-4.3"
-
-src_prepare() {
-   default
-   sed -i \
-   -e '/_LDFLAGS/s:-static::' \
-   tools/Makefile.in || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   $(use_enable static-libs static)
-   --disable-python
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-   find "${ED}" -name libseccomp.la -delete
-   einstalldocs
-}



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

2020-03-07 Thread Lars Wendler
commit: 443b765d2ddec8813b7386b7970bdebe91907536
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Mar  7 15:47:20 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Mar  7 15:51:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443b765d

sys-libs/libseccomp: Bump to version 2.4.3

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

 sys-libs/libseccomp/Manifest|  1 +
 sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
index 2a60b7183e1..e43c2e6bbeb 100644
--- a/sys-libs/libseccomp/Manifest
+++ b/sys-libs/libseccomp/Manifest
@@ -1,3 +1,4 @@
 DIST libseccomp-2.4.0.tar.gz 604987 BLAKE2B 
2dd84f2c08d40a61dfe4fdc47a9dcdad2701e2918cdcdeae2d15a66eb114221866121bab11a8292f3bd31493b6cd7b370d0728976cb1bbfd0dbb9e32127b9045
 SHA512 
daa4a32c6c2b2f39aa9db1a4606619f9faeffcd2fca00c25ac5cf95d0405639ec21203293be7c8341317a05b18fd9f603a201544457cac91bf034a0bbd4dfc88
 DIST libseccomp-2.4.1.tar.gz 606860 BLAKE2B 
f80f11ef4e03fc9f59fdd38466e32b081e9858473266942b22a1bd1afbd480d21e9c72f9c33e197349fcd2658361f84ee1ee371f73aa5dfe19561472fec8c1ed
 SHA512 
1fe47ebb032635ba1b1cbefb505a0c103bae659844d1bf106d03e7f28b3c470726f7b0dbbe76d10ab89501630dc4f20b162c2eeefa22394eb632f803ae62ccc5
 DIST libseccomp-2.4.2.tar.gz 601014 BLAKE2B 
cff2612498a6ff3097809e9e04542e0be12c2c5d80fd51c2abd35fb6ac59f3ef7fce1c5205216876c1f67eb762d31c7df8e0f237f3957b7710148a1298502ae5
 SHA512 
375a3c7c658be6a08b9bb30963e10bb49e8e066119e0be6d3d97faac3db18b8e2c6938d8b5d3874b2f5331ec8295170112fbae83b5a3b5a5bebc0d6705bdfdbb
+DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 
272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3
 SHA512 
7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef

diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
new file mode 100644
index 000..5224cb3571a
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# TODO: Add python support.
+
+EAPI=7
+
+inherit multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp";
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 
~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND=">=sys-kernel/linux-headers-4.3"
+
+src_prepare() {
+   default
+   sed -i \
+   -e '/_LDFLAGS/s:-static::' \
+   tools/Makefile.in || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   $(use_enable static-libs static)
+   --disable-python
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+   find "${ED}" -type f -name "${PN}.la" -delete || die
+   einstalldocs
+}



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

2020-02-02 Thread Anthony G. Basile
commit: 81db2685b66f03beb3017749ff3d1656ae05faa3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Feb  2 20:36:08 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Feb  2 20:36:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81db2685

sys-libs/libseccomp: stable on arm64

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
index 6b5169425b8..fc6b6775435 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # TODO: Add python support.
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2019-12-24 Thread Mikle Kolyada
commit: 34160ac62635f5182b63daec1870d8646d6e335d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Dec 24 14:18:48 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Dec 24 14:18:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34160ac6

sys-libs/libseccomp: arm stable wrt bug #703366

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
index 13a7890dace..6b5169425b8 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



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

2019-12-24 Thread Agostino Sarubbo
commit: 718141ca032b3271a825e7f05bf93c4c6d41928a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 24 08:07:41 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 24 08:07:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718141ca

sys-libs/libseccomp: x86 stable wrt bug #703366

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

 sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
index 7719f5a0a58..13a7890dace 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 hppa ~mips ppc ppc64 s390 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="-* amd64 ~arm ~arm64 hppa ~mips ppc ppc64 s390 x86 ~amd64-linux 
~x86-linux"
 IUSE="static-libs"
 
 # We need newer kernel headers; we don't keep strict control of the exact



  1   2   >