pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/www/serf Pullup ticket #5241 - requested by sevan



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e4523ad155f
branches:  pkgsrc-2017Q1
changeset: 360227:0e4523ad155f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Apr 12 17:29:41 2017 +0000

description:
Pullup ticket #5241 - requested by sevan
www/serf: build fix

Revisions pulled up:
- www/serf/Makefile                                             1.37

---
   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.

diffstat:

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

diffs (20 lines):

diff -r d93d15990444 -r 0e4523ad155f www/serf/Makefile
--- a/www/serf/Makefile Wed Apr 12 14:33:29 2017 +0000
+++ b/www/serf/Makefile Wed Apr 12 17:29:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/10/30 11:39:14 adam Exp $
+# $NetBSD: Makefile,v 1.36.4.1 2017/04/12 17:29:41 bsiegert 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