Subject: Re: Unprivileged builds
To: Julio M.Merino Vidal <jmmv84@gmail.com>
From: Min Sik Kim <minskim@NetBSD.org>
List: tech-pkg
Date: 05/28/2005 12:18:56
On May 28, 2005, at 1:18 PM, Julio M. Merino Vidal wrote:

> Hi all,
>
> what about adding a PKGSRC_UNPRIVED variable to make it easy for end
> users to use pkgsrc without root privileges?

Good idea.

> The attached patch implements it, setting multiple variables to use  
> the
> current user/group pair and disables some features that may break
> builds.  It also changes bootstrap to benefit from it.

Unprivileged build often requires write permission on installed files  
(e.g. to run ranlib).  How about adding BINMODE=755 and NOBINMODE=644?

Regards,
Min Sik Kim