[52304] trunk/base/src/port1.0
jmr at macports.org
jmr at macports.org
Sat Jun 13 14:51:30 PDT 2009
Revision: 52304
http://trac.macports.org/changeset/52304
Author: jmr at macports.org
Date: 2009-06-13 14:51:27 -0700 (Sat, 13 Jun 2009)
Log Message:
-----------
add $distpath to the trace sandbox, and enable the fence for fetch
Modified Paths:
--------------
trunk/base/src/port1.0/porttrace.tcl
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/porttrace.tcl
===================================================================
--- trunk/base/src/port1.0/porttrace.tcl 2009-06-13 20:54:39 UTC (rev 52303)
+++ trunk/base/src/port1.0/porttrace.tcl 2009-06-13 21:51:27 UTC (rev 52304)
@@ -44,7 +44,7 @@
if {[catch {package require Thread} error]} {
ui_warn "trace requires Tcl Thread package ($error)"
} else {
- global env trace_fifo trace_sandboxbounds portpath
+ global env trace_fifo trace_sandboxbounds portpath distpath
# Create a fifo.
# path in unix socket limited to 109 chars
# # set trace_fifo "$workpath/trace_fifo"
@@ -78,7 +78,7 @@
# /Library/Caches/com.apple.Xcode
# $CCACHE_DIR
# $HOMEDIR/.ccache
- set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:$env(HOME)/.ccache:${workpath}:$portpath"
+ set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:$env(HOME)/.ccache:${workpath}:${portpath}:${distpath}"
if {[info exists env(TMPDIR)]} {
set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
}
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2009-06-13 20:54:39 UTC (rev 52303)
+++ trunk/base/src/port1.0/portutil.tcl 2009-06-13 21:51:27 UTC (rev 52304)
@@ -1268,7 +1268,6 @@
# outside the sandbox.
if {$target != "activate"
&& $target != "archive"
- && $target != "fetch"
&& $target != "install"} {
porttrace::trace_enable_fence
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090613/dd820cb0/attachment.html>
More information about the macports-changes
mailing list