public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/
Date: Fri, 11 Sep 2015 17:07:47 +0000 (UTC)	[thread overview]
Message-ID: <1441991260.bfeb95533791b0e5f0c81db29605f205151ad9e1.vapier@gentoo> (raw)

commit:     bfeb95533791b0e5f0c81db29605f205151ad9e1
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 07:19:56 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 17:07:40 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfeb9553

sys-apps/sandbox: version bump to 2.7

 sys-apps/sandbox/Manifest           |   1 +
 sys-apps/sandbox/sandbox-2.7.ebuild | 123 ++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 42aa4b1..42c825a 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -3,3 +3,4 @@ DIST sandbox-2.3.tar.xz 344260 SHA256 8670f7508453c2fd300ca29ad2eb457691c3df01c4
 DIST sandbox-2.4.tar.xz 344664 SHA256 450599cb3052296d42f81a04dbbda82d220415fc2d16f5dc6e26b042d580fd3e SHA512 c0f8b789bcabd48e03a20a97c9daa82c48f264d7641ecfa51dff7a2d2c34be398cf1db6235eb0211bf0fa78b07bd6e633e06bc102904bf9dd8a95f9fde1ca615 WHIRLPOOL 22f0f55f6e638275781ab5afa29b1a7f5e7f3335a3d2ff37d9fcce0bf9284b271bf1d69b98bcd4b06fdb9ff1528d044f9fb111a58c2a1a5ce33cbe28c0cb869d
 DIST sandbox-2.5.tar.xz 355680 SHA256 c0e98767fb70750d79591a6d08f81d5c2f13ce783bf94bd90677022e9103878a SHA512 7b870295bb78c1da5550b650a3983d93e503935a8e8452a29a5c6310cc2c2d569a898ea1534e2c670b4a3e5607504fac55f69da6878e0adc9c2c65a5476b4fb0 WHIRLPOOL 887d36638111b09d77674002c07ebad84c24bc4f645d9fb78e180a6c6e7407eb3fb6857877bc152e0cefb676f01df60b20857b8487ce28ff3e4438aef744fe53
 DIST sandbox-2.6.tar.xz 366356 SHA256 95615c5879dfc419713f22ba5506a2802a50ea0ce8a2f57c656354f2e50b1c4d SHA512 32ba7fb675c67fdc8bc52da1db7ed6878e5fea8753accb30d9aca00f708e0dde03287b5962caf5ef031bea6934d6ef3e18404b015c70ebd551d3fd8109ad2371 WHIRLPOOL bab2d015fb0de92a2266408ca7941c8fb66b599179040cfc727ffce5b2424a9722dc55ba89d198e3361044d8cb357314205488d2a980c7b8af063fd8940f0c03
+DIST sandbox-2.7.tar.xz 390304 SHA256 d6e1230180d84fb64c9788dd372a73a1cd2496ead91cad333a211320d3041149 SHA512 81056460afabe3f9163594f662f5faf87b6dfe8511a001fc4d6ce0171492eb29f3b645a45320032d34475bb2c24bf212d1d05b50878a340f1e2ca580f8f8f38a WHIRLPOOL ad070df6351537e49f939ba195f27ccf5e4566bb8b6e4ba391ab8174771eacf909571284c6fa873d5b55e8540605d2766a3de5d451b6af132c0ff6d96e43f554

diff --git a/sys-apps/sandbox/sandbox-2.7.ebuild b/sys-apps/sandbox/sandbox-2.7.ebuild
new file mode 100644
index 0000000..2550852
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.7.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# don't monkey with this ebuild unless contacting portage devs.
+# period.
+#
+
+inherit eutils flag-o-matic toolchain-funcs multilib unpacker multiprocessing
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+	https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="multilib"
+
+DEPEND="app-arch/xz-utils
+	>=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+	ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
+	ewarn "FEATURES=-sandbox emerge sandbox"
+}
+
+sb_get_install_abis() { use multilib && get_install_abis || echo ${ABI:-default} ; }
+
+sb_foreach_abi() {
+	local OABI=${ABI}
+	for ABI in $(sb_get_install_abis) ; do
+		cd "${WORKDIR}/build-${ABI}"
+		einfo "Running $1 for ABI=${ABI}..."
+		"$@"
+	done
+	ABI=${OABI}
+}
+
+src_unpack() {
+	unpacker
+	cd "${S}"
+	epatch_user
+}
+
+sb_configure() {
+	mkdir "${WORKDIR}/build-${ABI}"
+	cd "${WORKDIR}/build-${ABI}"
+
+	use multilib && multilib_toolchain_setup ${ABI}
+
+	einfo "Configuring sandbox for ABI=${ABI}..."
+	ECONF_SOURCE="${S}" \
+	econf ${myconf} || die
+}
+
+sb_compile() {
+	emake || die
+}
+
+src_compile() {
+	filter-lfs-flags #90228
+
+	# Run configures in parallel!
+	multijob_init
+	local OABI=${ABI}
+	for ABI in $(sb_get_install_abis) ; do
+		multijob_child_init sb_configure
+	done
+	ABI=${OABI}
+	multijob_finish
+
+	sb_foreach_abi sb_compile
+}
+
+sb_test() {
+	emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)" || die
+}
+
+src_test() {
+	sb_foreach_abi sb_test
+}
+
+sb_install() {
+	emake DESTDIR="${D}" install || die
+	insinto /etc/sandbox.d #333131
+	doins etc/sandbox.d/00default || die
+}
+
+src_install() {
+	sb_foreach_abi sb_install
+
+	doenvd "${FILESDIR}"/09sandbox
+
+	keepdir /var/log/sandbox
+	fowners root:portage /var/log/sandbox
+	fperms 0770 /var/log/sandbox
+
+	cd "${S}"
+	dodoc AUTHORS ChangeLog* NEWS README
+}
+
+pkg_preinst() {
+	chown root:portage "${D}"/var/log/sandbox
+	chmod 0770 "${D}"/var/log/sandbox
+
+	local old=$(find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*')
+	if [[ -n ${old} ]] ; then
+		elog "Removing old sandbox libraries for you:"
+		elog ${old//${ROOT}}
+		find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \;
+	fi
+}
+
+pkg_postinst() {
+	chmod 0755 "${ROOT}"/etc/sandbox.d #265376
+}


             reply	other threads:[~2015-09-11 17:07 UTC|newest]

Thread overview: 202+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 17:07 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-27  6:27 [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/ Mike Frysinger
2015-12-19  7:46 Mike Frysinger
2016-01-14 21:58 Markus Meier
2016-01-15 15:23 Agostino Sarubbo
2016-01-17 20:08 Mike Frysinger
2016-01-18  9:58 Mike Frysinger
2016-01-22  4:20 Jeroen Roovers
2016-02-01 19:00 Tobias Klausmann
2016-02-14 10:11 Agostino Sarubbo
2016-02-21  8:28 Mike Frysinger
2016-03-29  9:57 Mike Frysinger
2016-03-29 12:25 Mike Frysinger
2016-04-05 19:48 Mike Frysinger
2017-02-04 15:21 Agostino Sarubbo
2017-02-05 11:34 Jeroen Roovers
2017-02-12 17:01 Agostino Sarubbo
2017-02-15 13:49 Tobias Klausmann
2017-02-17 10:56 Agostino Sarubbo
2017-02-18  5:47 Markus Meier
2017-02-18 14:44 Agostino Sarubbo
2017-02-23 21:49 Michael Weber
2017-03-10 18:51 Mike Frysinger
2017-10-03 19:09 Michał Górny
2017-10-03 19:09 Michał Górny
2017-10-03 19:09 Michał Górny
2017-10-03 19:09 Michał Górny
2017-10-13  0:13 Sergei Trofimovich
2017-10-14 17:31 Sergei Trofimovich
2017-10-22 21:42 Tobias Klausmann
2017-10-27 13:49 Thomas Deutschmann
2017-10-28 15:01 Manuel Rüger
2017-10-28 22:03 Sergei Trofimovich
2017-11-24 20:26 Sergei Trofimovich
2017-12-05  5:44 Markus Meier
2018-01-12 13:50 Thomas Deutschmann
2018-01-12 19:27 Thomas Deutschmann
2018-01-13 20:52 Sergei Trofimovich
2018-01-14 11:25 Sergei Trofimovich
2018-01-15 19:03 Tobias Klausmann
2018-02-19 16:21 Michał Górny
2018-03-01 21:28 Mart Raudsepp
2018-03-04 11:34 Tobias Klausmann
2018-03-15 16:38 Mikle Kolyada
2018-03-24 16:47 Sergei Trofimovich
2018-03-24 21:04 Mikle Kolyada
2018-03-26  6:05 Sergei Trofimovich
2018-03-29 18:53 Michał Górny
2018-04-01 10:00 Tobias Klausmann
2018-04-07  5:23 Matt Turner
2018-04-07  5:23 Matt Turner
2018-04-16 21:38 Mikle Kolyada
2018-04-22 22:03 Matt Turner
2018-04-24 21:13 Mart Raudsepp
2018-05-01 20:23 Mikle Kolyada
2018-07-21 19:17 Mikle Kolyada
2018-12-02 15:57 Michał Górny
2019-01-09 14:11 Michał Górny
2019-03-10 10:38 Andreas K. Hüttel
2019-03-11 12:51 Andreas K. Hüttel
2019-03-13 10:09 Andreas K. Hüttel
2019-05-04 15:16 Mikle Kolyada
2020-05-31  8:25 Michał Górny
2020-05-31 10:53 Michał Górny
2020-05-31 19:12 Sergei Trofimovich
2020-06-01 17:02 Sergei Trofimovich
2020-06-01 20:51 Sergei Trofimovich
2020-06-03  9:22 Agostino Sarubbo
2020-06-03 15:12 Agostino Sarubbo
2020-06-04 20:39 Mart Raudsepp
2020-06-05 16:10 Sergei Trofimovich
2020-10-25  8:12 Michał Górny
2020-10-25 21:34 Thomas Deutschmann
2020-10-25 22:13 Sam James
2020-10-25 23:21 Sam James
2020-10-26  0:15 Sam James
2020-10-26 23:49 Sergei Trofimovich
2020-11-03 10:57 Sam James
2020-11-03 22:47 Sergei Trofimovich
2020-11-14  9:24 Mikle Kolyada
2020-12-22  5:25 Sam James
2020-12-22  8:07 Michał Górny
2020-12-22  8:07 Michał Górny
2021-03-11  9:52 Michał Górny
2021-03-27 11:45 Sergei Trofimovich
2021-04-10 20:20 Sergei Trofimovich
2021-04-25  5:09 Sam James
2021-04-25  5:11 Sam James
2021-04-25  5:14 Sam James
2021-04-25  5:14 Sam James
2021-04-25  5:16 Sam James
2021-04-25  8:56 Sergei Trofimovich
2021-04-25 10:04 Sam James
2021-04-25 19:23 Sam James
2021-04-25 19:31 Michał Górny
2021-05-02  9:24 Sergei Trofimovich
2021-05-03 16:51 Sam James
2021-05-03 16:53 Sam James
2021-05-03 16:55 Sam James
2021-05-03 16:58 Sam James
2021-05-04 22:14 Sergei Trofimovich
2021-05-04 22:26 Sam James
2021-05-10 22:34 Sergei Trofimovich
2021-05-11  7:17 Sergei Trofimovich
2021-05-15 17:55 Sam James
2021-05-15 17:56 Sam James
2021-05-15 17:59 Sam James
2021-05-15 18:02 Sam James
2021-05-15 18:03 Sam James
2021-05-15 18:04 Sam James
2021-05-17 16:36 Sergei Trofimovich
2021-06-05 20:43 Sam James
2021-06-05 20:43 Sam James
2021-06-05 20:52 Sam James
2021-06-06 17:40 Sergei Trofimovich
2021-06-07  6:28 Sergei Trofimovich
2021-06-07 16:16 Sam James
2021-06-09 14:43 Sergei Trofimovich
2021-06-11  1:26 Sam James
2021-06-11  1:26 Sam James
2021-06-11  1:26 Sam James
2021-06-11 10:33 Michał Górny
2021-09-07 16:02 Michał Górny
2021-10-01  6:06 Jakov Smolić
2021-10-21 23:01 Mike Frysinger
2021-10-21 23:01 Mike Frysinger
2021-10-24  1:13 Mike Frysinger
2021-10-28  7:36 Mike Frysinger
2021-10-28  7:36 Mike Frysinger
2021-11-02  4:27 Mike Frysinger
2021-11-03  0:34 Mike Frysinger
2021-11-03  7:00 Mike Frysinger
2022-03-24  8:31 Agostino Sarubbo
2022-03-24  8:36 Agostino Sarubbo
2022-03-24  8:38 Agostino Sarubbo
2022-03-25  7:46 Agostino Sarubbo
2022-03-26 16:46 Arthur Zamarin
2022-03-26 19:49 Agostino Sarubbo
2022-04-02  7:43 Arthur Zamarin
2022-04-24  2:35 Sam James
2022-12-30 21:46 Mike Gilbert
2022-12-30 21:46 Mike Gilbert
2022-12-31 13:01 Sam James
2022-12-31 13:28 Sam James
2023-01-03  6:14 Sam James
2023-01-03  6:14 Sam James
2023-06-13 19:08 Mike Gilbert
2023-06-16 13:56 Sam James
2023-06-16 13:56 Sam James
2023-06-16 13:56 Sam James
2023-06-16 13:56 Sam James
2023-06-16 13:56 Sam James
2023-06-16 14:07 Sam James
2023-06-21 14:55 Mike Gilbert
2023-06-21 17:02 Sam James
2023-06-21 17:02 Sam James
2023-06-21 17:28 Sam James
2023-06-21 17:28 Sam James
2023-06-21 17:28 Sam James
2023-06-21 17:28 Sam James
2023-06-21 17:28 Sam James
2023-06-30 17:01 Mike Gilbert
2023-07-02  0:00 Mike Gilbert
2023-07-05 18:07 Mike Gilbert
2023-07-08  3:16 Mike Gilbert
2023-07-08  3:18 Mike Gilbert
2023-07-10 16:00 Mike Gilbert
2023-07-17 14:03 Mike Gilbert
2023-07-17 16:53 Arthur Zamarin
2023-07-17 16:53 Arthur Zamarin
2023-07-17 16:53 Arthur Zamarin
2023-07-17 17:40 Arthur Zamarin
2023-07-17 18:16 Arthur Zamarin
2023-07-17 18:16 Arthur Zamarin
2023-07-17 18:17 Arthur Zamarin
2023-07-17 18:17 Arthur Zamarin
2023-08-06  0:51 Mike Gilbert
2023-08-25 17:04 Andreas K. Hüttel
2023-10-10  4:31 Sam James
2023-10-10  4:31 Sam James
2023-10-10  4:31 Sam James
2023-10-10  4:31 Sam James
2023-10-10  4:31 Sam James
2023-10-10  4:31 Sam James
2023-10-10  4:47 Sam James
2023-10-10 15:09 Arthur Zamarin
2024-06-27 18:39 Mike Gilbert
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:35 Arthur Zamarin
2024-09-13 19:45 Arthur Zamarin
2024-10-12 22:08 Sam James
2024-11-04 19:37 Mike Gilbert
2024-11-04 19:37 Mike Gilbert
2024-12-22  4:07 Mike Gilbert
2024-12-22 19:24 Mike Gilbert
2025-01-08  4:16 Mike Gilbert
2025-01-14 18:47 Mike Gilbert
2025-01-17 21:29 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441991260.bfeb95533791b0e5f0c81db29605f205151ad9e1.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox