Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libseccomp/
Date: Mon, 29 Feb 2016 18:54:11
Message-Id: 1456772040.79cb0b215d267282668681269847a8d4ed80da4b.vapier@gentoo
1 commit: 79cb0b215d267282668681269847a8d4ed80da4b
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 29 18:48:33 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 29 18:54:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cb0b21
7
8 sys-libs/libseccomp: version bump to 2.3.0
9
10 sys-libs/libseccomp/Manifest | 1 +
11 sys-libs/libseccomp/libseccomp-2.3.0.ebuild | 40 +++++++++++++++++++++++++++++
12 2 files changed, 41 insertions(+)
13
14 diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
15 index 61e0dde..708b42d 100644
16 --- a/sys-libs/libseccomp/Manifest
17 +++ b/sys-libs/libseccomp/Manifest
18 @@ -1,3 +1,4 @@
19 DIST libseccomp-2.1.1.tar.gz 113133 SHA256 8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c SHA512 1f2916d80a9b9937d2ab9ecf9c4f1e2a8ffc27f90f14e8481eb2f32c8122ea1756950f753f25fb571053f492cc97c8792760e0f058e7ea07ec4bb442508d1112 WHIRLPOOL 77db55f9317e27930b6fd7e83d122b1dd460849bbf9910d7619424d791b1ecd96ffbc5f741cd35e89f27cdc0ab537d5c7c9febaafbf1556c932b9774b80a8643
20 DIST libseccomp-2.2.0.tar.gz 516697 SHA256 5aa8a230f8529d6ee777098550245e43d2247395fdfd5a2176e28cf7236f1b10 SHA512 c013fdfc868d19bc6703019e91f4bea9c2b7472417a9f0df4fc593fc5fdf29bf535f4b32defd738652838799483684ca18a57e32eeb4b7fb3512b07fb2a440c5 WHIRLPOOL ec1e42186d813d8cf9aea248c27e732162bd4016f06385b4d66ce573f76cb45418211f7b5c06ccb4a35a3c56ce97619827c21a3910e717e35a7c343ee4adf8dc
21 DIST libseccomp-2.2.3.tar.gz 522755 SHA256 d9b400b703cab7bb04b84b9b6e52076a630b673819d7541757bcc16467b6d49e SHA512 e7bce0627c7ee107ea4780a6d2d7f24da162fdb5a85fc064c94e629918de2ee7ce7ed5ed98490f17392d9ca7ec1204945db3fea4415fae4370495b71c9edb61e WHIRLPOOL a32105a4cf3b514531e3cd7f1c703305318eceb90ef030317139fe08fe62fd14670b5ddc6f0dc8165cac23da1df89ee6efea3c366cec64102194c12ae53eac4f
22 +DIST libseccomp-2.3.0.tar.gz 546948 SHA256 d756e3a77578259a808698a50c43d44612aae3339ea42ab5b15ea983f26b901d SHA512 398643af0920ff446b37a74e48f7a96ad2bec4f514e92fc6f8242b7515dcb8f5d06c2894790b22f62387c2d9b75efd54a4d5944f973239a05f06ec840f2a5a0b WHIRLPOOL 45ced8e8cc5636fdd9861408582277183daf7c6e3b35bc9f16ea16249a27f86cf82ec45c7e9f898a843b91b9c37ff5ab5b0a4a2b79ac2564e92cecaf8a39d61d
23
24 diff --git a/sys-libs/libseccomp/libseccomp-2.3.0.ebuild b/sys-libs/libseccomp/libseccomp-2.3.0.ebuild
25 new file mode 100644
26 index 0000000..ad6a115
27 --- /dev/null
28 +++ b/sys-libs/libseccomp/libseccomp-2.3.0.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +# TODO: Add python support.
35 +
36 +EAPI="5"
37 +
38 +inherit eutils 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 ~mips ~ppc ~ppc64 ~s390 ~x86"
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 + sed -i \
55 + -e '/_LDFLAGS/s:-static::' \
56 + tools/Makefile.in || die
57 +}
58 +
59 +multilib_src_configure() {
60 + ECONF_SOURCE=${S} \
61 + econf \
62 + $(use_enable static-libs static) \
63 + --disable-python
64 +}
65 +
66 +multilib_src_install_all() {
67 + find "${ED}" -name libseccomp.la -delete
68 + einstalldocs
69 +}