Upgrade Clamav for older FreeBSD box : This version of the ClamAV engine is outdated

One of my FreeBSD box that use version 6.3 stop working. Futher investigation lead me to old clamav version that forced to upgrade by clamav.net .

This version of the ClamAV engine is outdated

I think about upgrade the box to newer version like 7.3 or 8.0 release but final choice I pick is :

Let it as is :-)

Just focus on clamav because everything running well and I don’t want to risk anything that might happen ( ports conflict, new config etc)

My method :

1. Update ports to latest version.

2. Check clamav version

# portversion -v | grep clamav

clamav-0.94.2               <  needs updating (port has 0.96_1)

3. Downgrade ports file for clamav using portdowngrade ( I choose version 0.95.3)

4. Reinstall Clamav.

# portversion -v | grep clamav

clamav-0.95.3               <  needs updating (port has 0.96_1)

5. Restart clamav

# /usr/local/etc/rc.d/clamav-clamd restart

# /usr/local/etc/rc.d/clamav-freshclam restart

Email server back to business.

P.S : in case you want to skip portdowngrade section you can use my clamav ports.

clamav.tar