diff --git a/debian/changelog b/debian/changelog
index 4cc89f1..16b8f69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,22 @@
+lua-cgi (5.2~alpha2-2) UNRELEASED; urgency=medium
+
+ * Trim trailing whitespace.
+ * Use secure copyright file specification URI.
+ * Bump debhelper from deprecated 8 to 13.
+ * Set debhelper-compat version in Build-Depends.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Use secure URI in Vcs control header Vcs-Git.
+ * Update Vcs-* headers from URL redirect.
+ * Use canonical URL in Vcs-Git.
+
+ -- Debian Janitor <janitor@jelmer.uk> Wed, 21 Sep 2022 17:33:33 -0000
+
lua-cgi (5.2~alpha2-1) unstable; urgency=low
* Packaging moved to git
- * Remove transitional packages
+ * Remove transitional packages
* New upstream release working on lua5.2 too
- * Removing embedded sapi library, recommend lua-wsapi
+ * Removing embedded sapi library, recommend lua-wsapi
-- Enrico Tassi <gareuselesinge@debian.org> Fri, 11 May 2012 09:43:50 +0200
@@ -21,7 +34,7 @@ lua-cgi (5.1.4+dfsg-1) unstable; urgency=low
lua-cgi (5.1.4-2) unstable; urgency=low
- * Ship a non minimized version of jquery.js and mention it in the copyright
+ * Ship a non minimized version of jquery.js and mention it in the copyright
-- Enrico Tassi <gareuselesinge@debian.org> Tue, 01 May 2012 11:03:11 +0200
@@ -38,14 +51,14 @@ lua-cgi (5.1.4-1) unstable; urgency=low
lua-cgi (5.1.3-3) unstable; urgency=low
* source format 3.0 (quilt)
- * bumped standards-version to 3.9.2, no changes needed
+ * bumped standards-version to 3.9.2, no changes needed
-- Enrico Tassi <gareuselesinge@debian.org> Fri, 22 Jul 2011 12:39:55 +0200
lua-cgi (5.1.3-2) unstable; urgency=low
* build depend on lua5.1-policy-dev >= 22
- * bumped standards-version to 3.8.2, no changes needed
+ * bumped standards-version to 3.8.2, no changes needed
-- Enrico Tassi <gareuselesinge@debian.org> Tue, 21 Jul 2009 18:10:12 +0200
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 45a4fb7..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-8
diff --git a/debian/control b/debian/control
index 9e0e2d0..9350f81 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,10 @@ Source: lua-cgi
Section: interpreters
Priority: optional
Maintainer: Enrico Tassi <gareuselesinge@debian.org>
-Build-Depends: debhelper (>= 8), dh-lua
+Build-Depends: debhelper-compat (= 13), dh-lua
Standards-Version: 3.9.3
-Vcs-Git: git://git.debian.org/git/pkg-lua/lua-cgi.git
-Vcs-Browser: http://git.debian.org/?p=pkg-lua/luacgi.git
+Vcs-Git: https://salsa.debian.org/lua-team/lua-cgi.git
+Vcs-Browser: https://salsa.debian.org/lua-team/lua-cgi
Homepage: http://keplerproject.github.com/cgilua/
Package: lua-cgi
diff --git a/debian/copyright b/debian/copyright
index 4dd1497..5e001b1 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: cgilua
Upstream-Contact: Fabio Mascarenhas <mascarenhas@acm.org>
Source: https://github.com/keplerproject/cgilua
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2993b9b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/lunarmodules/cgilua/issues
+Bug-Submit: https://github.com/lunarmodules/cgilua/issues/new
+Repository-Browse: https://github.com/lunarmodules/cgilua