Package: mod-gnutls / 0.8.2-3

Metadata

Package Version Patches format
mod-gnutls 0.8.2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Test suite Do not continue test case if Apache insta.patch | (download)

test/runtests | 18 10 + 8 - 0 !
1 file changed, 10 insertions(+), 8 deletions(-)

 test suite: do not continue test case if apache instance fails to
 start

On systems where namespaces aren't available, test cases in which
Apache HTTPD is expected not to start would sometimes fail when
running in parallel. The reason was a possible timing issue, where an
Apache instance for another test case might start before gnutls-cli is
run, and the TLS connection would unexpectedly succeed by connecting
to it.

Not attempting the TLS connection if HTTPD failed avoids this problem,
and also (slightly) speeds up tests.

(cherry picked from commit d39ea185bc141f880f49a68d77c1413c88fc7120)

0002 Test suite Run flock with verbose to log timeouts.patch | (download)

test/proxy_backend.bash | 2 1 + 1 - 0 !
test/runtests | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 test suite: run flock with "--verbose" to log timeouts


0003 Test suite Log if a process to be stopped by PID fil.patch | (download)

test/runtests | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 test suite: log if a process to be stopped by pid file is not running

The runtests script calls "sleep ${TEST_QUERY_DELAY}" to keep the
input pipeline for gnutls-cli open, effectively creating a timeout of
TEST_QUERY_DELAY seconds for the HTTPS request. Normally the sleep
process is killed after the request completes to avoid stalling the
test suite. The sleep process no longer running at that point
indicates that the request timed out.

0004 Test suite Make timeouts for server locks and HTTPS .patch | (download)

configure.ac | 10 10 + 0 - 0 !
test/Makefile.am | 9 2 + 7 - 0 !
test/README | 4 2 + 2 - 0 !
test/runtests | 4 2 + 2 - 0 !
4 files changed, 16 insertions(+), 11 deletions(-)

 test suite: make timeouts for server locks and https requests
 configurable

If TEST_LOCK_WAIT or TEST_QUERY_TIMEOUT are provided at configure
time, their values are stored and used instead of the default.

0005 Check if flock supports verbose.patch | (download)

configure.ac | 12 11 + 1 - 0 !
test/proxy_backend.bash | 2 1 + 1 - 0 !
test/runtests | 2 1 + 1 - 0 !
3 files changed, 13 insertions(+), 3 deletions(-)

 check if flock supports --verbose

Some old versions of flock do not support the --verbose option, namely
the one in Debian Jessie. Check for support at configure time and
enable the option only if available.

0006 Test suite Do not explicitly set the mutex type to d.patch | (download)

configure.ac | 8 4 + 4 - 0 !
test/apache-conf/netns.conf.in | 2 1 + 1 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 test suite: do not explicitly set the mutex type to "default"

The setting can cause trouble when the mutex type "default" is file
based and its definition includes a path that the build process cannot
write to. This problem caused the Debian build to fail on hurd-i386,
where "default" resolved to "file:/var/run/apache2/" according to the
build log.

According to the HTTPD documentation a run-time file directory
relative to ServerRoot is used absent an explicit setting, and the
ServerRoot defined in test/base_apache.conf must be writable for the
test suite anyway.

0007 Do not treat warnings about deprecated declarations .patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not treat warnings about deprecated declarations as errors

GnuTLS has declared OpenPGP support as deprecated in version
3.5.9. Treating deprecation warnings as errors causes the build to
fail with this version, so exempt them from "-Werror" until OpenPGP
support is removed from mod_gnutls.

0008 Wait for OCSP server to become available.patch | (download)

test/runtests | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 wait for ocsp server to become available