]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - fail2ban/fail2ban.nm
kernel: Update to 3.13.2.
[people/ms/ipfire-3.x.git] / fail2ban / fail2ban.nm
CommitLineData
3731388e 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
3731388e
CS
4###############################################################################
5
802ea3af
MT
6name = fail2ban
7version = 0.8.4
8release = 1
3731388e 9
802ea3af
MT
10groups = Security/Tools
11url = http://fail2ban.sourceforge.net/
12license = GPLv2+
13summary = Ban IPs that make too many password failures.
3731388e 14
802ea3af 15description
3731388e
CS
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.
802ea3af
MT
19end
20
21source_dl =
22sources = %{thisapp}.tar.bz2
23
24build
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
38end
39
40packages
41 package %{name}
42 end
1f9bc2f0
MT
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
802ea3af 47end