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 Mon 22 Dec 2014, 13:16
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
"Gufw" firewall in "Quirky Linux - 1.40" ! only script
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: Sat 19 Nov 2011, 18:24    Post subject:  "Gufw" firewall in "Quirky Linux - 1.40" ! only script  

Arrow

Quote:

Install_GUFW_-part1-.sh
Code:

#!/bin/bash
#
cd /room ;
#DEB_files >>>
curl -C - -O file:///mnt/sr0/Gufw/Slackware-13.1_files/ufw-0.30-i486-1sl.txz ;
if [ ! `echo -e "d30937a9c7382065cbf17fccb75ee08c  ufw-0.30-i486-1sl.txz" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rox /room/ufw-0.30-i486-1sl.txz ; xmessage "-=ufw-0.30-i486-1sl.txz=- has been installed. `xmessage "Wait please. There will be 3 pop-ups."`" ;
sleep 0.5s ;
rm /room/ufw-0.30-i486-1sl.txz ;
rm /room/.md-5.sm ;
#1
#<<< DEB_files
#
#RPM_files >>>
curl -C - -O file:///mnt/sr0/Gufw/PCLinuxOS-2010_files/libdirectfb1.4_0-1.4.2-7pclos2010.i586.rpm ;
if [ ! `echo -e "c76961a47538d967c2c72cb079b607fd  libdirectfb1.4_0-1.4.2-7pclos2010.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libdirectfb1.4_0-1.4.2-7pclos2010.i586.rpm ;
sleep 0.5s ;
rm /room/libdirectfb1.4_0-1.4.2-7pclos2010.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /usr/lib/directfb-1.4-0/ /usr/lib/directfb-1.2-0 ;
ln -s /usr/lib/libdirect-1.4.so.0 /usr/lib/libdirect-1.2.so.0 ;
ln -s /usr/lib/libdirectfb-1.4.so.0 /usr/lib/libdirectfb-1.2.so.0 ;
ln -s /usr/lib/libfusion-1.4.so.0 /usr/lib/libfusion-1.2.so.0 ;
ln -s /usr/lib/libuniquewm-1.4.so.0 /usr/lib/libuniquewm-1.2.so.0 ;
ln -s /usr/share/directfb-1.4.2/ /usr/share/directfb-1.2.9 ;
ln -s /usr/share/doc/libdirectfb1.4_0-1.4.2/ /usr/share/doc/directfb-1.2.9 ;
ln -s /usr/share/man/man1/dfbg.1.bz2 /usr/share/man/man1/dfbg.1.gz ;
ln -s /usr/share/man/man5/directfbrc.5.bz2 /usr/share/man/man5/directfbrc.5.gz ;
#1
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pycairo-1.8.2-2.fc11.i586.rpm ;
if [ ! `echo -e "d32a19ebaedac3d729497eaa8fc5a4d4  pycairo-1.8.2-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pycairo-1.8.2-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pycairo-1.8.2-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pygobject2-2.16.1-4.fc11.i586.rpm ;
if [ ! `echo -e "7735cbab4dfbedefb76346923a7e49c4  pygobject2-2.16.1-4.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pygobject2-2.16.1-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygobject2-2.16.1-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pygtk2-2.14.1-2.fc11.i586.rpm ;
if [ ! `echo -e "7c5f65be473f4460e45cf9a352218253  pygtk2-2.14.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pygtk2-2.14.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygtk2-2.14.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/python-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "3d270f0adf1488423d909723ddc6975c  python-2.6-12.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/python-libs-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "c195928248c026a3165fc7fde03a975b  python-libs-2.6-12.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i python-libs-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-libs-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
#<<< RPM_files
#
#DEB_files >>>
curl -C - -O file:///mnt/sr0/Gufw/Slackware-13.1_files/gui-ufw-10.10.1-i486-1sl.txz ;
if [ ! `echo -e "56c20d1ea4e43ff1d348313c7f3b1ef7  gui-ufw-10.10.1-i486-1sl.txz" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rox /room/gui-ufw-10.10.1-i486-1sl.txz ; xmessage "-=gui-ufw-10.10.1-i486-1sl.txz=- has been installed. `xmessage "Wait please. There will be 3 pop-ups."`" ;
sleep 0.5s ;
rm /room/gui-ufw-10.10.1-i486-1sl.txz ;
rm /room/.md-5.sm ;
#2
#<<< DEB_files
#
#RPM_files >>>
curl -C - -O file:///mnt/sr0/Gufw/PCLinuxOS-2010_files/gksu-2.0.2-1pclos2010.i586.rpm ;
if [ ! `echo -e "ee9a24a3889efecd27505a357572e86d  gksu-2.0.2-1pclos2010.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gksu-2.0.2-1pclos2010.i586.rpm ;
sleep 0.5s ;
rm /room/gksu-2.0.2-1pclos2010.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/Gufw/PCLinuxOS-2010_files/libgksu2.0_0-2.0.11-1pclos2010.i586.rpm ;
if [ ! `echo -e "6c268200047e694ba2999b7bb069f989  libgksu2.0_0-2.0.11-1pclos2010.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libgksu2.0_0-2.0.11-1pclos2010.i586.rpm ;
sleep 0.5s ;
rm /room/libgksu2.0_0-2.0.11-1pclos2010.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
if [ ! `echo -e "f449a2acdf5e3a2b617662dbbc58e501  gnome-keyring-2.26.3-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gnome-keyring-2.26.3-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#9
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/GConf2-2.26.2-1.fc11.2.i586.rpm ;
if [ ! `echo -e "958e9ce3f3ca811b09795cf7385b0815  GConf2-2.26.2-1.fc11.2.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i GConf2-2.26.2-1.fc11.2.i586.rpm ;
sleep 0.5s ;
rm /room/GConf2-2.26.2-1.fc11.2.i586.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/xcb-util-0.3.4-1.fc11.i586.rpm ;
if [ ! `echo -e "076bd7f366c7dfa447622f98e850564e  xcb-util-0.3.4-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i xcb-util-0.3.4-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/xcb-util-0.3.4-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/libgtop2-2.26.1-1.fc11.i586.rpm ;
if [ ! `echo -e "b1089410af23dd157726db6694128d70  libgtop2-2.26.1-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libgtop2-2.26.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libgtop2-2.26.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#12
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/ORBit2-2.14.17-1.fc11.i586.rpm ;
if [ ! `echo -e "4cbca83dd08c5ee353f01d3465af7100  ORBit2-2.14.17-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i ORBit2-2.14.17-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/ORBit2-2.14.17-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#13
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
if [ ! `echo -e "b0ebf244019f9912ecc3c3602621c1f1  pygtk2-libglade-2.14.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#14
#<<< RPM_files
#
xmessage "STEP - 1."

Edit: 2011, nov 19.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install_GUFW_-part2-.sh
Code:

#!/bin/bash
cd /room ;
#
#Maybe not needful >>>
#To find libraries and files ---> find /usr /lib -name *file.extension*
#
#RPM_files >>>
#
rm /usr/lib/libatk-1.0.so /usr/lib/libatk-1.0.so.0 /usr/lib/libatk-1.0.so.0.3009.1 ;
#
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/atk-1.25.2-2.fc11.i586.rpm ;
if [ ! `echo -e "cbb830078b2ad1d203041352e132f571  atk-1.25.2-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i atk-1.25.2-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/atk-1.25.2-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /usr/lib/libatk-1.0.so.0.2511.1 /usr/lib/libatk-1.0.so ;
#1
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/dbus-python-0.83.0-5.fc11.i586.rpm ;
if [ ! `echo -e "498b556c9cdb8f6bcb70b5b2f482b415  dbus-python-0.83.0-5.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i dbus-python-0.83.0-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/dbus-python-0.83.0-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/dbus-python-devel-0.83.0-5.fc11.i586.rpm ;
if [ ! `echo -e "d24c2f2993bf66e803bce90f0203aa57  dbus-python-devel-0.83.0-5.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i dbus-python-devel-0.83.0-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/dbus-python-devel-0.83.0-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/enchant-1.4.2-5.fc11.i586.rpm ;
if [ ! `echo -e "616135cf20832ec754294c8331c536ef  enchant-1.4.2-5.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i enchant-1.4.2-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/enchant-1.4.2-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/hunspell-1.2.8-7.fc11.i586.rpm ;
if [ ! `echo -e "ca8d98ea3b522310b4935cdf4ec0d4f5  hunspell-1.2.8-7.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i hunspell-1.2.8-7.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/hunspell-1.2.8-7.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/hunspell-en-0.20090216-2.fc11.noarch.rpm ;
if [ ! `echo -e "edf949ab894abf600677b9365f8835b6  hunspell-en-0.20090216-2.fc11.noarch.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i hunspell-en-0.20090216-2.fc11.noarch.rpm ;
sleep 0.5s ;
rm /room/hunspell-en-0.20090216-2.fc11.noarch.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/libsexy-0.1.11-10.fc11.i586.rpm ;
if [ ! `echo -e "cecbef8a0e86bc4ed1cf268498b9f7be  libsexy-0.1.11-10.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libsexy-0.1.11-10.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libsexy-0.1.11-10.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
#
rm /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.0.10 ;
#
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/libstdc++-4.4.1-2.fc11.i586.rpm ;
if [ ! `echo -e "96c934cb092bf073ace9c10cce025f44  libstdc++-4.4.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libstdc++-4.4.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libstdc++-4.4.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/libthai-0.1.9-7.fc11.i586.rpm ;
if [ ! `echo -e "5638e6177707f09686cbf58bce5b84bb  libthai-0.1.9-7.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libthai-0.1.9-7.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libthai-0.1.9-7.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/libwnck-2.26.2-1.fc11.i586.rpm ;
if [ ! `echo -e "6a795d3091e3c22579614476b444fc0b  libwnck-2.26.2-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libwnck-2.26.2-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libwnck-2.26.2-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
#
rm /lib/libncurses.so /lib/libncurses.so.5 /lib/libncurses.so.5.7 ;
rm /lib/libncursesw.so /lib/libncursesw.so.5 /lib/libncursesw.so.5.7 ;
rm /lib/libform.so /lib/libform.so.5 /lib/libform.so.5.7 ;
rm /lib/libmenu.so /lib/libmenu.so.5 /lib/libmenu.so.5.7 ;
rm /lib/libpanel.so /lib/libpanel.so.5 /lib/libpanel.so.5.7 ;
#
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/ncurses-libs-5.7-2.20090207.fc11.i586.rpm ;
if [ ! `echo -e "3cb1ba42220070dd6987053d9e3ed608  ncurses-libs-5.7-2.20090207.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i ncurses-libs-5.7-2.20090207.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/ncurses-libs-5.7-2.20090207.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /lib/libncurses.so.5.7 /lib/libncurses.so ;
ln -s /lib/libncursesw.so.5.7 /lib/libncursesw.so ;
ln -s /lib/libtinfo.so.5.7 /lib/libtinfo.so ;
ln -s /usr/lib/libform.so.5.7 /usr/lib/libform.so ;
ln -s /usr/lib/libformw.so.5.7 /usr/lib/libformw.so ;
ln -s /usr/lib/libmenu.so.5.7 /usr/lib/libmenu.so ;
ln -s /usr/lib/libmenuw.so.5.7 /usr/lib/libmenuw.so ;
ln -s /usr/lib/libpanel.so.5.7 /usr/lib/libpanel.so ;
ln -s /usr/lib/libpanelw.so.5.7 /usr/lib/libpanelw.so ;
ln -s /usr/lib/libtic.so.5.7 /usr/lib/libtic.so ;
#9
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/notification-daemon-0.4.0-3.fc11.i586.rpm ;
if [ ! `echo -e "c5f87f9e418f277a24ae910fceeb2e17  notification-daemon-0.4.0-3.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i notification-daemon-0.4.0-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/notification-daemon-0.4.0-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/notify-python-0.1.1-7.fc11.i586.rpm ;
if [ ! `echo -e "4d7c179617c075871954f223946ca9ee  notify-python-0.1.1-7.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i notify-python-0.1.1-7.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/notify-python-0.1.1-7.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
#
rm /usr/bin/pango-view /usr/bin/pango-querymodules ;
rm /usr/lib/libpango-1.0.so /usr/lib/libpango-1.0.so.0 /usr/lib/libpango-1.0.so.0.2800.1 ;
rm /usr/lib/libpangocairo-1.0.so /usr/lib/libpangocairo-1.0.so.0 /usr/lib/libpangocairo-1.0.so.0.2800.1 ;
rm /usr/lib/libpangoft2-1.0.so /usr/lib/libpangoft2-1.0.so.0 /usr/lib/libpangoft2-1.0.so.0.2800.1 ;
rm /usr/lib/libpangox-1.0.so /usr/lib/libpangox-1.0.so.0 /usr/lib/libpangox-1.0.so.0.2800.1 ;
rm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangoxft-1.0.so.0 /usr/lib/libpangoxft-1.0.so.0.2800.1 ;
rm -r /usr/lib/pango ;
#
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pango-1.24.5-1.fc11.i586.rpm ;
if [ ! `echo -e "e37215e73bec170145746ee5263d2d89  pango-1.24.5-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pango-1.24.5-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pango-1.24.5-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#
ln -s /usr/lib/libpango-1.0.so.0.2400.5 /usr/lib/libpango-1.0.so ;
ln -s /usr/lib/libpangocairo-1.0.so.0.2400.5 /usr/lib/libpangocairo-1.0.so ;
ln -s /usr/lib/libpangoft2-1.0.so.0.2400.5 /usr/lib/libpangoft2-1.0.so ;
ln -s /usr/lib/libpangox-1.0.so.0.2400.5 /usr/lib/libpangox-1.0.so ;
ln -s /usr/lib/libpangoxft-1.0.so.0.2400.5 /usr/lib/libpangoxft-1.0.so ;
#12
curl -C - -O file:///mnt/sr0/Gufw/Fedora-11_files/pkgconfig-0.23-8.fc11.i586.rpm ;
if [ ! `echo -e "02f92b39131cd09417a1b1e7a1013572  pkgconfig-0.23-8.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i pkgconfig-0.23-8.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pkgconfig-0.23-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#13
#<<< RPM_files
#<<< Maybe not needful
#
xmessage "STEP - 2."

Edit: 2011, nov 19.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install_GUFW.sh
Code:

#!/bin/bash
#
#ufw (Uncomplicated Firewall)
#Ufw stands for Uncomplicated Firewall, and is program for managing a
#netfilter firewall. It provides a command line interface and aims to
#be uncomplicated and easy to use.
#
#Requires:
#    * python >= 2.6.4-i486-1
#
# # #
#
#gui-ufw (GTK+ graphical user interface for ufw)
#Gufw (GUI-UFW) is an easy, intuitive, way to manage your
#Uncomplicated firewall.
#
#Requires:
#    * dbus-python >= 0.83.1-i486-1
#    * gtk+2 >= 2.18.9-i486-1
#    * notify-python >= 0.1.1-i486-1
#    * python >= 2.6.4-i486-1
#    * ufw >= 0.30-i486-1sl
#
# # #
#
#
#SRC:
#http://repository.slacky.eu/slackware-13.1/security/ufw/0.30/ufw-0.30-i486-1sl.txz
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
xmessage "DBus must be installed. Installation will be terminated." ;
sleep 0.5s ;
if [ "" = "`ps x | grep \"Install_GUFW\" | grep \"bash\" | cut -f1 -d\" \"`" ] ; then
kill -9 `ps x | grep "Install_GUFW" | grep "bash" | cut -f2 -d" "` ;
else kill -9 `ps x | grep "Install_GUFW" | grep "bash" | cut -f1 -d" "` ;
fi ;
fi ;
#
#Now, targeted programs >>>
sh /mnt/sr0/Gufw/Install_GUFW_-part1-.sh ;
sleep 0.5s ;
sh /mnt/sr0/Gufw/Install_GUFW_-part2-.sh ;
sleep 0.5s ;
#
# # #
#
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-1--DBus_Avahi_Hal.sh ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-2--DBus_Avahi_Hal.sh ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-3--DBus_Avahi_Hal.sh ;
#fi
#if [ -n /usr/local/bin/Install--5_PART-4--DBus_Avahi_Hal.sh ] ; then
#cp /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-4--DBus_Avahi_Hal.sh /usr/local/bin/ ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#cd /usr/local/bin/ ;
#sh Install--5_PART-4--DBus_Avahi_Hal.sh ;
#fi
#
# # #
#
#and now...
#
rm /usr/share/applications/gufw.desktop /usr/share/applications/gksu.desktop ;
#
sed -i 's/-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT/-A ufw-before-input -p icmp --icmp-type destination-unreachable -j DROP/' /etc/ufw/before.rules ;
sed -i 's/-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT/-A ufw-before-input -p icmp --icmp-type source-quench -j DROP/' /etc/ufw/before.rules ;
sed -i 's/-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT/-A ufw-before-input -p icmp --icmp-type time-exceeded -j DROP/' /etc/ufw/before.rules ;
sed -i 's/-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT/-A ufw-before-input -p icmp --icmp-type parameter-problem -j DROP/' /etc/ufw/before.rules ;
sed -i 's/-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT/-A ufw-before-input -p icmp --icmp-type echo-request -j DROP/' /etc/ufw/before.rules ;
#
sed -i 's/net\/ipv4\/icmp_echo_ignore_broadcasts=0/net\/ipv4\/icmp_echo_ignore_broadcasts=1/' /etc/ufw/sysctl.conf ;
sed -i 's/net\/ipv4\/icmp_ignore_bogus_error_responses=0/net\/ipv4\/icmp_ignore_bogus_error_responses=1/' /etc/ufw/sysctl.conf ;
sed -i 's/net\/ipv4\/icmp_echo_ignore_all=0/net\/ipv4\/icmp_echo_ignore_all=1/' /etc/ufw/sysctl.conf ;
#
#"Network System" must be relaunched. The -=Stop-Start Network Card Activity=- point maybe can help.
#
ufw disable ;
sleep 0.5s ;
ufw enable ;
#
sed -i".tmp" '/"Gui-UFW"/d' /root/Choices/ROX-Filer/PuppyPin ;
#
echo '[Desktop Entry]' > /usr/share/applications/gUFw.desktop ;
echo 'Version=1.0' >> /usr/share/applications/gUFw.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/gUFw.desktop ;
echo 'Name=Gui-UFW' >> /usr/share/applications/gUFw.desktop ;
echo 'Comment=Allows to configure ufw firewall' >> /usr/share/applications/gUFw.desktop ;
#
#Don't touch this >>>
#Exec=bash -c 'bash -c "`Xdialog --title \"GUFW - Gui for UFW\" --no-tags --radiolist \"\" 13 42 10 \"/usr/share/gufw/gufw.py\" \"-=GUFW=-\" off \"echo -e \"'\''\"\`dmesg|grep BLOCK|tail -10|cut --delimiter=\" \" -f1-4,6,13-15\`\"'\''\"|xmessage -file -\"  \"-=Blocked Packets=-\" on \"rxvt --geometry 70x20 -e dialog --msgbox \"'\''\"\`ifconfig eth0 down ; sleep 0.5s ; /etc/rc.d/rc.network start\`\"'\''\" 20 60\" \"-=Stop-Start Network Card Activity=-\" off 2>&1`"'
grep 'gufw.py' /mnt/sr0/Gufw/Install_GUFW.sh | grep -v "sed" | sed 's/#//' >> /usr/share/applications/gUFw.desktop ;
# <<<
#
echo 'Terminal=false' >> /usr/share/applications/gUFw.desktop ;
echo 'Type=Application' >> /usr/share/applications/gUFw.desktop ;
echo 'Categories=Network;' >> /usr/share/applications/gUFw.desktop ;
echo 'GenericName=Firewall configuration' >> /usr/share/applications/gUFw.desktop ;
echo 'Icon=/usr/share/icons/hicolor/48x48/apps/gufw_menu.png' >> /usr/share/applications/gUFw.desktop ;
#ok...
sed -i".tmp" '/\/pinboard/d' /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
echo '<icon x="224" y="284" label="Gui-UFW">/usr/share/applications/gUFw.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
#
# # #rm /usr/local/bin/Install--5_PART-4--DBus_Avahi_Hal.sh ;
#
fixmenus ;
echo -e "Applications -=UFW=- and -=GUFW=- have been installed.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\"Network System\" must be relaunched.\nThe -=Stop-Start Network Card Activity=- point maybe can help." | xmessage -file - `jwm -display :0.0 -restart` ;
rox --pinboard=/root/Choices/ROX-Filer/PuppyPin ;


Edit: 2011, nov 19.


Quote:
Exclamation The "Dbus, Avahi, Hal" topic is over here:

Code:
http://www.murga-linux.com/puppy/viewtopic.php?p=584359#584359




A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • 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.1220s ][ Queries: 12 (0.0041s) ][ GZIP on ]