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