From 07a8f14e1872324949488cc403e4c8a23195f9f7 Mon Sep 17 00:00:00 2001 From: gdt Date: Tue, 4 Apr 2017 23:40:06 +0000 Subject: Fix permissions after extraction The upstream distfile incorrectly has world-writable files. --- www/serf/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www/serf') diff --git a/www/serf/Makefile b/www/serf/Makefile index 5db557d9a66..80b2acc3de5 100644 --- a/www/serf/Makefile +++ b/www/serf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2016/10/30 11:39:14 adam Exp $ +# $NetBSD: Makefile,v 1.37 2017/04/04 23:40:06 gdt Exp $ DISTNAME= serf-1.3.9 CATEGORIES= www @@ -25,6 +25,10 @@ SCONS_ARGS+= --install-sandbox=${DESTDIR} CFLAGS.SunOS+= -D__EXTENSIONS__ +# Upstream distfile incorrectly has world-writable files. +post-extract: + ${CHMOD} -R go-w ${WRKSRC} + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} ${SCONS_ARGS} -- cgit v1.2.3