Package: libsoup2.4 / 2.72.0-2

Metadata

Package Version Patches format
libsoup2.4 2.72.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
skip tls_interaction test.patch | (download)

tests/ssl-test.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 skip tls_interaction test

This test is too unreliable on Debian architectures
and this package is too critical to not get timely updates

[smcv: Allow running it anyway, by setting an environment variable]

Bug: https://gitlab.gnome.org/GNOME/libsoup/issues/120

tests Skip tests if unable to start Apache.patch | (download)

tests/pull-api-test.c | 10 7 + 3 - 0 !
tests/test-utils.c | 26 22 + 4 - 0 !
tests/test-utils.h | 12 9 + 3 - 0 !
tests/xmlrpc-old-test.c | 10 9 + 1 - 0 !
tests/xmlrpc-test.c | 10 9 + 1 - 0 !
5 files changed, 56 insertions(+), 12 deletions(-)

 tests: skip tests if unable to start apache

This is a workaround for Apache not always being able to bind to its
hard-coded ports, which happens often enough to be a problem for Debian
QA infrastructure, but not often enough to be able to debug it.

Mitigates: GNOME/libsoup#175
gitlab_tests_fix.patch | (download)

tests/ssl-test.c | 12 3 + 9 - 0 !
1 file changed, 3 insertions(+), 9 deletions(-)

 tests: fix ssl test with glib-networking >= 2.65.90

To make SSL tests fail with our testing certificate we create and empty
GTlsDatabase passing /dev/null to g_tls_file_database_new(). This no
longer works with newer glib-networking, since an empty file is
considered an error by gnutls and
g_tls_file_database_gnutls_populate_trust_list() now handles gnutls
errors properly. Instead, we can just use the system CA file that won't
contain our testing certificate for sure.

Bug: https://gitlab.gnome.org/GNOME/libsoup/-/issues/201
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970935
tests ensure we use an absolute path for apache server ro.patch | (download)

tests/test-utils.c | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 tests: ensure we use an absolute path for apache server root
 parameter

For some reason apache silently fails now if a relative path is passed.