diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-15 08:51:00 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-02-15 08:51:00 +0000 |
commit | fcbc3a180a1821e5a0b5d1fcef019f2a8dff4b75 (patch) | |
tree | 87b46e2531df208c9684651a46debc30c9b77b2f /mail/mimedefang | |
parent | 154dd8fa77adfc84178cd12c723a0c210ee7a5e2 (diff) | |
download | ports-fcbc3a180a1821e5a0b5d1fcef019f2a8dff4b75.tar.gz ports-fcbc3a180a1821e5a0b5d1fcef019f2a8dff4b75.zip |
Notes
Diffstat (limited to 'mail/mimedefang')
-rw-r--r-- | mail/mimedefang/Makefile | 13 | ||||
-rw-r--r-- | mail/mimedefang/distinfo | 2 | ||||
-rw-r--r-- | mail/mimedefang/pkg-install | 3 |
3 files changed, 13 insertions, 5 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile index 7f89dc703d14..fb60e8a02d37 100644 --- a/mail/mimedefang/Makefile +++ b/mail/mimedefang/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mimedefang -PORTVERSION= 2.28 +PORTVERSION= 2.30 CATEGORIES= mail MASTER_SITES= http://www.roaringpenguin.com/mimedefang/ @@ -24,9 +24,16 @@ USE_PERL5= yes USE_REINPLACE= yes PERL_SITELIBDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} GNU_CONFIGURE= yes + +MAILUSER?= mailnull +SPOOLDIR?= /var/spool/MIMEDefang +QUARANTINEDIR?= /var/spool/MIMEDefang + CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mimedefang \ - --with-confsubdir= \ - --with-user=mailnull + --with-confsubdir= \ + --with-user=${MAILUSER} \ + --with-spooldir=${SPOOLDIR} \ + --with-quarantinedir=${QUARANTINEDIR} MAN5= mimedefang-filter.5 MAN7= mimedefang-protocol.7 diff --git a/mail/mimedefang/distinfo b/mail/mimedefang/distinfo index 554921121135..0fb92729575d 100644 --- a/mail/mimedefang/distinfo +++ b/mail/mimedefang/distinfo @@ -1 +1 @@ -MD5 (mimedefang-2.28.tar.gz) = 351c33a2f9ddb79855b7edab1e71842b +MD5 (mimedefang-2.30.tar.gz) = 61972da3ed3a2c6b477e6243a80f2a22 diff --git a/mail/mimedefang/pkg-install b/mail/mimedefang/pkg-install index 80d3b95a908e..95b0f6dd1e81 100644 --- a/mail/mimedefang/pkg-install +++ b/mail/mimedefang/pkg-install @@ -6,13 +6,14 @@ PKG_NAME=$1 PKG_ACTION=$2 +MAILUSER=mailnull SPOOLDIR=/var/spool/MIMEDefang case "$PKG_ACTION" in POST-INSTALL) if [ ! -d ${SPOOLDIR} ]; then mkdir -p ${SPOOLDIR} - chown mailnull:mailnull ${SPOOLDIR} + chown ${MAILUSER}:${MAILUSER} ${SPOOLDIR} chmod 700 ${SPOOLDIR} fi ;; |