'port pkg' on 10.8

Joshua Root jmr at macports.org
Wed Jun 26 07:10:02 PDT 2013


Could someone with a 10.8 system please run base with the attached
patch, which makes sandbox violations show up in the system log, and
determine what needs to be added to the profile to make pkg work?

Thanks.

- Josh
-------------- next part --------------
Index: src/port1.0/portsandbox.tcl
===================================================================
--- src/port1.0/portsandbox.tcl	(revision 107347)
+++ src/port1.0/portsandbox.tcl	(working copy)
@@ -79,7 +79,7 @@
         lappend allow_dirs $ccache_dir
     }
 
-    set portsandbox_profile "(version 1) (allow default) (deny file-write*) \
+    set portsandbox_profile "(version 1) (debug deny) (allow default) (deny file-write*) \
 (allow file-write-data (literal \"/dev/null\") (literal \"/dev/zero\") \
 (literal \"/dev/dtracehelper\") (literal \"/dev/tty\") \
 (literal \"/dev/stdin\") (literal \"/dev/stdout\") (literal \"/dev/stderr\") \


More information about the macports-dev mailing list