pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/serf



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Apr  4 23:40:06 UTC 2017

Modified Files:
        pkgsrc/www/serf: Makefile

Log Message:
Fix permissions after extraction

The upstream distfile incorrectly has world-writable files.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/www/serf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/serf/Makefile
diff -u pkgsrc/www/serf/Makefile:1.36 pkgsrc/www/serf/Makefile:1.37
--- pkgsrc/www/serf/Makefile:1.36       Sun Oct 30 11:39:14 2016
+++ pkgsrc/www/serf/Makefile    Tue Apr  4 23:40:06 2017
@@ -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=${DESTDI
 
 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