Lintian Fixes - luakit

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 6c90bd8c..4e48e37d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+luakit (1:2.3.1-3) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure URI in Homepage field.
+  * Use set -e rather than passing -e on the shebang-line.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update standards version to 4.6.1, no changes needed.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 21 Sep 2022 19:08:28 -0000
+
 luakit (1:2.3.1-2) unstable; urgency=medium
 
   * Dropping lintian-placating Makefile patch because it's upstreamed
diff --git a/debian/control b/debian/control
index e5aec54c..c69cf202 100644
--- a/debian/control
+++ b/debian/control
@@ -2,20 +2,20 @@ Source: luakit
 Section: web
 Priority: optional
 Maintainer: Markus Demleitner <msdemlei@fsfe.org>
-Standards-Version: 4.3.0
-Build-Depends: 
-	help2man, 
-	libluajit-5.1-dev, 
-	libsqlite3-dev, 
-	libgtk-3-dev, 
-	libwebkit2gtk-4.0-dev, 
-	luajit, 
+Standards-Version: 4.6.1
+Build-Depends:
+	help2man,
+	libluajit-5.1-dev,
+	libsqlite3-dev,
+	libgtk-3-dev,
+	libwebkit2gtk-4.0-dev,
+	luajit,
 	lua-filesystem:native,
 	lua-filesystem,
 	lua-check,
 	lua-luassert,
 	debhelper-compat (=13)
-Homepage: http://luakit.github.io/
+Homepage: https://luakit.github.io/
 Vcs-Git: https://salsa.debian.org/debian/luakit.git
 Vcs-Browser: https://salsa.debian.org/debian/luakit
 
diff --git a/debian/postinst b/debian/postinst
index 1efb59dc..4718d80d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
   (configure)
diff --git a/debian/prerm b/debian/prerm
index f3bcd9ce..0536c51c 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
   (remove|deconfigure)
diff --git a/debian/rules b/debian/rules
index 975e7cb7..98ef3965 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,14 +5,14 @@ export PKG_CONFIG ?= pkg-config
 export DH_VERBOSE = 1
 export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -fstack-protector-strong -Wformat -Werror=format-security
 export DEB_CPPFLAGS_MAINT_APPEND  = -Wdate-time -D_FORTIFY_SOURCE=2
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-z,relro
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,relro
 
 # parallel builds make document generation shaky
 export VERSION=${DEB_VERSION_UPSTREAM}
 export PREFIX=/usr
 export DEVELOPMENT_PATHS=0
 export USE_LUAJIT=1
-# For reproducable doc building -- see 
+# For reproducable doc building -- see
 # https://github.com/luakit/luakit/issues/975
 export LUA_BIN_NAME=luajit -O2
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 00000000..18e64e72
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/luakit/luakit/issues
+Bug-Submit: https://github.com/luakit/luakit/issues/new
+Repository: https://github.com/luakit/luakit.git
+Repository-Browse: https://github.com/luakit/luakit

Debdiff

File lists identical (after any substitutions)

Control files of package luakit: lines which differ (wdiff format)

  • Homepage: http://luakit.github.io/ https://luakit.github.io/

No differences were encountered between the control files of package luakit-dbgsym

Run locally

More details

Full run details