From 7f120155eaf65d5ae83cff7a79ee6a98084aad13 Mon Sep 17 00:00:00 2001 From: athimm Date: Sep 02 2009 19:00:43 +0000 Subject: Fix python 2.6 issue. --- diff --git a/.cvsignore b/.cvsignore index 11d4817..25df31c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -fail2ban-0.8.3.tar.bz2 +fail2ban-FAIL2BAN-0_8.tar.bz2 diff --git a/fail2ban.spec b/fail2ban.spec index bb9dd2c..8d045f6 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -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 - 0.8.3-22 +- Update to a newer svn snapshot to fix python 2.6 issue. + * Thu Aug 27 2009 Axel Thimm - 0.8.3-21 - Log to syslog (RH bug #491983). Also deals with RH bug #515116. - Check inodes of log files (RH bug #503852). diff --git a/sources b/sources index 6a75478..a0d4dd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b438d7e2ce77a469fb0cca2a5cc0b81c fail2ban-0.8.3.tar.bz2 +76b4d0e69ad808950b8353c6fcf93615 fail2ban-FAIL2BAN-0_8.tar.bz2