Make the config files writable for root and strictly read-only for the user

the app runs as.  Bump PKGREVISION.
This commit is contained in:
ghen 2008-01-10 20:17:57 +00:00
parent 7cf1897b34
commit 6325f9a103

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.6 2007/11/08 23:35:33 adrianp Exp $
# $NetBSD: Makefile,v 1.7 2008/01/10 20:17:57 ghen Exp $
#
DISTNAME= roundcubemail-0.1-rc2
PKGNAME= roundcube-0.1rc2
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@ -37,9 +38,9 @@ OWN_DIRS_PERMS+=${VARBASE}/tmp/roundcube ${APACHE_USER} ${APACHE_GROUP} 0755
CONF_FILES= ${EGDIR}/roundcube.conf ${PKG_SYSCONFDIR}/roundcube.conf
CONF_FILES_PERMS+= \
${EGDIR}/db.inc.php ${PKG_SYSCONFDIR}/roundcube/db.inc.php \
${APACHE_USER} ${APACHE_GROUP} 0440 \
${ROOT_USER} ${APACHE_GROUP} 0640 \
${EGDIR}/main.inc.php ${PKG_SYSCONFDIR}/roundcube/main.inc.php \
${APACHE_USER} ${APACHE_GROUP} 0440
${ROOT_USER} ${APACHE_GROUP} 0640
SUBST_CLASSES+= files
SUBST_STAGE.files= do-configure