[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-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/

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-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-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-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: 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 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: 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 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-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/

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-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-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: 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: 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/

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: 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-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-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-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-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-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/

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-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-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-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-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/

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-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-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-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/

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/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/files/, sys-libs/libseccomp/

2019-11-18 Thread Lars Wendler
commit: e06dfa1a2fc15f638756134f0bedd61a2e4d0836
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov 18 11:51:27 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov 18 11:51:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06dfa1a

sys-libs/libseccomp: Revbump to add missing SNR ppoll definitions

Bug: https://bugs.gentoo.org/700094
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler  gentoo.org>

 .../libseccomp-2.4.2-missing_SNR_ppoll_defs.patch  | 41 ++
 ...omp-2.4.2.ebuild => libseccomp-2.4.2-r1.ebuild} |  6 +++-
 2 files changed, 46 insertions(+), 1 deletion(-)

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
new file mode 100644
index 000..9194706efa0
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch
@@ -0,0 +1,41 @@
+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.ebuild 
b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
similarity index 89%
rename from sys-libs/libseccomp/libseccomp-2.4.2.ebuild
rename to sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
index 6fc6a1ee79e..8e528f0bf02 100644
--- a/sys-libs/libseccomp/libseccomp-2.4.2.ebuild
+++ b/sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild
@@ -20,6 +20,10 @@ IUSE="static-libs"
 # 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 \
@@ -36,6 +40,6 @@ multilib_src_configure() {
 }
 
 multilib_src_install_all() {
-   find "${ED}" -type f -name libseccomp.la -delete
+   find "${ED}" -type f -name libseccomp.la -delete || die
einstalldocs
 }



[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/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/, 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/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/, 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
 )
 



<    1   2