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