]> git.pld-linux.org Git - packages/firewall-init.git/blame - firewall-init.spec
- converted to UTF-8
[packages/firewall-init.git] / firewall-init.spec
CommitLineData
3e4e8a77 1Summary: Firewall SysV-init style start-up script
43c93f90 2Summary(pl.UTF-8): Skrypt startowy firewalla
3e4e8a77 3Name: firewall-init
937914bd
JR
4Version: 2.99.9
5Release: 1
43b37713 6License: GPL
3e4e8a77 7Group: Networking/Admin
59236610 8Source0: ftp://ftp.pld-linux.org/software/firewall-init/%{name}-%{version}.tar.bz2
937914bd 9# Source0-md5: b3bd68e812a2b30b0963c8ce9968af5e
8259adf3 10BuildRequires: rpmbuild(macros) >= 1.194
ee1ebcac 11Requires(post,preun): /sbin/chkconfig
43b37713 12Requires: iptables >= 1.2.2-2
3dc6b0ec 13Requires: rc-scripts
a024cf13 14Obsoletes: iptables-init
ee1ebcac 15BuildArch: noarch
561a4430 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
2ffec8eb 17
18%description
3dc6b0ec
ER
19Firewall-init is meant to provide an easy to use interface for
20starting and stopping the kernel IP packet filter through iptables(8).
2ffec8eb 21
43c93f90
JR
22%description -l pl.UTF-8
23Dzięki firewall-init uzyskuje się łatwy interfejs do startowania i
24stopowania filtrów IP jądra poprzez iptables(8).
63dce7c2 25
2ffec8eb 26%prep
27%setup -q
2ffec8eb 28
29%install
30rm -rf $RPM_BUILD_ROOT
3e4e8a77 31
ee1ebcac
JB
32%{__make} install \
33 DESTDIR=$RPM_BUILD_ROOT
34
35%clean
36rm -rf $RPM_BUILD_ROOT
3e4e8a77 37
8259adf3
ER
38%triggerpostun -- %{name} < 2.5
39%banner -e %{name} <<'EOF'
40You need to manually convert your rules to iptables or install
41firewall-init-ipchains
42EOF
7ba90b15 43
2ffec8eb 44%post
74a4c8ce 45/sbin/chkconfig --add firewall
43b37713 46/sbin/chkconfig --add firewall-pre
2ffec8eb 47
21d30844 48%preun
74a4c8ce 49if [ "$1" = "0" ]; then
50 /sbin/chkconfig --del firewall
43b37713 51 /sbin/chkconfig --del firewall-pre
74a4c8ce 52fi
2ffec8eb 53
2ffec8eb 54%files
958d7e5b 55%defattr(644,root,root,755)
9ecad545 56%doc README
43b37713 57%defattr(640,root,root,750)
3dc6b0ec
ER
58%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall
59%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall.d/ip*
60%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
43b37713
MM
61/etc/sysconfig/firewall.d/functions
62%attr(754,root,root) /etc/rc.d/init.d/firewall*
63%dir /etc/sysconfig/firewall.d
This page took 0.071576 seconds and 4 git commands to generate.