1 Summary: Firewall SysV-init style start-up script
2 Summary(pl): Skrypt startowy firewalla
7 Group: Networking/Admin
8 Source0: ftp://ftp.pld-linux.org/software/firewall-init/%{name}-%{version}.tar.bz2
9 # Source0-md5: 1237a67be00e5ecef53a934f86c7507b
11 Requires(post,preun): /sbin/chkconfig
12 Requires: iptables >= 1.2.2-2
13 Obsoletes: iptables-init
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Firewall-init is meant to provide an easy to use interface for starting
19 and stopping the kernel IP packet filter through iptables(8).
22 Dziêki firewall-init uzyskuje siê ³atwy interfejs do startowania i
23 stopowania filtrów IP j±dra poprzez iptables(8).
29 rm -rf $RPM_BUILD_ROOT
32 DESTDIR=$RPM_BUILD_ROOT
35 rm -rf $RPM_BUILD_ROOT
38 #if [ `rpm -q --queryformat='%{VERSION}' firewall-init` < '2.5' ]; then
39 # echo "You need to manually convert your rules to iptables or install"
40 # echo "firewall-init-ipchains"
45 /sbin/chkconfig --add firewall
46 /sbin/chkconfig --add firewall-pre
49 if [ "$1" = "0" ]; then
50 /sbin/chkconfig --del firewall
51 /sbin/chkconfig --del firewall-pre
55 %defattr(644,root,root,755)
57 %defattr(640,root,root,750)
58 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall
59 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/ip*
60 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
61 /etc/sysconfig/firewall.d/functions
62 %attr(754,root,root) /etc/rc.d/init.d/firewall*
63 %dir /etc/sysconfig/firewall.d