Difference between pages "Welcome" and "Package:Clamav"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m (finish up ebuild)
 
Line 1: Line 1:
<div class="container" style="font-family: Open Sans; font-size: 14px; line-height: 20px;"><div class="row"><div class="col-xs-12 col-md-8 col-lg-8">
{{Ebuild
{{Slideshow}}
|Summary=Clam Anti-Virus Scanner
</div><div class="col-xs-12 col-md-4 col-lg-4">
|CatPkg=app-antivirus/clamav
[http://distrowatch.com/table.php?distribution=funtoo '''Funtoo Linux'''] is a Linux-based operating system that is a variant of [http://en.wikipedia.org/wiki/Gentoo_Linux Gentoo Linux], led by [[User:Drobbins|Daniel Robbins]] (the creator and former Chief Architect of Gentoo) who serves as benevolent dictator for life (BDFL) of the project. ''Funtoo Linux is optimized for the best possible performance, supporting Intel Core i7, AMD FX Processors, and others.''  [[Subarches|See what we support.]] See [[#Distinctives|Distinctives]], below, for more information about what makes us special.
|Homepage=http://www.clamav.net/
}}
Clamav is an open source antivirus solution.


'''Other Funtoo Projects include''':
=== Installation ===
*  '''[[Keychain]]''', an SSH/GPG agent front-end.
{{console|body=###i## emerge app-antivirus/clamav}}
* '''[[Metro]]''', automated Funtoo build engine.
* '''[[Linux_Fundamentals,_Part_1|Learn Linux]]'''! [[Awk_by_Example,_Part_1|Awk]], [[Bash_by_Example,_Part_1|Bash]], [[Sed_by_Example,_Part_1|Sed]]  and more.


Virus definitions need to be installed before starting the clamd service
{{console|body=###i## freshclam}}


'''Ebuild pages recently updated:''' {{#ask: [[Category:Ebuilds]]
=== Configuration ===
| order=descending
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}
| sort=Modification date
| format=list
| limit=10
| searchlabel=
}} [[Ebuilds|more...]]


'''Want to submit a screenshot? [http://forums.funtoo.org/index.php?/topic/180-screenshots/ See here.]'''
=== Runtime ===
</div></div><div class="row"><div class="col-xs-12">
{{console|body=###i## rc-update add clamd default
{{Announce|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
###i## rc}}
</div></div><div class="row"><div class="col-xs-12 col-md-4 col-lg-4">
=== News ===
{{NewsList|3}}
[[News|View More News...]]


=== Expand the wiki! ===
==== 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}}


The [[:Help:Funtoo_Editing_Guidelines | How to 'wiki']] will help get you started on wiki editing. Have a look at [[Requested-Documents]] and [[:Category:Needs_Updates | pages that need to be updated.]]
==== Usage ====
To scan single files:
{{console|body=###i## clamscan /usr/bin/portageq}}


See [[:Category:Ebuilds|Ebuilds]] for a list of all ebuild pages, and [[Adding an Ebuild to the Wiki]] for information on how to add one.
To scan a directory:
</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
=== Distinctives ===
----------- SCAN SUMMARY -----------
 
Known viruses: 3736482
Funtoo Linux is a meta-distribution, which means it is built (fully automatically) with the functionality and optimizations that ''you'' want, not what some distro maintainer thought was best for you. Packages are installed directly from source code, thanks to the [http://en.wikipedia.org/wiki/Portage_(software) Portage ports system], inspired by the FreeBSD ports system, written in Python and with full advanced package management functionality.
Engine version: 0.98.6
 
Scanned directories: 663
''Benefits for desktops'': leaner, optimized, faster system. ''Additional benefits for servers'': enable only what you actually need to reduce attack surface, thus improving security.
Scanned files: 6067
 
Infected files: 0
We use [http://en.wikipedia.org/wiki/Git_(software) Git] for all our development, and we also use Git to deliver our ports tree to you.
Total errors: 8
 
Data scanned: 58.61 MB
In contrast to Gentoo Linux, we offer a number of innovations, including our extensive use of git, [[Funtoo 1.0 Profile|our profile system]], [[Package:Boot-Update|boot-update]] boot management tool, our incredibly flexible [[Funtoo Linux Networking|template-based networking scripts]], [[Metro Quick Start Tutorial|Metro]] distribution build system, support of Debian, RHEL and other kernels, [[Creating_Python-related_Ebuilds|enhanced Python support]], Portage mini-manifests, user-centric distribution model, and a large number of community infrastructure improvements.
Data read: 36.59 MB (ratio 1.60:1)
</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
Time: 42.691 sec (0 m 42 s)
=== Getting Started ===
}}
 
'''[[Funtoo Linux Installation|Install Funtoo Linux]]''' and get involved in our user community. Get to know fellow users on our '''[http://forums.funtoo.org forums]'''. Funtoo Linux has a very active [http://en.wikipedia.org/wiki/IRC IRC] community on [http://freenode.net Freenode] (in the <code>#funtoo</code> channel) and you are encouraged to hang out with us.
 
'''[[Reporting Bugs|We welcome bug reports and suggestions]]'''.  Please report bugs to our '''[http://bugs.funtoo.org bug tracker]'''. We take all bugs seriously, and all work performed is tracked on our bug tracker, for purposes of transparency.
 
'''{{CreateAccount}}''', which allows you to log in to the wiki, [http://forums.funtoo.org forums] and [https://bugs.funtoo.org bug tracker]. See the [[Funtoo Authentication FAQ|Auth FAQ]] for more info about account creation.
 
'''See our [[Funtoo Linux FAQ|FAQ]] for answers to common questions.'''


Other resources include [http://larrythecow.org larrythecow.org], the Gentoo blog aggregator, [http://kernel-seeds.org kernel-seeds.org], and [http://git.funtoo.org git.funtoo.org], our cgit repository browser.
=== External Resources ===
</div></div></div>
http://www.clamav.net/doc/install.html
 
{{EbuildFooter}}
__NOTITLE__
__NOEDITSECTION__
{{#subobject:|slideIndex=0|slideCaption=
<h4>h3nnn4n</h4>
 
Awesome WM / Conky / screenfetch
|slideImage=File:H3nnn4n.jpg}}
{{#subobject:|slideIndex=1|slideCaption=
<h4>Help us document the Gentoo Ecosystem!</h4>
From Enoch to Gentoo to Funtoo to ChromeOS, and beyond...
|slideImage=File:Ecosystem-snapshot.jpg|slideLink=Gentoo Ecosystem}}
{{#subobject:|slideIndex=2|slideCaption=
<h4>brushdemon</h4>
 
OpenBox / screenfetch
|slideImage=File:brushdemon.jpg}}
{{#subobject:|slideIndex=3|slideCaption=
<h4>drobbins</h4>
 
[[GNOME First Steps|GNOME 3.14]]  / [[Funtoo_Linux_FAQ#Do_you_support_systemd.3F|without systemd]] / Badgers optional
|slideImage=File:gnome3122.jpg|slideLink=GNOME First Steps}}
 
{{#subobject:|slideIndex=4|slideCaption=
<h4>spectromas</h4>
 
[[Package:Awesome_(Window_Manager)|Awesome WM]]
|slideImage=File:awesome.jpg|slideLink=Package:Awesome (Window Manager)}}
 
{{#seo:
|title=Funtoo Linux
|keywords=funtoo,linux,gentoo,Daniel Robbins
|description=Funtoo Linux is a Gentoo-based OS that uses a git-based Portage tree. Run by Daniel Robbins, creator of Gentoo.
}}

Revision as of 10:36, February 3, 2015

Clamav

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Clamav is an open source antivirus solution.

Installation

root # emerge app-antivirus/clamav

Virus definitions need to be installed before starting the clamd service

root # freshclam

Configuration

Configuration files are located at /etc/conf.d/clamd, /etc/clamd.conf, and /etc/freshclam.conf

Runtime

root # rc-update add clamd default
root # rc

Testing

To make sure things are installed correctly, test this harmless file:

root # wget -O- http://www.eicar.org/download/eicar.com.txt

Usage

To scan single files:

root # clamscan /usr/bin/portageq

To scan a directory:

root # 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