Checkout
Philip Martin
committed
on 25 Feb 16
Add --enable-apache-whitelist configure option. Subversion's configure
script blacklists some old, buggy, Apache versions and refuses to bu… Show more
Add --enable-apache-whitelist configure option.  Subversion's configure

script blacklists some old, buggy, Apache versions and refuses to build

while some distributions ship these old versions with patches to fix

the bugs.  Whitelisting an Apache version will override the blacklist

and allow Subversion to build.

Subversion has regression tests for the buggy Apache behaviour and

whitelisting will change the expected behaviour for these tests from

XFAIL to PASS. As an example: using --enable-apache-whitelist=2.4.6

on an up-to-date CentOS 7 will allow Subversion to build and the

regression tests will PASS.

* configure.ac: Add --enable-apache-whitelist.

* build/ac-macros/apache.m4

 (SVN_FIND_APACHE): Check whitelist, tweak help text for

  --enable-broken-httpd-auth.

* Makefile.in

 (HTTPD_WHITELIST): New.

 (check): Pass --httpd-whitelist.

* build/run_tests.py

 (TestHarness.__init__, TestHarness._run_py_test, main): Add httpd_whitelist.

* subversion/tests/cmdline/svntest/main.py

 (is_mod_dav_url_quoting_broken): Check whitelist.

 (TestSpawningThread.run_one): Handle --httpd-whitelist.

 (_create_parser): Add --httpd-whitelist.

Show less