summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-mta/Makefile7
-rw-r--r--mail/sqwebmail/Makefile9
2 files changed, 10 insertions, 6 deletions
diff --git a/mail/courier-mta/Makefile b/mail/courier-mta/Makefile
index fb0ef37f5a1..3c064821186 100644
--- a/mail/courier-mta/Makefile
+++ b/mail/courier-mta/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2007/09/21 14:12:19 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2007/09/21 22:42:00 jlam Exp $
DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/-mta-/}
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
@@ -94,6 +94,9 @@ post-build:
post-install:
cd ${WRKSRC}/courier && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-permissions
+ ${CHOWN} ${COURIER_USER}:${COURIER_GROUP} \
+ ${DATADIR}/filterctl ${PREFIX}/sbin/courierfilter
+ ${CHMOD} 0500 ${DATADIR}/filterctl ${PREFIX}/sbin/courierfilter
${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
${INSTALL_DATA} ${WRKDIR}/locallowercase ${EGDIR}/locallowercase
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 6ae07d001ea..af9d01515b4 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2007/09/11 17:50:14 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2007/09/21 22:42:00 jlam Exp $
DISTNAME= sqwebmail-5.1.6
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
@@ -76,8 +76,9 @@ REQD_DIRS_PERMS+= ${LIBEXECDIR}/webmail \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
MAKE_DIRS+= ${VARBASE}/run ${LOCALSTATEDIR}
OWN_DIRS+= ${SQWEBMAIL_STATEDIR}
-OWN_DIRS+= ${SQWEBMAIL_CACHEDIR}
-OWN_DIRS_PERMS= ${SQWEBMAIL_CALENDARDIR} \
+OWN_DIRS_PERMS= ${SQWEBMAIL_CACHEDIR} \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
+OWN_DIRS_PERMS+= ${SQWEBMAIL_CALENDARDIR} \
${REAL_ROOT_USER} ${COURIER_GROUP} 0755
OWN_DIRS_PERMS+= ${SQWEBMAIL_CALENDARDIR}/public \
${REAL_ROOT_USER} ${COURIER_GROUP} 0755