Page 1 of 1

Clamav 0.96 PET

Posted: Wed 28 Apr 2010, 12:02
by yorkiesnorkie
Hi,

I'm taking my first run at compiling. I probably bit off more than I can chew. :D However, you can follow my progress thus far in this topic http://www.murga-linux.com/puppy/viewto ... 921#413921

Any thoughts on the subject are welcome. I've been doing a bunch of reading on compiling etc., but it's still a work in progress. I'll let you know when I've got a working pet.

y.

Clamav 0.96 PET file for testing

Posted: Sat 01 May 2010, 13:39
by yorkiesnorkie
Hi,

I've created a PET file of the latest Clamav for Puppy LInux 4.3.x. It comes out at approximately 28mb, so it is not small, probably the size is due to the base definitions. included within it.

The application was compiled from within Puppy Linux 4.3.0. it was compiled against mtune="generic". So it should run on most pcs. I also checked for missing dependencies and didn't find anything missing.

I'm also going to post my clamd.conf file and freshclam.conf file from "/etc". I modified these, commenting out the example line and changing the user to root. The PET contains the standard conf files which you can edit as you like. If you choose to copy my conf files into "/etc" freshclam will work.

Note - running Clamav as root may be objectionable for various reasons. I also opened up a terminal and added a user, "adduser clamav" but I haven't found that this enables freshclam to update. So, this requres some looking into. In the meantime, my conf files do work.

You can obtain the PET and conf files from:

[edit - I'm having problems with mediafire, patience...]

User Notes:

I usually just open the terminal and run "freshclam". I also use clamscan on files and directories "clamscan filename". Clamscan seems to be running quite slowly at the moment. This may be due my low ram on my old PC.

In any event, please regard this as a test version as it is the first application I have compiled. I welcome comments and advice.

Yorkiesnorkie
:D

Posted: Sun 02 May 2010, 15:17
by yorkiesnorkie
I'm still having problems with uploading the pet to mediafire. Bear with me...

Posted: Wed 05 May 2010, 16:05
by aarf

Clamav 0.96 PET for download

Posted: Wed 05 May 2010, 23:03
by yorkiesnorkie
This PET is on rapidshare and can be downloaded 9 more times. Please leave one available for ttuuxxx as there are plans to place it for download with Puppy files elsewhere. Consider this a test version as it's my first compile!

http://rapidshare.com/files/383984462/c ... 6.pet.html
MD5: F04DBDB32A471C229ACF7F30A804117E

Give it a try and let me know how it goes. It's 28mb

y.

Posted: Wed 05 May 2010, 23:07
by yorkiesnorkie
aarf wrote:crosslink clamav
Thank you for putting that link here! :D I meant to do that but I've been so busy lately. Our wireless went down here at home and I have been troubleshooting it. I solved our connection problems by adding a couple of home made parabolic reflectors to increase the signal, the result is in our front room I went from 0 to 50% signal as reported in Pwireless. Awesome!

y.

Clamav 0.96 PET now available at puppylinux.ca

Posted: Thu 06 May 2010, 11:55
by yorkiesnorkie
ttuuxx has kindly uploaded the pet to pupplinux.ca http://puppylinux.ca/tpp/ttuuxxx/other/ ... 6-i486.pet

thanks ttuuxxx!

ttuuxxx has reported that this PET does not work in 2.14x, So, I'll take a run at making a compatible version for the updated 2.14x - bear with me!

y.

PET functional

Posted: Sun 09 May 2010, 23:04
by yorkiesnorkie
The pet I created works. I found it slow to run. That may be due to the low ram I have, and that I created it as mtune=generic rather than for my pentium-mmx. I found it does work though. I checked a directory:

Code: Select all

clamscan /root/my-documents/downloaded
Probably with more ram it will run faster. Feedback anyone, I'd like though to make it run more quickly in a low ram situation.

I probably need to tune my conf files. That may make it run faster as well.

I've modified /etc/clamd.conf as follows:

Code: Select all

# Comment or remove the line below.
#Example
I've modified /etc/freshclam.conf as follows:

Code: Select all

# Comment or remove the line below.
#Example
also,

Code: Select all

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
#DatabaseOwner clamav
DatabaseOwner root
I've found that in order to get freshclam to work I had to change the database owner to root.

y.

Posted: Wed 12 May 2010, 11:42
by yorkiesnorkie
By the way, this PET only includes clamscan and freshclam... There is no clamdscan

Plans

Posted: Wed 12 May 2010, 11:46
by yorkiesnorkie
I plan to compile a version for 2.14xrc5 and re-compile this in 4.3.1 for my particular pc. My intention is to create two variants of PET files. One with everything, and a smaller file with just the essentials. Well, stay tuned...

Interestingly, the deb files which are currently available break Clamav down into subcomponents and libs. I'm not sure exactly how that was done.

y.