1 |
commit: 43ccb98745d6eb73e08b0de1a9937f2a191c406c |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 12:00:45 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 12:00:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=43ccb987 |
7 |
|
8 |
app-misc/pax-utils: sync, not tested |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-misc/pax-utils/Manifest | 3 +- |
13 |
app-misc/pax-utils/metadata.xml | 8 ++--- |
14 |
app-misc/pax-utils/pax-utils-0.2.1.ebuild | 39 --------------------- |
15 |
app-misc/pax-utils/pax-utils-0.7.ebuild | 50 -------------------------- |
16 |
app-misc/pax-utils/pax-utils-1.1.6.ebuild | 58 +++++++++++++++++++++++++++++++ |
17 |
5 files changed, 61 insertions(+), 97 deletions(-) |
18 |
|
19 |
diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest |
20 |
index 91d2dfb..a348da4 100644 |
21 |
--- a/app-misc/pax-utils/Manifest |
22 |
+++ b/app-misc/pax-utils/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
-DIST pax-utils-0.2.1.tar.bz2 80580 SHA256 6a5beefb686e425eb6829bc716d2b32b64c2e854287c212c9853bc2beb705c3a SHA512 a8c18a4538227e0a9d34d9e6e6f4c99f50de376b876032092175a7a277d8f5982495ebb28542fddc7361b649e30528a775817749be0c13bd24244bf3c80a57dc WHIRLPOOL 4a77d3ea435a9905a93f0bfc2f1ee33fc709ef7d71e48c44b1b33277ccbd34d586f404c3f7004450612a68f7d4b9810d1cb98c1f255e9d8e0e87fa6fe157eccc |
25 |
-DIST pax-utils-0.7.tar.xz 90188 SHA256 1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84 SHA512 d99f325b1d3ffc4955bc09aedcbeabea2d87a9647da31db1518de9daa55fbe0e5dd09feedd8dbcd8c4b53825a788ae7c9b904a927abc9ae995385dfd00d44f4a WHIRLPOOL dac9bb6c4e9bbf2b374371009ec16e9bf0e7a69e33494511f99e1cf2c34f684638fa8069a9f3845b8b91edea2927f18f410b9c6e62718c376b96c11d92c84634 |
26 |
DIST pax-utils-0.8.1.tar.xz 94772 SHA256 844ff25b1a11bcef92ef34b22f576f226a772b67196818656f8874513438f5b9 SHA512 bd8ae0c35058b79a99bcbb5df234c8d4a02ccf0ebd4b06cc30cdb01bc50b7e5ba6cc5cbbf820a0d57dcdc751fd1ea81d5969a4447c4594ab170958edabe41740 WHIRLPOOL 3932cd20479ecbe3d99a6d6e5ce1fd5a5a9d9c96986eccb6cd282457a83d165f1964cfdc232c53cedc1c0dbc391b992129fd1610919cf98f0177e037fa7eed06 |
27 |
+DIST pax-utils-1.1.6.tar.xz 647308 SHA256 f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12 SHA512 c5bdb3ee076c5f4d026f811a59329014c539e3bb3ab45aec92564dcc4abcedaebc50bec55c37aeccfe9e31c554ec7789426fcb3d6f67a8d805843f32c5993f94 WHIRLPOOL 6addfc63dd821a3a0f1ebb2f0545bf81b933bed7aa4950efc51c4af3c8a9dd2263fe09c469bb371a5cb7ae239db646876548a2c21b08c1ed87dd974228eb2679 |
28 |
|
29 |
diff --git a/app-misc/pax-utils/metadata.xml b/app-misc/pax-utils/metadata.xml |
30 |
index 448899f..73cd9ce 100644 |
31 |
--- a/app-misc/pax-utils/metadata.xml |
32 |
+++ b/app-misc/pax-utils/metadata.xml |
33 |
@@ -1,16 +1,12 @@ |
34 |
<?xml version="1.0" encoding="UTF-8"?> |
35 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
<pkgmetadata> |
37 |
- <maintainer> |
38 |
- <email>solar@g.o</email> |
39 |
- <description>Maintainer</description> |
40 |
- </maintainer> |
41 |
- <maintainer> |
42 |
+ <maintainer type="person"> |
43 |
<email>vapier@g.o</email> |
44 |
<description>Maintainer</description> |
45 |
</maintainer> |
46 |
<longdescription>A suite of ELF tools to aid auditing systems. Contains various ELF related utils for ELF32, ELF64 binaries useful for displaying PaX and security info on a large groups of binary files.</longdescription> |
47 |
<use> |
48 |
- <flag name='python'>Install a more powerful/faster version of lddtree</flag> |
49 |
+ <flag name="python">Install a more powerful/faster version of lddtree</flag> |
50 |
</use> |
51 |
</pkgmetadata> |
52 |
|
53 |
diff --git a/app-misc/pax-utils/pax-utils-0.2.1.ebuild b/app-misc/pax-utils/pax-utils-0.2.1.ebuild |
54 |
deleted file mode 100644 |
55 |
index 59b3515..0000000 |
56 |
--- a/app-misc/pax-utils/pax-utils-0.2.1.ebuild |
57 |
+++ /dev/null |
58 |
@@ -1,39 +0,0 @@ |
59 |
-# Copyright 1999-2014 Gentoo Foundation |
60 |
-# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.2.1.ebuild,v 1.8 2012/02/07 16:58:10 vapier Exp $ |
62 |
- |
63 |
-inherit toolchain-funcs flag-o-matic |
64 |
- |
65 |
-DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties" |
66 |
-HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml" |
67 |
-SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.bz2 |
68 |
- http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2 |
69 |
- http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.bz2" |
70 |
-#SRC_URI="http://wh0rd.org/pax-utils-${PV}.tar.bz2" |
71 |
- |
72 |
-LICENSE="GPL-2" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="~x64-freebsd ~x86-freebsd ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
75 |
-IUSE="caps" |
76 |
-#RESTRICT="mirror" |
77 |
- |
78 |
-DEPEND="caps? ( sys-libs/libcap ) |
79 |
- ia64-hpux? ( dev-libs/gnulib ) |
80 |
-" |
81 |
- |
82 |
-src_compile() { |
83 |
- local libs |
84 |
- if [[ ${CHOST} == *-hpux* ]]; then |
85 |
- append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include |
86 |
- append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/lib |
87 |
- libs="-lgnu" |
88 |
- fi |
89 |
- # we use C99 features but don't adhere to C99 specs, so ... |
90 |
- append-flags -std=gnu99 |
91 |
- emake CC="$(tc-getCC)" LIBS="${libs}" USE_CAP=$(use caps && echo yes) || die |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- emake CC="$(tc-getCC)" DESTDIR="${D}${EPREFIX}" install || die |
96 |
- dodoc BUGS README TODO |
97 |
-} |
98 |
|
99 |
diff --git a/app-misc/pax-utils/pax-utils-0.7.ebuild b/app-misc/pax-utils/pax-utils-0.7.ebuild |
100 |
deleted file mode 100644 |
101 |
index 9b51c7e..0000000 |
102 |
--- a/app-misc/pax-utils/pax-utils-0.7.ebuild |
103 |
+++ /dev/null |
104 |
@@ -1,50 +0,0 @@ |
105 |
-# Copyright 1999-2014 Gentoo Foundation |
106 |
-# Distributed under the terms of the GNU General Public License v2 |
107 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.7.ebuild,v 1.10 2014/01/18 03:18:03 vapier Exp $ |
108 |
- |
109 |
-EAPI=4 |
110 |
- |
111 |
-inherit eutils toolchain-funcs unpacker flag-o-matic |
112 |
- |
113 |
-DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties" |
114 |
-HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml" |
115 |
-SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz |
116 |
- http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz |
117 |
- http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" |
118 |
- |
119 |
-LICENSE="GPL-2" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="~x64-freebsd ~x86-freebsd ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
122 |
-IUSE="caps python" |
123 |
-#RESTRICT="mirror" |
124 |
- |
125 |
-RDEPEND="caps? ( sys-libs/libcap ) |
126 |
- python? ( dev-python/pyelftools ) |
127 |
- ia64-hpux? ( dev-libs/gnulib )" |
128 |
-DEPEND="${RDEPEND} |
129 |
- app-arch/xz-utils" |
130 |
- |
131 |
-_emake() { |
132 |
- emake \ |
133 |
- USE_CAP=$(usex caps) \ |
134 |
- USE_PYTHON=$(usex python) \ |
135 |
- "$@" |
136 |
-} |
137 |
- |
138 |
-src_compile() { |
139 |
- local libs |
140 |
- if [[ ${CHOST} == *-hpux* ]]; then |
141 |
- append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include |
142 |
- append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/lib |
143 |
- libs="-lgnu" |
144 |
- fi |
145 |
- _emake CC="$(tc-getCC)" LIBS="${libs}" |
146 |
-} |
147 |
- |
148 |
-src_test() { |
149 |
- _emake check |
150 |
-} |
151 |
- |
152 |
-src_install() { |
153 |
- _emake CC="$(tc-getCC)" DESTDIR="${D}${EPREFIX}" PKGDOCDIR='$(DOCDIR)'/${PF} install |
154 |
-} |
155 |
|
156 |
diff --git a/app-misc/pax-utils/pax-utils-1.1.6.ebuild b/app-misc/pax-utils/pax-utils-1.1.6.ebuild |
157 |
new file mode 100644 |
158 |
index 0000000..0abd62f |
159 |
--- /dev/null |
160 |
+++ b/app-misc/pax-utils/pax-utils-1.1.6.ebuild |
161 |
@@ -0,0 +1,58 @@ |
162 |
+# Copyright 1999-2016 Gentoo Foundation |
163 |
+# Distributed under the terms of the GNU General Public License v2 |
164 |
+# $Id$ |
165 |
+ |
166 |
+EAPI="4" |
167 |
+ |
168 |
+inherit eutils toolchain-funcs unpacker |
169 |
+ |
170 |
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties" |
171 |
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities" |
172 |
+SRC_URI="mirror://gentoo/${P}.tar.xz |
173 |
+ http://dev.gentoo.org/~solar/pax/${P}.tar.xz |
174 |
+ http://dev.gentoo.org/~vapier/dist/${P}.tar.xz" |
175 |
+ |
176 |
+LICENSE="GPL-2" |
177 |
+SLOT="0" |
178 |
+KEYWORDS="~x64-freebsd ~x86-freebsd ~ia64-hpux ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
179 |
+IUSE="caps debug python seccomp" |
180 |
+ |
181 |
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) |
182 |
+ python? ( dev-python/pyelftools ) |
183 |
+ seccomp? ( sys-libs/libseccomp )" |
184 |
+DEPEND="${RDEPEND} |
185 |
+ caps? ( virtual/pkgconfig ) |
186 |
+ seccomp? ( virtual/pkgconfig ) |
187 |
+ app-arch/xz-utils" |
188 |
+ |
189 |
+_emake() { |
190 |
+ emake \ |
191 |
+ USE_CAP=$(usex caps) \ |
192 |
+ USE_DEBUG=$(usex debug) \ |
193 |
+ USE_PYTHON=$(usex python) \ |
194 |
+ USE_SECCOMP=$(usex seccomp) \ |
195 |
+ "$@" |
196 |
+} |
197 |
+ |
198 |
+src_configure() { |
199 |
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system |
200 |
+ if use prefix || ! use kernel_linux || \ |
201 |
+ has_version '<sys-libs/glibc-2.10' |
202 |
+ then |
203 |
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp) |
204 |
+ else |
205 |
+ tc-export CC PKG_CONFIG |
206 |
+ fi |
207 |
+} |
208 |
+ |
209 |
+src_compile() { |
210 |
+ _emake |
211 |
+} |
212 |
+ |
213 |
+src_test() { |
214 |
+ _emake check |
215 |
+} |
216 |
+ |
217 |
+src_install() { |
218 |
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install |
219 |
+} |