File:  [NetBSD Developer Wiki] / wikisrc / projects / project / pkgsrc-unpriv.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Sat Jan 13 15:27:00 2018 UTC (5 years, 10 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by joerg: user-destdir has been the default for a long time and most packages use it

[[!template id=project

title="Unprivileged pkgsrc builds"



To create packages that are usable by anyone, pkgsrc currently requires that
packages be built with superuser privileges. It is already possible to use
pkgsrc in great parts without such privileges, but there haven't been many
thoughts about how the resulting binary packages should be specified. For
example, many packages don't care at all about the owner/group of their files,
as long as they are not publicly overwritable.  In the end, the binary packages
should be as independent from the build environment as possible.

For more information about the current state, see the How to use pkgsrc as
non-root section in the pkgsrc guide,
[Jörg's mail on DESTDIR support](
as well as pkgsrc/mk/

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb