aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot-antispam
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-10-18 21:38:17 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-10-18 21:38:17 +0000
commitaef68cde6b955e5403704f79f8b3f974f415405f (patch)
treedf18d49f3b129711f9a5ac6f0dff49cc94a16984 /mail/dovecot-antispam
parent00eb298f48a10d34ff14587d115333f3c05eaacf (diff)
downloadports-aef68cde6b955e5403704f79f8b3f974f415405f.tar.gz
ports-aef68cde6b955e5403704f79f8b3f974f415405f.zip
Notes
Diffstat (limited to 'mail/dovecot-antispam')
-rw-r--r--mail/dovecot-antispam/Makefile16
-rw-r--r--mail/dovecot-antispam/distinfo6
2 files changed, 16 insertions, 6 deletions
diff --git a/mail/dovecot-antispam/Makefile b/mail/dovecot-antispam/Makefile
index 0d5106bb79cb..b5b96335c288 100644
--- a/mail/dovecot-antispam/Makefile
+++ b/mail/dovecot-antispam/Makefile
@@ -6,15 +6,17 @@
#
PORTNAME= dovecot-antispam
-PORTVERSION= 20080604
+PORTVERSION= 1.0
+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..4cf450844269 100644
--- a/mail/dovecot-antispam/distinfo
+++ b/mail/dovecot-antispam/distinfo
@@ -1,3 +1,3 @@
-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