]> git.pld-linux.org Git - packages/firewall-init.git/blob - firewall-init.spec
- up to 2.99.6; nfy
[packages/firewall-init.git] / firewall-init.spec
1 Summary:        Firewall SysV-init style start-up script
2 Summary(pl):    Skrypt startowy firewalla
3 Name:           firewall-init
4 Version:        2.99.6
5 Release:        1
6 License:        GPL
7 Group:          Networking/Admin
8 Source0:        http://ep09.pld-linux.org/~mmazur/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2d2714634b48e79cccfe95e5163b4cde
10 PreReq:         rc-scripts
11 Requires(post,preun):   /sbin/chkconfig
12 Requires:       iptables >= 1.2.2-2
13 Obsoletes:      iptables-init
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Firewall-init is meant to provide an easy to use interface for starting
19 and stopping the kernel IP packet filter through iptables(8).
20
21 %description -l pl
22 Dziêki firewall-init uzyskuje siê ³atwy interfejs do startowania i
23 stopowania filtrów IP j±dra poprzez iptables(8).
24
25 %prep
26 %setup -q
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %post
38 /sbin/chkconfig --add firewall
39 /sbin/chkconfig --add firewall-pre
40
41 %postun
42 if [ "$1" = "0" ]; then
43         /sbin/chkconfig --del firewall
44         /sbin/chkconfig --del firewall-pre
45 fi
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %defattr(640,root,root,750)
51 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall
52 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/ip*
53 %verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
54 /etc/sysconfig/firewall.d/functions
55 %attr(754,root,root) /etc/rc.d/init.d/firewall*
56 %dir /etc/sysconfig/firewall.d
This page took 0.048257 seconds and 4 git commands to generate.