Lintian Fixes - lua-apr

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 993382c..93e8e8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,19 +1,34 @@
+lua-apr (0.23.2.dfsg-5) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use versioned copyright format URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from deprecated 7 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.
+  * Make "Files: *" paragraph the first in the copyright file.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 29 Jul 2023 09:47:33 -0000
+
 lua-apr (0.23.2.dfsg-4) unstable; urgency=medium
 
-  * Fix lintian warning adding ${misc:Depends} to the -doc package 
+  * Fix lintian warning adding ${misc:Depends} to the -doc package
   * Fix watch file
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Fri, 14 Aug 2015 20:38:56 +0200
 
 lua-apr (0.23.2.dfsg-3) unstable; urgency=medium
 
-  * Pre-Depends: use misc:Pre-Depends and not multiarch-support 
+  * Pre-Depends: use misc:Pre-Depends and not multiarch-support
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Fri, 14 Aug 2015 18:38:11 +0200
 
 lua-apr (0.23.2.dfsg-2) unstable; urgency=medium
 
-  * Fix test suite (Closes: #735830) 
+  * Fix test suite (Closes: #735830)
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Sat, 18 Jan 2014 14:05:09 +0100
 
@@ -23,8 +38,8 @@ lua-apr (0.23.2.dfsg-1) unstable; urgency=low
     the doc, randomly obfuscates the email addresses and hence made the -dev
     package non multi-arch: same (Closes: #720022, thanks Andreas Beckmann for
     spotting this)
-  * Add to the orig tarball a copy of the LICENSE 
-  * Fix debian/copyright using Expat instead of MIT/X 
+  * Add to the orig tarball a copy of the LICENSE
+  * Fix debian/copyright using Expat instead of MIT/X
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Sat, 17 Aug 2013 23:01:10 +0200
 
@@ -36,7 +51,7 @@ lua-apr (0.23.2+git-2) unstable; urgency=low
 
 lua-apr (0.23.2+git-1) unstable; urgency=low
 
-  * Packaging moved to git 
+  * Packaging moved to git
   * Remove transitional packages
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Mon, 02 Apr 2012 20:28:00 +0200
@@ -46,7 +61,7 @@ lua-apr (0.23.2-1) unstable; urgency=low
   * New upstream release
   * Switch to dh-lua
   * Packages renamed to conform to the new Lua policy
-  * debian/compat set to 7 
+  * debian/compat set to 7
   * Update copyright file format
   * Standards-Version set to 3.9.3, no changes needed
 
@@ -56,7 +71,7 @@ lua-apr (0.20.1-1) unstable; urgency=low
 
   * new upstream release
   * updated copyright file, mentioning that src/ldap.c is copyright
-    by the kepler project 
+    by the kepler project
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Sun, 14 Aug 2011 19:45:39 +0200
 
@@ -123,6 +138,6 @@ lua-apr (0.14.2-1) unstable; urgency=low
 
   * Initial release. (Closes: #614121)
   * test.patch to skip the wrong test for apr.user_homepath_get(user) ==
-    apr.env_get 'HOME' 
+    apr.env_get 'HOME'
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Tue, 22 Feb 2011 19:04:22 +0100
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index ae88289..788f878 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: lua-apr
 Section: interpreters
 Priority: optional
 Maintainer: Enrico Tassi <gareuselesinge@debian.org>
-Build-Depends: debhelper (>= 8.1.3), dh-lua (>= 11), libapr1-dev, libaprutil1-dev, libaprutil1-dbd-sqlite3, libapreq2-dev, lua-discount
+Build-Depends: debhelper-compat (= 13), dh-lua (>= 11), libapr1-dev, libaprutil1-dev, libaprutil1-dbd-sqlite3, libapreq2-dev, lua-discount
 Standards-Version: 3.9.3
-Vcs-Git: git://git.debian.org/git/pkg-lua/lua-apr.git
-Vcs-Browser: http://git.debian.org/?p=pkg-lua/lua-apr.git
-Homepage: http://peterodding.com/code/lua/apr/
+Vcs-Git: https://salsa.debian.org/lua-team/lua-apr.git
+Vcs-Browser: https://salsa.debian.org/lua-team/lua-apr
+Homepage: https://peterodding.com/code/lua/apr/
 
 Package: lua-apr
 Architecture: any
@@ -29,7 +29,7 @@ Section: libdevel
 Description: Lua development files for the Apache Portable Runtime library
  This package contains the development files of the Apache Portable Runtime
  library bindings, useful to create a statically linked binary (like a
- C application or a standalone Lua interpreter).  
+ C application or a standalone Lua interpreter).
 
 Package: lua-apr-doc
 Depends: ${misc:Depends}
diff --git a/debian/copyright b/debian/copyright
index 8485f64..ad1d950 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,19 +1,19 @@
-Format: http://dep.debian.net/deps/dep5/ 
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: lua-apr
 Upstream-Contact: Peter Odding <peter@peterodding.com>
 Source: http://peterodding.com/code/lua/apr
 
-Files: src/ldap.c
-Copyright: Copyright © 2003-2007 The Kepler Project.
+Files: *
+Copyright: 2011, Peter Odding <peter@peterodding.com>,
+                 zhiguo zhao <zhaozg@gmail.com>
 Comment: In the Lua community this license is better known as "MIT".
   Unfortunately other variants of this license are also known as "MIT".
   To obtain a machine intepretable copyright file Debian prefers to name this
   version of the MIT license using the non ambiguous term "Expat".
 License: Expat
 
-Files: *
-Copyright: 2011, Peter Odding <peter@peterodding.com>,
-                 zhiguo zhao <zhaozg@gmail.com>
+Files: src/ldap.c
+Copyright: Copyright © 2003-2007 The Kepler Project.
 Comment: In the Lua community this license is better known as "MIT".
   Unfortunately other variants of this license are also known as "MIT".
   To obtain a machine intepretable copyright file Debian prefers to name this
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2f91981
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://github.com/xolox/lua-apr/issues
+Bug-Submit: https://github.com/xolox/lua-apr/issues/new
+Repository-Browse: https://github.com/xolox/lua-apr

Run locally

More details

Full run details

Historical runs