Current ClamAV 0.96.2 has a bug which breaks clamd on FreeBSD 7.1: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2235 This means current ClamAV is broken on FreeBSD 7.1 after update to version 0.96.2. Please commit the attached patch ASAP. Fix: The ClamAV people kindly provide a patch, see attached file. My (slightly modified) patch adds two files to the port: files/patch-libclamav__bytecode.c files/patch-libclamav__bytecode2llvm.cpp Or take a look at the original patch: http://git.clamav.net/gitweb?p=clamav-devel.git;a=commitdiff_plain;h=71ca3536c4e0ed6454315a7c3ad5950ba212fbe1 Patch attached with submission follows: How-To-Repeat: 1. install security/clamav on FreeBSD 7.1 2. edit /etc/rc.conf: add clamav_clamd_enable="YES" 3. start clamd: /usr/local/etc/rc.d/clamav-clamd start Now try to connect to clamd: # /usr/local/bin/clamdtop [...] Connecting to: /var/run/clamav/clamd.sock /var/run/clamav/clamd.sock: Resource temporarily unavailable Now try to stop clamd: # /usr/local/etc/rc.d/clamav-clamd stop Stopping clamav_clamd. Waiting for PIDS: 59203, 59203, 59203, 59203 [...] (wait forever)
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool)
garga 2010-09-03 11:27:22 UTC FreeBSD ports repository Modified files: security/clamav Makefile Added files: security/clamav/files patch-libclamav__bytecode.c patch-libclamav__c++__bytecode2llvm.cpp Log: - Fix bytecode problem on FreeBSD 7.1 - Bump PORTREVISION PR: ports/150243 Submitted by: Frank Wall <fw@moov.de> Obtained from: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2235 Revision Changes Path 1.149 +1 -1 ports/security/clamav/Makefile 1.1 +12 -0 ports/security/clamav/files/patch-libclamav__bytecode.c (new) 1.1 +34 -0 ports/security/clamav/files/patch-libclamav__c++__bytecode2llvm.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!