summaryrefslogtreecommitdiff
path: root/mail/dspam/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-04-14 20:39:59 +0000
committerxtraeme <xtraeme>2005-04-14 20:39:59 +0000
commitfeaa48c3a75cc1f823d745173ceeb56443c9189f (patch)
treea21a4e00420f7c6b29326591fb1ac88f6ee7885d /mail/dspam/Makefile
parent7d4ac099a5a033faa8ef3d7217e721d13eaff7d1 (diff)
downloadpkgsrc-feaa48c3a75cc1f823d745173ceeb56443c9189f.tar.gz
* Replace hardcoded www user/group with APACHE_{USER,GROUP}.
* Modify permissions for DSPAM_HOME, it should be ${DSPAM_USER}:${APACHE_GROUP}, so that the CGI interface works correctly without modifications. Bump PKGREVISION.
Diffstat (limited to 'mail/dspam/Makefile')
-rw-r--r--mail/dspam/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 3ae21b33796..20340d811fb 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2005/04/14 05:32:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.29 2005/04/14 20:39:59 xtraeme Exp $
DISTNAME= dspam-3.4.4
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/
@@ -82,17 +83,18 @@ PKG_SYSCONFSUBDIR= dspam
CONF_FILES_PERMS= ${EGDIR}/dspam.conf ${PKG_SYSCONFDIR}/dspam.conf \
${BINOWN} ${DSPAM_GROUP} 0640
CONF_FILES_PERMS+= ${EGDIR}/cgi-admins ${PKG_SYSCONFDIR}/cgi-admins \
- www www 0640
+ ${APACHE_USER} ${APACHE_GROUP} 0640
CONF_FILES_PERMS+= ${EGDIR}/cgi-default.prefs \
- ${PKG_SYSCONFDIR}/cgi-default.prefs www www 0640
+ ${PKG_SYSCONFDIR}/cgi-default.prefs \
+ ${APACHE_USER} ${APACHE_GROUP} 0640
CONF_FILES_PERMS+= ${EGDIR}/configure.pl ${PKG_SYSCONFDIR}/configure.pl \
- www www 0640
+ ${APACHE_USER} ${APACHE_GROUP} 0640
PKG_GROUPS= ${DSPAM_GROUP}
PKG_USERS= ${DSPAM_USER}:${DSPAM_GROUP}
SPECIAL_PERMS= ${PREFIX}/bin/dspam ${DSPAM_USER} ${DSPAM_GROUP} \
${DSPAM_BINMODE}
-OWN_DIRS_PERMS= ${DSPAM_HOME} ${DSPAM_USER} ${DSPAM_GROUP} 0775
+OWN_DIRS_PERMS= ${DSPAM_HOME} ${DSPAM_USER} ${APACHE_GROUP} 0775
OWN_DIRS_PERMS+= ${DSPAM_LOGDIR} ${DSPAM_USER} ${DSPAM_GROUP} 0775
OWN_DIRS_PERMS+= ${DSPAM_PIDDIR} ${DSPAM_USER} ${DSPAM_GROUP} 0700