aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-07-09 00:17:40 +0800
committergarga <garga@FreeBSD.org>2008-07-09 00:17:40 +0800
commite74a89982e6a94d6694e5a72435c321465f3bebc (patch)
tree9f784602af9797ee7c18c168cb944c150a91703e
parenta6754e3674e061a02e3bf6f6e62d34212d0ad5eb (diff)
downloadfreebsd-ports-gnome-e74a89982e6a94d6694e5a72435c321465f3bebc.tar.gz
freebsd-ports-gnome-e74a89982e6a94d6694e5a72435c321465f3bebc.tar.zst
freebsd-ports-gnome-e74a89982e6a94d6694e5a72435c321465f3bebc.zip
- Update to 20080708
- Align clamav-milter startup script with security/clamav version, that waits for milter sock before chmod it
-rw-r--r--security/clamav-devel/Makefile3
-rw-r--r--security/clamav-devel/distinfo6
-rw-r--r--security/clamav-devel/files/clamav-milter.in16
3 files changed, 20 insertions, 5 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index eff5a8213301..e6b54465ed86 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20080520
-PORTREVISION= 2
+PORTVERSION= 20080708
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/snapshot/ \
${MASTER_SITE_LOCAL}
diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo
index e0be9c1a34ab..b1e3c49d7f57 100644
--- a/security/clamav-devel/distinfo
+++ b/security/clamav-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (clamav-devel-20080520.tar.gz) = 6146ebaa53ad525e4b7b3e55844d255e
-SHA256 (clamav-devel-20080520.tar.gz) = 69e34ca54097ea7d8343f090ee0c9de8cbf30cf87fe7cccb3d34a9cfcba7d633
-SIZE (clamav-devel-20080520.tar.gz) = 2691654
+MD5 (clamav-devel-20080708.tar.gz) = b07f99f8aa6c676f37f3a7b58e40b159
+SHA256 (clamav-devel-20080708.tar.gz) = dd999142aeaf7c986bfa95ead20191a2fe180c6186767f55d1ef44c1479141cd
+SIZE (clamav-devel-20080708.tar.gz) = 2718651
diff --git a/security/clamav-devel/files/clamav-milter.in b/security/clamav-devel/files/clamav-milter.in
index 509d05e3d42c..1ea17d90eb0d 100644
--- a/security/clamav-devel/files/clamav-milter.in
+++ b/security/clamav-devel/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}
}