Gentoo Archives: gentoo-commits

From: Doug Goldstein <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libseccomp/
Date: Tue, 26 Apr 2016 13:40:19
Message-Id: 1461677999.c6a8a1f867f3062da4deb35d09642ec07032ddd8.cardoe@gentoo
1 commit: c6a8a1f867f3062da4deb35d09642ec07032ddd8
2 Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 13:39:59 2016 +0000
4 Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 13:39:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a8a1f8
7
8 sys-libs/libseccomp: version bump
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>
12
13 sys-libs/libseccomp/Manifest | 1 +
14 sys-libs/libseccomp/libseccomp-2.3.1.ebuild | 40 +++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
18 index c413975..5b03650 100644
19 --- a/sys-libs/libseccomp/Manifest
20 +++ b/sys-libs/libseccomp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST libseccomp-2.2.3.tar.gz 522755 SHA256 d9b400b703cab7bb04b84b9b6e52076a630b673819d7541757bcc16467b6d49e SHA512 e7bce0627c7ee107ea4780a6d2d7f24da162fdb5a85fc064c94e629918de2ee7ce7ed5ed98490f17392d9ca7ec1204945db3fea4415fae4370495b71c9edb61e WHIRLPOOL a32105a4cf3b514531e3cd7f1c703305318eceb90ef030317139fe08fe62fd14670b5ddc6f0dc8165cac23da1df89ee6efea3c366cec64102194c12ae53eac4f
23 DIST libseccomp-2.3.0.tar.gz 546948 SHA256 d756e3a77578259a808698a50c43d44612aae3339ea42ab5b15ea983f26b901d SHA512 398643af0920ff446b37a74e48f7a96ad2bec4f514e92fc6f8242b7515dcb8f5d06c2894790b22f62387c2d9b75efd54a4d5944f973239a05f06ec840f2a5a0b WHIRLPOOL 45ced8e8cc5636fdd9861408582277183daf7c6e3b35bc9f16ea16249a27f86cf82ec45c7e9f898a843b91b9c37ff5ab5b0a4a2b79ac2564e92cecaf8a39d61d
24 +DIST libseccomp-2.3.1.tar.gz 552299 SHA256 ff5bdd2168790f1979e24eaa498f8606c2f2d96f08a8dc4006a2e88affa4562b SHA512 246b30e1c513d5e1fa35a47905d99036e276c1e6483a96f3e79ddca536a8c6f641c11bf324ed10c9c8d18fa27d73667c9c72fc7459f827d2883926769ac1cb45 WHIRLPOOL 2ffb97f5f45d7cda354b6e52f6b604e4fc1fb7b6b804defeabb377c108bbcbf0099fc6f78d3104f96d37ce65e837914a0823a9a6d90812d893a7a367cf09a3b9
25
26 diff --git a/sys-libs/libseccomp/libseccomp-2.3.1.ebuild b/sys-libs/libseccomp/libseccomp-2.3.1.ebuild
27 new file mode 100644
28 index 0000000..ad6a115
29 --- /dev/null
30 +++ b/sys-libs/libseccomp/libseccomp-2.3.1.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +# TODO: Add python support.
37 +
38 +EAPI="5"
39 +
40 +inherit eutils 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 ~mips ~ppc ~ppc64 ~s390 ~x86"
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 + sed -i \
57 + -e '/_LDFLAGS/s:-static::' \
58 + tools/Makefile.in || die
59 +}
60 +
61 +multilib_src_configure() {
62 + ECONF_SOURCE=${S} \
63 + econf \
64 + $(use_enable static-libs static) \
65 + --disable-python
66 +}
67 +
68 +multilib_src_install_all() {
69 + find "${ED}" -name libseccomp.la -delete
70 + einstalldocs
71 +}