1 Summary: Firewall SysV-init style start-up script
2 Summary(pl): Skrypt startowy firewalla
7 Group: Networking/Admin
8 Group(de): Netzwerkwesen/Administration
9 Group(pl): Sieciowe/Administacyjne
10 # Source0: ftp://ftp.pld.org.pl/software/firewall-init/%{name}-%{version}.tar.gz
11 # Source0-md5: e336e02377ef26c258d8ccabeaefcf8c
12 Source0: http://aramin.one.pl/~undefine/%{name}-%{version}.tar.gz
13 Patch0: %{name}-pre.patch
15 Requires(post,preun): /sbin/chkconfig
16 Requires: iptables >= 1.2.2-2
17 Conflicts: kernel < 2.3.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Firewall-init is meant to provide an easy to use interface for starting
23 and stopping the kernel IP packet filter through iptables(8).
26 Dziêki firewall-init uzyskuje siê ³atwy interfejs do startowania i
27 stopowania filtrów IP j±dra poprzez iptables(8).
34 rm -rf $RPM_BUILD_ROOT
37 DESTDIR=$RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
43 /sbin/chkconfig --add firewall
44 /sbin/chkconfig --add firewall-pre
47 if [ "$1" = "0" ]; then
48 /sbin/chkconfig --del firewall
49 /sbin/chkconfig --del firewall-pre
53 %defattr(644,root,root,755)
55 %defattr(640,root,root,750)
56 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall
57 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/ip*
58 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
59 /etc/sysconfig/firewall.d/functions
60 %attr(754,root,root) /etc/rc.d/init.d/firewall*
61 %dir /etc/sysconfig/firewall.d