mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
testing/apache2-mod-perl: upgrade tp 2.0.8
This commit is contained in:
parent
c81d99f27c
commit
36c22946e4
3 changed files with 103 additions and 6 deletions
70
testing/apache2-mod-perl/mod_perl-remote-ip.patch
Normal file
70
testing/apache2-mod-perl/mod_perl-remote-ip.patch
Normal file
|
@ -0,0 +1,70 @@
|
|||
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 {
|
Loading…
Add table
Add a link
Reference in a new issue