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: Sun, 25 Apr 2021 19:31:43
Message-Id: 1619379092.cbd76a4057e85cfae250171a62e4ed0643c83873.mgorny@gentoo
1 commit: cbd76a4057e85cfae250171a62e4ed0643c83873
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 25 19:31:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 25 19:31:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd76a40
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 | 1 -
13 sys-apps/sandbox/sandbox-2.20.ebuild | 74 ------------------------------------
14 2 files changed, 75 deletions(-)
15
16 diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
17 index 0db1586a128..eb9c18b18f0 100644
18 --- a/sys-apps/sandbox/Manifest
19 +++ b/sys-apps/sandbox/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST sandbox-2.20.tar.xz 428400 BLAKE2B 11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615 SHA512 06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208
22 DIST sandbox-2.21.tar.xz 434540 BLAKE2B c9af3b44e65d96d20b98996a4b9e35cccf6b62020d49522b9fcf50b097d4ffe3719bb334405226c5ee650943bced365547a5d8b0f707ed26ef5f12a4d15dadba SHA512 42b85e230bc89d0e02f22a7ee81b4efbb2c37ff9db24982b4b39487664a095d384101b16a4689863bd32ea91349347980b1c7f8eecb09225bc65619829c6a5b2
23 DIST sandbox-2.22.tar.xz 437872 BLAKE2B 248920733ffcb56422bf02711f1ae69e81a176ffb59a1a45266bb81779e2916841eee0d237be4010062693604603893973f1fb295276c25a59654dc56a2593b4 SHA512 9c83e7748aad99e14d43ad81e6f3a8d818b821467023bbb3059ce8cee248090583d31500c1278705110f1b62cad5e5bf7f23390c6548095df709521c7d842eba
24 DIST sandbox-2.23.tar.xz 437980 BLAKE2B fd417ea88512e7716a7f075442f684dc67b6c7d991e4375b47de4411353abd52764e5b85709aef06d175ba492b73edf5162c03e66e456cedb8586add18c8b5ea SHA512 d25b27bfeb5f5b9a331029a453be93947f32870b84d0e11efc5bb82044de6005111959a4efef87f1055e7065f76deccce6338d44bb7ab32e3a5ec053a429dbd5
25
26 diff --git a/sys-apps/sandbox/sandbox-2.20.ebuild b/sys-apps/sandbox/sandbox-2.20.ebuild
27 deleted file mode 100644
28 index a49b3d6f0a4..00000000000
29 --- a/sys-apps/sandbox/sandbox-2.20.ebuild
30 +++ /dev/null
31 @@ -1,74 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit flag-o-matic multilib-minimal multiprocessing
38 -
39 -DESCRIPTION="sandbox'd LD_PRELOAD hack"
40 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox"
41 -SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
46 -IUSE=""
47 -
48 -DEPEND="app-arch/xz-utils
49 - >=app-misc/pax-utils-0.1.19" #265376
50 -RDEPEND=""
51 -
52 -has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
53 -
54 -sandbox_death_notice() {
55 - ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
56 - ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox"
57 -}
58 -
59 -multilib_src_configure() {
60 - filter-lfs-flags #90228
61 -
62 - ECONF_SOURCE="${S}" econf
63 -}
64 -
65 -multilib_src_test() {
66 - # Default sandbox build will run with --jobs set to # cpus.
67 - emake -j1 check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
68 -}
69 -
70 -multilib_src_install_all() {
71 - doenvd "${FILESDIR}"/09sandbox
72 -
73 - keepdir /var/log/sandbox
74 - fowners root:portage /var/log/sandbox
75 - fperms 0770 /var/log/sandbox
76 -
77 - dodoc AUTHORS ChangeLog* NEWS README
78 -}
79 -
80 -pkg_preinst() {
81 - chown root:portage "${ED}"/var/log/sandbox
82 - chmod 0770 "${ED}"/var/log/sandbox
83 -
84 - local v
85 - for v in ${REPLACING_VERSIONS}; do
86 - # 1.x was removed from ::gentoo in 2016
87 - if [[ ${v} == 1.* ]] ; then
88 - local old=$(find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
89 - if [[ -n ${old} ]] ; then
90 - elog "Removing old sandbox libraries for you:"
91 - find "${EROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -print -delete
92 - fi
93 - fi
94 - done
95 -}
96 -
97 -pkg_postinst() {
98 - local v
99 - for v in ${REPLACING_VERSIONS}; do
100 - # 1.x was removed from ::gentoo in 2016
101 - if [[ ${v} == 1.* ]] ; then
102 - chmod 0755 "${EROOT}"/etc/sandbox.d #265376
103 - fi
104 - done
105 -}