summaryrefslogtreecommitdiffstats
path: root/mail/qmail-scanner1
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-02-17 11:28:00 +0000
committersergei <sergei@FreeBSD.org>2005-02-17 11:28:00 +0000
commit1addef70bcc0afd8aeb15304a5246f50e359ff8b (patch)
treee9bf68bb1909f011010892098066b2a5d41b7189 /mail/qmail-scanner1
parentb6c11b27c983b0376634501b383b8120fb71768d (diff)
downloadFreeBSD-ports-1addef70bcc0afd8aeb15304a5246f50e359ff8b.zip
FreeBSD-ports-1addef70bcc0afd8aeb15304a5246f50e359ff8b.tar.gz
- Update to 1.25
- Fix a bug when you run spamd/spamc using sockets and `ps -aux` canĀ“t find socket path PR: ports/76888 Submitted by: Renato Botelho <renato@galle.com.br> Approved by: maintainer
Diffstat (limited to 'mail/qmail-scanner1')
-rw-r--r--mail/qmail-scanner1/Makefile2
-rw-r--r--mail/qmail-scanner1/distinfo4
-rw-r--r--mail/qmail-scanner1/files/patch-configure13
3 files changed, 14 insertions, 5 deletions
diff --git a/mail/qmail-scanner1/Makefile b/mail/qmail-scanner1/Makefile
index 64d142f..2dad6dc 100644
--- a/mail/qmail-scanner1/Makefile
+++ b/mail/qmail-scanner1/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qmail-scanner
-PORTVERSION= 1.24
+PORTVERSION= 1.25
CATEGORIES= mail security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/mail/qmail-scanner1/distinfo b/mail/qmail-scanner1/distinfo
index c1fed31..72f4e05 100644
--- a/mail/qmail-scanner1/distinfo
+++ b/mail/qmail-scanner1/distinfo
@@ -1,2 +1,2 @@
-MD5 (qmail-scanner-1.24.tgz) = 0281b721b059e09c8470982d26e4ccb0
-SIZE (qmail-scanner-1.24.tgz) = 197398
+MD5 (qmail-scanner-1.25.tgz) = 0117c425efb75208682fabcba4e1dd24
+SIZE (qmail-scanner-1.25.tgz) = 221156
diff --git a/mail/qmail-scanner1/files/patch-configure b/mail/qmail-scanner1/files/patch-configure
index e368f0b..10809f9 100644
--- a/mail/qmail-scanner1/files/patch-configure
+++ b/mail/qmail-scanner1/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Tue Oct 19 02:26:55 2004
-+++ configure Fri Oct 22 01:36:34 2004
+--- ./configure.orig Mon Oct 18 21:26:55 2004
++++ ./configure Mon Jan 31 09:07:22 2005
@@ -1,13 +1,6 @@
#!/bin/sh
#
@@ -78,6 +78,15 @@
--scanners <list of installed content scanners>
Defaults to "auto" - will use
whatever scanners are found on system.
+@@ -910,7 +922,7 @@
+ #Test to see if spamc is calling Unix sockets instead of TCP
+ 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}'`
+ fi
+ if [ "$SPAMD_SOCKET" != "" -a -S "$SPAMD_SOCKET" ]; then
+ SPAMC_BINARY="$SPAMC_BINARY -U $SPAMD_SOCKET"
@@ -1005,9 +1017,14 @@
MAILDOMAIN=${MAILDOMAIN:-$FQDN}
OpenPOWER on IntegriCloud