Lintian Fixes - torsocks

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/torsocks lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2019-04-03 18:47:22 +0000
+++ b/debian/changelog	2019-12-27 02:37:14 +0000
@@ -1,3 +1,16 @@
+torsocks (2.3.0-3) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set field Upstream-Name in debian/copyright.
+  * Set upstream metadata fields: Repository.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Use canonical URL in Vcs-Browser.
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 27 Dec 2019 02:34:28 +0000
+
 torsocks (2.3.0-2) unstable; urgency=medium
 
   [ intrigeri & Sandro Knauß ]

=== removed file 'debian/compat'
--- a/debian/compat	2015-06-02 07:28:34 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== modified file 'debian/control'
--- a/debian/control	2018-11-27 15:28:05 +0000
+++ b/debian/control	2019-12-27 02:36:51 +0000
@@ -4,12 +4,11 @@
            Jérémy Bobbio <lunar@debian.org>
 Section: net
 Priority: optional
-Build-Depends: debhelper (>= 9),
-               dh-autoreconf,
+Build-Depends: debhelper-compat (= 12),
                dpkg-dev (>= 1.16.1.1~),
                bash-completion
 Standards-Version: 4.0.0
-Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/torsocks.git
+Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/torsocks
 Vcs-Git: https://salsa.debian.org/pkg-privacy-team/torsocks.git
 Homepage: https://gitweb.torproject.org/torsocks.git
 

=== modified file 'debian/copyright'
--- a/debian/copyright	2016-01-12 05:08:59 +0000
+++ b/debian/copyright	2019-12-27 02:35:46 +0000
@@ -1,5 +1,6 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: https://gitweb.torproject.org/torsocks.git
+Upstream-Name: torsocks
 
 Files: *
 Copyright: © 2008-2012 Robert Hogan <robert@roberthogan.net>
@@ -28,4 +29,3 @@
  .
  On Debian GNU/Linux systems, the complete text of version 2 of the
  General Public License can be found in `/usr/share/common-licenses/GPL-2'.
-

=== modified file 'debian/rules'
--- a/debian/rules	2017-06-24 22:11:13 +0000
+++ b/debian/rules	2019-12-27 02:37:14 +0000
@@ -7,10 +7,10 @@
 
 PACKAGE = torsocks
 DESTDIR = $(CURDIR)/debian/$(PACKAGE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_auto_install:
 	dh_auto_install

=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2019-12-27 02:36:08 +0000
@@ -0,0 +1,1 @@
+Repository: https://git.torproject.org/torsocks.git,branch=master

Run locally

Try this locally (using the lintian-brush package):

debcheckout torsocks
cd torsocks
lintian-brush

More details

Full run details