Fix python 2.6 issue.

i9ce
athimm 16 years ago
parent 41c8d5a4f2
commit 1a350e876f

@ -1 +1 @@
fail2ban-0.8.3.tar.bz2
fail2ban-FAIL2BAN-0_8.tar.bz2

@ -4,18 +4,16 @@
Summary: Ban IPs that make too many password failures
Name: fail2ban
Version: 0.8.3
Release: 21%{?dist}
Release: 22%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://fail2ban.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
#Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source0: http://www.fail2ban.org/nightly/fail2ban-FAIL2BAN-0_8.tar.bz2
Source1: fail2ban-logrotate
Patch0: fail2ban-0.8.3-init.patch
Patch1: fail2ban-0.8.1-sshd.patch
#Patch2: fail2ban-0.8.1-sock.patch
Patch3: fail2ban-0.8.2-fd_cloexec.patch
Patch4: 0001-BF-anchoring-regex-for-IP-with-at-the-end.patch
Patch5: fail2ban-0.8.3-inodecheck.patch
Patch6: fail2ban-0.8.3-log2syslog.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel >= 2.3
@ -31,13 +29,10 @@ Fail2ban scans log files like /var/log/pwdfail or
failures. It updates firewall rules to reject the IP address.
%prep
%setup -q
%setup -q -n %{name}-%{version}-SVN
%patch0 -p1 -b .init
%patch1 -p1 -b .sshd
#patch2 -p1 -b .sock
%patch3 -p1 -b .fd_cloexec
%patch4 -p1 -b .CVE-2009-0362
%patch5 -p1 -b .inodecheck
%patch6 -p1 -b .log2syslog
%build
@ -88,6 +83,9 @@ fi
%dir %{_localstatedir}/run/fail2ban
%changelog
* Wed Sep 2 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.8.3-22
- Update to a newer svn snapshot to fix python 2.6 issue.
* Thu Aug 27 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.8.3-21
- Log to syslog (RH bug #491983). Also deals with RH bug #515116.
- Check inodes of log files (RH bug #503852).

@ -1 +1 @@
b438d7e2ce77a469fb0cca2a5cc0b81c fail2ban-0.8.3.tar.bz2
76b4d0e69ad808950b8353c6fcf93615 fail2ban-FAIL2BAN-0_8.tar.bz2

Loading…
Cancel
Save