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:
parent
4ae224c663
commit
c6a2e9a7ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363268
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 4, 2020
|
.Dd July 17, 2020
|
||||||
.Dt PORTS 7
|
.Dt PORTS 7
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -437,6 +437,14 @@ Where to find/put distfiles, normally
|
|||||||
.Pa distfiles/
|
.Pa distfiles/
|
||||||
in
|
in
|
||||||
.Va PORTSDIR .
|
.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
|
.It Va PACKAGES
|
||||||
Used only for the
|
Used only for the
|
||||||
.Cm package
|
.Cm package
|
||||||
|
Loading…
Reference in New Issue
Block a user