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