[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkgsrc-changes
Subject:    CVS commit: pkgsrc/www/apache24
From:       "Jason Bacon" <bacon () netbsd ! org>
Date:       2020-06-23 14:33:22
Message-ID: 20200623143322.6A05DFB28 () cvs ! NetBSD ! org
[Download RAW message or body]

This is a multi-part message in MIME format.

--_----------=_159292280238380
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="US-ASCII"

Module Name:	pkgsrc
Committed By:	bacon
Date:		Tue Jun 23 14:33:22 UTC 2020

Modified Files:
	pkgsrc/www/apache24: Makefile

Log Message:
www/apache24: Fix chmod in post-install for CentOS

On CentOS 7, the "who" in a symbolic mode does not default to "a" as on NetBSD
E.g. "chmod -x" does not behave the same as "chmod a-x".


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/www/apache24/Makefile

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


--_----------=_159292280238380
Content-Disposition: inline
Content-Length: 1146
Content-Transfer-Encoding: binary
Content-Type: text/x-diff; charset=us-ascii

Modified files:

Index: pkgsrc/www/apache24/Makefile
diff -u pkgsrc/www/apache24/Makefile:1.92 pkgsrc/www/apache24/Makefile:1.93
--- pkgsrc/www/apache24/Makefile:1.92	Tue Jun  2 08:24:55 2020
+++ pkgsrc/www/apache24/Makefile	Tue Jun 23 14:33:22 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2020/06/02 08:24:55 adam Exp $
+# $NetBSD: Makefile,v 1.93 2020/06/23 14:33:22 bacon Exp $
 #
 # When updating this package, make sure that no strings like
 # "PR 12345" are in the commit message. Upstream likes
@@ -7,7 +7,7 @@
 
 DISTNAME=	httpd-2.4.43
 PKGNAME=	${DISTNAME:S/httpd/apache/}
-PKGREVISION=	3
+PKGREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_APACHE:=httpd/}
 MASTER_SITES+=	http://archive.apache.org/dist/httpd/
@@ -194,9 +194,9 @@ post-install:
 	${CHOWN} ${MANOWN}:${MANGRP} ${DESTDIR}${PREFIX}/${PKGMANDIR}/${file}
 .endfor
 
-	${CHMOD} -x ${DESTDIR}${PREFIX}/sbin/envvars-std
+	${CHMOD} a-x ${DESTDIR}${PREFIX}/sbin/envvars-std
 .if exists(${DESTDIR}${PREFIX}/sbin/suexec)
-	${CHMOD} -w ${DESTDIR}${PREFIX}/sbin/suexec
+	${CHMOD} a-w ${DESTDIR}${PREFIX}/sbin/suexec
 .endif
 
 .include "../../mk/pthread.buildlink3.mk"


--_----------=_159292280238380--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic