Add directories to sandbox?

Daniel J. Luke dluke at geeklair.net
Thu Jul 25 07:34:59 PDT 2013


On Jul 25, 2013, at 10:06 AM, Daniel J. Luke <dluke at geeklair.net> wrote:
> On Jul 24, 2013, at 9:48 PM, Joshua Root <jmr at macports.org> wrote:
>> On 2013-7-25 05:56 , Daniel J. Luke wrote:
>>> Is there a way (planned?) for a port to be able to supply a (list of) path(s) to add to the sandbox?
>> 
>> Planned, but...
>> 
>>> for the subversion-javahlbindings port, we put a symlink into /Library/Java/Extensions
>> 
>> That should be allowed provided you correctly create the link in
>> ${destroot}/Library/Java/Extensions and not directly in
>> /Library/Java/Extensions. You should be allowed to write to anything
>> under $workpath.
> 
> you're right, it looks like the build is (now) trying to make a symlink of it's own in ${prefix} during destroot and that was what the sandbox was rejecting (yay!)


I've checked in a fix, but of course the bad file is there on the buildbots now.

Can /opt/local/lib/libsvnjavahl-1.jnilib get whacked (it's a symlink) and then subversion-javahlbindings be re-run to generate an archive?

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list