pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/apache22 Only fix the suexec permissions if the fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6b228962182
branches:  trunk
changeset: 533138:c6b228962182
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Sep 09 08:12:58 2007 +0000

description:
Only fix the suexec permissions if the file exists.

diffstat:

 www/apache22/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 2a9d9a8487e1 -r c6b228962182 www/apache22/Makefile
--- a/www/apache22/Makefile     Sun Sep 09 08:01:45 2007 +0000
+++ b/www/apache22/Makefile     Sun Sep 09 08:12:58 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/09/08 18:48:18 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2007/09/09 08:12:58 rillig Exp $
 
 .include "Makefile.common"
 
@@ -264,6 +264,6 @@
                ${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/${PKGMANDIR}/$$file; \
        done
 
-       ${CHMOD} -w ${PREFIX}/sbin/suexec
+       [ ! -f ${PREFIX}/sbin/suexec ] || ${CHMOD} -w ${PREFIX}/sbin/suexec
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index