MacPortsをupdateしたらclamav 0.90.3が有った

下記を打ってMacPortsをupdateしたらclamav 0.90.3が有った

$ sudo port selfupdate

clamav インストール。gmpも入る

$ sudo port install clamav

      • > Fetching gmp
      • > Verifying checksum(s) for gmp
      • > Extracting gmp
      • > Configuring gmp
      • > Building gmp with target all
      • > Staging gmp into destroot
      • > Running ranlib on static libraries
      • > Installing gmp 4.2.1_4+test
      • > Activating gmp 4.2.1_4+test
      • > Cleaning gmp
      • > Fetching clamav
      • > Verifying checksum(s) for clamav
      • > Extracting clamav
      • > Configuring clamav
      • > Building clamav with target all
      • > Staging clamav into destroot
      • > Installing clamav 0.90.3_0

You need to add a new clamav user and clamav group to your system if you want to use clamav in superuser mode.

ウィルスDBが書き込めないようなので治安のいい俺のマシンは下記のようにした

$ sudo chmod -R g+w /opt/local/share/clamav
$ sudo chmod -R u+w /opt/local/share/clamav

すべてをupdate,clamavをupdateしたがさすがにインストールしたばかりなので何もでない(苦笑)

$ sudo port upgrade installed
$ sudo port upgrade clamav

$ port installed
The following ports are currently installed:
clamav @0.90.3_0 (active)
gmp @4.2.1_4+test (active)

$ port outdated
No installed ports are outdated.