summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-09 17:59:44 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-09 17:59:44 +0000
commitab1bfee246b0237b11ffbabbfec459f1f64a8d70 (patch)
tree873bf65a8ca4d72d515c9f3ba067af22eb9589e1 /sys-libs/libseccomp
parentVersion bump wrt bug #543700. (diff)
downloadgentoo-2-ab1bfee246b0237b11ffbabbfec459f1f64a8d70.tar.gz
gentoo-2-ab1bfee246b0237b11ffbabbfec459f1f64a8d70.tar.bz2
gentoo-2-ab1bfee246b0237b11ffbabbfec459f1f64a8d70.zip
Version bump #546068 by Robert Sebastian Gerus.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-libs/libseccomp')
-rw-r--r--sys-libs/libseccomp/ChangeLog9
-rw-r--r--sys-libs/libseccomp/libseccomp-2.2.0.ebuild35
2 files changed, 42 insertions, 2 deletions
diff --git a/sys-libs/libseccomp/ChangeLog b/sys-libs/libseccomp/ChangeLog
index d63ba6110d0f..b670c15a95ad 100644
--- a/sys-libs/libseccomp/ChangeLog
+++ b/sys-libs/libseccomp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libseccomp
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/ChangeLog,v 1.15 2014/01/14 13:52:31 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/ChangeLog,v 1.16 2015/04/09 17:59:44 vapier Exp $
+
+*libseccomp-2.2.0 (09 Apr 2015)
+
+ 09 Apr 2015; Mike Frysinger <vapier@gentoo.org> +libseccomp-2.2.0.ebuild:
+ Version bump #546068 by Robert Sebastian Gerus.
14 Jan 2014; Agostino Sarubbo <ago@gentoo.org> libseccomp-2.1.1.ebuild:
Stable for x86, wrt bug #495966
diff --git a/sys-libs/libseccomp/libseccomp-2.2.0.ebuild b/sys-libs/libseccomp/libseccomp-2.2.0.ebuild
new file mode 100644
index 000000000000..ff871ff4640e
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/libseccomp-2.2.0.ebuild,v 1.1 2015/04/09 17:59:44 vapier Exp $
+
+# TODO: Add python support.
+
+EAPI="5"
+
+inherit eutils multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp"
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~mips ~x86"
+IUSE="static-libs"
+
+src_prepare() {
+ sed -i \
+ -e '/_LDFLAGS/s:-static::' \
+ tools/Makefile.in || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable static-libs static) \
+ --disable-python
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name libseccomp.la -delete
+}