diff -pruN 0.0~git20191015.7330a51-6.1/debian/changelog 0.0~git20191015.7330a51-11/debian/changelog
--- 0.0~git20191015.7330a51-6.1/debian/changelog	2021-02-10 11:15:45.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/changelog	2022-11-24 18:02:12.000000000 +0000
@@ -1,3 +1,44 @@
+golang-github-avast-apkverifier (0.0~git20191015.7330a51-11) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Repository.
+
+ -- Jelmer Vernooĳ <jelmer@debian.org>  Thu, 24 Nov 2022 18:02:12 +0000
+
+golang-github-avast-apkverifier (0.0~git20191015.7330a51-10) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Wrap long lines in changelog entries: 0.0~git20191015.7330a51-9.
+  * Bump debhelper from old 12 to 13.
+  * Set upstream metadata fields: Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+
+ -- Jelmer Vernooĳ <jelmer@debian.org>  Mon, 21 Nov 2022 00:13:00 +0000
+
+golang-github-avast-apkverifier (0.0~git20191015.7330a51-9) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Apply multi-arch hints. + golang-github-avast-apkverifier-dev: Add
+    Multi-Arch: foreign.
+
+ -- Jelmer Vernooĳ <jelmer@debian.org>  Mon, 17 Oct 2022 14:56:07 +0100
+
+golang-github-avast-apkverifier (0.0~git20191015.7330a51-8) unstable; urgency=medium
+
+  * Team Upload.
+  * Bump Standards-Version to 4.6.0 (no changes needed)
+  * d/t/control: Set "GODEBUG=x509sha1=1" to temporarily make
+    autopkgtests work, escalated issue upstream
+
+ -- Nilesh Patra <nilesh@debian.org>  Mon, 21 Mar 2022 18:27:44 +0530
+
+golang-github-avast-apkverifier (0.0~git20191015.7330a51-7) unstable; urgency=medium
+
+  * Team Upload.
+  * d/p/fix-golang-1.16.patch: Fix failing autopkgtests with golang 1.16
+
+ -- Nilesh Patra <nilesh@debian.org>  Wed, 08 Sep 2021 02:09:24 +0530
+
 golang-github-avast-apkverifier (0.0~git20191015.7330a51-6.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -pruN 0.0~git20191015.7330a51-6.1/debian/control 0.0~git20191015.7330a51-11/debian/control
--- 0.0~git20191015.7330a51-6.1/debian/control	2020-04-14 08:20:20.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/control	2022-11-24 18:02:12.000000000 +0000
@@ -4,12 +4,12 @@ Uploaders: Hans-Christoph Steiner <hans@
 Section: devel
 Testsuite: autopkgtest-pkg-go
 Priority: optional
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                dh-golang,
                golang-any,
                golang-github-avast-apkparser-dev,
                pandoc,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-avast-apkverifier
 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-avast-apkverifier.git
 Homepage: https://github.com/avast/apkverifier
@@ -19,6 +19,7 @@ XS-Go-Import-Path: github.com/avast/apkv
 Package: golang-github-avast-apkverifier-dev
 Architecture: all
 Depends: ${misc:Depends}
+Multi-Arch: foreign
 Description: Android APK Signature verification Go library
  apkverifier verifies the signatures on Android APK binaries.  It can
  verify APK Signature scheme v1, v2 and v3 and passes Google apksig's
diff -pruN 0.0~git20191015.7330a51-6.1/debian/gitlab-ci.yml 0.0~git20191015.7330a51-11/debian/gitlab-ci.yml
--- 0.0~git20191015.7330a51-6.1/debian/gitlab-ci.yml	2020-04-10 15:57:27.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/gitlab-ci.yml	2022-11-24 18:02:12.000000000 +0000
@@ -1,26 +1,6 @@
 # auto-generated, DO NOT MODIFY.
 # The authoritative copy of this file lives at:
-# https://salsa.debian.org/go-team/ci/blob/master/config/gitlabciyml.go
-
-image: stapelberg/ci2
-
-test_the_archive:
-  artifacts:
-    paths:
-    - before-applying-commit.json
-    - after-applying-commit.json
-  script:
-    # Create an overlay to discard writes to /srv/gopath/src after the build:
-    - "rm -rf /cache/overlay/{upper,work}"
-    - "mkdir -p /cache/overlay/{upper,work}"
-    - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
-    - "export GOPATH=/srv/gopath"
-    - "export GOCACHE=/cache/go"
-    # Build the world as-is:
-    - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
-    # Copy this package into the overlay:
-    - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'"
-    - "pgt-gopath -dsc /tmp/export/*.dsc"
-    # Rebuild the world:
-    - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
-    - "ci-diff before-applying-commit.json after-applying-commit.json"
+# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
+---
+include:
+  - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml
diff -pruN 0.0~git20191015.7330a51-6.1/debian/patches/fix-golang-1.16.patch 0.0~git20191015.7330a51-11/debian/patches/fix-golang-1.16.patch
--- 0.0~git20191015.7330a51-6.1/debian/patches/fix-golang-1.16.patch	1970-01-01 00:00:00.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/patches/fix-golang-1.16.patch	2022-11-24 18:02:12.000000000 +0000
@@ -0,0 +1,42 @@
+Description: Fix and patch relevant upstream code for fixing autopkgtests with golang-1.16
+Author: Nilesh Patra <nilesh@debian.org>
+Forwarded: not-needed
+Last-Update: 2021-09-08
+--- a/fullsailor/pkcs7/pkcs7_test.go
++++ b/fullsailor/pkcs7/pkcs7_test.go
+@@ -16,6 +16,7 @@
+ 	"math/big"
+ 	"os"
+ 	"os/exec"
++	"strings"
+ 	"testing"
+ 	"time"
+ )
+@@ -28,7 +29,11 @@
+ 	}
+ 
+ 	if err := p7.Verify(); err != nil {
+-		t.Errorf("Verify failed with error: %v", err)
++		if strings.Contains(err.Error(), "algorithm unimplemented") {
++			t.Skip("DSA is not supported since go1.16, ignoring:", err)
++		} else {
++			t.Errorf("Verify failed with error: %v", err)
++		}
+ 	}
+ 	expected := []byte("We the People")
+ 	if bytes.Compare(p7.Content, expected) != 0 {
+--- a/schemev1.go
++++ b/schemev1.go
+@@ -811,9 +811,11 @@
+ 			return fmt.Errorf("Unexpected public key type (%T)!", cert.PublicKey)
+ 		}
+ 		return rsa.VerifyPKCS1v15(pub, crypto.SHA224, digest[:], signature)
+-	case DSAWithSHA224, x509.DSAWithSHA256:
++	case x509.DSAWithSHA1, DSAWithSHA224, x509.DSAWithSHA256:
+ 		var hasher hash.Hash
+ 		switch algo {
++		case x509.DSAWithSHA1:
++			hasher = sha1.New()
+ 		case x509.DSAWithSHA256:
+ 			hasher = sha256.New()
+ 		case DSAWithSHA224:
diff -pruN 0.0~git20191015.7330a51-6.1/debian/patches/series 0.0~git20191015.7330a51-11/debian/patches/series
--- 0.0~git20191015.7330a51-6.1/debian/patches/series	2021-02-10 11:15:45.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/patches/series	2022-11-24 18:02:12.000000000 +0000
@@ -1,3 +1,4 @@
 apkverifier-bin.patch
 no-parallel.patch
 disable-TestV1SignedAttrsNotInDerOrder.patch
+fix-golang-1.16.patch
diff -pruN 0.0~git20191015.7330a51-6.1/debian/tests/control 0.0~git20191015.7330a51-11/debian/tests/control
--- 0.0~git20191015.7330a51-6.1/debian/tests/control	2021-02-10 11:15:45.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/tests/control	2022-11-24 18:02:12.000000000 +0000
@@ -1,3 +1,3 @@
-Test-Command: ./runtests.sh
+Test-Command: GODEBUG=x509sha1=1 ./runtests.sh
 Depends: @, @builddeps@, git, ca-certificates, golang-any
 Restrictions: needs-internet, allow-stderr
diff -pruN 0.0~git20191015.7330a51-6.1/debian/upstream/metadata 0.0~git20191015.7330a51-11/debian/upstream/metadata
--- 0.0~git20191015.7330a51-6.1/debian/upstream/metadata	1970-01-01 00:00:00.000000000 +0000
+++ 0.0~git20191015.7330a51-11/debian/upstream/metadata	2022-11-24 18:02:12.000000000 +0000
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/avast/apkverifier.git
+Repository-Browse: https://github.com/avast/apkverifier
