Lintian Fixes - yaws

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index e8fa89a..c6cc544 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+yaws (2.0.8+dfsg-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 08 Sep 2020 07:19:54 -0000
+
 yaws (2.0.8+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
@@ -828,7 +839,7 @@ yaws (1.58-1.1) unstable; urgency=low
 yaws (1.58-1) unstable; urgency=low
 
   * New upstream release.
-  * Updated debhelper build dep. 
+  * Updated debhelper build dep.
 
  -- Will Newton <will@debian.org>  Wed, 15 Feb 2006 20:28:08 +0000
 
@@ -849,13 +860,13 @@ yaws (1.56-1) unstable; urgency=low
 
 yaws (1.55-2) unstable; urgency=low
 
-  * Provide httpd-cgi. (Closes: #312911) 
+  * Provide httpd-cgi. (Closes: #312911)
 
  -- Will Newton <will@debian.org>  Sat, 11 Jun 2005 12:12:14 +0100
 
 yaws (1.55-1) unstable; urgency=low
 
-  * New upstream version. 
+  * New upstream version.
 
  -- Will Newton <will@debian.org>  Fri, 10 Jun 2005 16:02:30 +0100
 
@@ -864,4 +875,3 @@ yaws (1.54-1) unstable; urgency=low
   * Initial release (Closes: #211544)
 
  -- Will Newton <will@debian.org>  Thu, 19 May 2005 20:55:25 +0100
-
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 2972dc0..84f844c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: httpd
 Priority: optional
 Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
 Uploaders: Sergei Golovan <sgolovan@debian.org>
-Build-Depends: debhelper (>= 10.0.0), libpam0g-dev,
+Build-Depends: debhelper-compat (= 12), libpam0g-dev,
  erlang-dev (>= 1:17), erlang-edoc, erlang-mnesia, erlang-dialyzer, erlang-tools
 Build-Depends-Indep: texlive-latex-base, texlive-latex-recommended, texlive-latex-extra,
  texlive-fonts-recommended, texlive-font-utils, texlive-extra-utils, ghostscript
@@ -18,7 +18,7 @@ Provides: httpd, httpd-cgi
 Depends: erlang-yaws (>= ${binary:Version}), adduser, ssl-cert, lsb-base (>= 3.0-6), ${misc:Depends}
 Suggests: yaws-doc, yaws-chat, yaws-mail, yaws-wiki, yaws-yapp, erlang-yapp, logrotate
 Description: High performance HTTP 1.1 webserver written in Erlang
- Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a 
+ Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a
  multithreaded webserver where one Erlang light weight process is used to
  handle each client. Two separate modes of operation are supported.
  .
@@ -32,7 +32,7 @@ Suggests: yaws, yaws-doc, zip, bzip2
 Breaks: yaws (<< 1.99), yaws-chat (<< 1.99), yaws-mail (<< 1.99), yaws-wiki (<< 1.99), yaws-yapp (<< 1.99)
 Replaces: yaws (<< 1.88-2)
 Description: Erlang application which implements HTTP webserver
- Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a 
+ Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a
  multithreaded webserver where one Erlang light weight process is used to
  handle each client. Two separate modes of operation are supported.
  .
@@ -62,7 +62,7 @@ Depends: ${misc:Depends}
 Suggests: erlang-yaws, yaws
 Replaces: yaws (<< 1.87)
 Description: Documentation and examples for Yaws webserver
- Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a 
+ Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a
  multithreaded webserver where one Erlang light weight process is used to
  handle each client.
  .
diff --git a/debian/copyright b/debian/copyright
index e0881f8..5bc4a16 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/
 Files-Excluded: priv/soap.xsd priv/wsdl.xsd priv/wsdl11soap12.xsd
 
 Files: *
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8c9ecb0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/erlyaws/yaws/issues
+Bug-Submit: https://github.com/erlyaws/yaws/issues/new
+Repository: https://github.com/erlyaws/yaws.git
+Repository-Browse: https://github.com/erlyaws/yaws

Run locally

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

debcheckout yaws
cd yaws
lintian-brush

More details

Full run details