New Upstream Snapshot - golang-github-streadway-amqp

Ready changes

Summary

Merged new upstream version: 0.0~git20220518.2aa2853 (was: 0.0~git20200716.e6b33f4).

Resulting package

Built on 2022-11-20T07:20 (took 5m17s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots golang-github-streadway-amqp-dev

Lintian Result

Diff

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 667fb50..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-certs/*
-spec/spec
-examples/simple-consumer/simple-consumer
-examples/simple-producer/simple-producer
-
-.idea/**/workspace.xml
-.idea/**/tasks.xml
-.idea/**/usage.statistics.xml
-.idea/**/dictionaries
-.idea/**/shelf
-
-.idea/**/contentModel.xml
diff --git a/README.md b/README.md
index 287830b..fd179dc 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,24 @@
 [![Build Status](https://api.travis-ci.org/streadway/amqp.svg)](http://travis-ci.org/streadway/amqp) [![GoDoc](https://godoc.org/github.com/streadway/amqp?status.svg)](http://godoc.org/github.com/streadway/amqp)
 
-# Go RabbitMQ Client Library
+# Go RabbitMQ Client Library (Unmaintained Fork)
+
+## Beware of Abandonware
+
+This repository is **NOT ACTIVELY MAINTAINED**. Consider using
+a different fork instead: [rabbitmq/amqp091-go](https://github.com/rabbitmq/amqp091-go).
+In case of questions, start a discussion in that repo or [use other RabbitMQ community resources](https://rabbitmq.com/contact.html).
+
 
-This is an AMQP 0.9.1 client with RabbitMQ extensions in Go.
 
 ## Project Maturity
 
-This project has been used in production systems for many years. It is reasonably mature
-and feature complete, and as of November 2016 has [a team of maintainers](https://github.com/streadway/amqp/issues/215).
+This project has been used in production systems for many years. As of 2022,
+this repository is **NOT ACTIVELY MAINTAINED**.
+
+This repository is **very strict** about any potential public API changes.
+You may want to consider [rabbitmq/amqp091-go](https://github.com/rabbitmq/amqp091-go) which
+is more willing to adapt the API.
 
-Future API changes are unlikely but possible. They will be discussed on [Github
-issues](https://github.com/streadway/amqp/issues) along with any bugs or
-enhancements.
 
 ## Supported Go Versions
 
diff --git a/debian/changelog b/debian/changelog
index 2a08ceb..4e0fbe3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+golang-github-streadway-amqp (0.0~git20220518.2aa2853-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 20 Nov 2022 07:17:00 -0000
+
 golang-github-streadway-amqp (0.0~git20200716.e6b33f4-3) unstable; urgency=medium
 
   * Regenerate certs with SHA256 to fix test with Go 1.18+
diff --git a/debian/patches/0001-regen-certs-with-sha256-for-go1.18+.patch b/debian/patches/0001-regen-certs-with-sha256-for-go1.18+.patch
index 2c40dea..6697acd 100644
--- a/debian/patches/0001-regen-certs-with-sha256-for-go1.18+.patch
+++ b/debian/patches/0001-regen-certs-with-sha256-for-go1.18+.patch
@@ -8,9 +8,11 @@ Forwarded: https://github.com/streadway/amqp/pull/525
 Last-Update: 2022-04-06
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/certs.sh
-+++ b/certs.sh
-@@ -38,7 +38,7 @@
+Index: golang-github-streadway-amqp.git/certs.sh
+===================================================================
+--- golang-github-streadway-amqp.git.orig/certs.sh
++++ golang-github-streadway-amqp.git/certs.sh
+@@ -38,7 +38,7 @@ serial = $dir/serial
  
  default_crl_days = 7
  default_days = 3650
@@ -19,7 +21,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  
  policy = testca_policy
  x509_extensions = certificate_extensions
-@@ -57,7 +57,7 @@
+@@ -57,7 +57,7 @@ basicConstraints = CA:false
  [ req ]
  default_bits = 2048
  default_keyfile = ./private/cakey.pem
@@ -28,9 +30,11 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  prompt = yes
  distinguished_name = root_ca_distinguished_name
  x509_extensions = root_ca_extensions
---- a/tls_test.go
-+++ b/tls_test.go
-@@ -104,122 +104,123 @@
+Index: golang-github-streadway-amqp.git/tls_test.go
+===================================================================
+--- golang-github-streadway-amqp.git.orig/tls_test.go
++++ golang-github-streadway-amqp.git/tls_test.go
+@@ -104,122 +104,123 @@ func TestTLSHandshake(t *testing.T) {
  
  const caCert = `
  -----BEGIN CERTIFICATE-----

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details