Difference between pages "Package:Clamav" and "Package:Debian-sources"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (finish up ebuild)
 
m (Undo revision 9467 by Pytony (talk))
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Clam Anti-Virus Scanner
|Summary=This is the Debian kernel. This is default recommended kernel to use in http://www.funtoo.org/Funtoo_Linux_Installation
|CatPkg=app-antivirus/clamav
|CatPkg=sys-kernel/debian-sources
|Homepage=http://www.clamav.net/
|Maintainer=Oleg,
|Homepage=http://www.funtoo.org/Funtoo_Linux_Kernels
}}
}}
Clamav is an open source antivirus solution.
== Introduction ==
 
This is the Debian kernel. It is roughly equal to a kernel shipped by Debian Linux in their releases. Ebuild now support the <code>binary</code> USE flag. The aim of this ebuild is to have support for near all possible hardware and users shouldn't really dig into configs, aka "install and forget". Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel.  
=== Installation ===
== Usage ==
{{console|body=###i## emerge app-antivirus/clamav}}
<console>
 
###i## echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
Virus definitions need to be installed before starting the clamd service
###i## emerge debian-sources
{{console|body=###i## freshclam}}
###i## nano -w /etc/boot.conf
 
###i## boot-update
=== Configuration ===
</console>
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}
{{fancyimportant|1=
 
<code>debian-sources</code> with <code>binary</code> USE flag also automatically installing a /usr/src/linux symlink pointing to debian kernel.}}
=== Runtime ===
== Advanced use ==
{{console|body=###i## rc-update add clamd default
Additional information about using <code>config-extract</code> tool and genkernel tips can be found here:
###i## rc}}
http://www.funtoo.org/Funtoo_Linux_Kernels#Using_Debian-Sources_with_Genkernel
 
==== 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}}
{{EbuildFooter}}

Revision as of 19:44, April 1, 2015

Debian-sources

   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.

Introduction

This is the Debian kernel. It is roughly equal to a kernel shipped by Debian Linux in their releases. Ebuild now support the binary USE flag. The aim of this ebuild is to have support for near all possible hardware and users shouldn't really dig into configs, aka "install and forget". Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel.

Usage

root # echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
root # emerge debian-sources
root # nano -w /etc/boot.conf
root # boot-update
   Important

debian-sources with binary USE flag also automatically installing a /usr/src/linux symlink pointing to debian kernel.

Advanced use

Additional information about using config-extract tool and genkernel tips can be found here: http://www.funtoo.org/Funtoo_Linux_Kernels#Using_Debian-Sources_with_Genkernel