From 456b53ca89d92abae80967a10798357b6c13a403 Mon Sep 17 00:00:00 2001 From: paco Date: Mon, 8 Jun 2020 13:19:27 +0000 Subject: 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@ --- share/man/man5/bsd.port.mk.5 | 14 ++++++++++++-- 1 file 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 , -- cgit v1.2.3