pacho 15/05/08 18:58:57
Added:
use-client_ip-client_add-instead-of-remote_ip-remote.patch
use-log.level-instead-of-loglevel.patch
Log:
Support apache 2.4 (#410453)
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key
A188FBD4)
Revision Changes Path
1.1
www-apache/mod_perl/files/use-client_ip-client_add-instead-of-remote_ip-remote.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/use-client_ip-client_add-instead-of-remote_ip-remote.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/use-client_ip-client_add-instead-of-remote_ip-remote.patch?rev=1.1&content-type=text/plain
Index: use-client_ip-client_add-instead-of-remote_ip-remote.patch
===================================================================
>From 3fb7843aa2aa992be430068929f4e1cc7787a233 Mon Sep 17 00:00:00 2001
From: Martin Jansa <[email protected]>
Date: Tue, 3 Apr 2012 19:25:41 +0200
Subject: [PATCH] use client_ip/client_add instead of remote_ip/remote_addr
Signed-off-by: Martin Jansa <[email protected]>
---
xs/maps/apache2_structures.map | 4 ++--
xs/tables/current/Apache2/StructureTable.pm | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xs/maps/apache2_structures.map b/xs/maps/apache2_structures.map
index f86ec93..c0fcf78 100644
--- a/xs/maps/apache2_structures.map
+++ b/xs/maps/apache2_structures.map
@@ -106,8 +106,8 @@ $ limit_req_fields
< local_addr
< local_ip
< local_host
-< remote_addr
- remote_ip
+< client_addr
+ client_ip
< remote_host
- remote_logname
< aborted
diff --git a/xs/tables/current/Apache2/StructureTable.pm
b/xs/tables/current/Apache2/StructureTable.pm
index af50be1..0c0465a 100644
--- a/xs/tables/current/Apache2/StructureTable.pm
+++ b/xs/tables/current/Apache2/StructureTable.pm
@@ -2708,11 +2708,11 @@ $Apache2::StructureTable = [
},
{
'type' => 'apr_sockaddr_t *',
- 'name' => 'remote_addr'
+ 'name' => 'client_addr'
},
{
'type' => 'char *',
- 'name' => 'remote_ip'
+ 'name' => 'client_ip'
},
{
'type' => 'char *',
--
1.7.8.5
1.1
www-apache/mod_perl/files/use-log.level-instead-of-loglevel.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/use-log.level-instead-of-loglevel.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_perl/files/use-log.level-instead-of-loglevel.patch?rev=1.1&content-type=text/plain
Index: use-log.level-instead-of-loglevel.patch
===================================================================
>From 0d6ac25c1c7871be52e8399c6e8bc8509ed5f3d9 Mon Sep 17 00:00:00 2001
From: Martin Jansa <[email protected]>
Date: Tue, 3 Apr 2012 19:30:33 +0200
Subject: [PATCH] use log.level instead of loglevel
Signed-off-by: Martin Jansa <[email protected]>
---
xs/maps/apache2_structures.map | 2 +-
xs/tables/current/Apache2/StructureTable.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xs/tables/current/Apache2/StructureTable.pm
b/xs/tables/current/Apache2/StructureTable.pm
index 0c0465a..439184e 100644
--- a/xs/tables/current/Apache2/StructureTable.pm
+++ b/xs/tables/current/Apache2/StructureTable.pm
@@ -3245,7 +3245,7 @@ $Apache2::StructureTable = [
},
{
'type' => 'int',
- 'name' => 'loglevel'
+ 'name' => 'log.level'
},
{
'type' => 'int',
--
1.7.8.5