]> git.pld-linux.org Git - packages/filtergen.git/commitdiff
- initial spec
authorbonkey <bonkey@bonkey.pl.eu.org>
Sun, 7 Oct 2001 12:08:37 +0000 (12:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    filtergen.spec -> 1.1

filtergen.spec [new file with mode: 0644]

diff --git a/filtergen.spec b/filtergen.spec
new file mode 100644 (file)
index 0000000..cb58c08
--- /dev/null
@@ -0,0 +1,52 @@
+Summary:       Simple packet filter generator
+Name:          filter
+Version:       0.3
+Release:       1
+License:       GPL
+Group: Networking/Utilities
+Source0:       http://hairy.beasts.org/filter/%{name}-%{version}.tar.gz
+Source1:       %{name}.conf
+Patch0:                %{name}-equalsigns.patch
+URL:           http://hairy.beasts.org/filter/
+BuildRequires: flex
+Provides:      firewall
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This tool is for generating packet filtering rules from a fairly high-
+level description language.  It doesn't support all of the whizz-bang
+features of the latest and greatest packet filters, but supports a
+decent subset which is sufficient for typical workstation.
+
+It currently supports only Linux iptables and ipchains.  Cisco IOS has
+been begun, but is incomplete.  Darren Reed's ipfilter may be supported
+at some stage.  It doesn't generate optimal rulesets, and has a few
+limitations which need to be removed, but is still a useful tool.
+
+Please read HONESTY file!
+
+%prep
+%setup  -q
+%patch0 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/{%{_sbindir},%{_sysconfdir}/%{name}}
+cp filtergen $RPM_BUILD_ROOT/%{_sbindir}
+cp %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/simple.conf
+
+gzip -9nf README HONESTY HISTORY TODO tests/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.gz HONESTY.gz HISTORY.gz TODO.gz
+%doc tests
+%{_sbindir}/filtergen
+%{_sysconfdir}/%{name}/simple.conf
This page took 0.030277 seconds and 4 git commands to generate.