[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: checks/source-copyright: Warn about insecure "Format:" URIs that reference debian.org. Based on a patch by Nicolas Braud-Santoni. (Closes: #886930)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit d36a0f117659aa945fc004e1757bc65525b6f8e7
Author: Chris Lamb <lamby@debian.org>
Date:   Thu Jan 11 20:19:09 2018 +0530

    checks/source-copyright: Warn about insecure "Format:" URIs that reference debian.org. Based on a patch by Nicolas Braud-Santoni. (Closes: #886930)
---
 checks/source-copyright.desc                                  | 11 +++++++++++
 checks/source-copyright.pm                                    |  9 ++++-----
 debian/changelog                                              |  3 +++
 debian/copyright                                              |  2 +-
 t/templates/debs/skel/copyright                               |  2 +-
 t/templates/source/skel/copyright                             |  2 +-
 t/templates/tests/pedantic/debian/copyright                   |  2 +-
 t/templates/tests/skel/debian/copyright                       |  2 +-
 .../copyright-missing-apache2-license-pointer.copyright       |  2 +-
 .../debian/debian/copyright-mentions-apache.copyright         |  2 +-
 .../debian/debian/copyright-mentions-apache2.copyright        |  2 +-
 .../debian/debian/copyright-mentions-apache3.copyright        |  2 +-
 .../debian/debian/copyright-mentions-gfdl.copyright           |  2 +-
 .../debian/debian/copyright-mentions-gpl.copyright            |  2 +-
 .../debian/debian/copyright-mentions-lgpl.copyright           |  2 +-
 .../debian/debian/copyright-mentions-lgpl2.copyright          |  2 +-
 .../debian/debian/copyright-mentions-perl.copyright           |  2 +-
 t/tests/obsolete-sites/debian/debian/copyright                |  2 +-
 .../source-copyright-bad-short-name/debian/debian/copyright   |  2 +-
 t/tests/source-copyright-dep5-general/debian/debian/copyright |  2 +-
 .../debian/debian/copyright                                   |  2 +-
 t/tests/source-copyright-empty-field/debian/debian/copyright  |  2 +-
 .../debian/debian/copyright                                   |  0
 t/tests/source-copyright-insecure-uri/desc                    |  6 ++++++
 t/tests/source-copyright-insecure-uri/tags                    |  1 +
 .../source-copyright-license-header/debian/debian/copyright   |  2 +-
 .../debian/debian/copyright                                   |  2 +-
 .../debian/debian/copyright                                   |  2 +-
 t/tests/source-copyright-pipe-as-or/debian/debian/copyright   |  2 +-
 .../debian/debian/copyright                                   |  2 +-
 t/tests/source-copyright-typo-field/debian/debian/copyright   |  2 +-
 t/tests/source-copyright-undefined/debian/debian/copyright    |  2 +-
 t/tests/source-copyright-unique/debian/debian/copyright       |  2 +-
 .../debian/debian/copyright                                   |  2 +-
 t/tests/standards-version-timewarp/debian/debian/copyright    |  2 +-
 35 files changed, 54 insertions(+), 34 deletions(-)

diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index 718be30..65acc21 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -48,6 +48,17 @@ Info: Format URI of the machine-readable copyright file contains
  <tt>VERSIONED_FORMAT_URL</tt> or <tt>REVISION</tt> string.  Please replace it
  with an actual URI or an actual revision number respectively.
 
+Tag: insecure-copyright-format-uri
+Severity: pedantic
+Certainty: certain
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: Format URI of the machine-readable copyright file uses the plain HTTP
+ unencrypted transport protocol.  Using HTTPS is prefered since policy 4.0.0.
+ .
+ Please use
+ <tt>https://www.debian.org/doc/packaging-manuals/copyright-format/<i>version</i>/</tt>
+ as the format URI instead.
+
 Tag: wiki-copyright-format-uri
 Severity: pedantic
 Certainty: possible
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index c04e82a..52ca8a8 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -86,11 +86,8 @@ sub run {
     return;
 }
 
-# Note that we allow people to use "https://"; even the
-# policy says it must be "http://";.  It might be
-# pedantically wrong, but it is not worth arguing over On
-# the plus side, it gives security to people blindly
-# copy-wasting the URLs using "https://";.
+# The policy states, since 4.0.0, that people should use "https://"; for the
+# format URI. This is checked later in check_dep5_copyright.
 # return undef is not dep5 and '' if unknown version
 sub _find_dep5_version {
     my ($original_uri) = @_;
@@ -220,6 +217,8 @@ sub _check_dep5_copyright {
         tag 'unversioned-copyright-format-uri', $uri;
     }elsif (versions_compare $version, '<<', $dep5_last_normative_change) {
         tag 'out-of-date-copyright-format-uri', $uri;
+    }elsif ($uri =~ m,^http://www\.debian\.org/,) {
+        tag 'insecure-copyright-format-uri', $uri;
     }
 
     if (versions_compare $version, '<<', $dep5_last_overhaul) {
diff --git a/debian/changelog b/debian/changelog
index 1f5bc8a..c81dca1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ lintian (2.5.69) UNRELEASED; urgency=medium
       new-package-should-not-package-python2-module tag.
     + [CL] Include the offending package name when warning about
       new-package-should-not-package-python2-module.
+  * checks/source-copyright.{desc,pm}:
+    + [CL] Warn about insecure "Format:" URIs that reference debian.org.
+      Based on a patch by Nicolas Braud-Santoni.  (Closes: #886930)
 
   * data/files/fnames:
     + [CL] Warn about packages that ship (eg.) test_foo.py files in the
diff --git a/debian/copyright b/debian/copyright
index 1a83fe3..77cf868 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: lintian
 Upstream-Contact: <debian-lint-maint@lists.debian.org>
 Source: https://lintian.debian.org/
diff --git a/t/templates/debs/skel/copyright b/t/templates/debs/skel/copyright
index 5795dbd..22b1f54 100644
--- a/t/templates/debs/skel/copyright
+++ b/t/templates/debs/skel/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: Lintian
 Upstream-Contact: <debian-lint-maint@lists.debian.org>
 Source: http://lintian.debian.org
diff --git a/t/templates/source/skel/copyright b/t/templates/source/skel/copyright
index 5795dbd..22b1f54 100644
--- a/t/templates/source/skel/copyright
+++ b/t/templates/source/skel/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: Lintian
 Upstream-Contact: <debian-lint-maint@lists.debian.org>
 Source: http://lintian.debian.org
diff --git a/t/templates/tests/pedantic/debian/copyright b/t/templates/tests/pedantic/debian/copyright
index 0dd31a2..82414bb 100644
--- a/t/templates/tests/pedantic/debian/copyright
+++ b/t/templates/tests/pedantic/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: Lintian
 Upstream-Contact: <debian-lint-maint@lists.debian.org>
 Source: http://lintian.debian.org
diff --git a/t/templates/tests/skel/debian/copyright b/t/templates/tests/skel/debian/copyright
index 1a308d1..8f16344 100644
--- a/t/templates/tests/skel/debian/copyright
+++ b/t/templates/tests/skel/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: Lintian
 Upstream-Contact: <debian-lint-maint@lists.debian.org>
 Source: http://lintian.debian.org
diff --git a/t/tests/copyright-file-general/debian/debian/copyright-missing-apache2-license-pointer.copyright b/t/tests/copyright-file-general/debian/debian/copyright-missing-apache2-license-pointer.copyright
index 5c8f5e1..e71e0f0 100644
--- a/t/tests/copyright-file-general/debian/debian/copyright-missing-apache2-license-pointer.copyright
+++ b/t/tests/copyright-file-general/debian/debian/copyright-missing-apache2-license-pointer.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: Midnight Commander
 Source: http://www.midnight-commander.org/downloads
 Copyright: 1996-2013 Free Software Foundation
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache.copyright
index b4fe499..627f564 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache2.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache2.copyright
index 035ee22..493add3 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache2.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache2.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache3.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache3.copyright
index dab0d47..28de0e9 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache3.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-apache3.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gfdl.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gfdl.copyright
index 5a8f46b..75ac1cb 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gfdl.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gfdl.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gpl.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gpl.copyright
index 248debf..a33353a 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gpl.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-gpl.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl.copyright
index 89c5e79..93a0925 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl2.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl2.copyright
index 291c0e6..74632b5 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl2.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-lgpl2.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-perl.copyright b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-perl.copyright
index b2c896a..8a757ce 100644
--- a/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-perl.copyright
+++ b/t/tests/copyright-file-non-common-license/debian/debian/copyright-mentions-perl.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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git
diff --git a/t/tests/obsolete-sites/debian/debian/copyright b/t/tests/obsolete-sites/debian/debian/copyright
index 5733dce..66230d4 100644
--- a/t/tests/obsolete-sites/debian/debian/copyright
+++ b/t/tests/obsolete-sites/debian/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: Foo
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: https://foo.berlios.de/
diff --git a/t/tests/source-copyright-bad-short-name/debian/debian/copyright b/t/tests/source-copyright-bad-short-name/debian/debian/copyright
index 1674f80..0c826f0 100644
--- a/t/tests/source-copyright-bad-short-name/debian/debian/copyright
+++ b/t/tests/source-copyright-bad-short-name/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-dep5-general/debian/debian/copyright b/t/tests/source-copyright-dep5-general/debian/debian/copyright
index 23c50f4..0d6679c 100644
--- a/t/tests/source-copyright-dep5-general/debian/debian/copyright
+++ b/t/tests/source-copyright-dep5-general/debian/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Format: https://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
 Upstream-Name: Doohickey
 Upstream-Maintainer: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-dep5-syntax-error/debian/debian/copyright b/t/tests/source-copyright-dep5-syntax-error/debian/debian/copyright
index ee42935..30c307c 100644
--- a/t/tests/source-copyright-dep5-syntax-error/debian/debian/copyright
+++ b/t/tests/source-copyright-dep5-syntax-error/debian/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Format: https://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
 Upstream-Name: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-empty-field/debian/debian/copyright b/t/tests/source-copyright-empty-field/debian/debian/copyright
index dd0541b..f9d5a2a 100644
--- a/t/tests/source-copyright-empty-field/debian/debian/copyright
+++ b/t/tests/source-copyright-empty-field/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright b/t/tests/source-copyright-insecure-uri/debian/debian/copyright
similarity index 100%
copy from t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright
copy to t/tests/source-copyright-insecure-uri/debian/debian/copyright
diff --git a/t/tests/source-copyright-insecure-uri/desc b/t/tests/source-copyright-insecure-uri/desc
new file mode 100644
index 0000000..89b77df
--- /dev/null
+++ b/t/tests/source-copyright-insecure-uri/desc
@@ -0,0 +1,6 @@
+Testname: source-copyright-insecure-uri
+Version: 1.0
+Description: Test for insecure Format: URIs
+Options: -I -E --pedantic
+Test-For:
+ insecure-copyright-format-uri
diff --git a/t/tests/source-copyright-insecure-uri/tags b/t/tests/source-copyright-insecure-uri/tags
new file mode 100644
index 0000000..8d92909
--- /dev/null
+++ b/t/tests/source-copyright-insecure-uri/tags
@@ -0,0 +1 @@
+P: source-copyright-insecure-uri source: insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
diff --git a/t/tests/source-copyright-license-header/debian/debian/copyright b/t/tests/source-copyright-license-header/debian/debian/copyright
index da6a69d..5db0fd8 100644
--- a/t/tests/source-copyright-license-header/debian/debian/copyright
+++ b/t/tests/source-copyright-license-header/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright b/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright
index 082beb1..61e14af 100644
--- a/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright
+++ b/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/debian/copyright b/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/debian/copyright
index 082beb1..61e14af 100644
--- a/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/debian/copyright
+++ b/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-pipe-as-or/debian/debian/copyright b/t/tests/source-copyright-pipe-as-or/debian/debian/copyright
index acbd7b3..31e3563 100644
--- a/t/tests/source-copyright-pipe-as-or/debian/debian/copyright
+++ b/t/tests/source-copyright-pipe-as-or/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-source-files-excluded/debian/debian/copyright b/t/tests/source-copyright-source-files-excluded/debian/debian/copyright
index 805505c..82dfe2c 100644
--- a/t/tests/source-copyright-source-files-excluded/debian/debian/copyright
+++ b/t/tests/source-copyright-source-files-excluded/debian/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: exclude-this
  exclude-dir
  */exclude-dir
diff --git a/t/tests/source-copyright-typo-field/debian/debian/copyright b/t/tests/source-copyright-typo-field/debian/debian/copyright
index d9c4158..60cf5b2 100644
--- a/t/tests/source-copyright-typo-field/debian/debian/copyright
+++ b/t/tests/source-copyright-typo-field/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-undefined/debian/debian/copyright b/t/tests/source-copyright-undefined/debian/debian/copyright
index dea5f48..049fb78 100644
--- a/t/tests/source-copyright-undefined/debian/debian/copyright
+++ b/t/tests/source-copyright-undefined/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-unique/debian/debian/copyright b/t/tests/source-copyright-unique/debian/debian/copyright
index ec52ddc..1f88946 100644
--- a/t/tests/source-copyright-unique/debian/debian/copyright
+++ b/t/tests/source-copyright-unique/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/source-copyright-wildcard-matching/debian/debian/copyright b/t/tests/source-copyright-wildcard-matching/debian/debian/copyright
index fbc1f8c..e9828d4 100644
--- a/t/tests/source-copyright-wildcard-matching/debian/debian/copyright
+++ b/t/tests/source-copyright-wildcard-matching/debian/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: Doohickey
 Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
 Source: http://examples.com/doohickey/source/
diff --git a/t/tests/standards-version-timewarp/debian/debian/copyright b/t/tests/standards-version-timewarp/debian/debian/copyright
index 144feae..8e3f0f0 100644
--- a/t/tests/standards-version-timewarp/debian/debian/copyright
+++ b/t/tests/standards-version-timewarp/debian/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: lintian
 Upstream-Contact: Lintian Maintainers <debian-lint-maint@lists.debian.org>
 Source: http://git.debian.org/?p=lintian/lintian.git

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: