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 Sun 21 Dec 2014, 10:29
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 Posts_count_1  
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
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count_1  
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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