1 |
commit: f3fa3fbac475d3b8bd3486d212c52b8b8fbbcb54 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 15:04:41 2017 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 15:15:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3fa3fba |
7 |
|
8 |
sys-apps/file: Security cleanup (bug #629872) |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
sys-apps/file/Manifest | 3 -- |
13 |
sys-apps/file/file-5.29.ebuild | 110 ----------------------------------------- |
14 |
sys-apps/file/file-5.30.ebuild | 110 ----------------------------------------- |
15 |
sys-apps/file/file-5.31.ebuild | 110 ----------------------------------------- |
16 |
4 files changed, 333 deletions(-) |
17 |
|
18 |
diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest |
19 |
index cde1671755c..3074aa5ff93 100644 |
20 |
--- a/sys-apps/file/Manifest |
21 |
+++ b/sys-apps/file/Manifest |
22 |
@@ -1,4 +1 @@ |
23 |
-DIST file-5.29.tar.gz 783919 SHA256 ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462 WHIRLPOOL e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094 |
24 |
-DIST file-5.30.tar.gz 789345 SHA256 694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc WHIRLPOOL 948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde |
25 |
-DIST file-5.31.tar.gz 791572 SHA256 09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee SHA512 0d024787b5b1fdd6469627d2b4081082fa66fff7a1a84ce06a0710db1dad6b9bd395dc2b758ebc733d14b7e9d135fc2fefcb62919fb98bd140b88445bac89651 WHIRLPOOL ffe92593f895433e0ce2565b435f8fd8dabcef1dc937ef204fcbed5827bf23d2dde530a3c8309bc0e620cf28a529ee35b2bf1e1edb0d96f4377ede5e53fa1d87 |
26 |
DIST file-5.32.tar.gz 797025 SHA256 8639dc4d1b21e232285cd483604afc4a6ee810710e00e579dbe9591681722b50 SHA512 315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f WHIRLPOOL 557b1dba186f263f0c3199952e50b2a167cc9c2cf32286e87d9d2e8b31914765a659d167974ece3d8d43701a611d616847b306fcbd506333bdb153ebc07fbcc4 |
27 |
|
28 |
diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild |
29 |
deleted file mode 100644 |
30 |
index b0bd6569892..00000000000 |
31 |
--- a/sys-apps/file/file-5.29.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,110 +0,0 @@ |
34 |
-# Copyright 1999-2017 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="5" |
38 |
- |
39 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
40 |
-DISTUTILS_OPTIONAL=1 |
41 |
- |
42 |
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal |
43 |
- |
44 |
-if [[ ${PV} == "9999" ]] ; then |
45 |
- EGIT_REPO_URI="https://github.com/glensc/file.git" |
46 |
- inherit autotools git-r3 |
47 |
-else |
48 |
- SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz" |
49 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
-fi |
51 |
- |
52 |
-DESCRIPTION="identify a file's format by scanning binary data for patterns" |
53 |
-HOMEPAGE="https://www.darwinsys.com/file/" |
54 |
- |
55 |
-LICENSE="BSD-2" |
56 |
-SLOT="0" |
57 |
-IUSE="python static-libs zlib" |
58 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
59 |
- |
60 |
-DEPEND=" |
61 |
- python? ( |
62 |
- ${PYTHON_DEPS} |
63 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
- ) |
65 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
66 |
-RDEPEND="${DEPEND} |
67 |
- python? ( !dev-python/python-magic )" |
68 |
- |
69 |
-src_prepare() { |
70 |
- [[ ${PV} == "9999" ]] && eautoreconf |
71 |
- elibtoolize |
72 |
- |
73 |
- # don't let python README kill main README #60043 |
74 |
- mv python/README{,.python} |
75 |
-} |
76 |
- |
77 |
-multilib_src_configure() { |
78 |
- ECONF_SOURCE=${S} \ |
79 |
- econf \ |
80 |
- --enable-fsect-man5 \ |
81 |
- $(use_enable static-libs static) \ |
82 |
- $(use_enable zlib) |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- # when cross-compiling, we need to build up our own file |
87 |
- # because people often don't keep matching host/target |
88 |
- # file versions #362941 |
89 |
- if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then |
90 |
- mkdir -p "${WORKDIR}"/build |
91 |
- cd "${WORKDIR}"/build |
92 |
- tc-export_build_env BUILD_C{C,XX} |
93 |
- ECONF_SOURCE=${S} \ |
94 |
- ac_cv_header_zlib_h=no \ |
95 |
- ac_cv_lib_z_gzopen=no \ |
96 |
- CHOST=${CBUILD} \ |
97 |
- CFLAGS=${BUILD_CFLAGS} \ |
98 |
- CXXFLAGS=${BUILD_CXXFLAGS} \ |
99 |
- CPPFLAGS=${BUILD_CPPFLAGS} \ |
100 |
- LDFLAGS="${BUILD_LDFLAGS} -static" \ |
101 |
- CC=${BUILD_CC} \ |
102 |
- CXX=${BUILD_CXX} \ |
103 |
- econf --disable-shared |
104 |
- fi |
105 |
- |
106 |
- multilib-minimal_src_configure |
107 |
-} |
108 |
- |
109 |
-multilib_src_compile() { |
110 |
- if multilib_is_native_abi ; then |
111 |
- emake |
112 |
- else |
113 |
- cd src |
114 |
- emake magic.h #586444 |
115 |
- emake libmagic.la |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then |
121 |
- emake -C "${WORKDIR}"/build/src magic.h #586444 |
122 |
- emake -C "${WORKDIR}"/build/src file |
123 |
- PATH="${WORKDIR}/build/src:${PATH}" |
124 |
- fi |
125 |
- multilib-minimal_src_compile |
126 |
- |
127 |
- use python && cd python && distutils-r1_src_compile |
128 |
-} |
129 |
- |
130 |
-multilib_src_install() { |
131 |
- if multilib_is_native_abi ; then |
132 |
- default |
133 |
- else |
134 |
- emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} DESTDIR="${D}" |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-multilib_src_install_all() { |
139 |
- dodoc ChangeLog MAINT README |
140 |
- |
141 |
- use python && cd python && distutils-r1_src_install |
142 |
- prune_libtool_files |
143 |
-} |
144 |
|
145 |
diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild |
146 |
deleted file mode 100644 |
147 |
index 3225ac9275b..00000000000 |
148 |
--- a/sys-apps/file/file-5.30.ebuild |
149 |
+++ /dev/null |
150 |
@@ -1,110 +0,0 @@ |
151 |
-# Copyright 1999-2017 Gentoo Foundation |
152 |
-# Distributed under the terms of the GNU General Public License v2 |
153 |
- |
154 |
-EAPI="5" |
155 |
- |
156 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
157 |
-DISTUTILS_OPTIONAL=1 |
158 |
- |
159 |
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal |
160 |
- |
161 |
-if [[ ${PV} == "9999" ]] ; then |
162 |
- EGIT_REPO_URI="https://github.com/glensc/file.git" |
163 |
- inherit autotools git-r3 |
164 |
-else |
165 |
- SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz" |
166 |
- KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
167 |
-fi |
168 |
- |
169 |
-DESCRIPTION="identify a file's format by scanning binary data for patterns" |
170 |
-HOMEPAGE="https://www.darwinsys.com/file/" |
171 |
- |
172 |
-LICENSE="BSD-2" |
173 |
-SLOT="0" |
174 |
-IUSE="python static-libs zlib" |
175 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
176 |
- |
177 |
-DEPEND=" |
178 |
- python? ( |
179 |
- ${PYTHON_DEPS} |
180 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
181 |
- ) |
182 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
183 |
-RDEPEND="${DEPEND} |
184 |
- python? ( !dev-python/python-magic )" |
185 |
- |
186 |
-src_prepare() { |
187 |
- [[ ${PV} == "9999" ]] && eautoreconf |
188 |
- elibtoolize |
189 |
- |
190 |
- # don't let python README kill main README #60043 |
191 |
- mv python/README{,.python} |
192 |
-} |
193 |
- |
194 |
-multilib_src_configure() { |
195 |
- ECONF_SOURCE=${S} \ |
196 |
- econf \ |
197 |
- --enable-fsect-man5 \ |
198 |
- $(use_enable static-libs static) \ |
199 |
- $(use_enable zlib) |
200 |
-} |
201 |
- |
202 |
-src_configure() { |
203 |
- # when cross-compiling, we need to build up our own file |
204 |
- # because people often don't keep matching host/target |
205 |
- # file versions #362941 |
206 |
- if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then |
207 |
- mkdir -p "${WORKDIR}"/build |
208 |
- cd "${WORKDIR}"/build |
209 |
- tc-export_build_env BUILD_C{C,XX} |
210 |
- ECONF_SOURCE=${S} \ |
211 |
- ac_cv_header_zlib_h=no \ |
212 |
- ac_cv_lib_z_gzopen=no \ |
213 |
- CHOST=${CBUILD} \ |
214 |
- CFLAGS=${BUILD_CFLAGS} \ |
215 |
- CXXFLAGS=${BUILD_CXXFLAGS} \ |
216 |
- CPPFLAGS=${BUILD_CPPFLAGS} \ |
217 |
- LDFLAGS="${BUILD_LDFLAGS} -static" \ |
218 |
- CC=${BUILD_CC} \ |
219 |
- CXX=${BUILD_CXX} \ |
220 |
- econf --disable-shared |
221 |
- fi |
222 |
- |
223 |
- multilib-minimal_src_configure |
224 |
-} |
225 |
- |
226 |
-multilib_src_compile() { |
227 |
- if multilib_is_native_abi ; then |
228 |
- emake |
229 |
- else |
230 |
- cd src |
231 |
- emake magic.h #586444 |
232 |
- emake libmagic.la |
233 |
- fi |
234 |
-} |
235 |
- |
236 |
-src_compile() { |
237 |
- if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then |
238 |
- emake -C "${WORKDIR}"/build/src magic.h #586444 |
239 |
- emake -C "${WORKDIR}"/build/src file |
240 |
- PATH="${WORKDIR}/build/src:${PATH}" |
241 |
- fi |
242 |
- multilib-minimal_src_compile |
243 |
- |
244 |
- use python && cd python && distutils-r1_src_compile |
245 |
-} |
246 |
- |
247 |
-multilib_src_install() { |
248 |
- if multilib_is_native_abi ; then |
249 |
- default |
250 |
- else |
251 |
- emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} DESTDIR="${D}" |
252 |
- fi |
253 |
-} |
254 |
- |
255 |
-multilib_src_install_all() { |
256 |
- dodoc ChangeLog MAINT README |
257 |
- |
258 |
- use python && cd python && distutils-r1_src_install |
259 |
- prune_libtool_files |
260 |
-} |
261 |
|
262 |
diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild |
263 |
deleted file mode 100644 |
264 |
index b606011e5f3..00000000000 |
265 |
--- a/sys-apps/file/file-5.31.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,110 +0,0 @@ |
268 |
-# Copyright 1999-2017 Gentoo Foundation |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
- |
271 |
-EAPI="5" |
272 |
- |
273 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
274 |
-DISTUTILS_OPTIONAL=1 |
275 |
- |
276 |
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal |
277 |
- |
278 |
-if [[ ${PV} == "9999" ]] ; then |
279 |
- EGIT_REPO_URI="https://github.com/glensc/file.git" |
280 |
- inherit autotools git-r3 |
281 |
-else |
282 |
- SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz" |
283 |
- KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
284 |
-fi |
285 |
- |
286 |
-DESCRIPTION="identify a file's format by scanning binary data for patterns" |
287 |
-HOMEPAGE="https://www.darwinsys.com/file/" |
288 |
- |
289 |
-LICENSE="BSD-2" |
290 |
-SLOT="0" |
291 |
-IUSE="python static-libs zlib" |
292 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
293 |
- |
294 |
-DEPEND=" |
295 |
- python? ( |
296 |
- ${PYTHON_DEPS} |
297 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
298 |
- ) |
299 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
300 |
-RDEPEND="${DEPEND} |
301 |
- python? ( !dev-python/python-magic )" |
302 |
- |
303 |
-src_prepare() { |
304 |
- [[ ${PV} == "9999" ]] && eautoreconf |
305 |
- elibtoolize |
306 |
- |
307 |
- # don't let python README kill main README #60043 |
308 |
- mv python/README{,.python} |
309 |
-} |
310 |
- |
311 |
-multilib_src_configure() { |
312 |
- ECONF_SOURCE=${S} \ |
313 |
- econf \ |
314 |
- --enable-fsect-man5 \ |
315 |
- $(use_enable static-libs static) \ |
316 |
- $(use_enable zlib) |
317 |
-} |
318 |
- |
319 |
-src_configure() { |
320 |
- # when cross-compiling, we need to build up our own file |
321 |
- # because people often don't keep matching host/target |
322 |
- # file versions #362941 |
323 |
- if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then |
324 |
- mkdir -p "${WORKDIR}"/build |
325 |
- cd "${WORKDIR}"/build |
326 |
- tc-export_build_env BUILD_C{C,XX} |
327 |
- ECONF_SOURCE=${S} \ |
328 |
- ac_cv_header_zlib_h=no \ |
329 |
- ac_cv_lib_z_gzopen=no \ |
330 |
- CHOST=${CBUILD} \ |
331 |
- CFLAGS=${BUILD_CFLAGS} \ |
332 |
- CXXFLAGS=${BUILD_CXXFLAGS} \ |
333 |
- CPPFLAGS=${BUILD_CPPFLAGS} \ |
334 |
- LDFLAGS="${BUILD_LDFLAGS} -static" \ |
335 |
- CC=${BUILD_CC} \ |
336 |
- CXX=${BUILD_CXX} \ |
337 |
- econf --disable-shared |
338 |
- fi |
339 |
- |
340 |
- multilib-minimal_src_configure |
341 |
-} |
342 |
- |
343 |
-multilib_src_compile() { |
344 |
- if multilib_is_native_abi ; then |
345 |
- emake |
346 |
- else |
347 |
- cd src |
348 |
- emake magic.h #586444 |
349 |
- emake libmagic.la |
350 |
- fi |
351 |
-} |
352 |
- |
353 |
-src_compile() { |
354 |
- if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then |
355 |
- emake -C "${WORKDIR}"/build/src magic.h #586444 |
356 |
- emake -C "${WORKDIR}"/build/src file |
357 |
- PATH="${WORKDIR}/build/src:${PATH}" |
358 |
- fi |
359 |
- multilib-minimal_src_compile |
360 |
- |
361 |
- use python && cd python && distutils-r1_src_compile |
362 |
-} |
363 |
- |
364 |
-multilib_src_install() { |
365 |
- if multilib_is_native_abi ; then |
366 |
- default |
367 |
- else |
368 |
- emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} DESTDIR="${D}" |
369 |
- fi |
370 |
-} |
371 |
- |
372 |
-multilib_src_install_all() { |
373 |
- dodoc ChangeLog MAINT README |
374 |
- |
375 |
- use python && cd python && distutils-r1_src_install |
376 |
- prune_libtool_files |
377 |
-} |