Fix php-url-fopen logpath (bug #1169026)

i9ce
Orion Poplawski 10 years ago
parent bc2d2aa593
commit bb0440075a

@ -0,0 +1,26 @@
From d8867807f560838e70375cc9ca90585179700fe6 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@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

@ -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 <orion@cora.nwra.com> - 0.9.1-2
- Fix php-url-fopen logpath (bug #1169026)
* Tue Oct 28 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9.1-1
- Update to 0.9.1

Loading…
Cancel
Save