On 2017-07-18, multiplex'd <multipl...@gmx.com> wrote:
> Thank you for explaining; I suspected the reasoning was such. Speaking 
> specifically 
> about ports, is there a way to start a port build as root and then drop 
> priviledges 
> (in a similar manner to the base system's build infrastructure)? A quick 
> glance 
> through bsd.port.mk(5) suggests that this isn't (yet) possible. (A possible 
> workaround
> is to run "make fetch" as a normal user, "make prepare" as root and "make 
> build" as 
> normal user etc, however if there are dependencies which need to be built at 
> the "make 
> prepare" stage then they are built as root.)

dpb(8) handles this automatically, but it's a pain when you're starting
work on a new port from scratch especially if you don't have a
particularly clean ports tree.

Reply via email to