Difference between pages "Package:Bitwig Studio" and "Package:Clamav"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (changed Layman's name for the ebuild canonical name.)
 
m (finish up ebuild)
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Music production and performance system
|Summary=Clam Anti-Virus Scanner
|CatPkg=media-sound/bitwig-studio
|CatPkg=app-antivirus/clamav
|Maintainer=Daniel Stien
|Homepage=http://www.clamav.net/
|Homepage=http://bitwig.com/
|Repository=https://github.com/dstien/dstien-portage.git
|Overlay=dstien-portage
}}
}}
Clamav is an open source antivirus solution.


== Introduction ==
=== Installation ===
<tt>media-sound/bitwig-studio</tt> is a closed source audio production and performance software; which includes several virtual instruments, samples, clips and the means to use them in scenes and tracks.
{{console|body=###i## emerge app-antivirus/clamav}}


It is possible to use it with <tt>media-sound/jack-audio-connection-kit</tt> and it is recommended by their staff.
Virus definitions need to be installed before starting the clamd service
{{console|body=###i## freshclam}}


== Preparing to install ==
=== Configuration ===
We need to use the <tt>dstien-portage</tt> overlay; which is  not official. It is recommended to use <tt>app-portage/layman</tt> to install it.
Configuration files are located at {{c|/etc/conf.d/clamd}}, {{c|/etc/clamd.conf}}, and {{c|/etc/freshclam.conf}}


=== Installing Layman ===
=== Runtime ===
Please, follow these instructions: ''pending''
{{console|body=###i## rc-update add clamd default
###i## rc}}


=== Adding the overlay ===
==== Testing ====
To add the overlay, just copy the <tt>dstien-portage.xml</tt> file into <tt>/etc/layman/overlays</tt> and we're done.
To make sure things are installed correctly, test this harmless file:
<console>
{{console|body=###i## wget -O- http://www.eicar.org/download/eicar.com.txt | clamscan -
cd /etc/layman/overlays
###i##rm eicar.com.txt}}
curl -O https://raw.githubusercontent.com/dstien/dstien-portage/master/dstien-portage.xml
</console>


Then, just sync all the overlays:
==== Usage ====
<console>
To scan single files:
layman -S
{{console|body=###i## clamscan /usr/bin/portageq}}
</console>


Now, we're ready to continue the installation.
To scan a directory:
 
{{console|body=###i## clamscan -ir /var/www/localhost/htdocs/
== Installation ==
----------- SCAN SUMMARY -----------
One thing to keep in mind before installing is if you want to use <tt>media-video/libav</tt> or <tt>media-video/ffmpeg</tt> for the audio rendering. Since <tt>media-sound/bitwig-studio</tt> is packaged, originally, for Ubuntu and the ebuild re-packages it for Funtoo, we assume they prefer <tt>media-video/libav</tt>. That said, <tt>media-video/ffmpeg</tt> the prefered application by our community. Feel free to use whichever you prefer.
Known viruses: 3736482
 
Engine version: 0.98.6
If you are to use <tt>media-video/ffmpeg</tt>, please, remove libav from the USE flag of that package:
Scanned directories: 663
<console>
Scanned files: 6067
echo 'media-sound/bitwig-studio -libav' > /etc/portage/package.use/bitwig-studio
Infected files: 0
</console>
Total errors: 8
 
Data scanned: 58.61 MB
Installing <tt>media-sound/bitwig-studio</tt> is as easy as:
Data read: 36.59 MB (ratio 1.60:1)
<console>
Time: 42.691 sec (0 m 42 s)
emerge bitwig-studio
}}
</console>


[[Category:Ebuilds]]
=== External Resources ===
http://www.clamav.net/doc/install.html
{{EbuildFooter}}
{{EbuildFooter}}

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