]> git.pld-linux.org Git - packages/filtergen.git/blob - filtergen.spec
- updated to 0.5.
[packages/filtergen.git] / filtergen.spec
1 Summary:        Simple packet filter generator
2 Name:           filter
3 Version:        0.5
4 Release:        1
5 License:        GPL
6 Group:          Networking/Utilities
7 Group(de):      Netzwerkwesen/Werkzeuge
8 Group(es):      Red/Utilitarios
9 Group(pl):      Sieciowe/Narzêdzia
10 Group(pt_BR):   Rede/Utilitários
11 Source0:        http://hairy.beasts.org/filter/%{name}-%{version}.tar.gz
12 Source1:        %{name}.conf
13 Patch0:         %{name}-equalsigns.patch
14 URL:            http://hairy.beasts.org/filter/
15 BuildRequires:  flex
16 Provides:       firewall
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This tool is for generating packet filtering rules from a fairly high-
21 level description language. It doesn't support all of the whizz-bang
22 features of the latest and greatest packet filters, but supports a
23 decent subset which is sufficient for typical workstation.
24
25 It currently supports only Linux iptables and ipchains. Cisco IOS has
26 been begun, but is incomplete. Darren Reed's ipfilter may be supported
27 at some stage. It doesn't generate optimal rulesets, and has a few
28 limitations which need to be removed, but is still a useful tool.
29
30 Please read HONESTY file!
31
32 %prep
33 %setup  -q
34 %patch0 -p1
35
36 %build
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT/{%{_sbindir},%{_sysconfdir}/%{name}}
42
43 install filtergen $RPM_BUILD_ROOT/%{_sbindir}
44 install %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/simple.conf
45
46 gzip -9nf README HONESTY HISTORY TODO tests/*
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc *.gz tests
54 %attr(755,root,root) %{_sbindir}/filtergen
55 %{_sysconfdir}/%{name}/simple.conf
This page took 0.055054 seconds and 4 git commands to generate.