[libapache2-mod-perl2] 01/03: Skip t/protocol/pseudo_http.t, incompatible with Apache >= 2.4.20

Niko Tyni ntyni at moszumanska.debian.org
Tue May 10 19:29:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libapache2-mod-perl2.

commit d76cee554fb1f653ddbfcc5da4636ba26c616d63
Author: Niko Tyni <ntyni at debian.org>
Date:   Sun May 8 23:23:14 2016 +0300

    Skip t/protocol/pseudo_http.t, incompatible with Apache >= 2.4.20
    
    Bug-Debian: https://bugs.debian.org/820824
---
 ...ocol-pseudo_http.t-incompatible-with-Apac.patch | 38 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 39 insertions(+)

diff --git a/debian/patches/0001-Skip-t-protocol-pseudo_http.t-incompatible-with-Apac.patch b/debian/patches/0001-Skip-t-protocol-pseudo_http.t-incompatible-with-Apac.patch
new file mode 100644
index 0000000..e1c3e27
--- /dev/null
+++ b/debian/patches/0001-Skip-t-protocol-pseudo_http.t-incompatible-with-Apac.patch
@@ -0,0 +1,38 @@
+From 9bf8845a7409b238bf8d624d033618230dae3c2b Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sun, 8 May 2016 23:23:14 +0300
+Subject: [PATCH] Skip t/protocol/pseudo_http.t, incompatible with Apache >=
+ 2.4.20
+
+See Message-ID: <CACsi250G0azcA-XyJHGLxacpDEg_ezJ=tAUs31PyB7G_8-X6+A at mail.gmail.com>:
+
+  Effectively, mod_access_compat.c never supported per-connection
+  IP addresses since it was added.  The fact that it supported
+  per-connection hostname comparison was a quirk, and that the
+  pseudo_http tests only looked at hostname and not ip comparisons
+  was an oversight.
+
+https://mail-archives.apache.org/mod_mbox/httpd-dev/201604.mbox/%3CCACsi250G0azcA-XyJHGLxacpDEg_ezJ=tAUs31PyB7G_8-X6+A@mail.gmail.com%3E
+
+Bug-Debian: https://bugs.debian.org/820824
+---
+ t/protocol/pseudo_http.t | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/t/protocol/pseudo_http.t b/t/protocol/pseudo_http.t
+index 586c6ac..6e8bc81 100644
+--- a/t/protocol/pseudo_http.t
++++ b/t/protocol/pseudo_http.t
+@@ -22,6 +22,9 @@ my $passbad  = "foObaR";
+ # blocking socket bug fixed in 2.0.52
+ my $ok = $^O !~ /^(Open|Net)BSD$/i || need_min_apache_version('2.0.52');
+ 
++# Incompatible with Apache >= 2.4.20 <https://bugs.debian.org/820824>
++$ok = 0 if have_min_apache_version("2.4.20");
++
+ my @modules = ();
+ push @modules, 'mod_access_compat.c' if have_min_apache_version("2.4.0");
+ plan tests => 13, need need_auth, need_access, @modules, $ok;
+-- 
+2.8.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 9d123a8..c9be78f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ avoid-db-linkage.patch
 0001-Fix-t-api-uri.t-t-apr-uri.t-and-t-apr-ext-uri.t-unde.patch
 0002-Fix-t-modperl-print.t-t-modperl-printf.t-and-t-direc.patch
 svn-r1717474-perl-5.22.patch
+0001-Skip-t-protocol-pseudo_http.t-incompatible-with-Apac.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-mod-perl2.git



More information about the Pkg-perl-cvs-commits mailing list