pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: non-root package-building sandbox?



On 5/7/15 3:23 PM, Ian D. Leroux wrote:
> Is there a tool that would let one build (or better yet test) pkgsrc
> packages without installing them to /usr/pkg and without requiring
> root privileges?

Hello, Ian.

I do my pkgsrc development inside a chroot sandbox.  This way everything
is restricted to the sandbox and not affecting my production system.  I
have scripts to automate setting everything up, many of them just copied
from those by Jonathan Perkin in his post, "Distributed chrooted pkgsrc
bulk builds" [1] and then modified to suit my needs.

See also the thread, "pbulk best practice for fixing packages that fail
to build" [2].

Regards,

Lewis

[1] http://www.perkin.org.uk/posts/distributed-chrooted-pkgsrc-bulk-builds.html
[2] http://mail-index.netbsd.org/pkgsrc-users/2015/04/13/msg021346.html


Home | Main Index | Thread Index | Old Index