[fail2ban/f20] Update to 0.9.1 (bug #1169024)
Orion Poplawski
orion at fedoraproject.org
Sat Nov 29 05:13:39 UTC 2014
commit bba22f3ea3e8db61f4f6bc7d3da1951896007ba3
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Fri Nov 28 22:13:37 2014 -0700
Update to 0.9.1 (bug #1169024)
- Fix php-url-fopen logpath (bug #1169026)
.gitignore | 1 +
...Separate-php-url-fopen-logpath-by-newline.patch | 26 ++++++++++++++++++++
fail2ban.spec | 11 +++++++-
sources | 2 +-
4 files changed, 37 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8d98bf2..2c60b66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ fail2ban-0.8.4.tar.bz2
/fail2ban-0.9-d529151.tar.xz
/fail2ban-0.9-1f1a561.tar.xz
/fail2ban-0.9.tar.gz
+/fail2ban-0.9.1.tar.gz
diff --git a/0001-Separate-php-url-fopen-logpath-by-newline.patch b/0001-Separate-php-url-fopen-logpath-by-newline.patch
new file mode 100644
index 0000000..5f80bd1
--- /dev/null
+++ b/0001-Separate-php-url-fopen-logpath-by-newline.patch
@@ -0,0 +1,26 @@
+From d8867807f560838e70375cc9ca90585179700fe6 Mon Sep 17 00:00:00 2001
+From: Orion Poplawski <orion at cora.nwra.com>
+Date: Fri, 28 Nov 2014 22:04:09 -0700
+Subject: [PATCH] Separate php-url-fopen logpath by newline
+
+---
+ config/jail.conf | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/config/jail.conf b/config/jail.conf
+index d119d22..6a95aa1 100644
+--- a/config/jail.conf
++++ b/config/jail.conf
+@@ -302,7 +302,8 @@ logpath = %(nginx_error_log)s
+ [php-url-fopen]
+
+ port = http,https
+-logpath = %(nginx_access_log)s %(apache_access_log)s
++logpath = %(nginx_access_log)s
++ %(apache_access_log)s
+
+
+ [suhosin]
+--
+2.1.0
+
diff --git a/fail2ban.spec b/fail2ban.spec
index 16317b3..d1b6ce2 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -1,10 +1,12 @@
Summary: Ban IPs that make too many password failures
Name: fail2ban
-Version: 0.9
-Release: 2%{?dist}
+Version: 0.9.1
+Release: 1%{?dist}
License: GPLv2+
URL: http://fail2ban.sourceforge.net/
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# https://bugzilla.redhat.com/show_bug.cgi?id=1169026
+Patch0: 0001-Separate-php-url-fopen-logpath-by-newline.patch
BuildRequires: python2-devel
# For testcases
BuildRequires: python-inotify
@@ -37,6 +39,7 @@ and shorewall respectively.
%prep
%setup -q
+%patch0 -p1
# Use Fedora paths
sed -i -e 's/^before = paths-.*/before = paths-fedora.conf/' config/jail.conf
# Start after firewalld (https://bugzilla.redhat.com/show_bug.cgi?id=1067147)
@@ -115,6 +118,10 @@ fi
%changelog
+* Fri Nov 28 2014 Orion Poplawski <orion at cora.nwra.com> - 0.9.1-1
+- Update to 0.9.1 (bug #1169024)
+- Fix php-url-fopen logpath (bug #1169026)
+
* Tue Mar 18 2014 Orion Poplawski <orion at cora.nwra.com> - 0.9-2
- Use Fedora paths
- Start after firewalld (bug #1067147)
diff --git a/sources b/sources
index 78e6b89..a0b3ea2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-02de1ff774f3c16d23450a3ad1c43137 fail2ban-0.9.tar.gz
+3554cc3de3f06ddfd7f90f8305b765b8 fail2ban-0.9.1.tar.gz
More information about the scm-commits
mailing list