summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/files/ebuild.sh.diff')
-rw-r--r--sandbox/files/ebuild.sh.diff59
1 files changed, 0 insertions, 59 deletions
diff --git a/sandbox/files/ebuild.sh.diff b/sandbox/files/ebuild.sh.diff
deleted file mode 100644
index d674ffe..0000000
--- a/sandbox/files/ebuild.sh.diff
+++ /dev/null
@@ -1,59 +0,0 @@
---- ebuild.sh.orig Mon Dec 10 11:56:04 2001
-+++ ebuild.sh Mon Dec 10 12:01:54 2001
-@@ -1,4 +1,29 @@
- #!/bin/bash
-+
-+# disable the sandbox for now ...
-+export SANDBOX_ON="0"
-+
-+# sandbox support functions
-+addread()
-+{
-+ export SANDBOX_READ="$SANDBOX_READ:$1"
-+}
-+
-+addwrite()
-+{
-+ export SANDBOX_WRITE="$SANDBOX_WRITE:$1"
-+}
-+
-+adddeny()
-+{
-+ export SANDBOX_DENY="$SANDBOX_DENY:$1"
-+}
-+
-+addpredict()
-+{
-+ export SANDBOX_PREDICT="$SANDBOX_PREDICT:$1"
-+}
-+
- #we need this next line for "die" and "assert"
- shopt -s expand_aliases
- source /etc/profile.env > /dev/null 2>&1
-@@ -694,7 +719,25 @@
- set +x
- fi
- ;;
-- unpack|compile|help|touch|clean|fetch|digest|pkginfo|pkgloc|unmerge|merge|package|install|rpm)
-+ # Only enable the SandBox for these functions
-+ unpack|compile|clean|install)
-+ if [ ${SANDBOX_DISABLED="0"} = "0" ]
-+ then
-+ export SANDBOX_ON="1"
-+ else
-+ export SANDBOX_ON="0"
-+ fi
-+ if [ "$PORTAGE_DEBUG" = "0" ]
-+ then
-+ dyn_${myarg}
-+ else
-+ set -x
-+ dyn_${myarg}
-+ set +x
-+ fi
-+ export SANDBOX_ON="0"
-+ ;;
-+ help|touch|fetch|digest|pkginfo|pkgloc|unmerge|merge|package|rpm)
- if [ "$PORTAGE_DEBUG" = "0" ]
- then
- dyn_${myarg}