]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - fail2ban/fail2ban.nm
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / fail2ban / fail2ban.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = fail2ban
7 version = 0.8.4
8 release = 1
9
10 groups = Security/Tools
11 url = http://fail2ban.sourceforge.net/
12 license = GPLv2+
13 summary = Ban IPs that make too many password failures.
14
15 description
16 Fail2ban scans log files like /var/log/pwdfail or
17 /var/log/apache/error_log and bans IP that makes too many password
18 failures. It updates firewall rules to reject the IP address.
19 end
20
21 source_dl =
22 sources = %{thisapp}.tar.bz2
23
24 build
25 requires
26 python-devel
27 end
28
29 build
30 : # nothing to do
31 end
32
33 install
34 python setup.py install --root=%{BUILDROOT}
35 mkdir -pv %{BUILDROOT}/etc/logrotate.d/
36 cp -vf %{DIR_SOURCE}/fail2ban.logrotate %{BUILDROOT}/etc/logrotate.d/fail2ban
37 end
38 end
39
40 packages
41 package %{name}
42 end
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
47 end