aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamd
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-21 02:54:39 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-09-21 02:54:39 +0800
commit7b870d85e11e89db336f6aef6c443b54238ba857 (patch)
tree6914e59eaa50f7da1a566e1fed00b6fad6605380 /mail/spamd
parentf4734d68bd3cd318b3224cd6222bee887846e539 (diff)
downloadfreebsd-ports-gnome-7b870d85e11e89db336f6aef6c443b54238ba857.tar.gz
freebsd-ports-gnome-7b870d85e11e89db336f6aef6c443b54238ba857.tar.zst
freebsd-ports-gnome-7b870d85e11e89db336f6aef6c443b54238ba857.zip
- Fix startup script
PR: 138913 Submitted by: olli hauer <ohauer@gmx.de> (maintainer) Feature safe: yes
Diffstat (limited to 'mail/spamd')
-rw-r--r--mail/spamd/Makefile2
-rw-r--r--mail/spamd/files/obspamd.in2
-rw-r--r--mail/spamd/pkg-descr2
3 files changed, 2 insertions, 4 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index 06aa9dac9977..7a8cf0f4117b 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= spamd
PORTVERSION= 4.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= BERLIOS
MASTER_SITE_SUBDIR=freebsdspamd
diff --git a/mail/spamd/files/obspamd.in b/mail/spamd/files/obspamd.in
index c6cad28309b7..92d9784962da 100644
--- a/mail/spamd/files/obspamd.in
+++ b/mail/spamd/files/obspamd.in
@@ -56,7 +56,7 @@ obspamd_postcmd()
if [ -x %%PREFIX%%/sbin/spamd-setup ]; then
if [ -r %%PREFIX%%/etc/spamd/spamd.conf ]; then
echo "${obspamd_flags}" | egrep "(^\-b| \-b)" 2>&1 > /dev/null
- if [ $? ]; then
+ if [ $? -eq 0 ]; then
%%PREFIX%%/sbin/spamd-setup -bD
else
%%PREFIX%%/sbin/spamd-setup -D
diff --git a/mail/spamd/pkg-descr b/mail/spamd/pkg-descr
index af7c85e1a90f..a4307a25ccea 100644
--- a/mail/spamd/pkg-descr
+++ b/mail/spamd/pkg-descr
@@ -17,5 +17,3 @@ spamd considers sending hosts to be of three types:
when they try to deliver mail.
WWW: http://freebsdspamd.berlios.de/
-
--Alex <samm@os2.kiev.ua>