?? guarddog82.spec
字號:
%define name guarddog%define version 2.0.0%define release 1mdk82Summary: Firewall UtilityName: %{name}Version: %{version}Release: %{release}Source: %{name}-%{version}.tar.gzCopyright: GPLGroup: Networking/UtilitiesURL: http://www.simonzone.com/software/guarddog/Packager: Simon EdwardsDistribution: Linux-MandrakeBuildRoot: %{_tmppath}/%{name}-buildrootRequires: iptables kdebase gawk textutils sedPrefix: %{_prefix}%descriptionGuarddog is user friendly firewall generation and management utility for KDEon Linux. It allows you to simply specify which protocols should be allowedbetween which groups of computers and requires no knowledge of port numbersor packets. Built on top of ipchains and/or iptables.This RPM is for Mandrake 8.2 with the default KDE 2.%preprm -rf $RPM_BUILD_ROOT%setup%buildCXXFLAGS="$RPM_OPT_FLAGS"./configure --with-kde-version=2 --prefix=%{prefix}make%installmake install prefix=$RPM_BUILD_ROOT/%{prefix}%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root,0755)%doc README TODO AUTHORS COPYING ChangeLog%{prefix}/bin/guarddog%{prefix}/share/apps/guarddog/networkprotocoldb.xml%{prefix}/share/apps/guarddog/pics/advanced.png%{prefix}/share/apps/guarddog/pics/box_clear.png%{prefix}/share/apps/guarddog/pics/box_checked.png%{prefix}/share/apps/guarddog/pics/box_crossed.png%{prefix}/share/apps/guarddog/pics/chat.png%{prefix}/share/apps/guarddog/pics/dataserve.png%{prefix}/share/apps/guarddog/pics/filetransfer.png%{prefix}/share/apps/guarddog/pics/game.png%{prefix}/share/apps/guarddog/pics/logging.png%{prefix}/share/apps/guarddog/pics/mail.png%{prefix}/share/apps/guarddog/pics/miscellaneous.png%{prefix}/share/apps/guarddog/pics/multimedia.png%{prefix}/share/apps/guarddog/pics/network.png%{prefix}/share/apps/guarddog/pics/protocols.png%{prefix}/share/apps/guarddog/pics/rate_limit.png%{prefix}/share/apps/guarddog/pics/terminal.png%{prefix}/share/apps/guarddog/pics/userdefined.png%{prefix}/share/apps/guarddog/pics/warn.png%{prefix}/share/apps/guarddog/pics/zones.png%{prefix}/share/apps/guarddog/pics/laserwarn.png%{prefix}/share/doc/HTML/en/guarddog/%{prefix}/share/icons/locolor/32x32/apps/guarddog.png%{prefix}/share/icons/hicolor/48x48/apps/guarddog.png%{prefix}/share/icons/hicolor/32x32/apps/guarddog.png%{prefix}/share/icons/locolor/16x16/apps/guarddog.png%{prefix}/share/locale/da/LC_MESSAGES/guarddog.mo%{prefix}/share/locale/de/LC_MESSAGES/guarddog.mo%{prefix}/share/locale/it/LC_MESSAGES/guarddog.mo%{prefix}/lib/menu/guarddog%postif [ ! -e /etc/rc.firewall ]; then echo "#!/bin/sh" > /etc/rc.firewall echo "# This is just a place holder rc.firewall file so that when the links" >> /etc/rc.firewall echo "# /sbin/ifup-local and /sbin/ifdown-local have something valid to point to." >> /etc/rc.firewall echo "# It will be over written once the Guarddog configuration utility is used." >> /etc/rc.firewall echo "# --Guarddog, http://www.simonzone.com/software/guarddog/" >> /etc/rc.firewall chmod u+x /etc/rc.firewallfiif [ ! -x /sbin/ifup-local ]; then ln -s /etc/rc.firewall /sbin/ifup-localelse if [ ! -L /sbin/ifup-local ]; then echo "*** Warning: Could not make a link from /sbin/ifup-local to /etc/rc.firewall ***" fifiif [ ! -x /sbin/ifdown-local ]; then ln -s /etc/rc.firewall /sbin/ifdown-localelse if [ ! -L /sbin/ifdown-local ]; then echo "*** Warning: Could not make a link from /sbin/ifdown-local to /etc/rc.firewall ***" fifiif [ ! -e /etc/ppp/ip-up.local ]; then echo "#!/bin/bash" > /etc/ppp/ip-up.local echo "#" >> /etc/ppp/ip-up.local echo "# This short script just runs any firewall script located at /etc/rc.firewall ." >> /etc/ppp/ip-up.local echo "# It will be called whenever a ppp interface comes up. Normally we would hook" >> /etc/ppp/ip-up.local echo "# our firewall script in via /sbin/ifup-local, but a bug in the" >> /etc/ppp/ip-up.local echo "# /etc/ppp/ip-up script prevents that from working. This script provides a" >> /etc/ppp/ip-up.local echo "# workaround." >> /etc/ppp/ip-up.local echo "#" >> /etc/ppp/ip-up.local echo "# cheers, Guardddog http://www.simonzone.com/software/guarddog/" >> /etc/ppp/ip-up.local echo "#" >> /etc/ppp/ip-up.local echo "[ -x /etc/rc.firewall ] && /etc/rc.firewall" >> /etc/ppp/ip-up.local chmod u+x /etc/ppp/ip-up.localfiif [ ! -e /etc/ppp/ip-down.local ]; then echo "#!/bin/bash" > /etc/ppp/ip-down.local echo "#" >> /etc/ppp/ip-down.local echo "# This short script just runs any firewall script located at /etc/rc.firewall ." >> /etc/ppp/ip-down.local echo "# It will be called whenever a ppp interface goes down. Normally we would hook" >> /etc/ppp/ip-down.local echo "# our firewall script in via /sbin/ifdown-local, but a bug in the" >> /etc/ppp/ip-down.local echo "# /etc/ppp/ip-down script prevents that from working. This script provides a" >> /etc/ppp/ip-down.local echo "# workaround." >> /etc/ppp/ip-down.local echo "#" >> /etc/ppp/ip-down.local echo "# cheers, Guardddog http://www.simonzone.com/software/guarddog/" >> /etc/ppp/ip-down.local echo "#" >> /etc/ppp/ip-down.local echo "[ -x /etc/rc.firewall ] && /etc/rc.firewall" >> /etc/ppp/ip-down.local chmod u+x /etc/ppp/ip-down.localfiif [ -x /usr/bin/update-menus ]; then /usr/bin/update-menusfi%postunif [ "$1" = 0 ]; then if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus fifi%changelog* Tue Jul 9 2002 Simon Edwards <simon@simonzone.com> 2.0.0-1mdk82- Updated to 2.0.0.* Fri Jun 28 2002 Simon Edwards <simon@simonzone.com> 1.9.16-1mdk82- Updated to 1.9.16.- Added patch to make it work on Qt2* Tue May 7 2002 Simon Edwards <simon@simonzone.com> 1.9.15-1mdk82- RPM for Mandrake 8.2 with KDE 2.* Sun Apr 28 2002 Simon Edwards <simon@simonzone.com> 1.9.15-1mdk- 1.9.15 release- Changed the 'Apply' button behaviour a little. 'Apply'->'Cancel'->'Keep settings' is now permanent, unlike before. The previous behaviour was a little unexpected.- Added Danish translation file from Gunner Poulsen.- Added CVS-server, DICT support.- It should now compile ok on KDE 2 and 3. (With KDE 3 you may have to specify to configure --enable-mt and --with-qt-dir=... )* Mon Apr 1 2002 Simon Edwards <simon@simonzone.com> 1.9.14-1mdk- 1.9.14 release- Now correctly detects which filter system is being using on 2.5 kernels.- Moved NNTP to the Mail section.- Small fix to Windows Networking (NETBIOS).- Added Kerberos, klogin, kshell, NIS, IMAPS, POP3S, ISAKMP.* Fri Mar 8 2002 Simon Edwards <simon@simonzone.com> 1.9.13-1mdk- 1.9.13 release- Something happened when I made the last tar ball which corrupted the networkprotocoldb.xml file by one character. (honest!) I'm rereleasing 1.9.12 basically with this new version name to avoid confusion.* Thu Mar 7 2002 Simon Edwards <simon@simonzone.com> 1.9.12-1mdk- 1.9.12 release.- Should work ok with recent autoconf versions now, and will probably work on KDE3 too. (Thanks to Carsten Pfeiffer)- No longer requires that packets creating a NEW tracked connection have thier SYN bit set. It can now pick up previously dropped (tracked) connections. (Blocking !SYN was causing too many log entries and a bit of trouble elsewhere).- Added CDDB, MSN Messenger, VNC and PPTP support.* Wed Feb 20 2002 Simon Edwards <simon@simonzone.com> 1.9.11-1mdk- 1.9.11 release- Bugfix: Now doesn't try to enforce the Strong ES model. Linux 2.2 and 2.4 as it turns out, use the weak model.- Fixed a nasty flaw in the way UDP reply packets were handled. (Thanks to Sander Plomp for noticing this).- Added control over TCP timestamps usage (defaults to off).- Windows Networking (NETBIOS) fixes.- Small SSH fix.- Added support for Telstra's BigPond Cable authentication/heartbeat.- Changed the GUI layout on the Protocol tab. Hopefully it's clearer now.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -