Lintian Fixes - libevhtp

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 5f380d6..5b6c772 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,17 @@
 libevhtp (1.2.18-2) UNRELEASED; urgency=medium
 
+  [ Vincent Bernat ]
   * d/patches: properly set pkgconfig dirs. Closes: #958895.
 
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop transition for old debug package migration.
+
  -- Vincent Bernat <bernat@debian.org>  Sun, 26 Apr 2020 14:12:03 +0200
 
 libevhtp (1.2.18-1) unstable; urgency=medium
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index e59bb4f..3f1cdbd 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
 Priority: optional
 Maintainer: Vincent Bernat <bernat@debian.org>
 Standards-Version: 4.1.2
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper-compat (= 12),
                cmake,
                libevent-dev,
                libonig-dev,
diff --git a/debian/copyright b/debian/copyright
index f6dfe99..e658d01 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: libevhtp
 Source: https://github.com/criticalstack/libevhtp
 
diff --git a/debian/rules b/debian/rules
index 4ce65c2..4a2e550 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DEVHTP_BUILD_SHARED:STRING=ON -DBUILD_SHARED_LIBS:STRING=ON 
+	dh_auto_configure -- -DEVHTP_BUILD_SHARED:STRING=ON -DBUILD_SHARED_LIBS:STRING=ON
 
 override_dh_auto_build:
 	dh_auto_build
@@ -21,9 +21,6 @@ override_dh_auto_install:
 	mv debian/tmp/usr/lib/lib* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
 	mv debian/tmp/usr/lib/pkgconfig debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
 
-override_dh_strip:
-	dh_strip --dbgsym-migration='libevhtp0-dbg (<< 1.2.11-3~)'
-
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf html
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7b52fb1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/criticalstack/libevhtp/issues
+Bug-Submit: https://github.com/criticalstack/libevhtp/issues/new
+Repository: https://github.com/criticalstack/libevhtp.git
+Repository-Browse: https://github.com/criticalstack/libevhtp

Debdiff

Debdiff is too long (more than 200 lines). Download the raw debdiff.

Run locally

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

debcheckout libevhtp
cd libevhtp
lintian-brush

More details

Full run details