Use CONF_FILES_PERMS instead of CONF_FILES + SPECIAL_PERMS.

This commit is contained in:
jlam 2007-06-15 14:18:38 +00:00
parent b31089a739
commit 84fa661d9a
2 changed files with 9 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.58 2007/03/20 14:17:16 tron Exp $
# $NetBSD: Makefile,v 1.59 2007/06/15 14:18:38 jlam Exp $
DISTNAME= phpMyAdmin-${DIST_VERSION}-all-languages
PKGNAME= phpmyadmin-${DIST_VERSION:S/-//}
@ -35,10 +35,11 @@ BUILD_DEFS+= APACHE_USER APACHE_GROUP
EXDIR= ${PREFIX}/share/examples/phpmyadmin
PMCONFFILE= ${PKG_SYSCONFDIR}/config.inc.php
PMDIR= ${PREFIX}/share/phpmyadmin
CONF_FILES= ${EXDIR}/config.inc.php ${PKG_SYSCONFDIR}/config.inc.php
REPLACE_PERL+= scripts/convertcfg.pl
SPECIAL_PERMS= ${PKG_SYSCONFDIR}/config.inc.php ${APACHE_USER} \
${APACHE_GROUP} 0600
CONF_FILES_PERMS= ${EXDIR}/config.inc.php \
${PKG_SYSCONFDIR}/config.inc.php \
${APACHE_USER} ${APACHE_GROUP} 0600
PKG_SYSCONFSUBDIR?= phpmyadmin

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2007/02/03 17:21:02 adrianp Exp $
# $NetBSD: Makefile,v 1.24 2007/06/15 14:20:10 jlam Exp $
#
DISTNAME= bugzilla-2.22.2
@ -38,9 +38,9 @@ MESSAGE_SUBST+= BZDIR=${BZDIR:Q} PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
BZDIR= ${PREFIX}/share/bugzilla
EGDIR= ${PREFIX}/share/examples/bugzilla
DOCDIR= ${PREFIX}/share/doc/bugzilla
CONF_FILES= ${EGDIR}/bugzilla.conf ${PKG_SYSCONFDIR}/bugzilla.conf \
${EGDIR}/localconfig ${BZDIR}/localconfig
SPECIAL_PERMS= ${BZDIR}/localconfig ${APACHE_USER} ${SHAREGRP} 0400
CONF_FILES= ${EGDIR}/bugzilla.conf ${PKG_SYSCONFDIR}/bugzilla.conf
CONF_FILES_PERMS= ${EGDIR}/localconfig ${BZDIR}/localconfig \
${APACHE_USER} ${SHAREGRP} 0400
PAX_DIRS= Bugzilla skins template
REPLACE_PERL+= *.pl *.cgi