Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  7 Mar 2007 13:30:41 -0500 (EST)
From:      Michael Scheidell <scheidell@secnap.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        garga@FreeBSD.org
Subject:   ports/110040: Clamav update to .90.1
Message-ID:  <20070307183041.6E5C11CCC7@scanner.secnap.net>
Resent-Message-ID: <200703071840.l27Ie3cG014816@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110040
>Category:       ports
>Synopsis:       Clamav update to .90.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 07 18:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        FreeBSD 5.5-RELEASE-p8 i386
>Organization:
SECNAP
>Environment:
System: FreeBSD scanner.secnap.net 5.5-RELEASE-p8 FreeBSD 5.5-RELEASE-p8 #2: Fri Dec 29 22:23:34 EST 2006 scheidell@scanner.secnap.net:/usr/obj/usr/src/sys/HACKERTRAP_750 i386
(and others)
>Description:
   Update clamav from .90 to .90.1
Significant updates include
* Scanning PDF documents for viruses,
* Improved memory management and error handling
* Increased efficiency of scanning multi-volume rar archives
* Decode more deflate64 files
* Better extraction of RTF files

for a full list, see:

http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog
>How-To-Repeat:
        freshclam will complain about old version.
>Fix:

This patch (also fixes Freebsd 4.11 issues with libpthread vs lib_rc, 
I didn't fix it, clamav did)

 diff -bBru /tmp/clamav/ ./
diff -bBru /tmp/clamav/Makefile ./Makefile
--- /tmp/clamav/Makefile        Thu Mar  1 11:02:14 2007
+++ ./Makefile  Sat Mar  3 08:21:59 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=      clamav
-PORTVERSION=   0.90
-PORTREVISION=  3
+PORTVERSION=   0.90.1
 CATEGORIES=    security
 MASTER_SITES=  SF
 
diff -bBru /tmp/clamav/distinfo ./distinfo
--- /tmp/clamav/distinfo        Thu Feb 15 19:19:32 2007
+++ ./distinfo  Sat Mar  3 08:25:36 2007
@@ -1,3 +1,3 @@
-MD5 (clamav-0.90.tar.gz) = f04372e49c3c5ff3bd94bbe1fef2eaca
-SHA256 (clamav-0.90.tar.gz) = 
c39005318d4a7d27d9710c3d71396b8c500e0bc5a184cb7392051c9ca9dea60d
-SIZE (clamav-0.90.tar.gz) = 11575374
+MD5 (clamav-0.90.1.tar.gz) = cd11c05b5476262eaea4fa3bd7dc25bf
+SHA256 (clamav-0.90.1.tar.gz) = 
08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be
+SIZE (clamav-0.90.1.tar.gz) = 11643310
diff -bBru /tmp/clamav/files/patch-configure ./files/patch-configure
--- /tmp/clamav/files/patch-configure   Mon Mar  5 06:32:06 2007
+++ ./files/patch-configure     Sat Mar  3 08:37:02 2007
@@ -1,6 +1,6 @@
---- configure.orig     Mon Feb 12 23:11:56 2007
-+++ configure  Mon Mar  5 08:25:35 2007
-@@ -22426,19 +22426,25 @@
+--- configure.orig     Thu Mar  1 18:46:19 2007
++++ configure  Sat Mar  3 08:36:27 2007
+@@ -22431,19 +22431,25 @@
      sendmailver_c=`echo $sendmailver | awk -F. '{printf $3}'`
  
  
@@ -26,21 +26,12 @@
  
    fi
  fi
-@@ -23082,7 +23088,7 @@
+@@ -23087,7 +23093,7 @@
      ;;
  freebsd*)
      if test "$have_pthreads" = "yes"; then
--      THREAD_LIBS="-lpthread -lc_r"
+-      THREAD_LIBS="-pthread -lc_r"
 +      THREAD_LIBS="%%PTHREAD_LIBS%%"
        TH_SAFE="-thread-safe"
  
  cat >>confdefs.h <<\_ACEOF
-@@ -23395,7 +23401,7 @@
- if test "$have_milter" = "yes"; then
- 
-         save_LDFLAGS="$LDFLAGS"
--      CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread"
-+      CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS %%PTHREAD_LIBS%%"
-     if test -d /usr/lib/libmilter ; then
-       CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
-     fi


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070307183041.6E5C11CCC7>