~/.macports

Brandon Allbery allbery.b at gmail.com
Tue Feb 10 16:52:25 PST 2015


On Tue, Feb 10, 2015 at 7:27 PM, Ian Wadham <iandw.au at gmail.com> wrote:

> From now on I want to use sudo, have a local-port structure that is NOT in
> /opt/local
> and have NO modifications of standard permissions in /opt/local.
>
> But how do I get there, *safely*, from where I am?
>

https://guide.macports.org/#development.local-repositories is a good start.
If you want a complete sandboxing, you can install MacPorts from source
with a different prefix (and possibly even a different "macports" build
user, for extra insulation). Change $PATH to switch from the main one to
the devel one, presumably not having /opt/local/bin etc. in $PATH at all
when working with the devel installation.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150210/a9993dbd/attachment.html>


More information about the macports-dev mailing list