1 Summary: Simple packet filter generator
6 Group: Networking/Utilities
7 Source0: http://hairy.beasts.org/filter/%{name}-%{version}.tar.gz
9 Patch0: %{name}-equalsigns.patch
10 URL: http://hairy.beasts.org/filter/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This tool is for generating packet filtering rules from a fairly high-
17 level description language. It doesn't support all of the whizz-bang
18 features of the latest and greatest packet filters, but supports a
19 decent subset which is sufficient for typical workstation.
21 It currently supports only Linux iptables and ipchains. Cisco IOS has
22 been begun, but is incomplete. Darren Reed's ipfilter may be supported
23 at some stage. It doesn't generate optimal rulesets, and has a few
24 limitations which need to be removed, but is still a useful tool.
26 Please read HONESTY file!
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/{%{_sbindir},%{_sysconfdir}/%{name}}
39 cp filtergen $RPM_BUILD_ROOT/%{_sbindir}
40 cp %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/simple.conf
42 gzip -9nf README HONESTY HISTORY TODO tests/*
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc README.gz HONESTY.gz HISTORY.gz TODO.gz
51 %attr(755,root,root) %{_sbindir}/filtergen
52 %{_sysconfdir}/%{name}/simple.conf