Difference between pages "Package:Clamav" and "Talk:Intel64-haswell"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (finish up ebuild)
 
(Suggestion to add the "LZCNT" flag to CPU_FLAGS_X86)
 
Line 1: Line 1:
{{Ebuild
Should the CPU_FLAGS suggested on this page include "lzcnt"?
|Summary=Clam Anti-Virus Scanner
As listed here [1] lzcnt was adopted in Intel Haswell.
|CatPkg=app-antivirus/clamav
|Homepage=http://www.clamav.net/
}}
Clamav is an open source antivirus solution.


=== Installation ===
Or is there a special reason that LZCNT was not listed on this page?
{{console|body=###i## emerge app-antivirus/clamav}}


Virus definitions need to be installed before starting the clamd service
[1] http://www.funtoo.org/CPU_FLAGS
{{console|body=###i## freshclam}}
 
=== Configuration ===
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}
 
=== Runtime ===
{{console|body=###i## rc-update add clamd default
###i## rc}}
 
==== Testing ====
To make sure things are installed correctly, test this harmless file:
{{console|body=###i## wget -O- http://www.eicar.org/download/eicar.com.txt | clamscan -
###i##rm eicar.com.txt}}
 
==== Usage ====
To scan single files:
{{console|body=###i## clamscan /usr/bin/portageq}}
 
To scan a directory:
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
----------- SCAN SUMMARY -----------
Known viruses: 3736482
Engine version: 0.98.6
Scanned directories: 663
Scanned files: 6067
Infected files: 0
Total errors: 8
Data scanned: 58.61 MB
Data read: 36.59 MB (ratio 1.60:1)
Time: 42.691 sec (0 m 42 s)
}}
 
=== External Resources ===
http://www.clamav.net/doc/install.html
{{EbuildFooter}}

Revision as of 19:24, May 9, 2015

Should the CPU_FLAGS suggested on this page include "lzcnt"? As listed here [1] lzcnt was adopted in Intel Haswell.

Or is there a special reason that LZCNT was not listed on this page?

[1] http://www.funtoo.org/CPU_FLAGS