aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail-scanner1/files
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-02 03:23:58 +0800
committerflz <flz@FreeBSD.org>2005-06-02 03:23:58 +0800
commita530147c57e5957d16063adb69afe765bfef527a (patch)
tree6fe19ce3f5dd38e854f49c8fb74816f97fd5ecc8 /mail/qmail-scanner1/files
parent5d3e0081f37b02d5c210fc7fa5b62830c350300a (diff)
downloadfreebsd-ports-gnome-a530147c57e5957d16063adb69afe765bfef527a.tar.gz
freebsd-ports-gnome-a530147c57e5957d16063adb69afe765bfef527a.tar.zst
freebsd-ports-gnome-a530147c57e5957d16063adb69afe765bfef527a.zip
- 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-scanner1/files')
-rw-r--r--mail/qmail-scanner1/files/patch-configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/qmail-scanner1/files/patch-configure b/mail/qmail-scanner1/files/patch-configure
index 10809f909b3b..6c2bfd5adfac 100644
--- a/mail/qmail-scanner1/files/patch-configure
+++ b/mail/qmail-scanner1/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"