Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/pax-utils: pax-utils-1.0.ebuild ChangeLog
Date: Mon, 02 Mar 2015 09:50:20
Message-Id: 20150302095016.B63A512DE6@oystercatcher.gentoo.org
1 vapier 15/03/02 09:50:16
2
3 Modified: ChangeLog
4 Added: pax-utils-1.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.170 app-misc/pax-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/pax-utils/ChangeLog?rev=1.170&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/pax-utils/ChangeLog?rev=1.170&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/pax-utils/ChangeLog?r1=1.169&r2=1.170
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v
20 retrieving revision 1.169
21 retrieving revision 1.170
22 diff -u -r1.169 -r1.170
23 --- ChangeLog 20 Nov 2014 01:36:28 -0000 1.169
24 +++ ChangeLog 2 Mar 2015 09:50:16 -0000 1.170
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-misc/pax-utils
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v 1.169 2014/11/20 01:36:28 vapier Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v 1.170 2015/03/02 09:50:16 vapier Exp $
31 +
32 +*pax-utils-1.0 (02 Mar 2015)
33 +
34 + 02 Mar 2015; Mike Frysinger <vapier@g.o> +pax-utils-1.0.ebuild:
35 + Version bump.
36
37 *pax-utils-0.9.2 (20 Nov 2014)
38
39
40
41
42 1.1 app-misc/pax-utils/pax-utils-1.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pax-utils-1.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild,v 1.1 2015/03/02 09:50:16 vapier Exp $
52
53 EAPI="4"
54
55 inherit eutils toolchain-funcs unpacker
56
57 DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
58 HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
59 SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
60 http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
61 http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
66 IUSE="caps python"
67
68 RDEPEND="caps? ( sys-libs/libcap )
69 python? ( dev-python/pyelftools )"
70 DEPEND="${RDEPEND}
71 app-arch/xz-utils"
72
73 _emake() {
74 emake \
75 USE_CAP=$(usex caps) \
76 USE_PYTHON=$(usex python) \
77 "$@"
78 }
79
80 src_configure() {
81 # Avoid slow configure+gnulib+make if on an up-to-date Linux system
82 if use prefix || ! use kernel_linux || \
83 has_version '<sys-libs/glibc-2.10'
84 then
85 econf $(use_with caps) $(use_with python)
86 else
87 tc-export CC
88 fi
89 }
90
91 src_compile() {
92 _emake
93 }
94
95 src_test() {
96 _emake check
97 }
98
99 src_install() {
100 _emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
101 }