Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/apache24 www/apache24: Fix chmod in post-install f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/591ba6d48b95
branches:  trunk
changeset: 434838:591ba6d48b95
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Tue Jun 23 14:33:22 2020 +0000

description:
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".

diffstat:

 www/apache24/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 3d2bcf3e7166 -r 591ba6d48b95 www/apache24/Makefile
--- a/www/apache24/Makefile     Tue Jun 23 13:22:30 2020 +0000
+++ b/www/apache24/Makefile     Tue Jun 23 14:33:22 2020 +0000
@@ -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 @@
        ${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"



Home | Main Index | Thread Index | Old Index