Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libseccomp/
Date: Thu, 18 Apr 2019 15:40:39
Message-Id: 1555602031.0f73eccf9cc8ee736885669c52eceb4772a59734.floppym@gentoo
1 commit: 0f73eccf9cc8ee736885669c52eceb4772a59734
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 18 15:40:04 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 15:40:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f73eccf
7
8 sys-libs/libseccomp: bump to 2.4.1
9
10 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sys-libs/libseccomp/Manifest | 1 +
14 sys-libs/libseccomp/libseccomp-2.4.1.ebuild | 41 +++++++++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
18 index 7d314750f31..00c6fcfc168 100644
19 --- a/sys-libs/libseccomp/Manifest
20 +++ b/sys-libs/libseccomp/Manifest
21 @@ -1 +1,2 @@
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
25 diff --git a/sys-libs/libseccomp/libseccomp-2.4.1.ebuild b/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
26 new file mode 100644
27 index 00000000000..96b995d7b0d
28 --- /dev/null
29 +++ b/sys-libs/libseccomp/libseccomp-2.4.1.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +# TODO: Add python support.
35 +
36 +EAPI=6
37 +
38 +inherit multilib-minimal
39 +
40 +DESCRIPTION="high level interface to Linux seccomp filter"
41 +HOMEPAGE="https://github.com/seccomp/libseccomp"
42 +SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="static-libs"
48 +
49 +# We need newer kernel headers; we don't keep strict control of the exact
50 +# version here, just be safe and pull in the latest stable ones. #551248
51 +DEPEND=">=sys-kernel/linux-headers-4.3"
52 +
53 +src_prepare() {
54 + default
55 + sed -i \
56 + -e '/_LDFLAGS/s:-static::' \
57 + tools/Makefile.in || die
58 +}
59 +
60 +multilib_src_configure() {
61 + local myeconfargs=(
62 + $(use_enable static-libs static)
63 + --disable-python
64 + )
65 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
66 +}
67 +
68 +multilib_src_install_all() {
69 + find "${ED}" -name libseccomp.la -delete
70 + einstalldocs
71 +}