A new version of sys-libs/libseccomp has been released, version 2.1.0. The announcement can be found here: * http://marc.info/?l=linux-security-module&m=137097474216939&w=2 Reproducible: Always
Created attachment 351264 [details] Ebuild for sys-libs/libseccomp-2.1.0
Created attachment 351268 [details] Ebuild for sys-libs/libseccomp-2.1.0 Correct a typo in the install phase
Comment on attachment 351264 [details] Ebuild for sys-libs/libseccomp-2.1.0 --- libseccomp-1.0.1.ebuild 2013-01-29 15:13:59.841215683 +0100 +++ - 2013-06-17 21:56:14.811660533 +0200 @@ -1,6 +1,5 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/libseccomp-1.0.1.ebuild,v 1.3 2013/01/22 17:26:00 ago Exp $ # Note: USE=static-libs isn't great -- only PIC objects are provided. @@ -14,25 +13,22 @@ LICENSE="LGPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 x86 ~arm" 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_compile() { + emake V=1 include src + use tools && emake tools } src_test() { - emake SUBDIRS_BUILD='tools tests' + emake V=1 include src tools tests cd tests ./regression } src_install() { - default - use tools && dobin tools/{bpf_{disasm,sim},sys_{inspector,resolver}} + emake V=1 DESTDIR="${D}" + use tools && dobin tools/scmp_sys_resolver use static-libs && dolib.a src/libseccomp.a }
Comment on attachment 351268 [details] Ebuild for sys-libs/libseccomp-2.1.0 as Jeroen pointed out, we want to see diffs, not entire ebuilds. it's a pain to evaluate whole files.
--- /usr/portage/sys-libs/libseccomp/libseccomp-1.0.1.ebuild 2013-01-22 12:31:31.000000000 -0500 +++ ./libseccomp-2.1.0.ebuild 2013-06-17 15:53:53.313930493 -0400 @@ -1,6 +1,5 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libseccomp/libseccomp-1.0.1.ebuild,v 1.3 2013/01/22 17:26:00 ago Exp $ # Note: USE=static-libs isn't great -- only PIC objects are provided. @@ -14,25 +13,22 @@ LICENSE="LGPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 x86 ~arm" 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_compile() { + emake V=1 include src + use tools && emake tools } src_test() { - emake SUBDIRS_BUILD='tools tests' + emake V=1 include src tools tests cd tests ./regression } src_install() { - default - use tools && dobin tools/{bpf_{disasm,sim},sys_{inspector,resolver}} + emake V=1 DESTDIR="${D}" install + use tools && dobin tools/scmp_sys_resolver use static-libs && dolib.a src/libseccomp.a }
(In reply to Paul Moore from comment #5) you should attach diffs, not post them in comments. bugzilla mangles the output making it useless to apply (other than by hand). you shouldn't mess with the header at the top of the file. the system takes care of it automatically.
should be all set now in the tree; thanks for the report! Commit message: Version bump http://sources.gentoo.org/sys-libs/libseccomp/libseccomp-2.1.0.ebuild?rev=1.1