MacPorts as non-root (and non-admin)

Rainer Müller raimue at macports.org
Wed Jan 30 07:18:18 PST 2008


Anders F Björklund wrote:
> It also needs a new Portfile setting added somewhere:
> a flag for "this port requires root/admin priviledges"
> It would be set for things like servers or extensions,
> that really *needs* root in order to run properly...

That's a good thing, I also don't like the hardcoded
/Applications/MacPorts at the moment.

> Possibly tying in with the "startupitem.type none",
> http://lists.macosforge.org/pipermail/macports-dev/2006-October/000136.html
> Then the above two variables could go in as something
> like: ${destroot.applications} ${destroot.frameworks}

Some ports may also require the real path where Application gets installed.

So is ${destroot.applications} meant to be written as
${destroot}${destroot.applications}?

And if it only contains /Applications/MacPorts (by default), I think
${destroot.applications} is the wrong name as it is not only used for
destrooting.

Rainer


More information about the macports-dev mailing list