--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package packer
This release add a patch to handle ABI change of
golang-golang-x-crypto-dev, which result FTBFS in all ARCHs.
After the patch, build is fixed.
Enclosed is the debdiff against the package in testing.
Thanks!
unblock packer/0.10.2+dfsg-5
diff -Nru packer-0.10.2+dfsg/debian/changelog packer-0.10.2+dfsg/debian/changelog
--- packer-0.10.2+dfsg/debian/changelog 2017-04-05 15:18:59.000000000 +0900
+++ packer-0.10.2+dfsg/debian/changelog 2017-05-15 00:51:19.000000000 +0900
@@ -1,3 +1,15 @@
+packer (0.10.2+dfsg-5) unstable; urgency=medium
+
+ * Team upload.
+ * deb/patches:
+ + Add patch to handle ABI change of golang-golang-x-crypto-dev,
+ due to CVE security fix. (Closes: #861282)
+ * deb/control:
+ + Bump up version of golang-golang-x-crypto-dev in Build-Depends
+ and Depends.
+
+ -- Roger Shimizu <rogershimizu@gmail.com> Mon, 15 May 2017 00:51:19 +0900
+
packer (0.10.2+dfsg-4) unstable; urgency=medium
* deb/rules: disable a flaky test in packer/rpc/mux_broker_test.go
diff -Nru packer-0.10.2+dfsg/debian/control packer-0.10.2+dfsg/debian/control
--- packer-0.10.2+dfsg/debian/control 2016-11-16 02:14:02.000000000 +0900
+++ packer-0.10.2+dfsg/debian/control 2017-05-15 00:34:39.000000000 +0900
@@ -36,7 +36,7 @@
golang-github-pkg-sftp-dev,
golang-github-rackspace-gophercloud-dev (>= 1.0.0+git20160416.884.c54bbac~),
golang-github-ugorji-go-codec-dev,
- golang-golang-x-crypto-dev,
+ golang-golang-x-crypto-dev (>= 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782),
golang-golang-x-oauth2-dev (>= 0.0~git20161103.0.36bc617-2),
golang-golang-x-oauth2-google-dev,
golang-google-api-dev (>= 0.0~git20160408~),
@@ -84,7 +84,7 @@
golang-github-pkg-sftp-dev,
golang-github-rackspace-gophercloud-dev (>= 1.0.0+git20160416.884.c54bbac~),
golang-github-ugorji-go-codec-dev,
- golang-golang-x-crypto-dev,
+ golang-golang-x-crypto-dev (>= 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782),
golang-golang-x-oauth2-dev (>= 0.0~git20161103.0.36bc617-2),
golang-golang-x-oauth2-google-dev,
golang-google-api-dev (>= 0.0~git20160408~),
diff -Nru packer-0.10.2+dfsg/debian/patches/handle-ABI-change-of-golang-golang-x-crypto-dev.patch packer-0.10.2+dfsg/debian/patches/handle-ABI-change-of-golang-golang-x-crypto-dev.patch
--- packer-0.10.2+dfsg/debian/patches/handle-ABI-change-of-golang-golang-x-crypto-dev.patch 1970-01-01 09:00:00.000000000 +0900
+++ packer-0.10.2+dfsg/debian/patches/handle-ABI-change-of-golang-golang-x-crypto-dev.patch 2017-05-15 00:46:25.000000000 +0900
@@ -0,0 +1,42 @@
+From: Roger Shimizu <rogershimizu@gmail.com>
+Date: Sun, 14 May 2017 23:54:04 +0900
+Subject: handle ABI change of golang-golang-x-crypto-dev
+
+That ABI change was due to CVE security fix
+
+Fix is picked from upstream of golang-golang-x-crypto-dev:
+ https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991
+
+Closes: #861282
+---
+ communicator/ssh/communicator_test.go | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/communicator/ssh/communicator_test.go b/communicator/ssh/communicator_test.go
+index b0bc035..7010800 100644
+--- a/communicator/ssh/communicator_test.go
++++ b/communicator/ssh/communicator_test.go
+@@ -132,6 +132,7 @@ func TestNew_Invalid(t *testing.T) {
+ Auth: []ssh.AuthMethod{
+ ssh.Password("i-am-invalid"),
+ },
++ HostKeyCallback: ssh.InsecureIgnoreHostKey(),
+ }
+
+ address := newMockLineServer(t)
+@@ -160,6 +161,7 @@ func TestStart(t *testing.T) {
+ Auth: []ssh.AuthMethod{
+ ssh.Password("pass"),
+ },
++ HostKeyCallback: ssh.InsecureIgnoreHostKey(),
+ }
+
+ address := newMockLineServer(t)
+@@ -195,6 +197,7 @@ func TestHandshakeTimeout(t *testing.T) {
+ Auth: []ssh.AuthMethod{
+ ssh.Password("pass"),
+ },
++ HostKeyCallback: ssh.InsecureIgnoreHostKey(),
+ }
+
+ address := newMockBrokenServer(t)
diff -Nru packer-0.10.2+dfsg/debian/patches/series packer-0.10.2+dfsg/debian/patches/series
--- packer-0.10.2+dfsg/debian/patches/series 2016-11-16 01:25:20.000000000 +0900
+++ packer-0.10.2+dfsg/debian/patches/series 2017-05-15 00:47:25.000000000 +0900
@@ -1 +1,2 @@
fix-tails-import-path.patch
+handle-ABI-change-of-golang-golang-x-crypto-dev.patch
--- End Message ---