diff -Nru libprotocol-http2-perl-1.10/debian/changelog libprotocol-http2-perl-1.10/debian/changelog --- libprotocol-http2-perl-1.10/debian/changelog 2022-12-04 23:05:02.000000000 +0100 +++ libprotocol-http2-perl-1.10/debian/changelog 2023-07-28 11:43:40.000000000 +0200 @@ -1,3 +1,10 @@ +libprotocol-http2-perl (1.10-2ubuntu1) mantic; urgency=medium + + * Do not hardcode the test-suite TLS version to tlsv1 - which is disabled by + OpenSSL seclevel 2 on Ubuntu (LP: #2023586). + + -- Olivier Gayot Fri, 28 Jul 2023 11:43:40 +0200 + libprotocol-http2-perl (1.10-2) unstable; urgency=medium [ Debian Janitor ] diff -Nru libprotocol-http2-perl-1.10/debian/control libprotocol-http2-perl-1.10/debian/control --- libprotocol-http2-perl-1.10/debian/control 2022-12-04 23:05:02.000000000 +0100 +++ libprotocol-http2-perl-1.10/debian/control 2023-07-28 11:43:40.000000000 +0200 @@ -1,5 +1,6 @@ Source: libprotocol-http2-perl -Maintainer: Debian Perl Group +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl diff -Nru libprotocol-http2-perl-1.10/debian/patches/no-tlsv1.patch libprotocol-http2-perl-1.10/debian/patches/no-tlsv1.patch --- libprotocol-http2-perl-1.10/debian/patches/no-tlsv1.patch 1970-01-01 01:00:00.000000000 +0100 +++ libprotocol-http2-perl-1.10/debian/patches/no-tlsv1.patch 2023-07-28 11:43:40.000000000 +0200 @@ -0,0 +1,32 @@ +Description: Remove hardcoded tlsv1 protocol version + The test-suite of libprotocol-http2-perl uses a hardcoded value of tlsv1 - + which is disabled in Ubuntu by means of OpenSSL seclevel. Specifying another + version like tlsv1_2 would work but it seems sensible to leave that up to the + system decide. +Author: Olivier Gayot +Bug-Ubuntu: https://launchpad.net/bugs/2023586 +Forwarded: https://github.com/vlet/p5-Protocol-HTTP2/pull/16 +Last-Update: 2023-07-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: b/t/lib/PH2ClientServerTest.pm +=================================================================== +--- a/t/lib/PH2ClientServerTest.pm 2023-07-28 11:35:33.957861624 +0200 ++++ b/t/lib/PH2ClientServerTest.pm 2023-07-28 11:43:04.843734902 +0200 +@@ -43,7 +43,6 @@ + if ( !$h{upgrade} && ( $h{npn} || $h{alpn} ) ) { + eval { + $tls = AnyEvent::TLS->new( +- method => 'tlsv1', + cert_file => $tls_crt, + key_file => $tls_key, + ); +@@ -122,7 +121,7 @@ + } + elsif ( $h{npn} || $h{alpn} ) { + eval { +- $tls = AnyEvent::TLS->new( method => 'tlsv1', ); ++ $tls = AnyEvent::TLS->new(); + + if ( delete $h{npn} ) { + diff -Nru libprotocol-http2-perl-1.10/debian/patches/series libprotocol-http2-perl-1.10/debian/patches/series --- libprotocol-http2-perl-1.10/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libprotocol-http2-perl-1.10/debian/patches/series 2023-07-28 11:43:11.000000000 +0200 @@ -0,0 +1 @@ +no-tlsv1.patch