aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/py-spambayes/Makefile2
-rw-r--r--mail/py-spambayes/files/pyspamd.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/py-spambayes/Makefile b/mail/py-spambayes/Makefile
index 5830dc2423d8..02c4b95b4c64 100644
--- a/mail/py-spambayes/Makefile
+++ b/mail/py-spambayes/Makefile
@@ -7,7 +7,7 @@
PORTNAME= spambayes
PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/py-spambayes/files/pyspamd.in b/mail/py-spambayes/files/pyspamd.in
index 79c9370a496c..7dab9dfbf92a 100644
--- a/mail/py-spambayes/files/pyspamd.in
+++ b/mail/py-spambayes/files/pyspamd.in
@@ -24,10 +24,12 @@ rcvar=`set_rcvar`
load_rc_config $name
: ${pyspamd_enable="NO"}
+: ${pyspamd_config="/usr/local/etc/bayescustomize.ini"}
command="/usr/sbin/daemon"
command_args=" -p /var/run/pyspamd.pid /usr/local/bin/python -OO /usr/local/bin/sb_server.py 2>&1 >/dev/null"
pidfile="/var/run/pyspamd.pid"
procname="/usr/local/bin/python"
+export BAYESCUSTOMIZE=${pyspamd_config}
run_rc_command "$1"