Control: tags 952171 + patch Control: tags 952171 + pending Dear maintainer,
I've prepared an NMU for yubico-pam (versioned as 2.26-1.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru yubico-pam-2.26/debian/changelog yubico-pam-2.26/debian/changelog --- yubico-pam-2.26/debian/changelog 2018-08-04 09:50:40.000000000 +0300 +++ yubico-pam-2.26/debian/changelog 2020-05-29 17:37:57.000000000 +0300 @@ -1,3 +1,11 @@ +yubico-pam (2.26-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add upstream fix for test failure. (Closes: #952171) + * Remove unnecessary manual library dependencies. + + -- Adrian Bunk <b...@debian.org> Fri, 29 May 2020 17:37:57 +0300 + yubico-pam (2.26-1) unstable; urgency=low * New upstream version. diff -Nru yubico-pam-2.26/debian/control yubico-pam-2.26/debian/control --- yubico-pam-2.26/debian/control 2018-08-04 09:50:40.000000000 +0300 +++ yubico-pam-2.26/debian/control 2020-05-29 17:37:57.000000000 +0300 @@ -21,9 +21,6 @@ Package: libpam-yubico Architecture: any Depends: libpam-runtime (>= 1.0.1-6~), - libykclient3 (>= 2.4), - libldap-2.4-2, - libykpers-1-1 (>= 1.5.2), debconf | debconf-2.0, ${shlibs:Depends}, ${misc:Depends} diff -Nru yubico-pam-2.26/debian/patches/0001-tests-add-a-http-1.1-header-to-the-ykval-mock.patch yubico-pam-2.26/debian/patches/0001-tests-add-a-http-1.1-header-to-the-ykval-mock.patch --- yubico-pam-2.26/debian/patches/0001-tests-add-a-http-1.1-header-to-the-ykval-mock.patch 1970-01-01 02:00:00.000000000 +0200 +++ yubico-pam-2.26/debian/patches/0001-tests-add-a-http-1.1-header-to-the-ykval-mock.patch 2020-05-29 17:37:57.000000000 +0300 @@ -0,0 +1,36 @@ +From 7926f8dd41c007cbe19751d4ecfd0618dd937962 Mon Sep 17 00:00:00 2001 +From: Klas Lindfors <k...@yubico.com> +Date: Thu, 16 Apr 2020 10:59:35 +0200 +Subject: tests: add a http/1.1 header to the ykval mock + +it lies a bit more convincingly like this +fixes #202 +--- + tests/aux/ykval.pl | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/tests/aux/ykval.pl b/tests/aux/ykval.pl +index d7f2b1c..60f980d 100755 +--- a/tests/aux/ykval.pl ++++ b/tests/aux/ykval.pl +@@ -54,7 +54,8 @@ warn "YKVAL mockup started on $port"; + while(1) { + my $clientsocket = $socket->accept(); + my $clientdata = <$clientsocket>; +- my $ret = "h=ZrU7UfjwazJVf5ay1P/oC3XCQlI=\n"; ++ my $ret = "HTTP/1.1 200 OK\n\n"; ++ $ret .= "h=ZrU7UfjwazJVf5ay1P/oC3XCQlI=\n"; + + if($clientdata =~ m/nonce=([a-zA-Z0-9]+).*otp=([cbdefghijklnrtuv]+)/) { + my $nonce = $1; +@@ -71,6 +72,6 @@ while(1) { + } else { + $ret .= "status=MISSING_PARAMETER"; + } +- print $clientsocket "\n$ret\n"; ++ print $clientsocket "$ret\n"; + close $clientsocket; + } +-- +2.20.1 + diff -Nru yubico-pam-2.26/debian/patches/series yubico-pam-2.26/debian/patches/series --- yubico-pam-2.26/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ yubico-pam-2.26/debian/patches/series 2020-05-29 17:37:57.000000000 +0300 @@ -0,0 +1 @@ +0001-tests-add-a-http-1.1-header-to-the-ykval-mock.patch