]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = fail2ban |
7 | version = 0.8.4 | |
8 | release = 1 | |
3731388e | 9 | |
802ea3af MT |
10 | groups = Security/Tools |
11 | url = http://fail2ban.sourceforge.net/ | |
12 | license = GPLv2+ | |
13 | summary = Ban IPs that make too many password failures. | |
3731388e | 14 | |
802ea3af | 15 | description |
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 |
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 | |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |