Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 23:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Clamav-0.96.1 in "Puppy Linux 4.30" ! only script to install
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Fri 25 Jun 2010, 11:53    Post subject:  Clamav-0.96.1 in "Puppy Linux 4.30" ! only script to install
Subject description: Antivirus and GUI for it
 

Quote:

Script -=Install-Clamav_Tk.sh=-
Code:

#!/bin/bash
#RPMs are located here: /tmp/Clamav_Tk
cd /tmp/Clamav_Tk ;
rpm -i clamav-0.96.1-50.el5.i386.rpm ;
rpm -i clamtk-4.26-1.el5.noarch.rpm ;
rpm -i perl-5.8.8-27.el5.i386.rpm ;
rpm -i perl-libwww-perl-5.827-1.el5.pp.noarch.rpm ;
rpm -i perl-Net-DNS-0.66-1.el5.rf.i386.rpm ;
rpm -i perl-gettext-1.05-3.el5.i386.rpm ;
rpm -i perl-Gtk2-1.144-1.el5.i386.rpm ;
rpm -i perl-Glib-1.144-1.el5.2.i386.rpm ;
rpm -i perl-URI-1.35-3.noarch.rpm ;
rpm -i perl-File-Find-Rule-0.32-1.el5.rf.noarch.rpm ;
rpm -i perl-Text-Glob-0.08-1.el5.rf.noarch.rpm ;
rpm -i perl-Number-Compare-0.01-1.2.el5.rf.noarch.rpm ;
rpm -i perl-Date-Calc-5.4-1.el5.rf.i386.rpm ;
echo "ok" ;
#Now, i want to update Virus Data Bases.
#The files that are located in /var/lib/clamav will be replaced.
#Addresses for download of the fresh *.cvd files --->
#http://db.local.clamav.net/daily.cvd
#http://db.local.clamav.net/main.cvd
#<----
#Fresh *.cvd files are located in /tmp/Clamav_Tk/VDB_Y2010-M06-D25
cp -f /tmp/Clamav_Tk/VDB_Y2010-M06-D25/* /var/lib/clamav ;
echo "ok" ;
echo '[Desktop Entry]' > /usr/share/applications/ClamTk.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/ClamTk.desktop ;
echo 'Name=ClamTk' >> /usr/share/applications/ClamTk.desktop ;
echo 'Comment=ClamTk' >> /usr/share/applications/ClamTk.desktop ;
echo 'Exec=bash -c /usr/bin/clamtk' >> /usr/share/applications/ClamTk.desktop ;
echo 'Terminal=false' >> /usr/share/applications/ClamTk.desktop ;
echo 'Type=Application' >> /usr/share/applications/ClamTk.desktop ;
echo 'Categories=Application;Utility;UtilitySub;' >> /usr/share/applications/ClamTk.desktop ;
echo 'GenericName=ClamTk' >> /usr/share/applications/ClamTk.desktop ;
echo 'Icon=/usr/share/pixmaps/clamtk.png' >> /usr/share/applications/ClamTk.desktop ;
echo "ok" ;
echo '<icon x="160" y="636" label="ClamTk">/usr/share/applications/ClamTk.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo "ok" ;
xmessage 'Antivirus -=Clamav=- with -=Clamtk=- interface has been installed.'


Permissions for -=Install-Clamav_Tk.sh=- must be changed:
Code:
cd /place_where_Install-Clamav_Tk.sh_is_located ; chmod u+x Install-Clamav_Tk.sh

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0375s ][ Queries: 11 (0.0037s) ][ GZIP on ]