diff options
author | Ulrich Spörlein <uqs@FreeBSD.org> | 2013-01-08 14:46:14 +0000 |
---|---|---|
committer | Ulrich Spörlein <uqs@FreeBSD.org> | 2013-01-08 14:46:14 +0000 |
commit | c5a7a109edd907a74c5d2cf2772fef59dae55689 (patch) | |
tree | 30d3463760c440ea23e223e11376b0464f0d8704 /mail/spamd | |
parent | e0a5282e09bc2a51573f91475ec6ff260c3dc5a0 (diff) | |
download | ports-c5a7a109edd907a74c5d2cf2772fef59dae55689.tar.gz ports-c5a7a109edd907a74c5d2cf2772fef59dae55689.zip |
Notes
Diffstat (limited to 'mail/spamd')
-rw-r--r-- | mail/spamd/Makefile | 1 | ||||
-rw-r--r-- | mail/spamd/files/obspamlogd.in | 26 |
2 files changed, 14 insertions, 13 deletions
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile index 225b32e3231a..9e8e196c1e88 100644 --- a/mail/spamd/Makefile +++ b/mail/spamd/Makefile @@ -3,6 +3,7 @@ PORTNAME= spamd PORTVERSION= 4.9.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF MASTER_SITE_SUBDIR=freebsdspamd.berlios diff --git a/mail/spamd/files/obspamlogd.in b/mail/spamd/files/obspamlogd.in index 7182e92ecb24..136c66fe5495 100644 --- a/mail/spamd/files/obspamlogd.in +++ b/mail/spamd/files/obspamlogd.in @@ -33,20 +33,20 @@ pidfile="/var/run/spamlogd.pid" obspamlogd_precmd() { - if [ ! -z ${obspamlogd_pflog_if} ]; then - # Configure i/f explicitly - load_kld pflog || { - warn "Unable to kldload pflog module" - return 1 - } + if [ ! -z "${obspamlogd_pflog_if}" ]; then + # Configure i/f explicitly + load_kld pflog || { + warn "Unable to kldload pflog module" + return 1 + } - if ! ifconfig ${obspamlogd_pflog_if} create up; then - warn "could not bring up ${obspamlogd_pflog_if}" - return 1 - fi + if ! ifconfig ${obspamlogd_pflog_if} create up; then + warn "could not bring up ${obspamlogd_pflog_if}" + return 1 + fi - rc_flags="${rc_flags} -l ${obspamlogd_pflog_if}" - fi + rc_flags="${rc_flags} -l ${obspamlogd_pflog_if}" + fi _rc=0 /sbin/mount -p | grep 'fdescfs.*/dev/fd.*fdescfs.*rw' 2>&1 > /dev/null _rc=${?} @@ -63,7 +63,7 @@ obspamlogd_precmd() obspamlogd_cleanup() { - if [ -n ${obspamlogd_pflog_if} ]; then + if [ -n "${obspamlogd_pflog_if}" ]; then ifconfig ${obspamlogd_pflog_if} destroy fi /bin/rm -f ${pidfile} |