Control: tags 926379 + patch Control: tags 926379 + pending Dear maintainer,
I've prepared an NMU for golang-github-hashicorp-go-cleanhttp (versioned as 0.5.0-1.1) and uploaded it, as well as opened an MR on salsa.d.o. Cheers, Chris diff -Nru golang-github-hashicorp-go-cleanhttp-0.5.0/debian/changelog golang-github-hashicorp-go-cleanhttp-0.5.0/debian/changelog --- golang-github-hashicorp-go-cleanhttp-0.5.0/debian/changelog 2019-01-01 06:25:09.000000000 +0000 +++ golang-github-hashicorp-go-cleanhttp-0.5.0/debian/changelog 2019-04-06 16:24:28.000000000 +0000 @@ -1,3 +1,11 @@ +golang-github-hashicorp-go-cleanhttp (0.5.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Apply patch from upstream to fix FTBFS with Go 1.11.6. + (Closes: #926379) + + -- Chris Hofstaedtler <z...@debian.org> Sat, 06 Apr 2019 16:24:28 +0000 + golang-github-hashicorp-go-cleanhttp (0.5.0-1) unstable; urgency=medium * New upstream version 0.5.0 diff -Nru golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361.patch golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361.patch --- golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361.patch 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361.patch 2019-04-06 16:24:02.000000000 +0000 @@ -0,0 +1,41 @@ +From d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361 Mon Sep 17 00:00:00 2001 +From: Jeff Mitchell <jeffrey.mitch...@gmail.com> +Date: Sat, 6 Apr 2019 12:20:18 -0400 +Subject: [PATCH] Fix tests against newer Go + +Fixes #14 +--- + handlers_test.go | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/handlers_test.go b/handlers_test.go +index 95ef812..a22e84a 100644 +--- a/handlers_test.go ++++ b/handlers_test.go +@@ -30,22 +30,22 @@ func TestPrintablePathCheckHandler(t *testing.T) { + }, + + "invalid newline": { +- path: "/invalid\n", ++ path: "/invalid%0A", + expectCode: http.StatusBadRequest, + }, + + "invalid carriage return": { +- path: "/invalid\r", ++ path: "/invalid%0D", + expectCode: http.StatusBadRequest, + }, + + "invalid null": { +- path: "/invalid\x00", ++ path: "/invalid%00", + expectCode: http.StatusBadRequest, + }, + + "invalid alternate status": { +- path: "/invalid\n", ++ path: "/invalid%0A", + expectCode: http.StatusInternalServerError, + input: &HandlerInput{ + ErrStatus: http.StatusInternalServerError, diff -Nru golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/series golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/series --- golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-hashicorp-go-cleanhttp-0.5.0/debian/patches/series 2019-04-06 16:24:05.000000000 +0000 @@ -0,0 +1 @@ +d3fcbee8e1810ecee4bdbf415f42f84cfd0e3361.patch