Add directories to sandbox?
Ryan Schmidt
ryandesign at macports.org
Thu Jul 25 09:36:08 PDT 2013
On Jul 25, 2013, at 09:34, Daniel J. Luke wrote:
> On Jul 25, 2013, at 10:06 AM, Daniel J. Luke wrote:
>> On Jul 24, 2013, at 9:48 PM, Joshua Root wrote:
>>> On 2013-7-25 05:56 , Daniel J. Luke wrote:
>>>> 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.
And on the systems of every user who has installed the port previously.
> Can /opt/local/lib/libsvnjavahl-1.jnilib get whacked (it's a symlink) and then subversion-javahlbindings be re-run to generate an archive?
It's your responsibility to program the port to do so in the pre-activate phase. See the lisaem port for an example of how to do this.
More information about the macports-dev
mailing list