diff options
author | bacon <bacon@pkgsrc.org> | 2020-06-23 14:33:22 +0000 |
---|---|---|
committer | bacon <bacon@pkgsrc.org> | 2020-06-23 14:33:22 +0000 |
commit | 9374723102d1407d740c9793fddd174a4061c76d (patch) | |
tree | 997a2fb5ab5bf3fa8614d9c48aa397b10863b7c5 /www/apache24/Makefile | |
parent | 9737d4c1cbce715665c72b0a183d53ded6d6b06d (diff) | |
download | pkgsrc-9374723102d1407d740c9793fddd174a4061c76d.tar.gz |
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 (limited to 'www/apache24/Makefile')
-rw-r--r-- | www/apache24/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/apache24/Makefile b/www/apache24/Makefile index 837a737787f..6484b739312 100644 --- a/www/apache24/Makefile +++ b/www/apache24/Makefile @@ -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" |