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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (finish up ebuild)
 
 
Line 1: Line 1:
{{Ebuild
{{#widget:YouTube16x9|playlist=PL2YVrx9jFJOewYI7f15FahwLOZlFCRqjZ|autoplay=1}}
|Summary=Clam Anti-Virus Scanner
 
|CatPkg=app-antivirus/clamav
{{#ask: [[Category:News]] [[Publication Status::Published]]
|Homepage=http://www.clamav.net/
|  
| order=descending
| sort=Publication Date
| format=feed
| page=full
| title=Funtoo Linux News
| description=Latest Funtoo Linux news
|type=atom
| limit=20
}}
}}
Clamav is an open source antivirus solution.


=== Installation ===
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='amd64-bulldozer']/@builds}}
{{console|body=###i## emerge app-antivirus/clamav}}
;Builds: {{#external_value:builds}}


Virus definitions need to be installed before starting the clamd service
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
{{console|body=###i## freshclam}}
<div style="align: center;">
[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]<br/>
[[Organization:Brownrice Internet|Learn about Funtoo-friendly organization: Brownrice Internet]]</div>
asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf
{{fullurl:News:The Many Builds of Funtoo Linux}}
{{#widget:AddThis}}


=== Configuration ===
I like the {{f|/etc/make.conf}} file, which can also be referred to as {{f|/etc/portage/make.conf}}. It is a groovy file. Another cool file is {{f|/etc/fstab}}.
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}


=== Runtime ===
=== make.conf mentions ===
{{console|body=###i## rc-update add clamd default
###i## rc}}


==== Testing ====
{{#ask: [[Mentions file::make.conf]]
To make sure things are installed correctly, test this harmless file:
| format=category
{{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=
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
# ##i##bluetoothctl
----------- SCAN SUMMARY -----------
[##g##NEW##!g##] Controller 00:02:72:C9:62:65 antec [default]
Known viruses: 3736482
##bl##[bluetooth]##!bl###power on
Engine version: 0.98.6
Changing power on succeeded
Scanned directories: 663
##bl##[bluetooth]##!bl### ##i##agent on
Scanned files: 6067
Agent registered
Infected files: 0
##bl##[bluetooth]##!bl### ##i##scan on
Total errors: 8
Discovery started
Data scanned: 58.61 MB
##bl##[bluetooth]##!bl### ##i##devices
Data read: 36.59 MB (ratio 1.60:1)
Device 00:1F:20:3D:1E:75 Logitech K760
Time: 42.691 sec (0 m 42 s)
##bl##[bluetooth]##!bl### ##i##pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
##r##[agent]##!r## Passkey: 454358
##r##[agent]##!r## Passkey: ##i##4##!i##54358
##r##[agent]##!r## Passkey: ##i##45##!i##4358
##r##[agent]##!r## Passkey: ##i##454##!i##358
##r##[agent]##!r## Passkey: ##i##4543##!i##58
##r##[agent]##!r## Passkey: ##i##45435##!i##8
##r##[agent]##!r## Passkey: ##i##454358##!i##
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: no
##bl##[bluetooth]##!bl### ##i##connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
##bl##[bluetooth]##!bl### ##i##quit
[##r##DEL##!r##] Controller 00:02:72:C9:62:65 antec [default]
#
}}
}}
=== External Resources ===
http://www.clamav.net/doc/install.html
{{EbuildFooter}}

Revision as of 01:46, February 17, 2015

{{#ask: Publication Status::Published | | order=descending | sort=Publication Date | format=feed | page=full | title=Funtoo Linux News | description=Latest Funtoo Linux news |type=atom | limit=20 }}

Exception parsing XML: String could not be parsed as XML.

Builds

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf

[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-orglogo|link=Organization:Brownrice Internet]]

Learn about Funtoo-friendly organization: Brownrice Internet

asdflk asdlfk asdlf alsdf lasd flasd flasd flasd flasd flasd flasd flas dflasd flasdl flasdf lasdfl alsdf lasdf lasdflafsd la sdf https://www.funtoo.org/News:The_Many_Builds_of_Funtoo_Linux

I like the /etc/make.conf file, which can also be referred to as /etc/portage/make.conf. It is a groovy file. Another cool file is /etc/fstab.

make.conf mentions

{{#ask: Mentions file::make.conf | format=category }}

root # bluetoothctl 
[NEW] Controller 00:02:72:C9:62:65 antec [default]
root ##bl##[bluetooth]##!bl###power on
Changing power on succeeded
root ##bl##[bluetooth]##!bl### agent on
Agent registered
root ##bl##[bluetooth]##!bl### scan on
Discovery started
root ##bl##[bluetooth]##!bl### devices
Device 00:1F:20:3D:1E:75 Logitech K760
root ##bl##[bluetooth]##!bl### pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
[CHG] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:3D:1E:75 Connected: no
root ##bl##[bluetooth]##!bl### connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
root ##bl##[bluetooth]##!bl### quit
[DEL] Controller 00:02:72:C9:62:65 antec [default]
root #