From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/
Date: Fri, 17 Jan 2025 21:29:34 +0000 (UTC) [thread overview]
Message-ID: <1737149302.7467518eee363710a7035c15c9238eb532d3b053.floppym@gentoo> (raw)
commit: 7467518eee363710a7035c15c9238eb532d3b053
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 21:28:22 2025 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jan 17 21:28:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7467518e
sys-apps/sandbox: add 2.43
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-apps/sandbox/Manifest | 1 +
sys-apps/sandbox/sandbox-2.43.ebuild | 80 ++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 98e4743d346d..7ab3077e7601 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -2,3 +2,4 @@ DIST sandbox-2.39.tar.xz 462796 BLAKE2B 330c6f896eba6ff2a38eb8a5d1ff9b242d0e42ab
DIST sandbox-2.40.tar.xz 465824 BLAKE2B 1e7e8b1c69807d493d5ca242d746b07aa669e18f9aab60cbfd7fe66500ac6822f8b9236077c370ec7e580c8c056f2ccc7825017cd015fca4497e967dcb93cc82 SHA512 e734f380943cc573847f48789a6ad724a3a3fe1017cb7e4bffcd75d2f758d85e937511bbc2eccd0224301b56bc0dd38c92fbaf2d268132be4985f5a768593bdc
DIST sandbox-2.41.tar.xz 468180 BLAKE2B cb00ec8605b9b51ce559a9e9baa68d757e17900abbe9fff890ddbabcc001e47d72a0e7a693104a6594d3d86bc9afebc6945ed3ec101fd67bfe8a855de3ef010f SHA512 ac787ecc61a625717a66fef663f34ddc855c144226f80e1593033f06ccd9dbd526ffbd032a7b142404a0a5a5aea4b813c9258e9c2202c2e9b0574aa35aae3ef8
DIST sandbox-2.42.tar.xz 468676 BLAKE2B c4a17c9c6c1644bf27565eab8d76b37689f2a1ca2083d30d65deffd76449f69f68dd4d56ebb19236ca3111996c037fa4e1e5d034dc942349b93ba7c4c68f6248 SHA512 05076394cec77a6443ccc9ba31209fac32c57497210b817e71d10ffc75388673de75de8be6a86ee2f798a285e02ed1af8f134a988eceb6824a3e94bd5be4fc62
+DIST sandbox-2.43.tar.xz 468420 BLAKE2B c407f7c853d53297d4b0b64f1f3e0a6a26402c32990d7a02f6b2d5aec2b73716a0bb9a931371b87917a5390fb3f80b739e9d2884aec07aa6a1679c32926872ab SHA512 aff9bcbc0a26d4d0df2a469e1978051b9cdd2ce67786c90f857576ddfce20eefa78bfdf6c611fa3f60f0cb0247398c4cf6e4413fed0e4f2eb3bfe11e8a5b6e3e
diff --git a/sys-apps/sandbox/sandbox-2.43.ebuild b/sys-apps/sandbox/sandbox-2.43.ebuild
new file mode 100644
index 000000000000..42636c70dce6
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.43.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit flag-o-matic multilib-minimal multiprocessing
+
+if [[ ${PV} == *9999 ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/sandbox.git
+ https://github.com/gentoo/sandbox.git"
+else
+ SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Sandbox"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+nnp"
+
+# pax-utils lower bound for bug #265376
+DEPEND=">=app-misc/pax-utils-0.1.19"
+# Avoid folks installing with older file, bug #889046. We still need the
+# >= dep in Portage but this is a safety net if people do partial upgrades.
+RDEPEND="!<sys-apps/file-5.44-r1"
+BDEPEND="app-arch/xz-utils"
+
+has sandbox_death_notice ${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 -usersandbox' emerge sandbox"
+}
+
+src_prepare() {
+ default
+
+ if [[ ${PV} == *9999 ]]; then
+ eautoreconf
+ fi
+
+ if ! use nnp ; then
+ sed -i 's:PR_SET_NO_NEW_PRIVS:___disable_nnp_hack:' src/sandbox.c || die
+ fi
+}
+
+src_configure() {
+ # sandbox uses `__asm__ (".symver "...` which does
+ # not play well with gcc's LTO: https://gcc.gnu.org/PR48200
+ filter-lto
+
+ filter-lfs-flags #90228
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local ECONF_SOURCE="${S}"
+ econf
+}
+
+multilib_src_test() {
+ # Default sandbox build will run with --jobs set to # cpus.
+ emake check TESTSUITEFLAGS="--jobs=$(makeopts_jobs)"
+}
+
+multilib_src_install_all() {
+ doenvd "${FILESDIR}"/09sandbox
+
+ dodoc AUTHORS ChangeLog* README.md
+}
+
+pkg_postinst() {
+ mkdir -p "${EROOT}"/var/log/sandbox
+ chown root:portage "${EROOT}"/var/log/sandbox
+ chmod 0770 "${EROOT}"/var/log/sandbox
+}
next reply other threads:[~2025-01-17 21:29 UTC|newest]
Thread overview: 204+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 21:29 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 20:13 [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/ Mike Gilbert
2025-02-22 20:02 Mike Gilbert
2025-01-14 18:47 Mike Gilbert
2025-01-08 4:16 Mike Gilbert
2024-12-22 19:24 Mike Gilbert
2024-12-22 4:07 Mike Gilbert
2024-11-04 19:37 Mike Gilbert
2024-11-04 19:37 Mike Gilbert
2024-10-12 22:08 Sam James
2024-09-13 19:45 Arthur Zamarin
2024-09-13 19:35 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:33 Arthur Zamarin
2024-06-27 18:39 Mike Gilbert
2023-10-10 15:09 Arthur Zamarin
2023-10-10 4:47 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:31 Sam James
2023-08-25 17:04 Andreas K. Hüttel
2023-08-06 0:51 Mike Gilbert
2023-07-17 18:17 Arthur Zamarin
2023-07-17 18:17 Arthur Zamarin
2023-07-17 18:16 Arthur Zamarin
2023-07-17 18:16 Arthur Zamarin
2023-07-17 17:40 Arthur Zamarin
2023-07-17 16:53 Arthur Zamarin
2023-07-17 16:53 Arthur Zamarin
2023-07-17 16:53 Arthur Zamarin
2023-07-17 14:03 Mike Gilbert
2023-07-10 16:00 Mike Gilbert
2023-07-08 3:18 Mike Gilbert
2023-07-08 3:16 Mike Gilbert
2023-07-05 18:07 Mike Gilbert
2023-07-02 0:00 Mike Gilbert
2023-06-30 17:01 Mike Gilbert
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-21 17:02 Sam James
2023-06-21 17:02 Sam James
2023-06-21 14:55 Mike Gilbert
2023-06-16 14:07 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 13:56 Sam James
2023-06-13 19:08 Mike Gilbert
2023-01-03 6:14 Sam James
2023-01-03 6:14 Sam James
2022-12-31 13:28 Sam James
2022-12-31 13:01 Sam James
2022-12-30 21:46 Mike Gilbert
2022-12-30 21:46 Mike Gilbert
2022-04-24 2:35 Sam James
2022-04-02 7:43 Arthur Zamarin
2022-03-26 19:49 Agostino Sarubbo
2022-03-26 16:46 Arthur Zamarin
2022-03-25 7:46 Agostino Sarubbo
2022-03-24 8:38 Agostino Sarubbo
2022-03-24 8:36 Agostino Sarubbo
2022-03-24 8:31 Agostino Sarubbo
2021-11-03 7:00 Mike Frysinger
2021-11-03 0:34 Mike Frysinger
2021-11-02 4:27 Mike Frysinger
2021-10-28 7:36 Mike Frysinger
2021-10-28 7:36 Mike Frysinger
2021-10-24 1:13 Mike Frysinger
2021-10-21 23:01 Mike Frysinger
2021-10-21 23:01 Mike Frysinger
2021-10-01 6:06 Jakov Smolić
2021-09-07 16:02 Michał Górny
2021-06-11 10:33 Michał Górny
2021-06-11 1:26 Sam James
2021-06-11 1:26 Sam James
2021-06-11 1:26 Sam James
2021-06-09 14:43 Sergei Trofimovich
2021-06-07 16:16 Sam James
2021-06-07 6:28 Sergei Trofimovich
2021-06-06 17:40 Sergei Trofimovich
2021-06-05 20:52 Sam James
2021-06-05 20:43 Sam James
2021-06-05 20:43 Sam James
2021-05-17 16:36 Sergei Trofimovich
2021-05-15 18:04 Sam James
2021-05-15 18:03 Sam James
2021-05-15 18:02 Sam James
2021-05-15 17:59 Sam James
2021-05-15 17:56 Sam James
2021-05-15 17:55 Sam James
2021-05-11 7:17 Sergei Trofimovich
2021-05-10 22:34 Sergei Trofimovich
2021-05-04 22:26 Sam James
2021-05-04 22:14 Sergei Trofimovich
2021-05-03 16:58 Sam James
2021-05-03 16:55 Sam James
2021-05-03 16:53 Sam James
2021-05-03 16:51 Sam James
2021-05-02 9:24 Sergei Trofimovich
2021-04-25 19:31 Michał Górny
2021-04-25 19:23 Sam James
2021-04-25 10:04 Sam James
2021-04-25 8:56 Sergei Trofimovich
2021-04-25 5:16 Sam James
2021-04-25 5:14 Sam James
2021-04-25 5:14 Sam James
2021-04-25 5:11 Sam James
2021-04-25 5:09 Sam James
2021-04-10 20:20 Sergei Trofimovich
2021-03-27 11:45 Sergei Trofimovich
2021-03-11 9:52 Michał Górny
2020-12-22 8:07 Michał Górny
2020-12-22 8:07 Michał Górny
2020-12-22 5:25 Sam James
2020-11-14 9:24 Mikle Kolyada
2020-11-03 22:47 Sergei Trofimovich
2020-11-03 10:57 Sam James
2020-10-26 23:49 Sergei Trofimovich
2020-10-26 0:15 Sam James
2020-10-25 23:21 Sam James
2020-10-25 22:13 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-10-25 8:12 Michał Górny
2020-06-05 16:10 Sergei Trofimovich
2020-06-04 20:39 Mart Raudsepp
2020-06-03 15:12 Agostino Sarubbo
2020-06-03 9:22 Agostino Sarubbo
2020-06-01 20:51 Sergei Trofimovich
2020-06-01 17:02 Sergei Trofimovich
2020-05-31 19:12 Sergei Trofimovich
2020-05-31 10:53 Michał Górny
2020-05-31 8:25 Michał Górny
2019-05-04 15:16 Mikle Kolyada
2019-03-13 10:09 Andreas K. Hüttel
2019-03-11 12:51 Andreas K. Hüttel
2019-03-10 10:38 Andreas K. Hüttel
2019-01-09 14:11 Michał Górny
2018-12-02 15:57 Michał Górny
2018-07-21 19:17 Mikle Kolyada
2018-05-01 20:23 Mikle Kolyada
2018-04-24 21:13 Mart Raudsepp
2018-04-22 22:03 Matt Turner
2018-04-16 21:38 Mikle Kolyada
2018-04-07 5:23 Matt Turner
2018-04-07 5:23 Matt Turner
2018-04-01 10:00 Tobias Klausmann
2018-03-29 18:53 Michał Górny
2018-03-26 6:05 Sergei Trofimovich
2018-03-24 21:04 Mikle Kolyada
2018-03-24 16:47 Sergei Trofimovich
2018-03-15 16:38 Mikle Kolyada
2018-03-04 11:34 Tobias Klausmann
2018-03-01 21:28 Mart Raudsepp
2018-02-19 16:21 Michał Górny
2018-01-15 19:03 Tobias Klausmann
2018-01-14 11:25 Sergei Trofimovich
2018-01-13 20:52 Sergei Trofimovich
2018-01-12 19:27 Thomas Deutschmann
2018-01-12 13:50 Thomas Deutschmann
2017-12-05 5:44 Markus Meier
2017-11-24 20:26 Sergei Trofimovich
2017-10-28 22:03 Sergei Trofimovich
2017-10-28 15:01 Manuel Rüger
2017-10-27 13:49 Thomas Deutschmann
2017-10-22 21:42 Tobias Klausmann
2017-10-14 17:31 Sergei Trofimovich
2017-10-13 0:13 Sergei Trofimovich
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-03-10 18:51 Mike Frysinger
2017-02-23 21:49 Michael Weber
2017-02-18 14:44 Agostino Sarubbo
2017-02-18 5:47 Markus Meier
2017-02-17 10:56 Agostino Sarubbo
2017-02-15 13:49 Tobias Klausmann
2017-02-12 17:01 Agostino Sarubbo
2017-02-05 11:34 Jeroen Roovers
2017-02-04 15:21 Agostino Sarubbo
2016-04-05 19:48 Mike Frysinger
2016-03-29 12:25 Mike Frysinger
2016-03-29 9:57 Mike Frysinger
2016-02-21 8:28 Mike Frysinger
2016-02-14 10:11 Agostino Sarubbo
2016-02-01 19:00 Tobias Klausmann
2016-01-22 4:20 Jeroen Roovers
2016-01-18 9:58 Mike Frysinger
2016-01-17 20:08 Mike Frysinger
2016-01-15 15:23 Agostino Sarubbo
2016-01-14 21:58 Markus Meier
2015-12-19 7:46 Mike Frysinger
2015-09-27 6:27 Mike Frysinger
2015-09-11 17:07 Mike Frysinger
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=1737149302.7467518eee363710a7035c15c9238eb532d3b053.floppym@gentoo \
--to=floppym@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