1 |
commit: a568c46da711a944c1d4ecf50f42269c922c9c66 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 07:06:21 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 08:12:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a568c46d |
7 |
|
8 |
sys-apps/sandbox: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-apps/sandbox/Manifest | 5 --- |
13 |
sys-apps/sandbox/sandbox-2.12.ebuild | 76 ------------------------------------ |
14 |
sys-apps/sandbox/sandbox-2.13.ebuild | 76 ------------------------------------ |
15 |
sys-apps/sandbox/sandbox-2.14.ebuild | 76 ------------------------------------ |
16 |
sys-apps/sandbox/sandbox-2.15.ebuild | 76 ------------------------------------ |
17 |
sys-apps/sandbox/sandbox-2.17.ebuild | 72 ---------------------------------- |
18 |
6 files changed, 381 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest |
21 |
index f724c707816..34b7c09ba88 100644 |
22 |
--- a/sys-apps/sandbox/Manifest |
23 |
+++ b/sys-apps/sandbox/Manifest |
24 |
@@ -1,7 +1,2 @@ |
25 |
-DIST sandbox-2.12.tar.xz 424252 BLAKE2B 55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7 SHA512 98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9 |
26 |
-DIST sandbox-2.13.tar.xz 424968 BLAKE2B efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712 SHA512 46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf |
27 |
-DIST sandbox-2.14.tar.xz 426992 BLAKE2B a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb SHA512 b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced |
28 |
-DIST sandbox-2.15.tar.xz 426948 BLAKE2B e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc SHA512 7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6 |
29 |
-DIST sandbox-2.17.tar.xz 431700 BLAKE2B 461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf SHA512 b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f |
30 |
DIST sandbox-2.18.tar.xz 427760 BLAKE2B 26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620 SHA512 1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d |
31 |
DIST sandbox-2.20.tar.xz 428400 BLAKE2B 11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615 SHA512 06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208 |
32 |
|
33 |
diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild b/sys-apps/sandbox/sandbox-2.12.ebuild |
34 |
deleted file mode 100644 |
35 |
index 2f8334010de..00000000000 |
36 |
--- a/sys-apps/sandbox/sandbox-2.12.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,76 +0,0 @@ |
39 |
-# Copyright 1999-2020 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI="6" |
43 |
- |
44 |
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils |
45 |
- |
46 |
-DESCRIPTION="sandbox'd LD_PRELOAD hack" |
47 |
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" |
48 |
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
49 |
- |
50 |
-LICENSE="GPL-2" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
53 |
-IUSE="" |
54 |
- |
55 |
-DEPEND="app-arch/xz-utils |
56 |
- >=app-misc/pax-utils-0.1.19" #265376 |
57 |
-RDEPEND="" |
58 |
- |
59 |
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
60 |
- |
61 |
-sandbox_death_notice() { |
62 |
- ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
63 |
- ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" |
64 |
-} |
65 |
- |
66 |
-multilib_src_configure() { |
67 |
- filter-lfs-flags #90228 |
68 |
- |
69 |
- local myconf=() |
70 |
- host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092 |
71 |
- |
72 |
- ECONF_SOURCE="${S}" \ |
73 |
- econf "${myconf[@]}" |
74 |
-} |
75 |
- |
76 |
-multilib_src_test() { |
77 |
- # Default sandbox build will run with --jobs set to # cpus. |
78 |
- emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" |
79 |
-} |
80 |
- |
81 |
-multilib_src_install_all() { |
82 |
- doenvd "${FILESDIR}"/09sandbox |
83 |
- |
84 |
- keepdir /var/log/sandbox |
85 |
- fowners root:portage /var/log/sandbox |
86 |
- fperms 0770 /var/log/sandbox |
87 |
- |
88 |
- dodoc AUTHORS ChangeLog* NEWS README |
89 |
-} |
90 |
- |
91 |
-pkg_preinst() { |
92 |
- chown root:portage "${ED}"/var/log/sandbox |
93 |
- chmod 0770 "${ED}"/var/log/sandbox |
94 |
- |
95 |
- local v |
96 |
- for v in ${REPLACING_VERSIONS}; do |
97 |
- if [[ ${v} == 1.* ]] ; then |
98 |
- local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
99 |
- if [[ -n ${old} ]] ; then |
100 |
- elog "Removing old sandbox libraries for you:" |
101 |
- find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete |
102 |
- fi |
103 |
- fi |
104 |
- done |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- local v |
109 |
- for v in ${REPLACING_VERSIONS}; do |
110 |
- if [[ ${v} == 1.* ]] ; then |
111 |
- chmod 0755 "${EROOT}"/etc/sandbox.d #265376 |
112 |
- fi |
113 |
- done |
114 |
-} |
115 |
|
116 |
diff --git a/sys-apps/sandbox/sandbox-2.13.ebuild b/sys-apps/sandbox/sandbox-2.13.ebuild |
117 |
deleted file mode 100644 |
118 |
index 412c0702e5f..00000000000 |
119 |
--- a/sys-apps/sandbox/sandbox-2.13.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,76 +0,0 @@ |
122 |
-# Copyright 1999-2020 Gentoo Authors |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI="6" |
126 |
- |
127 |
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils |
128 |
- |
129 |
-DESCRIPTION="sandbox'd LD_PRELOAD hack" |
130 |
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" |
131 |
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
132 |
- |
133 |
-LICENSE="GPL-2" |
134 |
-SLOT="0" |
135 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86" |
136 |
-IUSE="" |
137 |
- |
138 |
-DEPEND="app-arch/xz-utils |
139 |
- >=app-misc/pax-utils-0.1.19" #265376 |
140 |
-RDEPEND="" |
141 |
- |
142 |
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
143 |
- |
144 |
-sandbox_death_notice() { |
145 |
- ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
146 |
- ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" |
147 |
-} |
148 |
- |
149 |
-multilib_src_configure() { |
150 |
- filter-lfs-flags #90228 |
151 |
- |
152 |
- local myconf=() |
153 |
- host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092 |
154 |
- |
155 |
- ECONF_SOURCE="${S}" \ |
156 |
- econf "${myconf[@]}" |
157 |
-} |
158 |
- |
159 |
-multilib_src_test() { |
160 |
- # Default sandbox build will run with --jobs set to # cpus. |
161 |
- emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" |
162 |
-} |
163 |
- |
164 |
-multilib_src_install_all() { |
165 |
- doenvd "${FILESDIR}"/09sandbox |
166 |
- |
167 |
- keepdir /var/log/sandbox |
168 |
- fowners root:portage /var/log/sandbox |
169 |
- fperms 0770 /var/log/sandbox |
170 |
- |
171 |
- dodoc AUTHORS ChangeLog* NEWS README |
172 |
-} |
173 |
- |
174 |
-pkg_preinst() { |
175 |
- chown root:portage "${ED}"/var/log/sandbox |
176 |
- chmod 0770 "${ED}"/var/log/sandbox |
177 |
- |
178 |
- local v |
179 |
- for v in ${REPLACING_VERSIONS}; do |
180 |
- if [[ ${v} == 1.* ]] ; then |
181 |
- local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
182 |
- if [[ -n ${old} ]] ; then |
183 |
- elog "Removing old sandbox libraries for you:" |
184 |
- find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete |
185 |
- fi |
186 |
- fi |
187 |
- done |
188 |
-} |
189 |
- |
190 |
-pkg_postinst() { |
191 |
- local v |
192 |
- for v in ${REPLACING_VERSIONS}; do |
193 |
- if [[ ${v} == 1.* ]] ; then |
194 |
- chmod 0755 "${EROOT}"/etc/sandbox.d #265376 |
195 |
- fi |
196 |
- done |
197 |
-} |
198 |
|
199 |
diff --git a/sys-apps/sandbox/sandbox-2.14.ebuild b/sys-apps/sandbox/sandbox-2.14.ebuild |
200 |
deleted file mode 100644 |
201 |
index fbb175e5832..00000000000 |
202 |
--- a/sys-apps/sandbox/sandbox-2.14.ebuild |
203 |
+++ /dev/null |
204 |
@@ -1,76 +0,0 @@ |
205 |
-# Copyright 1999-2020 Gentoo Authors |
206 |
-# Distributed under the terms of the GNU General Public License v2 |
207 |
- |
208 |
-EAPI="6" |
209 |
- |
210 |
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils |
211 |
- |
212 |
-DESCRIPTION="sandbox'd LD_PRELOAD hack" |
213 |
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" |
214 |
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
215 |
- |
216 |
-LICENSE="GPL-2" |
217 |
-SLOT="0" |
218 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
219 |
-IUSE="" |
220 |
- |
221 |
-DEPEND="app-arch/xz-utils |
222 |
- >=app-misc/pax-utils-0.1.19" #265376 |
223 |
-RDEPEND="" |
224 |
- |
225 |
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
226 |
- |
227 |
-sandbox_death_notice() { |
228 |
- ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
229 |
- ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" |
230 |
-} |
231 |
- |
232 |
-multilib_src_configure() { |
233 |
- filter-lfs-flags #90228 |
234 |
- |
235 |
- local myconf=() |
236 |
- host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092 |
237 |
- |
238 |
- ECONF_SOURCE="${S}" \ |
239 |
- econf "${myconf[@]}" |
240 |
-} |
241 |
- |
242 |
-multilib_src_test() { |
243 |
- # Default sandbox build will run with --jobs set to # cpus. |
244 |
- emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" |
245 |
-} |
246 |
- |
247 |
-multilib_src_install_all() { |
248 |
- doenvd "${FILESDIR}"/09sandbox |
249 |
- |
250 |
- keepdir /var/log/sandbox |
251 |
- fowners root:portage /var/log/sandbox |
252 |
- fperms 0770 /var/log/sandbox |
253 |
- |
254 |
- dodoc AUTHORS ChangeLog* NEWS README |
255 |
-} |
256 |
- |
257 |
-pkg_preinst() { |
258 |
- chown root:portage "${ED}"/var/log/sandbox |
259 |
- chmod 0770 "${ED}"/var/log/sandbox |
260 |
- |
261 |
- local v |
262 |
- for v in ${REPLACING_VERSIONS}; do |
263 |
- if [[ ${v} == 1.* ]] ; then |
264 |
- local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
265 |
- if [[ -n ${old} ]] ; then |
266 |
- elog "Removing old sandbox libraries for you:" |
267 |
- find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete |
268 |
- fi |
269 |
- fi |
270 |
- done |
271 |
-} |
272 |
- |
273 |
-pkg_postinst() { |
274 |
- local v |
275 |
- for v in ${REPLACING_VERSIONS}; do |
276 |
- if [[ ${v} == 1.* ]] ; then |
277 |
- chmod 0755 "${EROOT}"/etc/sandbox.d #265376 |
278 |
- fi |
279 |
- done |
280 |
-} |
281 |
|
282 |
diff --git a/sys-apps/sandbox/sandbox-2.15.ebuild b/sys-apps/sandbox/sandbox-2.15.ebuild |
283 |
deleted file mode 100644 |
284 |
index fbb175e5832..00000000000 |
285 |
--- a/sys-apps/sandbox/sandbox-2.15.ebuild |
286 |
+++ /dev/null |
287 |
@@ -1,76 +0,0 @@ |
288 |
-# Copyright 1999-2020 Gentoo Authors |
289 |
-# Distributed under the terms of the GNU General Public License v2 |
290 |
- |
291 |
-EAPI="6" |
292 |
- |
293 |
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils |
294 |
- |
295 |
-DESCRIPTION="sandbox'd LD_PRELOAD hack" |
296 |
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" |
297 |
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" |
298 |
- |
299 |
-LICENSE="GPL-2" |
300 |
-SLOT="0" |
301 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
302 |
-IUSE="" |
303 |
- |
304 |
-DEPEND="app-arch/xz-utils |
305 |
- >=app-misc/pax-utils-0.1.19" #265376 |
306 |
-RDEPEND="" |
307 |
- |
308 |
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
309 |
- |
310 |
-sandbox_death_notice() { |
311 |
- ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
312 |
- ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" |
313 |
-} |
314 |
- |
315 |
-multilib_src_configure() { |
316 |
- filter-lfs-flags #90228 |
317 |
- |
318 |
- local myconf=() |
319 |
- host-is-pax && myconf+=( --disable-pch ) #301299 #425524 #572092 |
320 |
- |
321 |
- ECONF_SOURCE="${S}" \ |
322 |
- econf "${myconf[@]}" |
323 |
-} |
324 |
- |
325 |
-multilib_src_test() { |
326 |
- # Default sandbox build will run with --jobs set to # cpus. |
327 |
- emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" |
328 |
-} |
329 |
- |
330 |
-multilib_src_install_all() { |
331 |
- doenvd "${FILESDIR}"/09sandbox |
332 |
- |
333 |
- keepdir /var/log/sandbox |
334 |
- fowners root:portage /var/log/sandbox |
335 |
- fperms 0770 /var/log/sandbox |
336 |
- |
337 |
- dodoc AUTHORS ChangeLog* NEWS README |
338 |
-} |
339 |
- |
340 |
-pkg_preinst() { |
341 |
- chown root:portage "${ED}"/var/log/sandbox |
342 |
- chmod 0770 "${ED}"/var/log/sandbox |
343 |
- |
344 |
- local v |
345 |
- for v in ${REPLACING_VERSIONS}; do |
346 |
- if [[ ${v} == 1.* ]] ; then |
347 |
- local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
348 |
- if [[ -n ${old} ]] ; then |
349 |
- elog "Removing old sandbox libraries for you:" |
350 |
- find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete |
351 |
- fi |
352 |
- fi |
353 |
- done |
354 |
-} |
355 |
- |
356 |
-pkg_postinst() { |
357 |
- local v |
358 |
- for v in ${REPLACING_VERSIONS}; do |
359 |
- if [[ ${v} == 1.* ]] ; then |
360 |
- chmod 0755 "${EROOT}"/etc/sandbox.d #265376 |
361 |
- fi |
362 |
- done |
363 |
-} |
364 |
|
365 |
diff --git a/sys-apps/sandbox/sandbox-2.17.ebuild b/sys-apps/sandbox/sandbox-2.17.ebuild |
366 |
deleted file mode 100644 |
367 |
index 4374f137b71..00000000000 |
368 |
--- a/sys-apps/sandbox/sandbox-2.17.ebuild |
369 |
+++ /dev/null |
370 |
@@ -1,72 +0,0 @@ |
371 |
-# Copyright 1999-2020 Gentoo Authors |
372 |
-# Distributed under the terms of the GNU General Public License v2 |
373 |
- |
374 |
-EAPI="6" |
375 |
- |
376 |
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils |
377 |
- |
378 |
-DESCRIPTION="sandbox'd LD_PRELOAD hack" |
379 |
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/" |
380 |
-SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz" |
381 |
- |
382 |
-LICENSE="GPL-2" |
383 |
-SLOT="0" |
384 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
385 |
-IUSE="" |
386 |
- |
387 |
-DEPEND="app-arch/xz-utils |
388 |
- >=app-misc/pax-utils-0.1.19" #265376 |
389 |
-RDEPEND="" |
390 |
- |
391 |
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice" |
392 |
- |
393 |
-sandbox_death_notice() { |
394 |
- ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:" |
395 |
- ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" |
396 |
-} |
397 |
- |
398 |
-multilib_src_configure() { |
399 |
- filter-lfs-flags #90228 |
400 |
- |
401 |
- ECONF_SOURCE="${S}" econf |
402 |
-} |
403 |
- |
404 |
-multilib_src_test() { |
405 |
- # Default sandbox build will run with --jobs set to # cpus. |
406 |
- emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" |
407 |
-} |
408 |
- |
409 |
-multilib_src_install_all() { |
410 |
- doenvd "${FILESDIR}"/09sandbox |
411 |
- |
412 |
- keepdir /var/log/sandbox |
413 |
- fowners root:portage /var/log/sandbox |
414 |
- fperms 0770 /var/log/sandbox |
415 |
- |
416 |
- dodoc AUTHORS ChangeLog* NEWS README |
417 |
-} |
418 |
- |
419 |
-pkg_preinst() { |
420 |
- chown root:portage "${ED}"/var/log/sandbox |
421 |
- chmod 0770 "${ED}"/var/log/sandbox |
422 |
- |
423 |
- local v |
424 |
- for v in ${REPLACING_VERSIONS}; do |
425 |
- if [[ ${v} == 1.* ]] ; then |
426 |
- local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*') |
427 |
- if [[ -n ${old} ]] ; then |
428 |
- elog "Removing old sandbox libraries for you:" |
429 |
- find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete |
430 |
- fi |
431 |
- fi |
432 |
- done |
433 |
-} |
434 |
- |
435 |
-pkg_postinst() { |
436 |
- local v |
437 |
- for v in ${REPLACING_VERSIONS}; do |
438 |
- if [[ ${v} == 1.* ]] ; then |
439 |
- chmod 0755 "${EROOT}"/etc/sandbox.d #265376 |
440 |
- fi |
441 |
- done |
442 |
-} |