Lintian Fixes - mongrel2

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index a963e30..1a4aa17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+mongrel2 (1.12.2-4) UNRELEASED; urgency=medium
+
+  * Update lintian override info to new format:
+    + debian/source/lintian-overrides: line 2-3
+    + debian/mongrel2-core.lintian-overrides: line 6
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 10 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Update standards version to 4.4.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 02 Jul 2023 20:34:53 -0000
+
 mongrel2 (1.12.2-3) unstable; urgency=medium
 
   * Fix build with gcc-10 (Closes: Bug#957560)
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index a58b6fe..666af66 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@ Source: mongrel2
 Section: httpd
 Priority: optional
 Maintainer: Jan Niehusmann <jan@debian.org>
-Build-Depends: debhelper (>= 10.0.0), libzmq3-dev (>= 2.1), libsqlite3-dev (>= 3.0), sqlite3 (>= 3.0), libmbedtls-dev, dpkg-dev (>= 1.16.1~)
-Standards-Version: 4.3.0
-Homepage: http://mongrel2.org/
+Build-Depends: debhelper-compat (= 13), libzmq3-dev (>= 2.1), libsqlite3-dev (>= 3.0), sqlite3 (>= 3.0), libmbedtls-dev, dpkg-dev (>= 1.16.1~)
+Standards-Version: 4.4.1
+Homepage: https://mongrel2.org/
 Vcs-Git: https://salsa.debian.org/jan/mongrel2.git
 Vcs-Browser: https://salsa.debian.org/jan/mongrel2
 
diff --git a/debian/copyright b/debian/copyright
index a4ded02..228ff3f 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: mongrel2
 Source: https://github.com/zedshaw/mongrel2/releases, and removed non-free files.
 Files-Excluded: */*.swf docs/site/assets/*
diff --git a/debian/mongrel2-core.lintian-overrides b/debian/mongrel2-core.lintian-overrides
index c8b09b3..0ffc5c1 100644
--- a/debian/mongrel2-core.lintian-overrides
+++ b/debian/mongrel2-core.lintian-overrides
@@ -3,4 +3,4 @@
 # That probably triggers the hardening-no-relro heuristic.
 # (Build options are identical to null.so, which doesn't trigger
 # this warning)
-mongrel2-core binary: hardening-no-relro usr/lib/mongrel2/config_modules/zmq.so
+mongrel2-core binary: hardening-no-relro [usr/lib/mongrel2/config_modules/zmq.so]
diff --git a/debian/rules b/debian/rules
index 8ad3253..dad8fdf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,4 +32,3 @@ override_dh_auto_install:
 override_dh_installexamples-arch:
 	dh_installexamples
 	find "$$(pwd)/debian/mongrel2-core" -name "*.css" -perm /a+x -exec chmod -x "{}" \;
-
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 4cbc45b..4ac32ee 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -1,4 +1,4 @@
 # these are really source files, even if they contain very long lines
-mongrel2 source: source-is-missing examples/bbs/html/js/jsSocket.js *
-mongrel2 source: source-is-missing examples/chat/static/js/jsSocket.js *
+mongrel2 source: source-is-missing [examples/bbs/html/js/jsSocket.js]
+mongrel2 source: source-is-missing [examples/chat/static/js/jsSocket.js]
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..fa7a40f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/mongrel2/mongrel2/issues
+Bug-Submit: https://github.com/mongrel2/mongrel2/issues/new
+Repository-Browse: https://github.com/mongrel2/mongrel2

Run locally

More details

Full run details

Historical runs