summaryrefslogtreecommitdiff
path: root/mail/dovecot-antispam
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dovecot-antispam')
-rw-r--r--mail/dovecot-antispam/Makefile16
-rw-r--r--mail/dovecot-antispam/distinfo9
2 files changed, 19 insertions, 6 deletions
diff --git a/mail/dovecot-antispam/Makefile b/mail/dovecot-antispam/Makefile
index 0d5106bb79cb..70878fa461f4 100644
--- a/mail/dovecot-antispam/Makefile
+++ b/mail/dovecot-antispam/Makefile
@@ -6,15 +6,17 @@
#
PORTNAME= dovecot-antispam
-PORTVERSION= 20080604
+PORTVERSION= 1.1
+PORTEPOCH= 1
CATEGORIES= mail
-MASTER_SITES= http://ports.internal.vlink.ru/distfiles/
+MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
+ http://ports.internal.vlink.ru/distfiles/
MAINTAINER= dsh@wizard.volgograd.ru
COMMENT= Dovecot plugin to train dspam about spam or false positives
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure
-RUN_DEPENDS= dovecot>=1.0.10:${PORTSDIR}/mail/dovecot
+RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot
USE_BZIP2= yes
USE_GMAKE= yes
@@ -24,6 +26,8 @@ MAN7= dovecot-antispam.7
OPTIONS+= DSPAM "direct dspam training" on
OPTIONS+= MAILTRAIN "send mail to special addresses for training" off
+OPTIONS+= DEBUG "Turn on debug information (syslog)" off
+OPTIONS+= DEBUG_VERBOSE "Turn on verbose debug" off
do-install:
${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \
@@ -44,6 +48,12 @@ do-configure:
.if defined(WITH_MAILTRAIN)
${ECHO} "BACKEND=mailtrain" >> ${WRKSRC}/.config
.endif
+.if defined(WITH_DEBUG)
+ ${ECHO} "DEBUG=syslog" >> ${WRKSRC}/.config
+.endif
+.if defined(WITH_DEBUG_VERBOSE)
+ ${ECHO} "DEBUG_VERBOSE=1" >> ${WRKSRC}/.config
+.endif
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config
.include <bsd.port.post.mk>
diff --git a/mail/dovecot-antispam/distinfo b/mail/dovecot-antispam/distinfo
index a964cbcb9d70..323597908482 100644
--- a/mail/dovecot-antispam/distinfo
+++ b/mail/dovecot-antispam/distinfo
@@ -1,3 +1,6 @@
-MD5 (dovecot-antispam-20080604.tar.bz2) = 50e6080e882f24feaf9bd3d3fcb2b67e
-SHA256 (dovecot-antispam-20080604.tar.bz2) = aac1c9bff5443e903e1272292f9f7ecab9d8523e353932f53976cb47d2316fdc
-SIZE (dovecot-antispam-20080604.tar.bz2) = 23581
+MD5 (dovecot-antispam-1.0.tar.bz2) = aeb77a04b0a5f7d37d892118f3791344
+SHA256 (dovecot-antispam-1.0.tar.bz2) = 001cb927b52b06141b5e738d0684f15f0314cbdd7fb0f52ad198c5ff6bdced21
+SIZE (dovecot-antispam-1.0.tar.bz2) = 22279
+MD5 (dovecot-antispam-1.1.tar.bz2) = 551e2c55c1716a1860648fec75f49b18
+SHA256 (dovecot-antispam-1.1.tar.bz2) = 3f6e0098040fb13f3dcc682ed8755b4024a7461ea16873775c600a303b38d5d7
+SIZE (dovecot-antispam-1.1.tar.bz2) = 22298