1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-17 14:05:25 +03:00
aports/testing/apache2-mod-perl/mod_perl-remote-ip.patch
2013-10-03 14:11:26 +00:00

70 lines
2 KiB
Diff

Index: xs/tables/current/Apache2/StructureTable.pm
===================================================================
--- a/xs/tables/current/Apache2/StructureTable.pm (revision 1324590)
+++ b/xs/tables/current/Apache2/StructureTable.pm (working copy)
@@ -2708,11 +2708,11 @@
},
{
'type' => 'apr_sockaddr_t *',
- 'name' => 'remote_addr'
+ 'name' => 'client_addr'
},
{
'type' => 'char *',
- 'name' => 'remote_ip'
+ 'name' => 'client_ip'
},
{
'type' => 'char *',
@@ -2955,6 +2955,14 @@
},
{
'type' => 'char *',
+ 'name' => 'useragent_ip'
+ },
+ {
+ 'type' => 'apr_sockaddr_t *',
+ 'name' => 'useragent_addr'
+ },
+ {
+ 'type' => 'char *',
'name' => 'the_request'
},
{
@@ -3245,10 +3253,6 @@
},
{
'type' => 'int',
- 'name' => 'loglevel'
- },
- {
- 'type' => 'int',
'name' => 'is_virtual'
},
{
Index: Apache-Reload/Makefile.PL
===================================================================
--- a/Apache-Reload/Makefile.PL (revision 1324590)
+++ b/Apache-Reload/Makefile.PL (working copy)
@@ -11,7 +11,7 @@
# MOD_PERL_2_BUILD is set from building from mod_perl Makefile.PL which should
# also set MP_APXS
if ($ENV{MOD_PERL_2_BUILD}) {
- push @ARGV, "-apxs", $ENV{MP_APXS};
+ push @ARGV, "-apxs $ENV{MP_APXS}";
my $mp_gen = satisfy_mp_generation(2);
}
else {
Index: Apache-SizeLimit/Makefile.PL
===================================================================
--- a/Apache-SizeLimit/Makefile.PL (revision 1324590)
+++ b/Apache-SizeLimit/Makefile.PL (working copy)
@@ -11,7 +11,7 @@
# MOD_PERL_2_BUILD is set from building from mod_perl Makefile.PL which should
# also set MP_APXS
if ($ENV{MOD_PERL_2_BUILD}) {
- push @ARGV, "-apxs", $ENV{MP_APXS};
+ push @ARGV, "-apxs $ENV{MP_APXS}";
my $mp_gen = satisfy_mp_generation(2);
}
else {