aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/clamav/Makefile3
-rw-r--r--security/clamav/distinfo6
-rw-r--r--security/clamav/files/clamav-milter.in16
3 files changed, 20 insertions, 5 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 414d19bc7ee6..9b9000dbb531 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 0.93.1
-PORTREVISION= 2
+PORTVERSION= 0.93.3
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/clamav/distinfo b/security/clamav/distinfo
index 376b17a3c358..1ea5d5ba45b7 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -1,3 +1,3 @@
-MD5 (clamav-0.93.1.tar.gz) = 64468e54624e51994e171a7f76e6c243
-SHA256 (clamav-0.93.1.tar.gz) = c9a3991107dd377a63cfe7866417c5e29b3bffc9332aa5979bcc74ddb78d6bb6
-SIZE (clamav-0.93.1.tar.gz) = 17246314
+MD5 (clamav-0.93.3.tar.gz) = 06d87fbece062e5c0661ee07703208c9
+SHA256 (clamav-0.93.3.tar.gz) = 7aa98796671dfe3db5a20e25669404c4e4461d2a6c77de352edf99f2c989e500
+SIZE (clamav-0.93.3.tar.gz) = 18242568
diff --git a/security/clamav/files/clamav-milter.in b/security/clamav/files/clamav-milter.in
index 509d05e3d42c..1ea17d90eb0d 100644
--- a/security/clamav/files/clamav-milter.in
+++ b/security/clamav/files/clamav-milter.in
@@ -59,6 +59,22 @@ start_precmd()
start_postcmd()
{
+ echo -n "Waiting for clamav-milter socket.. "
+ i=${clamav_milter_socktimeout}
+ while [ $i -ne 0 ]
+ do
+ [ -S "$clamav_milter_socket" ] && break
+ if [ `expr $i % 10` -eq 0 ]; then
+ echo -n "${i}.. "
+ fi
+ sleep 1
+ i=$(($i-1))
+ done
+ echo
+ if [ $i -eq 0 ]; then
+ echo "There is no clamav-milter socket (${clamav_clamd_socket})!"
+ exit 1
+ fi
/bin/chmod ${clamav_milter_socket_mode} ${clamav_milter_socket}
}