summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-libs/libseccomp
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-libs/libseccomp')
-rw-r--r--sys-libs/libseccomp/Manifest6
-rw-r--r--sys-libs/libseccomp/libseccomp-0.1.0.ebuild36
-rw-r--r--sys-libs/libseccomp/libseccomp-1.0.0.ebuild38
-rw-r--r--sys-libs/libseccomp/libseccomp-1.0.1.ebuild38
-rw-r--r--sys-libs/libseccomp/libseccomp-2.1.0.ebuild41
-rw-r--r--sys-libs/libseccomp/libseccomp-2.1.1.ebuild41
-rw-r--r--sys-libs/libseccomp/libseccomp-2.2.0.ebuild39
-rw-r--r--sys-libs/libseccomp/metadata.xml13
8 files changed, 252 insertions, 0 deletions
diff --git a/sys-libs/libseccomp/Manifest b/sys-libs/libseccomp/Manifest
new file mode 100644
index 000000000000..551a5fdbc0d8
--- /dev/null
+++ b/sys-libs/libseccomp/Manifest
@@ -0,0 +1,6 @@
+DIST libseccomp-0.1.0.tar.gz 62837 SHA256 e940989c093c9c057aca4e1a878be48bdcdb027f876a8d4bdcd9a1405a3d7f6f SHA512 69bf68d561bf8e12959a517c5156e9d14a42717a409a5bed4945026fb053ceb13dbff215774a2fac460811641f3425173ee7b076c1f4cb943d8b172bd28f8c2e WHIRLPOOL 375f573953ea241dc845bea4a82cd16c4d9708cb1d739774217f7085c600e52823e0dc30e5efed01edc7cb9a4c623444af99f95d6d4218c3b9d566735645284f
+DIST libseccomp-1.0.0.tar.gz 70172 SHA256 7c35493c890af509955397ea1f5d3c1a8e84a3002a64fa8c716de395e117cc4c SHA512 e75f0e3a593ccf9efb6d0ccd2364afe3c7420dd891f6d3e94cd5edc497e3b73f7122ebf82f3aeab97d984f35d7e82c09d1f17d099e5a86a95a6e9ac0afbbd3d5 WHIRLPOOL e806fbb068dff09610cce2b93d262a14245c1bc26260a97c4e804f0ba7f5d564f3d07401d46cd715888b7650d3d653f14426bc66ed67742ef3ed522950d633ef
+DIST libseccomp-1.0.1.tar.gz 129602 SHA256 7c38fa4bcb92ec48179132e9532feee65f9dc3a00b733328a21551f028b62966 SHA512 eb67e298d3fd80d46d70629c2a159a4cd1954e97d7b8ea00138880f3b34748e215153150021c0554e2123369db61f490e0279672feb91f184f46eb4fc09ecf7e WHIRLPOOL 58d62f310e7f118eaee52f0cf6bfbf33b44469c9fbbaa76975975cd63dfa71b48647e50370f85963d7819368ac37359ac88d176e7cd6d6e93871a42c837741ad
+DIST libseccomp-2.1.0.tar.gz 216834 SHA256 b0d6e4f0984e6632a04f0cf33c6babdb011674ba15ff208e196f037e0e09905e SHA512 4096aed2d09332a954ab949e548e2b51c14c8da6f99514dcf57572bcb68dba42f0f67904159ec2b2624e34f7ee81f9904c1e79a5525300949f70d25315f63718 WHIRLPOOL dd8081567056c4e0b7dea281cb1f69d4f289925d86761d6a5f71c007c9c47d634377ab2ae2636613067f95b8a07a1199edd8aa69d058be2f3f1ece3e2b9f5dd0
+DIST libseccomp-2.1.1.tar.gz 113133 SHA256 8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c SHA512 1f2916d80a9b9937d2ab9ecf9c4f1e2a8ffc27f90f14e8481eb2f32c8122ea1756950f753f25fb571053f492cc97c8792760e0f058e7ea07ec4bb442508d1112 WHIRLPOOL 77db55f9317e27930b6fd7e83d122b1dd460849bbf9910d7619424d791b1ecd96ffbc5f741cd35e89f27cdc0ab537d5c7c9febaafbf1556c932b9774b80a8643
+DIST libseccomp-2.2.0.tar.gz 516697 SHA256 5aa8a230f8529d6ee777098550245e43d2247395fdfd5a2176e28cf7236f1b10 SHA512 c013fdfc868d19bc6703019e91f4bea9c2b7472417a9f0df4fc593fc5fdf29bf535f4b32defd738652838799483684ca18a57e32eeb4b7fb3512b07fb2a440c5 WHIRLPOOL ec1e42186d813d8cf9aea248c27e732162bd4016f06385b4d66ce573f76cb45418211f7b5c06ccb4a35a3c56ce97619827c21a3910e717e35a7c343ee4adf8dc
diff --git a/sys-libs/libseccomp/libseccomp-0.1.0.ebuild b/sys-libs/libseccomp/libseccomp-0.1.0.ebuild
new file mode 100644
index 000000000000..48dd73fe2b31
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-0.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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
+}
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..155767a03afe
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-1.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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
+ tc-export AR CC
+ export GCC=${CC}
+}
+
+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
+}
diff --git a/sys-libs/libseccomp/libseccomp-1.0.1.ebuild b/sys-libs/libseccomp/libseccomp-1.0.1.ebuild
new file mode 100644
index 000000000000..8c469cc2098f
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-1.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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
+ tc-export AR CC
+ export GCC=${CC}
+}
+
+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
+}
diff --git a/sys-libs/libseccomp/libseccomp-2.1.0.ebuild b/sys-libs/libseccomp/libseccomp-2.1.0.ebuild
new file mode 100644
index 000000000000..6c48b663a508
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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 arm x86"
+IUSE="static-libs"
+
+src_prepare() {
+ sed -i \
+ -e '/^SUBDIRS_BUILD/s:tests::' \
+ Makefile || die
+ sed -i \
+ -e '/^LDFLAGS/s|:=|+=|' \
+ {tests,tools}/Makefile || die
+ export MAKEOPTS+=" V=1"
+ tc-export AR CC
+ export GCC=${CC}
+}
+
+src_test() {
+ emake SUBDIRS_BUILD='tests'
+ cd tests
+ ./regression || die
+}
+
+src_install() {
+ default
+ use static-libs && dolib.a src/libseccomp.a
+}
diff --git a/sys-libs/libseccomp/libseccomp-2.1.1.ebuild b/sys-libs/libseccomp/libseccomp-2.1.1.ebuild
new file mode 100644
index 000000000000..dab9016ee308
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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 arm x86"
+IUSE="static-libs"
+
+src_prepare() {
+ sed -i \
+ -e '/^SUBDIRS_BUILD/s:tests::' \
+ Makefile || die
+ sed -i \
+ -e '/^LDFLAGS/s|:=|+=|' \
+ {tests,tools}/Makefile || die
+ export MAKEOPTS+=" V=1"
+ tc-export AR CC
+ export GCC=${CC}
+}
+
+src_test() {
+ emake SUBDIRS_BUILD='tests'
+ cd tests
+ ./regression || die
+}
+
+src_install() {
+ default
+ use static-libs && dolib.a src/libseccomp.a
+}
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..3e389d99a973
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND=">=sys-kernel/linux-headers-3.18"
+
+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
+}
diff --git a/sys-libs/libseccomp/metadata.xml b/sys-libs/libseccomp/metadata.xml
new file mode 100644
index 000000000000..bc9d25599e98
--- /dev/null
+++ b/sys-libs/libseccomp/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>vapier@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="tools">enable debugging tools</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">seccomp/libseccomp</remote-id>
+ </upstream>
+</pkgmetadata>