summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-03 21:42:14 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-03 22:05:09 +0200
commitf2c9a006a38fbc558157fa35a27d532f2f9e89bb (patch)
treedccf13838003e45aea9c051bf2efe3fc3be746f5 /sys-apps/sydbox
parentprofiles: mask dev-lang/icc, ifc, idb, etc. for removal (diff)
downloadgentoo-f2c9a006a38fbc558157fa35a27d532f2f9e89bb.tar.gz
gentoo-f2c9a006a38fbc558157fa35a27d532f2f9e89bb.tar.bz2
gentoo-f2c9a006a38fbc558157fa35a27d532f2f9e89bb.zip
sys-apps/sydbox: Use sandbox-2.13+ unloading instead of unsandbox
Diffstat (limited to 'sys-apps/sydbox')
-rw-r--r--sys-apps/sydbox/sydbox-1.0.7.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys-apps/sydbox/sydbox-1.0.7.ebuild b/sys-apps/sydbox/sydbox-1.0.7.ebuild
index 660422f3a516..951a50fa3a49 100644
--- a/sys-apps/sydbox/sydbox-1.0.7.ebuild
+++ b/sys-apps/sydbox/sydbox-1.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -15,7 +15,7 @@ IUSE="debug seccomp test"
RDEPEND="sys-libs/pinktrace:=
debug? ( sys-libs/libunwind:= )"
DEPEND="${RDEPEND}
- test? ( app-portage/unsandbox )"
+ test? ( !<sys-apps/sandbox-2.13 )"
src_configure() {
local myconf=(
@@ -27,6 +27,9 @@ src_configure() {
}
src_test() {
- # two sandboxes are never a good idea ;-)
- unsandbox emake check
+ # unload the Gentoo sandbox
+ local -x SANDBOX_ON=0
+ local -x LD_PRELOAD=
+
+ emake check
}