[44791] trunk/base/src/port1.0/porttrace.tcl
raimue at macports.org
raimue at macports.org
Fri Jan 2 18:50:26 PST 2009
Revision: 44791
http://trac.macports.org/changeset/44791
Author: raimue at macports.org
Date: 2009-01-02 18:50:25 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
port1.0/porttrace.tcl:
Add $CCACHE_DIR and $HOME/.ccache to whitelist for trace mode
Modified Paths:
--------------
trunk/base/src/port1.0/porttrace.tcl
Modified: trunk/base/src/port1.0/porttrace.tcl
===================================================================
--- trunk/base/src/port1.0/porttrace.tcl 2009-01-03 02:39:27 UTC (rev 44790)
+++ trunk/base/src/port1.0/porttrace.tcl 2009-01-03 02:50:25 UTC (rev 44791)
@@ -73,10 +73,15 @@
# /dev/null
# /dev/tty
# /Library/Caches/com.apple.Xcode
- set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:${workpath}:$portpath"
+ # $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"
if {[info exists env(TMPDIR)]} {
set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
}
+ if {[info exists env(CCACHE_DIR)]} {
+ set trace_sandboxbounds "${trace_sandboxbounds}:$env(CCACHE_DIR)"
+ }
tracelib setsandbox $trace_sandboxbounds
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090102/d78fd8a8/attachment.html>
More information about the macports-changes
mailing list