aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mimedefang
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-02-15 16:51:00 +0800
committerleeym <leeym@FreeBSD.org>2003-02-15 16:51:00 +0800
commit2a61d1d3468b561fbdb4339cc4d91a646e389abf (patch)
tree401192bfd472652b5758134861dcb7fa380e50fb /mail/mimedefang
parent58102ed53831a65139cf5fac7368daf6e29e72a4 (diff)
downloadfreebsd-ports-gnome-2a61d1d3468b561fbdb4339cc4d91a646e389abf.tar.gz
freebsd-ports-gnome-2a61d1d3468b561fbdb4339cc4d91a646e389abf.tar.zst
freebsd-ports-gnome-2a61d1d3468b561fbdb4339cc4d91a646e389abf.zip
update to mimedefang-2.30
PR: ports/48287 Submitted by: Andrey V. Pevnev <andrey@mgul.ac.ru>
Diffstat (limited to 'mail/mimedefang')
-rw-r--r--mail/mimedefang/Makefile13
-rw-r--r--mail/mimedefang/distinfo2
-rw-r--r--mail/mimedefang/pkg-install3
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
;;