aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamd
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-09-21 02:54:39 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-09-21 02:54:39 +0800
commite13e9edd36cb4207e7e2f068658285f18cf22f11 (patch)
tree43a4e3e632cd4ee2a29f92e34f6537bde0d39209 /mail/spamd
parent876291fb644981b88cc4ffc33b8bc5a16b4c4239 (diff)
downloadfreebsd-ports-gnome-e13e9edd36cb4207e7e2f068658285f18cf22f11.tar.gz
freebsd-ports-gnome-e13e9edd36cb4207e7e2f068658285f18cf22f11.tar.zst
freebsd-ports-gnome-e13e9edd36cb4207e7e2f068658285f18cf22f11.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>