Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473626 - sys-libs/libseccomp-2.1.0 version bump
Summary: sys-libs/libseccomp-2.1.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-06-17 19:35 UTC by Paul Moore
Modified: 2013-06-18 03:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for sys-libs/libseccomp-2.1.0 (libseccomp-2.1.0.ebuild,723 bytes, text/plain)
2013-06-17 19:35 UTC, Paul Moore
Details
Ebuild for sys-libs/libseccomp-2.1.0 (libseccomp-2.1.0.ebuild,731 bytes, text/plain)
2013-06-17 19:56 UTC, Paul Moore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Moore 2013-06-17 19:35:00 UTC
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
Comment 1 Paul Moore 2013-06-17 19:35:46 UTC
Created attachment 351264 [details]
Ebuild for sys-libs/libseccomp-2.1.0
Comment 2 Paul Moore 2013-06-17 19:56:04 UTC
Created attachment 351268 [details]
Ebuild for sys-libs/libseccomp-2.1.0

Correct a typo in the install phase
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-17 19:56:34 UTC
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 4 SpanKY gentoo-dev 2013-06-17 20:40:49 UTC
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.
Comment 5 Paul Moore 2013-06-17 21:07:05 UTC
--- /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
 }
Comment 6 SpanKY gentoo-dev 2013-06-18 03:28:22 UTC
(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.
Comment 7 SpanKY gentoo-dev 2013-06-18 03:58:40 UTC
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