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 +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 0e577d0..b64e7e4 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -5,6 +5,8 @@ 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 @@ -262,6 +264,9 @@ fi %changelog +* Fri Nov 28 2014 Orion Poplawski - 0.9.1-2 +- Fix php-url-fopen logpath (bug #1169026) + * Tue Oct 28 2014 Orion Poplawski - 0.9.1-1 - Update to 0.9.1