Lintian Fixes - php-pecl-http

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/php-pecl-http lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index e3b2326..98e6e44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+php-pecl-http (3.2.3+2.6.0-5) UNRELEASED; urgency=low
+
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Change priority extra to priority optional.
+  * Move transitional packages php-pecl-http, php-pecl-http-dev to
+    oldlibs/optional per policy 4.0.1.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 16 Jul 2020 15:35:22 -0000
+
 php-pecl-http (3.2.3+2.6.0-4) unstable; urgency=medium
 
   * Disable the tests properly with dh-php >= 0.35
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 49acbd0..dbb1857 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Ulises Vitulli <dererk@debian.org>,
            Facundo Guerrero <guerremdq@gmail.com>,
            Ondřej Surý <ondrej@debian.org>
 Build-Depends: chrpath,
-               debhelper (>= 9),
+               debhelper-compat (= 12),
                dh-php (>= 0.33~),
                libcurl4-openssl-dev,
                libevent-dev,
@@ -17,7 +17,7 @@ Build-Depends: chrpath,
                php-raphf (>= 2.0.0),
                zlib1g-dev
 Standards-Version: 3.9.8
-Homepage: http://pecl.php.net/package/pecl_http
+Homepage: https://pecl.php.net/package/pecl_http
 Vcs-Git: https://salsa.debian.org/php-team/pecl/php-pecl-http.git
 Vcs-Browser: https://salsa.debian.org/php-team/pecl/php-pecl-http
 
@@ -49,7 +49,6 @@ Description: PECL HTTP module for PHP Extended HTTP Support
 Package: php-pecl-http
 Architecture: all
 Section: oldlibs
-Priority: extra
 Depends: php-http,
          ${misc:Depends}
 Description: pecl_http module for PHP Extended HTTP Support [dummy]
@@ -58,7 +57,6 @@ Description: pecl_http module for PHP Extended HTTP Support [dummy]
 Package: php-pecl-http-dev
 Architecture: all
 Section: oldlibs
-Priority: extra
 Depends: php-http,
          ${misc:Depends}
 Description: pecl_http module for PHP Extended HTTP Support [dummy]
diff --git a/debian/copyright b/debian/copyright
index 8a913d7..debe99c 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: pecl_http
 Upstream-Contact: Michael Wallner <mike@iworks.at>
 Source: http://pecl.php.net/package/pecl_http
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1978de5
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/m6w6/ext-http/issues
+Bug-Submit: https://github.com/m6w6/ext-http/issues/new
+Repository: https://github.com/m6w6/ext-http.git
+Repository-Browse: https://github.com/m6w6/ext-http

Run locally

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

debcheckout php-pecl-http
cd php-pecl-http
lintian-brush

More details

Full run details