aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache2-mod-perl/mod_perl-remote-ip.patch
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-10-03 14:11:26 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-10-03 14:11:26 +0000
commit36c22946e4045d372ebe17281b2a0f17d4b2f22e (patch)
tree17ab579e1683d2b000d0f87ab5b620047d63caef /testing/apache2-mod-perl/mod_perl-remote-ip.patch
parentc81d99f27cea21e91801f18a32e9b44bb8c9e295 (diff)
downloadaports-36c22946e4045d372ebe17281b2a0f17d4b2f22e.tar.bz2
aports-36c22946e4045d372ebe17281b2a0f17d4b2f22e.tar.xz
testing/apache2-mod-perl: upgrade tp 2.0.8
Diffstat (limited to 'testing/apache2-mod-perl/mod_perl-remote-ip.patch')
-rw-r--r--testing/apache2-mod-perl/mod_perl-remote-ip.patch70
1 files changed, 70 insertions, 0 deletions
diff --git a/testing/apache2-mod-perl/mod_perl-remote-ip.patch b/testing/apache2-mod-perl/mod_perl-remote-ip.patch
new file mode 100644
index 0000000000..e39d629d2e
--- /dev/null
+++ b/testing/apache2-mod-perl/mod_perl-remote-ip.patch
@@ -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 {