[MacPorts] #39084: How to use clamav?
#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
#39084: How to use clamav? --------------------------------+--------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: clamav, freshclamav Port: clamav | --------------------------------+--------------------------------- Changes (by dluke@…): * status: new => closed * resolution: => wontfix Comment: Since the port doesn't install any working config files (and the db location is configurable), it doesn't create /opt/local/share/clamav for you. You can create it yourself (or create another directory and set the appropriate path in your config files). -- Ticket URL: <https://trac.macports.org/ticket/39084#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39084: How to use clamav? --------------------------------+--------------------------------- Reporter: angelo.graziosi@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: clamav, freshclamav Port: clamav | --------------------------------+--------------------------------- Comment (by angelo.graziosi@…): Replying to [comment:1 dluke@…]:
Since the port doesn't install any working config files (and the db location is configurable), it doesn't create /opt/local/share/clamav for you. You can create it yourself (or create another directory and set the appropriate path in your config files).
Hmm... I would prefer the same behavior I found on Ubuntu: {{{ sudo apt-get install clamav sudo freshclam clamscan -r /<path_directory> }}} Thanks in any case.. Ciao, Angelo. -- Ticket URL: <https://trac.macports.org/ticket/39084#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts