summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-10-29 20:35:42 +0000
committerMike Frysinger <vapier@gentoo.org>2012-10-29 20:35:42 +0000
commitd1bddf2712c38aef61bbe24899085ea267f68cf4 (patch)
tree40db8214e20f78d43f280ab64a3da24d9b5ad4b9 /sys-libs
parentVersion bump. (diff)
downloadgentoo-2-d1bddf2712c38aef61bbe24899085ea267f68cf4.tar.gz
gentoo-2-d1bddf2712c38aef61bbe24899085ea267f68cf4.tar.bz2
gentoo-2-d1bddf2712c38aef61bbe24899085ea267f68cf4.zip
Version bump #440166 by Doug Goldstein.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libseccomp/ChangeLog7
-rw-r--r--sys-libs/libseccomp/libseccomp-1.0.0.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/sys-libs/libseccomp/ChangeLog b/sys-libs/libseccomp/ChangeLog
index 3406d8f6d589..da5bccd9be89 100644
--- a/sys-libs/libseccomp/ChangeLog
+++ b/sys-libs/libseccomp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libseccomp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/ChangeLog,v 1.2 2012/06/11 17:50:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/ChangeLog,v 1.3 2012/10/29 20:35:42 vapier Exp $
+
+*libseccomp-1.0.0 (29 Oct 2012)
+
+ 29 Oct 2012; Mike Frysinger <vapier@gentoo.org> +libseccomp-1.0.0.ebuild:
+ Version bump #440166 by Doug Goldstein.
*libseccomp-0.1.0 (11 Jun 2012)
diff --git a/sys-libs/libseccomp/libseccomp-1.0.0.ebuild b/sys-libs/libseccomp/libseccomp-1.0.0.ebuild
new file mode 100644
index 000000000000..7add3dca284f
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-1.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/libseccomp-1.0.0.ebuild,v 1.1 2012/10/29 20:35:42 vapier Exp $
+
+# Note: USE=static-libs isn't great -- only PIC objects are provided.
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="http://sourceforge.net/projects/libseccomp/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs tools"
+
+src_prepare() {
+ sed -i \
+ -e "/^SUBDIRS_BUILD/s:=.*:= src $(usex tools tools ''):" \
+ Makefile || die
+}
+
+src_test() {
+ emake SUBDIRS_BUILD='tools tests'
+ cd tests
+ ./regression
+}
+
+src_install() {
+ default
+ use tools && dobin tools/{bpf_{disasm,sim},sys_{inspector,resolver}}
+ use static-libs && dolib.a src/libseccomp.a
+}