1 Summary: TIS FireWall ToolKit
2 Summary(pl): TIS FireWall ToolKit
6 License: see LICENSE file (redistribution restricted)
7 Group: Networking/Daemons
8 # How to get sources - see http://www.fwtk.org/ and http://www.tis.com/
9 Source0: %{name}%{version}.tar.Z
10 Source1: %{name}-doc-only.tar.Z
11 Source2: http://www.fwtk.org/fwtk/patches/%{name}-summ.pl.gz
12 Patch0: %{name}2.1-ipv6-19990423-PLD.patch
13 Patch1: %{name}-ndbm.patch
14 Patch2: %{name}-linux.patch
15 Patch3: %{name}-massfix.patch
16 Patch4: %{name}-ftp-plugin.patch
17 Patch5: %{name}-config.patch
18 URL: http://www.fwtk.org/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _sysconfdir /etc/%{name}
27 Firewall Toolkit - narzêdzie do tworzenia firewalli.
31 %setup -q -a 1 -T -D -n %{name}
38 cp -f Makefile.config.linux Makefile.config
41 RPM_OPT="%{rpmcflags}" %{__make}
44 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man{3,5,8}}
48 DEST=$RPM_BUILD_ROOT%{_sbindir}
50 mv -f $RPM_BUILD_ROOT%{_sbindir}/netperm-table $RPM_BUILD_ROOT%{_sysconfdir}
52 install fwtk/doc/man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
53 install fwtk/doc/man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
54 install fwtk/doc/man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
56 install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}
57 gunzip $RPM_BUILD_ROOT%{_sbindir}/*.gz
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc CHANGES LICENSE README fwtk/doc/*.* config/*
67 %attr(755,root,root) %{_sbindir}/*
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*