5 Summary: A powerful yet easy to use iptables frontend
10 Group: Applications/Networking
11 Source0: http://downloads.sourceforge.net/firehol/%{name}-%{version}.tar.bz2
12 # Source0-md5: cbbe1ba21cf44955827d5c906a55aa21
14 URL: http://firehol.sourceforge.net
15 BuildRequires: rpmbuild(macros) >= 1.228
16 Requires: bash >= 2.04
17 Requires: fileutils >= 4.0.36
19 Requires: grep >= 2.4.2
20 Requires: iproute2 >= 2.2.4
21 Requires: iptables >= 1.2.4
22 Requires: kernel >= 2.4
24 Requires: modutils >= 2.4.13
25 Requires: net-tools >= 1.57
27 Requires: sh-utils >= 2.0
28 Requires: textutils >= 2.0.11
29 Requires: util-linux >= 2.11
30 Requires(post,preun): /sbin/chkconfig
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 FireHOL is a generic firewall generator, meaning that you can design
37 any kind of local or routing stateful packet filtering firewalls with
38 ease. Install FireHOL if you want an easy way to configure stateful
39 packet filtering firewalls on Linux hosts and routers.
41 FireHOL uses an extremely simple but powerful way to define firewall
42 rules which it turns into complete stateful iptables firewalls.
44 You can run FireHOL with the 'helpme' argument, to get a configuration
45 file for the system run, which you can modify according to your needs.
46 The default configuration file will allow only client traffic on all
54 rm -rf $RPM_BUILD_ROOT
55 install -D -p firehol.sh $RPM_BUILD_ROOT%{_initrddir}/firehol
56 install -D -p examples/client-all.conf $RPM_BUILD_ROOT%{_sysconfdir}/firehol/firehol.conf
59 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
60 install -p man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1
61 install -p man/*.5 $RPM_BUILD_ROOT/%{_mandir}/man5
64 install -d $RPM_BUILD_ROOT%{_libdir}/firehol
65 install -p *.sh $RPM_BUILD_ROOT%{_libdir}/firehol
67 # Install runtime directories
68 install -d $RPM_BUILD_ROOT%{_sysconfdir}/firehol/services
69 install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/firehol
72 /sbin/chkconfig --add firehol
73 %service firehol restart
78 /sbin/chkconfig --del firehol
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc README TODO ChangeLog WhatIsNew examples doc
87 %dir %{_sysconfdir}/firehol
88 %config(noreplace) %{_sysconfdir}/firehol/firehol.conf
89 %attr(754,root,root) /etc/rc.d/init.d/firehol
93 %{_sysconfdir}/firehol/services
94 %{_localstatedir}/spool/firehol