aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-07-08 04:37:37 +0800
committergarga <garga@FreeBSD.org>2008-07-08 04:37:37 +0800
commit0539f080fe2e46bda9584040837e742cbf7295f1 (patch)
tree44e1df04771d93d7bdb780b3cf2855e76a03b38b /security/clamav
parentbc1b3a95c4640fd61013dffbc6b73dc00b647f8e (diff)
downloadfreebsd-ports-gnome-0539f080fe2e46bda9584040837e742cbf7295f1.tar.gz
freebsd-ports-gnome-0539f080fe2e46bda9584040837e742cbf7295f1.tar.zst
freebsd-ports-gnome-0539f080fe2e46bda9584040837e742cbf7295f1.zip
- Update to 0.93.3
- Change clamav-milter startup script to wait clamav-milter socket be created before try to chmod it [1] PR: ports/124643 [1] Submitted by: Adrian Thearle <adrian@thearle.com.au> [1]
Diffstat (limited to 'security/clamav')
-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}
}