diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-21 10:32:15 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-21 10:32:23 +0200 |
commit | e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e (patch) | |
tree | 20d58227bda58cb04074df2b971aa609404a9269 /sys-libs/libseccomp | |
parent | sys-libs/libseccomp: Bump to version 2.5.0 (diff) | |
download | gentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.tar.gz gentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.tar.bz2 gentoo-e2e6d6b3716f84594d7a2dd91893cc4fe5fee04e.zip |
sys-libs/libseccomp: Removed old
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/libseccomp')
-rw-r--r-- | sys-libs/libseccomp/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libseccomp/files/libseccomp-2.4.2-missing_SNR_ppoll_defs.patch | 41 | ||||
-rw-r--r-- | sys-libs/libseccomp/libseccomp-2.4.2-r1.ebuild | 45 |
3 files changed, 0 insertions, 87 deletions
diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest index 59fe83103810..3daeec58da15 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 9194706efa06..000000000000 --- 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 <mlichvar@redhat.com> -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 <mlichvar@redhat.com> -Acked-by: Tom Hromatka <tom.hromatka@oracle.com> -Signed-off-by: Paul Moore <paul@paul-moore.com> ---- - 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 fc6b67754358..000000000000 --- 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 -} |