pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/serf Fix permissions after extraction



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f8182a2d30f
branches:  trunk
changeset: 360655:1f8182a2d30f
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Apr 04 23:40:06 2017 +0000

description:
Fix permissions after extraction

The upstream distfile incorrectly has world-writable files.

diffstat:

 www/serf/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ce5933abec79 -r 1f8182a2d30f www/serf/Makefile
--- a/www/serf/Makefile Tue Apr 04 17:12:22 2017 +0000
+++ b/www/serf/Makefile Tue Apr 04 23:40:06 2017 +0000
@@ -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 @@
 
 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}
 



Home | Main Index | Thread Index | Old Index