Promote use of unprivileged users for building ports by documenting SU_CMD.

Phrasing by Daniel O'Connor.

Reviewed by:	0mp
MFC after:	14 days
Differential Revision:	https://reviews.freebsd.org/D25433
This commit is contained in:
Piotr Pawel Stefaniak 2020-07-17 06:33:20 +00:00
parent 4ae224c663
commit c6a2e9a7ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363268

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd February 4, 2020
.Dd July 17, 2020
.Dt PORTS 7
.Os
.Sh NAME
@ -437,6 +437,14 @@ Where to find/put distfiles, normally
.Pa distfiles/
in
.Va PORTSDIR .
.It Va SU_CMD
Command used to elevate privilege to configure and install a port.
The unprivileged user must have write access to
.Va WRKDIRPREFIX
and
.Va DISTDIR .
The default is
.Ql /usr/bin/su root -c
.It Va PACKAGES
Used only for the
.Cm package