diff options
author | paco <paco@cvs.openbsd.org> | 2020-06-08 13:19:27 +0000 |
---|---|---|
committer | paco <paco@cvs.openbsd.org> | 2020-06-08 13:19:27 +0000 |
commit | 456b53ca89d92abae80967a10798357b6c13a403 (patch) | |
tree | 7656993071ad6ead026d77718138d678980d12a8 | |
parent | 500b5c9eb3172334815f826c5ee666a5e18ca84d (diff) |
add FIX_CLEANUP_PERMISSIONS.
Used for build systems which set paranoid permissions at build time.
See: https://marc.info/?l=openbsd-ports-cvs&m=159162220318205&w=2
original patch by jca@
-rw-r--r-- | share/man/man5/bsd.port.mk.5 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index 3b11fc644cd..993fbae3ad4 100644 --- a/share/man/man5/bsd.port.mk.5 +++ b/share/man/man5/bsd.port.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.mk.5,v 1.531 2020/05/18 18:19:11 kn Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.532 2020/06/08 13:19:26 paco Exp $ .\" .\" Copyright (c) 2000-2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 18 2020 $ +.Dd $Mdocdate: June 8 2020 $ .Dt BSD.PORT.MK 5 .Os .Sh NAME @@ -1820,6 +1820,16 @@ User to use to fetch distfiles when using .Ev PORTS_PRIVSEP , defaults to .Sq _pfetch . +.It Ev FIX_CLEANUP_PERMISSIONS +If +.Sq Yes , +restore read, write and directory search permissions for the build user on +.Pa ${WRKDIR} +before running +.Cm clean . +Used for build systems which set paranoid permissions at build time. +Defaults to +.Sq \&No . .It Ev FIX_EXTRACT_PERMISSIONS If .Sq Yes , |