diff options
-rw-r--r-- | sys-libs/libseccomp/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/libseccomp/libseccomp-2.2.0.ebuild | 35 |
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 +} |