Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/
Date: Fri, 11 Jun 2021 10:33:55
Message-Id: 1623407627.07b9076aff8ea9bd94ef3f7713b87509f066dad8.mgorny@gentoo
1 commit: 07b9076aff8ea9bd94ef3f7713b87509f066dad8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 06:38:43 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 10:33:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b9076a
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 | 3 --
13 sys-apps/sandbox/sandbox-2.21.ebuild | 74 ------------------------------------
14 sys-apps/sandbox/sandbox-2.22.ebuild | 54 --------------------------
15 sys-apps/sandbox/sandbox-2.23.ebuild | 54 --------------------------
16 4 files changed, 185 deletions(-)
17
18 diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
19 index c7d2f57bdaa..f4b15cd33b4 100644
20 --- a/sys-apps/sandbox/Manifest
21 +++ b/sys-apps/sandbox/Manifest
22 @@ -1,4 +1 @@
23 -DIST sandbox-2.21.tar.xz 434540 BLAKE2B c9af3b44e65d96d20b98996a4b9e35cccf6b62020d49522b9fcf50b097d4ffe3719bb334405226c5ee650943bced365547a5d8b0f707ed26ef5f12a4d15dadba SHA512 42b85e230bc89d0e02f22a7ee81b4efbb2c37ff9db24982b4b39487664a095d384101b16a4689863bd32ea91349347980b1c7f8eecb09225bc65619829c6a5b2
24 -DIST sandbox-2.22.tar.xz 437872 BLAKE2B 248920733ffcb56422bf02711f1ae69e81a176ffb59a1a45266bb81779e2916841eee0d237be4010062693604603893973f1fb295276c25a59654dc56a2593b4 SHA512 9c83e7748aad99e14d43ad81e6f3a8d818b821467023bbb3059ce8cee248090583d31500c1278705110f1b62cad5e5bf7f23390c6548095df709521c7d842eba
25 -DIST sandbox-2.23.tar.xz 437980 BLAKE2B fd417ea88512e7716a7f075442f684dc67b6c7d991e4375b47de4411353abd52764e5b85709aef06d175ba492b73edf5162c03e66e456cedb8586add18c8b5ea SHA512 d25b27bfeb5f5b9a331029a453be93947f32870b84d0e11efc5bb82044de6005111959a4efef87f1055e7065f76deccce6338d44bb7ab32e3a5ec053a429dbd5
26 DIST sandbox-2.24.tar.xz 438408 BLAKE2B 5e725d17da0abc06d56216f4df2f4034076f50163db1c3bbddbf4fd07dbd5b7d92ef2f1b2c01eb77ff6cf531c5cc6a05e60b028f585310ac56eef96240882843 SHA512 8df5414e334a15f367acfd218ba1b74ba618b93d7bdeca8a039b69cbd81ab048ec5a6cecb24df09fa9a5f4fe214d647acf5138004defd45e6396eec5ae7c93d0
27
28 diff --git a/sys-apps/sandbox/sandbox-2.21.ebuild b/sys-apps/sandbox/sandbox-2.21.ebuild
29 deleted file mode 100644
30 index a49b3d6f0a4..00000000000
31 --- a/sys-apps/sandbox/sandbox-2.21.ebuild
32 +++ /dev/null
33 @@ -1,74 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit flag-o-matic multilib-minimal multiprocessing
40 -
41 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
42 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox"
43 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
48 -IUSE=""
49 -
50 -DEPEND="app-arch/xz-utils
51 - >=app-misc/pax-utils-0.1.19" #265376
52 -RDEPEND=""
53 -
54 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
55 -
56 -sandbox_death_notice() {
57 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
58 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
59 -}
60 -
61 -multilib_src_configure() {
62 - filter-lfs-flags #90228
63 -
64 - ECONF_SOURCE="${S}" econf
65 -}
66 -
67 -multilib_src_test() {
68 - # Default sandbox build will run with --jobs set to # cpus.
69 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
70 -}
71 -
72 -multilib_src_install_all() {
73 - doenvd "${FILESDIR}"/09sandbox
74 -
75 - keepdir /var/log/sandbox
76 - fowners root:portage /var/log/sandbox
77 - fperms 0770 /var/log/sandbox
78 -
79 - dodoc AUTHORS ChangeLog* NEWS README
80 -}
81 -
82 -pkg_preinst() {
83 - chown root:portage "${ED}"/var/log/sandbox
84 - chmod 0770 "${ED}"/var/log/sandbox
85 -
86 - local v
87 - for v in ${REPLACING_VERSIONS}; do
88 - # 1.x was removed from ::gentoo in 2016
89 - if [[ ${v} == 1.* ]] ; then
90 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
91 - if [[ -n ${old} ]] ; then
92 - elog "Removing old sandbox libraries for you:"
93 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
94 - fi
95 - fi
96 - done
97 -}
98 -
99 -pkg_postinst() {
100 - local v
101 - for v in ${REPLACING_VERSIONS}; do
102 - # 1.x was removed from ::gentoo in 2016
103 - if [[ ${v} == 1.* ]] ; then
104 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
105 - fi
106 - done
107 -}
108
109 diff --git a/sys-apps/sandbox/sandbox-2.22.ebuild b/sys-apps/sandbox/sandbox-2.22.ebuild
110 deleted file mode 100644
111 index d8ef19b9ff3..00000000000
112 --- a/sys-apps/sandbox/sandbox-2.22.ebuild
113 +++ /dev/null
114 @@ -1,54 +0,0 @@
115 -# Copyright 1999-2021 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=7
119 -
120 -inherit flag-o-matic multilib-minimal multiprocessing
121 -
122 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
123 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox"
124 -SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
125 -
126 -LICENSE="GPL-2"
127 -SLOT="0"
128 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
129 -IUSE=""
130 -
131 -DEPEND="app-arch/xz-utils
132 - >=app-misc/pax-utils-0.1.19" #265376
133 -RDEPEND=""
134 -
135 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
136 -
137 -sandbox_death_notice() {
138 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
139 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
140 -}
141 -
142 -multilib_src_configure() {
143 - filter-lfs-flags #90228
144 -
145 - ECONF_SOURCE="${S}" econf
146 -}
147 -
148 -multilib_src_test() {
149 - # Default sandbox build will run with --jobs set to # cpus.
150 - # -j1 to prevent test faiures caused by file descriptor
151 - # injection GNU make does.
152 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
153 -}
154 -
155 -multilib_src_install_all() {
156 - doenvd "${FILESDIR}"/09sandbox
157 -
158 - keepdir /var/log/sandbox
159 - fowners root:portage /var/log/sandbox
160 - fperms 0770 /var/log/sandbox
161 -
162 - dodoc AUTHORS ChangeLog* NEWS README
163 -}
164 -
165 -pkg_postinst() {
166 - chown root:portage "${EROOT}"/var/log/sandbox
167 - chmod 0770 "${EROOT}"/var/log/sandbox
168 -}
169
170 diff --git a/sys-apps/sandbox/sandbox-2.23.ebuild b/sys-apps/sandbox/sandbox-2.23.ebuild
171 deleted file mode 100644
172 index d8ef19b9ff3..00000000000
173 --- a/sys-apps/sandbox/sandbox-2.23.ebuild
174 +++ /dev/null
175 @@ -1,54 +0,0 @@
176 -# Copyright 1999-2021 Gentoo Authors
177 -# Distributed under the terms of the GNU General Public License v2
178 -
179 -EAPI=7
180 -
181 -inherit flag-o-matic multilib-minimal multiprocessing
182 -
183 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
184 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox"
185 -SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
186 -
187 -LICENSE="GPL-2"
188 -SLOT="0"
189 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
190 -IUSE=""
191 -
192 -DEPEND="app-arch/xz-utils
193 - >=app-misc/pax-utils-0.1.19" #265376
194 -RDEPEND=""
195 -
196 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
197 -
198 -sandbox_death_notice() {
199 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
200 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
201 -}
202 -
203 -multilib_src_configure() {
204 - filter-lfs-flags #90228
205 -
206 - ECONF_SOURCE="${S}" econf
207 -}
208 -
209 -multilib_src_test() {
210 - # Default sandbox build will run with --jobs set to # cpus.
211 - # -j1 to prevent test faiures caused by file descriptor
212 - # injection GNU make does.
213 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
214 -}
215 -
216 -multilib_src_install_all() {
217 - doenvd "${FILESDIR}"/09sandbox
218 -
219 - keepdir /var/log/sandbox
220 - fowners root:portage /var/log/sandbox
221 - fperms 0770 /var/log/sandbox
222 -
223 - dodoc AUTHORS ChangeLog* NEWS README
224 -}
225 -
226 -pkg_postinst() {
227 - chown root:portage "${EROOT}"/var/log/sandbox
228 - chmod 0770 "${EROOT}"/var/log/sandbox
229 -}