ports/159185: [Update] security/clamav to 0.97.2
Michael Scheidell
scheidell at secnap.net
Mon Jul 25 17:00:29 UTC 2011
>Number: 159185
>Category: ports
>Synopsis: [Update] security/clamav to 0.97.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 25 17:00:28 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Michael Scheidell
>Release: lots of them
>Organization:
SECNAP Network Security
>Environment:
na
>Description:
ClamAV 0.97.2 fixes problems with the bytecode engine, Safebrowsing
detection, hash matcher, and other minor issues. Please see
the ChangeLog file for details.
ChangeLog: http://www.clamav.net/release-info/changelog/0.97.2
>How-To-Repeat:
na
>Fix:
update to 0.97.2.
Note: patches to check_common.sh have been rolled upstream, so this patch is no longer needed:
/files/patch-unit_tests-check_common_sh
Patch attached with submission follows:
diff -bBru /tmp/clamav971/Makefile ./Makefile
--- /tmp/clamav971/Makefile 2011-07-25 12:40:56.000000000 -0400
+++ ./Makefile 2011-07-25 12:29:47.000000000 -0400
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 0.97.1
+PORTVERSION= 0.97.2
CATEGORIES= security
MASTER_SITES= SF
diff -bBru /tmp/clamav971/distinfo ./distinfo
--- /tmp/clamav971/distinfo 2011-07-25 12:41:14.000000000 -0400
+++ ./distinfo 2011-07-25 12:35:11.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (clamav-0.97.1.tar.gz) = 69e9c102d56348266b6597d6d401b0a5a2190e158b78e75ee0591f90479ed2ca
-SIZE (clamav-0.97.1.tar.gz) = 43913867
+SHA256 (clamav-0.97.2.tar.gz) = 91503f8cff482cac1f2c951c5d62a7da8a17ba3b32eb8fa2800e29c03c7cd58a
+SIZE (clamav-0.97.2.tar.gz) = 44703953
diff -bBru /tmp/clamav971/files/patch-unit_tests-check_common_sh ./files/patch-unit_tests-check_common_sh
--- /tmp/clamav971/files/patch-unit_tests-check_common_sh 2011-06-29 15:37:51.000000000 -0400
+++ ./files/patch-unit_tests-check_common_sh 2011-07-25 12:39:34.000000000 -0400
@@ -1,24 +0,0 @@
-$RANDOM is a bashism, it has been replaced with portable code.
-
-Also, the randomly generated port is checked to make sure it's not already
-in use.
-
---- unit_tests/check_common.sh.orig 2011-05-13 12:25:31.000000000 +0100
-+++ unit_tests/check_common.sh 2011-06-28 19:12:00.683905036 +0100
-@@ -58,9 +58,13 @@
- aa15bcf478d165efd2065190eb473bcb:544:ClamAV-Test-File
- EOF
- port=331$1
-- if test "x$RANDOM" != "x"; then
-- port=1`expr 100 + \( $RANDOM % 899 \)`$1
-- fi
-+ tries=0
-+ while nc -z localhost $port 2>/dev/null
-+ do rand=` ( echo $$ ; time ps 2>&1 ; date ) | cksum | cut -f1 -d" " `
-+ port=1`expr 100 + \( $rand % 899 \)`$1
-+ [ $tries -gt 100 ] && echo Giving up, too many ports open && exit 1
-+ tries=`expr $tries + 1`
-+ done
- cat <<EOF >test-clamd.conf
- LogFile `pwd`/clamd-test.log
- LogFileMaxSize 0
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list