1 |
commit: 443b765d2ddec8813b7386b7970bdebe91907536 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 7 15:47:20 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 7 15:51:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443b765d |
7 |
|
8 |
sys-libs/libseccomp: Bump to version 2.4.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.92, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libseccomp/Manifest | 1 + |
14 |
sys-libs/libseccomp/libseccomp-2.4.3.ebuild | 41 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest |
18 |
index 2a60b7183e1..e43c2e6bbeb 100644 |
19 |
--- a/sys-libs/libseccomp/Manifest |
20 |
+++ b/sys-libs/libseccomp/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST libseccomp-2.4.0.tar.gz 604987 BLAKE2B 2dd84f2c08d40a61dfe4fdc47a9dcdad2701e2918cdcdeae2d15a66eb114221866121bab11a8292f3bd31493b6cd7b370d0728976cb1bbfd0dbb9e32127b9045 SHA512 daa4a32c6c2b2f39aa9db1a4606619f9faeffcd2fca00c25ac5cf95d0405639ec21203293be7c8341317a05b18fd9f603a201544457cac91bf034a0bbd4dfc88 |
23 |
DIST libseccomp-2.4.1.tar.gz 606860 BLAKE2B f80f11ef4e03fc9f59fdd38466e32b081e9858473266942b22a1bd1afbd480d21e9c72f9c33e197349fcd2658361f84ee1ee371f73aa5dfe19561472fec8c1ed SHA512 1fe47ebb032635ba1b1cbefb505a0c103bae659844d1bf106d03e7f28b3c470726f7b0dbbe76d10ab89501630dc4f20b162c2eeefa22394eb632f803ae62ccc5 |
24 |
DIST libseccomp-2.4.2.tar.gz 601014 BLAKE2B cff2612498a6ff3097809e9e04542e0be12c2c5d80fd51c2abd35fb6ac59f3ef7fce1c5205216876c1f67eb762d31c7df8e0f237f3957b7710148a1298502ae5 SHA512 375a3c7c658be6a08b9bb30963e10bb49e8e066119e0be6d3d97faac3db18b8e2c6938d8b5d3874b2f5331ec8295170112fbae83b5a3b5a5bebc0d6705bdfdbb |
25 |
+DIST libseccomp-2.4.3.tar.gz 598147 BLAKE2B 272c9f1ca7e4059790f633a79cae8612831aa483d28630fb85b31dc2be0192907a8897819d835b61324e0b3fb0d77b8781e2a85e9750ef8d7974d8680b8cdea3 SHA512 7b7af2e98493243ffe1934fefff5723b24ae9b9bdc4bf039343ee8456c15acb0ea34e81ec292a41143848272aeca794ef92ad38fc3f42c77465170cb540479ef |
26 |
|
27 |
diff --git a/sys-libs/libseccomp/libseccomp-2.4.3.ebuild b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5224cb3571a |
30 |
--- /dev/null |
31 |
+++ b/sys-libs/libseccomp/libseccomp-2.4.3.ebuild |
32 |
@@ -0,0 +1,41 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+# TODO: Add python support. |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit multilib-minimal |
41 |
+ |
42 |
+DESCRIPTION="high level interface to Linux seccomp filter" |
43 |
+HOMEPAGE="https://github.com/seccomp/libseccomp" |
44 |
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="static-libs" |
50 |
+ |
51 |
+# We need newer kernel headers; we don't keep strict control of the exact |
52 |
+# version here, just be safe and pull in the latest stable ones. #551248 |
53 |
+DEPEND=">=sys-kernel/linux-headers-4.3" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ sed -i \ |
58 |
+ -e '/_LDFLAGS/s:-static::' \ |
59 |
+ tools/Makefile.in || die |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ local myeconfargs=( |
64 |
+ $(use_enable static-libs static) |
65 |
+ --disable-python |
66 |
+ ) |
67 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
68 |
+} |
69 |
+ |
70 |
+multilib_src_install_all() { |
71 |
+ find "${ED}" -type f -name "${PN}.la" -delete || die |
72 |
+ einstalldocs |
73 |
+} |