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 (21 months, 4 weeks 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"

contact="""
[tech-pkg](mailto:tech-pkg@NetBSD.org)
"""

category="pkgsrc"
difficulty="medium"
done_by="joerg"

description="""
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](http://mail-index.NetBSD.org/tech-pkg/2006/10/09/0000.html)
as well as pkgsrc/mk/unprivileged.mk.
"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb