Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/riscv:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/
Date: Fri, 11 Sep 2020 16:15:03
Message-Id: 1599840802.84864034a3b40fe885f9b0fd0d945afa0271e7f7.dilfridge@gentoo
1 commit: 84864034a3b40fe885f9b0fd0d945afa0271e7f7
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 11 16:13:22 2020 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 11 16:13:22 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=84864034
7
8 sys-apps/sandbox: remove copy
9
10 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
11
12 sys-apps/sandbox/Manifest | 7 ----
13 sys-apps/sandbox/files/09sandbox | 1 -
14 sys-apps/sandbox/metadata.xml | 8 ----
15 sys-apps/sandbox/sandbox-2.12.ebuild | 76 ------------------------------------
16 sys-apps/sandbox/sandbox-2.13.ebuild | 76 ------------------------------------
17 sys-apps/sandbox/sandbox-2.14.ebuild | 76 ------------------------------------
18 sys-apps/sandbox/sandbox-2.15.ebuild | 76 ------------------------------------
19 sys-apps/sandbox/sandbox-2.17.ebuild | 72 ----------------------------------
20 sys-apps/sandbox/sandbox-2.18.ebuild | 74 -----------------------------------
21 sys-apps/sandbox/sandbox-2.20.ebuild | 74 -----------------------------------
22 10 files changed, 540 deletions(-)
23
24 diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
25 deleted file mode 100644
26 index f724c70..0000000
27 --- a/sys-apps/sandbox/Manifest
28 +++ /dev/null
29 @@ -1,7 +0,0 @@
30 -DIST sandbox-2.12.tar.xz 424252 BLAKE2B 55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7 SHA512 98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
31 -DIST sandbox-2.13.tar.xz 424968 BLAKE2B efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712 SHA512 46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
32 -DIST sandbox-2.14.tar.xz 426992 BLAKE2B a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb SHA512 b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
33 -DIST sandbox-2.15.tar.xz 426948 BLAKE2B e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc SHA512 7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
34 -DIST sandbox-2.17.tar.xz 431700 BLAKE2B 461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf SHA512 b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
35 -DIST sandbox-2.18.tar.xz 427760 BLAKE2B 26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620 SHA512 1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
36 -DIST sandbox-2.20.tar.xz 428400 BLAKE2B 11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615 SHA512 06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208
37
38 diff --git a/sys-apps/sandbox/files/09sandbox b/sys-apps/sandbox/files/09sandbox
39 deleted file mode 100644
40 index 9181eb0..0000000
41 --- a/sys-apps/sandbox/files/09sandbox
42 +++ /dev/null
43 @@ -1 +0,0 @@
44 -CONFIG_PROTECT_MASK="/etc/sandbox.d"
45
46 diff --git a/sys-apps/sandbox/metadata.xml b/sys-apps/sandbox/metadata.xml
47 deleted file mode 100644
48 index 1cdc968..0000000
49 --- a/sys-apps/sandbox/metadata.xml
50 +++ /dev/null
51 @@ -1,8 +0,0 @@
52 -<?xml version="1.0" encoding="UTF-8"?>
53 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
54 -<pkgmetadata>
55 -<maintainer type="project">
56 - <email>sandbox@g.o</email>
57 - <name>Sandbox Maintainers</name>
58 -</maintainer>
59 -</pkgmetadata>
60
61 diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild b/sys-apps/sandbox/sandbox-2.12.ebuild
62 deleted file mode 100644
63 index 2f83340..0000000
64 --- a/sys-apps/sandbox/sandbox-2.12.ebuild
65 +++ /dev/null
66 @@ -1,76 +0,0 @@
67 -# Copyright 1999-2020 Gentoo Authors
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI="6"
71 -
72 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
73 -
74 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
75 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
76 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
77 -
78 -LICENSE="GPL-2"
79 -SLOT="0"
80 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
81 -IUSE=""
82 -
83 -DEPEND="app-arch/xz-utils
84 - >=app-misc/pax-utils-0.1.19" #265376
85 -RDEPEND=""
86 -
87 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
88 -
89 -sandbox_death_notice() {
90 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
91 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
92 -}
93 -
94 -multilib_src_configure() {
95 - filter-lfs-flags #90228
96 -
97 - local myconf=()
98 - host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
99 -
100 - ECONF_SOURCE="${S}" \
101 - econf "${myconf[@]}"
102 -}
103 -
104 -multilib_src_test() {
105 - # Default sandbox build will run with --jobs set to # cpus.
106 - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
107 -}
108 -
109 -multilib_src_install_all() {
110 - doenvd "${FILESDIR}"/09sandbox
111 -
112 - keepdir /var/log/sandbox
113 - fowners root:portage /var/log/sandbox
114 - fperms 0770 /var/log/sandbox
115 -
116 - dodoc AUTHORS ChangeLog* NEWS README
117 -}
118 -
119 -pkg_preinst() {
120 - chown root:portage "${ED}"/var/log/sandbox
121 - chmod 0770 "${ED}"/var/log/sandbox
122 -
123 - local v
124 - for v in ${REPLACING_VERSIONS}; do
125 - if [[ ${v} == 1.* ]] ; then
126 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
127 - if [[ -n ${old} ]] ; then
128 - elog "Removing old sandbox libraries for you:"
129 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
130 - fi
131 - fi
132 - done
133 -}
134 -
135 -pkg_postinst() {
136 - local v
137 - for v in ${REPLACING_VERSIONS}; do
138 - if [[ ${v} == 1.* ]] ; then
139 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
140 - fi
141 - done
142 -}
143
144 diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild b/sys-apps/sandbox/sandbox-2.13.ebuild
145 deleted file mode 100644
146 index 412c070..0000000
147 --- a/sys-apps/sandbox/sandbox-2.13.ebuild
148 +++ /dev/null
149 @@ -1,76 +0,0 @@
150 -# Copyright 1999-2020 Gentoo Authors
151 -# Distributed under the terms of the GNU General Public License v2
152 -
153 -EAPI="6"
154 -
155 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
156 -
157 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
158 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
159 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
160 -
161 -LICENSE="GPL-2"
162 -SLOT="0"
163 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
164 -IUSE=""
165 -
166 -DEPEND="app-arch/xz-utils
167 - >=app-misc/pax-utils-0.1.19" #265376
168 -RDEPEND=""
169 -
170 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
171 -
172 -sandbox_death_notice() {
173 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
174 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
175 -}
176 -
177 -multilib_src_configure() {
178 - filter-lfs-flags #90228
179 -
180 - local myconf=()
181 - host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
182 -
183 - ECONF_SOURCE="${S}" \
184 - econf "${myconf[@]}"
185 -}
186 -
187 -multilib_src_test() {
188 - # Default sandbox build will run with --jobs set to # cpus.
189 - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
190 -}
191 -
192 -multilib_src_install_all() {
193 - doenvd "${FILESDIR}"/09sandbox
194 -
195 - keepdir /var/log/sandbox
196 - fowners root:portage /var/log/sandbox
197 - fperms 0770 /var/log/sandbox
198 -
199 - dodoc AUTHORS ChangeLog* NEWS README
200 -}
201 -
202 -pkg_preinst() {
203 - chown root:portage "${ED}"/var/log/sandbox
204 - chmod 0770 "${ED}"/var/log/sandbox
205 -
206 - local v
207 - for v in ${REPLACING_VERSIONS}; do
208 - if [[ ${v} == 1.* ]] ; then
209 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
210 - if [[ -n ${old} ]] ; then
211 - elog "Removing old sandbox libraries for you:"
212 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
213 - fi
214 - fi
215 - done
216 -}
217 -
218 -pkg_postinst() {
219 - local v
220 - for v in ${REPLACING_VERSIONS}; do
221 - if [[ ${v} == 1.* ]] ; then
222 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
223 - fi
224 - done
225 -}
226
227 diff --git a/sys-apps/sandbox/sandbox-2.14.ebuild b/sys-apps/sandbox/sandbox-2.14.ebuild
228 deleted file mode 100644
229 index fbb175e..0000000
230 --- a/sys-apps/sandbox/sandbox-2.14.ebuild
231 +++ /dev/null
232 @@ -1,76 +0,0 @@
233 -# Copyright 1999-2020 Gentoo Authors
234 -# Distributed under the terms of the GNU General Public License v2
235 -
236 -EAPI="6"
237 -
238 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
239 -
240 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
241 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
242 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
243 -
244 -LICENSE="GPL-2"
245 -SLOT="0"
246 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
247 -IUSE=""
248 -
249 -DEPEND="app-arch/xz-utils
250 - >=app-misc/pax-utils-0.1.19" #265376
251 -RDEPEND=""
252 -
253 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
254 -
255 -sandbox_death_notice() {
256 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
257 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
258 -}
259 -
260 -multilib_src_configure() {
261 - filter-lfs-flags #90228
262 -
263 - local myconf=()
264 - host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
265 -
266 - ECONF_SOURCE="${S}" \
267 - econf "${myconf[@]}"
268 -}
269 -
270 -multilib_src_test() {
271 - # Default sandbox build will run with --jobs set to # cpus.
272 - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
273 -}
274 -
275 -multilib_src_install_all() {
276 - doenvd "${FILESDIR}"/09sandbox
277 -
278 - keepdir /var/log/sandbox
279 - fowners root:portage /var/log/sandbox
280 - fperms 0770 /var/log/sandbox
281 -
282 - dodoc AUTHORS ChangeLog* NEWS README
283 -}
284 -
285 -pkg_preinst() {
286 - chown root:portage "${ED}"/var/log/sandbox
287 - chmod 0770 "${ED}"/var/log/sandbox
288 -
289 - local v
290 - for v in ${REPLACING_VERSIONS}; do
291 - if [[ ${v} == 1.* ]] ; then
292 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
293 - if [[ -n ${old} ]] ; then
294 - elog "Removing old sandbox libraries for you:"
295 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
296 - fi
297 - fi
298 - done
299 -}
300 -
301 -pkg_postinst() {
302 - local v
303 - for v in ${REPLACING_VERSIONS}; do
304 - if [[ ${v} == 1.* ]] ; then
305 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
306 - fi
307 - done
308 -}
309
310 diff --git a/sys-apps/sandbox/sandbox-2.15.ebuild b/sys-apps/sandbox/sandbox-2.15.ebuild
311 deleted file mode 100644
312 index fbb175e..0000000
313 --- a/sys-apps/sandbox/sandbox-2.15.ebuild
314 +++ /dev/null
315 @@ -1,76 +0,0 @@
316 -# Copyright 1999-2020 Gentoo Authors
317 -# Distributed under the terms of the GNU General Public License v2
318 -
319 -EAPI="6"
320 -
321 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
322 -
323 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
324 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
325 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
326 -
327 -LICENSE="GPL-2"
328 -SLOT="0"
329 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
330 -IUSE=""
331 -
332 -DEPEND="app-arch/xz-utils
333 - >=app-misc/pax-utils-0.1.19" #265376
334 -RDEPEND=""
335 -
336 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
337 -
338 -sandbox_death_notice() {
339 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
340 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
341 -}
342 -
343 -multilib_src_configure() {
344 - filter-lfs-flags #90228
345 -
346 - local myconf=()
347 - host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092
348 -
349 - ECONF_SOURCE="${S}" \
350 - econf "${myconf[@]}"
351 -}
352 -
353 -multilib_src_test() {
354 - # Default sandbox build will run with --jobs set to # cpus.
355 - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
356 -}
357 -
358 -multilib_src_install_all() {
359 - doenvd "${FILESDIR}"/09sandbox
360 -
361 - keepdir /var/log/sandbox
362 - fowners root:portage /var/log/sandbox
363 - fperms 0770 /var/log/sandbox
364 -
365 - dodoc AUTHORS ChangeLog* NEWS README
366 -}
367 -
368 -pkg_preinst() {
369 - chown root:portage "${ED}"/var/log/sandbox
370 - chmod 0770 "${ED}"/var/log/sandbox
371 -
372 - local v
373 - for v in ${REPLACING_VERSIONS}; do
374 - if [[ ${v} == 1.* ]] ; then
375 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
376 - if [[ -n ${old} ]] ; then
377 - elog "Removing old sandbox libraries for you:"
378 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
379 - fi
380 - fi
381 - done
382 -}
383 -
384 -pkg_postinst() {
385 - local v
386 - for v in ${REPLACING_VERSIONS}; do
387 - if [[ ${v} == 1.* ]] ; then
388 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
389 - fi
390 - done
391 -}
392
393 diff --git a/sys-apps/sandbox/sandbox-2.17.ebuild b/sys-apps/sandbox/sandbox-2.17.ebuild
394 deleted file mode 100644
395 index 4374f13..0000000
396 --- a/sys-apps/sandbox/sandbox-2.17.ebuild
397 +++ /dev/null
398 @@ -1,72 +0,0 @@
399 -# Copyright 1999-2020 Gentoo Authors
400 -# Distributed under the terms of the GNU General Public License v2
401 -
402 -EAPI="6"
403 -
404 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
405 -
406 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
407 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
408 -SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
409 -
410 -LICENSE="GPL-2"
411 -SLOT="0"
412 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
413 -IUSE=""
414 -
415 -DEPEND="app-arch/xz-utils
416 - >=app-misc/pax-utils-0.1.19" #265376
417 -RDEPEND=""
418 -
419 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
420 -
421 -sandbox_death_notice() {
422 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
423 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
424 -}
425 -
426 -multilib_src_configure() {
427 - filter-lfs-flags #90228
428 -
429 - ECONF_SOURCE="${S}" econf
430 -}
431 -
432 -multilib_src_test() {
433 - # Default sandbox build will run with --jobs set to # cpus.
434 - emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
435 -}
436 -
437 -multilib_src_install_all() {
438 - doenvd "${FILESDIR}"/09sandbox
439 -
440 - keepdir /var/log/sandbox
441 - fowners root:portage /var/log/sandbox
442 - fperms 0770 /var/log/sandbox
443 -
444 - dodoc AUTHORS ChangeLog* NEWS README
445 -}
446 -
447 -pkg_preinst() {
448 - chown root:portage "${ED}"/var/log/sandbox
449 - chmod 0770 "${ED}"/var/log/sandbox
450 -
451 - local v
452 - for v in ${REPLACING_VERSIONS}; do
453 - if [[ ${v} == 1.* ]] ; then
454 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
455 - if [[ -n ${old} ]] ; then
456 - elog "Removing old sandbox libraries for you:"
457 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
458 - fi
459 - fi
460 - done
461 -}
462 -
463 -pkg_postinst() {
464 - local v
465 - for v in ${REPLACING_VERSIONS}; do
466 - if [[ ${v} == 1.* ]] ; then
467 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
468 - fi
469 - done
470 -}
471
472 diff --git a/sys-apps/sandbox/sandbox-2.18.ebuild b/sys-apps/sandbox/sandbox-2.18.ebuild
473 deleted file mode 100644
474 index b89397c..0000000
475 --- a/sys-apps/sandbox/sandbox-2.18.ebuild
476 +++ /dev/null
477 @@ -1,74 +0,0 @@
478 -# Copyright 1999-2020 Gentoo Authors
479 -# Distributed under the terms of the GNU General Public License v2
480 -
481 -EAPI=7
482 -
483 -inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
484 -
485 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
486 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
487 -SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
488 -
489 -LICENSE="GPL-2"
490 -SLOT="0"
491 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
492 -IUSE=""
493 -
494 -DEPEND="app-arch/xz-utils
495 - >=app-misc/pax-utils-0.1.19" #265376
496 -RDEPEND=""
497 -
498 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
499 -
500 -sandbox_death_notice() {
501 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
502 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
503 -}
504 -
505 -multilib_src_configure() {
506 - filter-lfs-flags #90228
507 -
508 - ECONF_SOURCE="${S}" econf
509 -}
510 -
511 -multilib_src_test() {
512 - # Default sandbox build will run with --jobs set to # cpus.
513 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
514 -}
515 -
516 -multilib_src_install_all() {
517 - doenvd "${FILESDIR}"/09sandbox
518 -
519 - keepdir /var/log/sandbox
520 - fowners root:portage /var/log/sandbox
521 - fperms 0770 /var/log/sandbox
522 -
523 - dodoc AUTHORS ChangeLog* NEWS README
524 -}
525 -
526 -pkg_preinst() {
527 - chown root:portage "${ED}"/var/log/sandbox
528 - chmod 0770 "${ED}"/var/log/sandbox
529 -
530 - local v
531 - for v in ${REPLACING_VERSIONS}; do
532 - # 1.x was removed from ::gentoo in 2016
533 - if [[ ${v} == 1.* ]] ; then
534 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
535 - if [[ -n ${old} ]] ; then
536 - elog "Removing old sandbox libraries for you:"
537 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
538 - fi
539 - fi
540 - done
541 -}
542 -
543 -pkg_postinst() {
544 - local v
545 - for v in ${REPLACING_VERSIONS}; do
546 - # 1.x was removed from ::gentoo in 2016
547 - if [[ ${v} == 1.* ]] ; then
548 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
549 - fi
550 - done
551 -}
552
553 diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild b/sys-apps/sandbox/sandbox-2.20.ebuild
554 deleted file mode 100644
555 index ce7ae03..0000000
556 --- a/sys-apps/sandbox/sandbox-2.20.ebuild
557 +++ /dev/null
558 @@ -1,74 +0,0 @@
559 -# Copyright 1999-2020 Gentoo Authors
560 -# Distributed under the terms of the GNU General Public License v2
561 -
562 -EAPI=7
563 -
564 -inherit flag-o-matic multilib-minimal multiprocessing
565 -
566 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
567 -HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
568 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
569 -
570 -LICENSE="GPL-2"
571 -SLOT="0"
572 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
573 -IUSE=""
574 -
575 -DEPEND="app-arch/xz-utils
576 - >=app-misc/pax-utils-0.1.19" #265376
577 -RDEPEND=""
578 -
579 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
580 -
581 -sandbox_death_notice() {
582 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
583 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
584 -}
585 -
586 -multilib_src_configure() {
587 - filter-lfs-flags #90228
588 -
589 - ECONF_SOURCE="${S}" econf
590 -}
591 -
592 -multilib_src_test() {
593 - # Default sandbox build will run with --jobs set to # cpus.
594 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
595 -}
596 -
597 -multilib_src_install_all() {
598 - doenvd "${FILESDIR}"/09sandbox
599 -
600 - keepdir /var/log/sandbox
601 - fowners root:portage /var/log/sandbox
602 - fperms 0770 /var/log/sandbox
603 -
604 - dodoc AUTHORS ChangeLog* NEWS README
605 -}
606 -
607 -pkg_preinst() {
608 - chown root:portage "${ED}"/var/log/sandbox
609 - chmod 0770 "${ED}"/var/log/sandbox
610 -
611 - local v
612 - for v in ${REPLACING_VERSIONS}; do
613 - # 1.x was removed from ::gentoo in 2016
614 - if [[ ${v} == 1.* ]] ; then
615 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
616 - if [[ -n ${old} ]] ; then
617 - elog "Removing old sandbox libraries for you:"
618 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
619 - fi
620 - fi
621 - done
622 -}
623 -
624 -pkg_postinst() {
625 - local v
626 - for v in ${REPLACING_VERSIONS}; do
627 - # 1.x was removed from ::gentoo in 2016
628 - if [[ ${v} == 1.* ]] ; then
629 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
630 - fi
631 - done
632 -}