summaryrefslogtreecommitdiffstats
path: root/mail/qmail-scanner
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-01 19:23:58 +0000
committerflz <flz@FreeBSD.org>2005-06-01 19:23:58 +0000
commita530147c57e5957d16063adb69afe765bfef527a (patch)
tree6fe19ce3f5dd38e854f49c8fb74816f97fd5ecc8 /mail/qmail-scanner
parent5d3e0081f37b02d5c210fc7fa5b62830c350300a (diff)
downloadFreeBSD-ports-a530147c57e5957d16063adb69afe765bfef527a.zip
FreeBSD-ports-a530147c57e5957d16063adb69afe765bfef527a.tar.gz
- Fix spamd socket option parsing.
PR: ports/78102 Submitted by: Will Saxon <wills@housing.ufl.edu> Approved by: maintainer timeout (2 months)
Diffstat (limited to 'mail/qmail-scanner')
-rw-r--r--mail/qmail-scanner/Makefile1
-rw-r--r--mail/qmail-scanner/files/patch-configure2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/qmail-scanner/Makefile b/mail/qmail-scanner/Makefile
index 2dad6dc..3ce416e 100644
--- a/mail/qmail-scanner/Makefile
+++ b/mail/qmail-scanner/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qmail-scanner
PORTVERSION= 1.25
+PORTREVISION= 1
CATEGORIES= mail security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/qmail-scanner/files/patch-configure b/mail/qmail-scanner/files/patch-configure
index 10809f9..6c2bfd5 100644
--- a/mail/qmail-scanner/files/patch-configure
+++ b/mail/qmail-scanner/files/patch-configure
@@ -83,7 +83,7 @@
SPAMD_SOCKET=`ps -ef 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
if [ "$SPAMD_SOCKET" = "" ]; then
- SPAMD_SOCKET=`ps aux 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
-+ SPAMD_SOCKET=`ps auxwww 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
++ SPAMD_SOCKET=`ps auxwww 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath[\ |=]//'|awk '{print $1}'`
fi
if [ "$SPAMD_SOCKET" != "" -a -S "$SPAMD_SOCKET" ]; then
SPAMC_BINARY="$SPAMC_BINARY -U $SPAMD_SOCKET"
OpenPOWER on IntegriCloud