[MacPorts] #39084: How to use clamav?
MacPorts
noreply at macports.org
Mon May 13 04:38:31 PDT 2013
#39084: How to use clamav?
---------------------------------+--------------------------------
Reporter: angelo.graziosi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: clamav, freshclamav | Port: clamav
---------------------------------+--------------------------------
I have some difficulties in using Clamav on MacPorts...
{{{
$ sudo port install clamav
---> Computing dependencies for clamav
---> Fetching archive for clamav
---> Attempting to fetch clamav-0.97.8_0.darwin_11.x86_64.tbz2 from
http://lil.fr.packages.macports.org/clamav
---> Attempting to fetch clamav-0.97.8_0.darwin_11.x86_64.tbz2.rmd160
from http://lil.fr.packages.macports.org/clamav
---> Installing clamav @0.97.8_0
---> Activating clamav @0.97.8_0
---> Cleaning clamav
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
}}}
so I tried (as on Ubuntu and Cygiwin) :
{{{
$ sudo freshclam
}}}
and I got:
{{{
ERROR: Can't open/parse the config file /opt/local/etc/freshclam.conf
}}}
Gulp! So I tried (this worked on Cygwin, for example...) :
{{{
$ cd /opt/local/etc/
$ sudo cp -p example-freshclam.conf freshclam.conf
$ sudo emacs -nw freshclam.conf
}}}
...and with Emacs I commented out the line
{{{
Example
}}}
So I tried :
{{{
$ cd
$ sudo freshclam
}}}
but it results in
{{{
ERROR: Can't change dir to /opt/local/share/clamav
}}}
with
{{{
$ ls -lrt /opt/local/share/clamav
ls: /opt/local/share/clamav: No such file or directory
}}}
...and I am a little confused, now... :(
Should I install some other packages? which?
I haven't found any documentation about how to use Clamav on MacPorts...
Any suggestions?
Thanks,
Angelo.
--
Ticket URL: <https://trac.macports.org/ticket/39084>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list