ports/182975: clamav-0.98 unable to verify database integrity

Henry Jalonen henkka at spheroid.fi
Mon Oct 14 17:10:01 UTC 2013


>Number:         182975
>Category:       ports
>Synopsis:       clamav-0.98 unable to verify database integrity
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 17:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Henry Jalonen
>Release:        9.1-RELEASE-p5
>Organization:
>Environment:
sparc64
>Description:
As reported on clamav bugzilla issue 9115 <https://bugzilla.clamav.net/show_bug.cgi?id=9115>, libclamav verification code has changed and database verification fails (at least) on sparc64. 

The fix is targeted for 0.98.1 upstream release.
>How-To-Repeat:
Install clamav-0.98_1 on sparc64, run freshclam
>Fix:
Proposed patch attached (works for me, at least).

Patch attached with submission follows:

--- libclamav/bignum_fast.h.orig  2013-10-14 19:27:14.000000000 +0300
+++ libclamav/bignum_fast.h       2013-10-14 19:28:02.000000000 +0300
@@ -249,7 +249,7 @@
       typedef signed long long   long64;
    #endif
 #endif
-   typedef unsigned long      fp_digit;
+   typedef unsigned int       fp_digit;
    typedef ulong64            fp_word;
 #endif


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


More information about the freebsd-ports-bugs mailing list