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

Review of new lintian tags



Hi,

Could you review the new lintian tags ?

As usual it is a patch file because it is easier to generate.

Bastien


diff --git a/checks/apache2.desc b/checks/apache2.desc
index 265ceda..1279fd8 100644
--- a/checks/apache2.desc
+++ b/checks/apache2.desc
@@ -3,7 +3,7 @@ Author: Arno Töll <debian@toell.net>
 Abbrev: apache2
 Type: binary
 Info: Checks various build mistakes in Apache2 reverse dependencies
-Needs-Info: bin-pkg-control, index, scripts, unpacked
+Needs-Info: bin-pkg-control, scripts, unpacked
 
 Tag: non-standard-apache2-module-package-name
 Severity: normal
diff --git a/checks/automake.desc b/checks/automake.desc
index 7b445c2..0582c06 100644
--- a/checks/automake.desc
+++ b/checks/automake.desc
@@ -2,7 +2,7 @@ Check-Script: automake
 Author: Gautier Minster <gautier+debian@minster.io>
 Abbrev: autom
 Type: source
-Needs-Info: index
+Needs-Info: unpacked
 Info: Checks for erroneous, missing or deprecated automake files
 
 Tag: deprecated-configure-filename
diff --git a/checks/binaries.desc b/checks/binaries.desc
index d172c92..280aee4 100644
--- a/checks/binaries.desc
+++ b/checks/binaries.desc
@@ -2,7 +2,7 @@ Check-Script: binaries
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: bin
 Type: binary, udeb
-Needs-Info: hardening-info, objdump-info, file-info, strings, index
+Needs-Info: hardening-info, objdump-info, file-info, strings, unpacked
 Info: This script checks binaries and object files for bugs.
 
 Tag: arch-independent-package-contains-binary-or-object
@@ -216,7 +216,7 @@ Tag: missing-dependency-on-perlapi
 Severity: serious
 Certainty: certain
 Ref: perl-policy 4.4.2
-Info: This package includes a *.so file in <tt>/usr/lib/perl5</tt>,
+Info: This package includes a *.so file in <tt>/usr/lib/.../perl5</tt>,
  normally indicating that it includes a binary Perl module.  Binary Perl
  modules must depend on perlapi-$Config{version} (from the Config module).
  If the package is using debhelper, this problem is usually due to a
diff --git a/checks/changelog-file.desc b/checks/changelog-file.desc
index 283e150..7da3476 100644
--- a/checks/changelog-file.desc
+++ b/checks/changelog-file.desc
@@ -2,7 +2,7 @@ Check-Script: changelog-file
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: chg
 Type: binary
-Needs-Info: file-info, changelog-file, index
+Needs-Info: file-info, changelog-file, unpacked
 Info: This script checks if a binary package conforms to policy
  with regards to changelog files.
  .
diff --git a/checks/changes-file.desc b/checks/changes-file.desc
index 402c338..5db7939 100644
--- a/checks/changes-file.desc
+++ b/checks/changes-file.desc
@@ -122,3 +122,20 @@ Certainty: certain
 Info: The Changed-By address includes localhost(.localdomain), which is
  an invalid e-mail address.
 Ref: policy 5.6.2
+
+Tag: backports-changes-missing
+Severity: serious
+# if there are no false positives, this could possibly be increased
+Certainty: possible
+Info: The changes file only has changelog entries from a single version. For
+ backports, all changes since (old)stable or the previous backport should be
+ listed (usually by adding the '-v' option to the build).
+Ref: http://backports.debian.org/Contribute/
+
+Tag: backports-upload-has-incorrect-version-number
+Severity: serious
+Certainty: certain
+Info: The version number doesn't comply with the standard backport version
+ rules. It should end in ~bpoXX+N, where XX refers to the version number of
+ the base distribution.
+Ref: http://backports.debian.org/Contribute/
diff --git a/checks/conffiles.desc b/checks/conffiles.desc
index deef49b..5871770 100644
--- a/checks/conffiles.desc
+++ b/checks/conffiles.desc
@@ -2,7 +2,7 @@ Check-Script: conffiles
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: cnf
 Type: binary
-Needs-Info: bin-pkg-control, index
+Needs-Info: bin-pkg-control, unpacked
 Info: This script checks if the conffiles control file of a binary
  package is correct.
 
diff --git a/checks/copyright-file.desc b/checks/copyright-file.desc
index bac4c7d..9a136ba 100644
--- a/checks/copyright-file.desc
+++ b/checks/copyright-file.desc
@@ -2,7 +2,7 @@ Check-Script: copyright-file
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: cpy
 Type: binary
-Needs-Info: copyright-file, index
+Needs-Info: copyright-file, unpacked
 Info: This script checks if a binary package conforms to policy
  with regard to copyright files.
  .
@@ -283,25 +283,6 @@ Info: The copyright file contains the incomplete Debian packaging
  to court.  If you provide a notice, you may as well provide one that's
  legally recognized in a broader range of countries.
 
-Tag: copyright-refers-to-bad-php-license
-Severity: serious
-Certainty: possible
-Info: This package appears to be covered by version 2.x of the PHP license,
- which is not appropriate for anything other than the PHP interpreter
- itself.
- .
- Note that PEAR modules are not a part of the PHP interpreter and cannot
- use this license.
-Ref: https://ftp-master.debian.org/REJECT-FAQ.html, #616436
-
-Tag: copyright-refers-to-problematic-php-license
-Severity: serious
-Certainty: wild-guess
-Info: This package appears to be covered by version 3.0 (exactly) of the
- PHP license.  This license is not applicable to anything that is not PHP
- and has no contributions from the PHP Group.
-Ref: https://ftp-master.debian.org/REJECT-FAQ.html
-
 Tag: copyright-without-copyright-notice
 Severity: normal
 Certainty: certain
diff --git a/checks/cruft.desc b/checks/cruft.desc
index 663af78..12f3b86 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -3,7 +3,7 @@ Author: Sean 'Shaleh' Perry <shaleh@debian.org>
 Abbrev: deb
 Type: source
 Info: This looks for cruft in Debian packaging or upstream source
-Needs-Info: unpacked, debfiles, diffstat, file-info, index, md5sums
+Needs-Info: unpacked, debfiles, diffstat, file-info, md5sums
 
 Tag: native-package-with-dash-version
 Severity: normal
@@ -348,6 +348,23 @@ Info: The Debian diff of this non-native package appears to be completely
  package updates in Debian (files can't be removed from the
  <tt>debian</tt> directory via the diff, for example).
 
+Tag: debian-upstream-obsolete-path
+Severity: important
+Certainty: certain
+Info: Upstream metadata is stored under an obsolete path.
+ .
+ Upstream MEtadata GAthered with YAml (UMEGAYA) an effort to collect
+ meta-information about upstream projects in a file called
+ <tt>debian/upstream/metadata</tt> in the source packages
+ maintained in a publicly accessible version control system (VCS).
+ .
+ Older version of this specification used
+ <tt>debian/upstream-metadata.yaml</tt> and <tt>debian/upstream</tt>
+ as file storage of meta-information.
+ .
+ You should move these file to <tt>debian/upstream/metadata</tt>.
+
+
 Tag: configure-generated-file-in-source
 Severity: normal
 Certainty: possible
@@ -451,7 +468,7 @@ Info: The source tarball contains a prebuilt file in the Shockwave Flash (SWF)
 Tag: source-contains-prebuilt-flash-project
 Severity: pedantic
 Certainty: possible
-Info: The source tarball contains a prebuilt file in the Shockwave Flash 
+Info: The source tarball contains a prebuilt file in the Shockwave Flash
  project (FLA) format.  These are often included by mistake when
  developers generate a tarball without cleaning the source directory
  first.
@@ -476,9 +493,26 @@ Severity: pedantic
 Certainty: possible
 Info: The source tarball contains a prebuilt (minified) JavaScript object.
  They are usually left by mistake when generating the tarball by not
- cleaning the source directory first.  You may want to report this as 
+ cleaning the source directory first.  You may want to report this as
  an upstream bug, in case there is no sign that this was intended.
 
+Tag: source-contains-prebuilt-ms-help-file
+Severity: serious
+Certainty: possible
+Info: The source tarball contains a prebuilt microsoft precompiled help
+ file (CHM file).  These are often included by mistake when developers generate
+ a tarball without cleaning the source directory first.
+ CHM files are mainly produced by proprietary, Windows-specific software.
+ They are also mainly consumed by Windows internal HTML Help Workshop.
+ There is Linux software to read them and an incomplete
+ FreePascal related project to create them,
+ but any examples in source packages are likely to be created
+ by the proprietary Microsoft software and are probably missing
+ the source HTML and associated files.
+ .
+ If there is no sign this was intended, consider reporting it as
+ an upstream bug.
+
 Tag: source-contains-prebuilt-sphinx-documentation
 Severity: pedantic
 Certainty: possible
@@ -560,6 +594,25 @@ Info: The given source file is copyrighted under the non free
  The Software shall be used for Good, not Evil.
 Ref: https://wiki.debian.org/qa.debian.org/jsonevil
 
+Tag: license-problem-bad-php-license
+Severity: serious
+Certainty: possible
+Info: This package appears to be covered by version 2.x of the PHP license,
+ which is not appropriate for anything other than the PHP interpreter
+ itself.
+ .
+ Note that PEAR modules are not a part of the PHP interpreter and cannot
+ use this license.
+Ref: https://ftp-master.debian.org/REJECT-FAQ.html, #616436
+
+Tag: license-problem-php-license
+Severity: serious
+Certainty: possible
+Info: This package appears to be covered by version 3.0 (exactly) of the
+ PHP license.  This license is not applicable to anything that is not PHP
+ and has no contributions from the PHP Group.
+Ref: https://ftp-master.debian.org/REJECT-FAQ.html
+
 Tag: license-problem-gfdl-invariants
 Severity: serious
 Certainty: possible
@@ -618,7 +671,7 @@ Ref: https://wiki.debian.org/qa.debian.org/gfdlinvariant,
 Tag: license-problem-gfdl-non-official-text
 Severity: pedantic
 Certainty: possible
-Info: The given source file is licensed under GFDL, but using a 
+Info: The given source file is licensed under GFDL, but using a
  non-official text for the "no invariant sections" part.
  .
  Please ask upstream to always use (case insensitive):
@@ -691,3 +744,15 @@ Info: The source of the following file is missing. Lintian checked a few
  "debian/missing-sources" directory.
  .
  If this is a false-positive, please report a bug against Lintian.
+
+Tag: source-contains-autogenerated-visual-c++-file
+Severity: pedantic
+Certainty: possible
+Info: The following file is autogenerated by Microsoft Visual C++.
+ .
+ They are usually provided for the convenience of users.  These files
+ usually just take up space in the tarball and are of no use in Debian.
+ .
+ Check if upstream also provides source-only tarballs that you can use as
+ the upstream distribution instead.  If not, you may want to ask upstream
+ to provide source-only tarballs.
diff --git a/checks/deb-format.desc b/checks/deb-format.desc
index 6876ed9..0b30f73 100644
--- a/checks/deb-format.desc
+++ b/checks/deb-format.desc
@@ -2,7 +2,7 @@ Check-Script: deb-format
 Author: Russ Allbery <rra@debian.org>
 Abbrev: dfmt
 Type: binary, udeb
-Needs-Info: unpacked, bin-pkg-control, index
+Needs-Info: unpacked, bin-pkg-control
 Info: This script checks the format of the deb ar archive itself.
 
 Tag: malformed-deb-archive
diff --git a/checks/description.desc b/checks/description.desc
index 890e5bf..fee50a0 100644
--- a/checks/description.desc
+++ b/checks/description.desc
@@ -31,6 +31,20 @@ Info: The extended description (the lines after the first line of the
  "Description:" field) is empty.
 Ref: policy 3.4
 
+Tag: description-too-short
+Severity: serious
+Certainty: certain
+Ref: devref 6.2.2
+Info: The description contains only a single word. It is likely that the
+ description won't be very clear for the user.
+
+Tag: description-is-pkg-name
+Severity: serious
+Certainty: certain
+Ref: devref 6.2.2
+Info: The description is the same the package name. A better description should
+ be provided for the user.
+
 Tag: extended-description-is-probably-too-short
 Severity: minor
 Certainty: possible
diff --git a/checks/duplicate-files.desc b/checks/duplicate-files.desc
index 7bc8a06..c07ede4 100644
--- a/checks/duplicate-files.desc
+++ b/checks/duplicate-files.desc
@@ -2,7 +2,7 @@ Check-Script: duplicate-files
 Author: Niels Thykier <niels@thykier.net>
 Abbrev: dupf
 Type: binary
-Needs-Info: md5sums, index
+Needs-Info: md5sums, unpacked
 Info: This script checks for duplicate files using checksums
 
 Tag: duplicate-files
diff --git a/checks/fields.desc b/checks/fields.desc
index 48002ea..85c4bdd 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -2,7 +2,7 @@ Check-Script: fields
 Author: Marc 'HE' Brockschmidt <marc@marcbrockschmidt.de>
 Abbrev: fld
 Type: binary, udeb, source
-Needs-Info: debfiles, index
+Needs-Info: debfiles, unpacked
 Info: This script checks the syntax of the fields in package control files,
  as described in the Policy Manual.
 
diff --git a/checks/files.desc b/checks/files.desc
index 460be08..313729e 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -2,7 +2,7 @@ Check-Script: files
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: fil
 Type: binary, udeb
-Needs-Info: unpacked, objdump-info, scripts, file-info, index
+Needs-Info: unpacked, objdump-info, scripts, file-info
 Info: This script checks if a binary package conforms to policy
  WRT to files and directories.
 
@@ -674,6 +674,13 @@ Certainty: certain
 Info: Package contains a .xvpics directory. It was most likely installed by
  accident, since thumbnails usually don't belong in packages.
 
+Tag: package-contains-thumbnails-dir
+Severity: important
+Certainty: certain
+Info: Package contains a .thumbnails directory. It was most likely installed by
+ accident, since thumbnails usually don't belong in packages.
+Ref: http://standards.freedesktop.org/thumbnail-spec/thumbnail-spec-0.8.0.html
+
 Tag: package-contains-vcs-control-file
 Severity: normal
 Certainty: certain
@@ -708,7 +715,7 @@ Tag: package-installs-nonbinary-perl-in-usr-lib-perl5
 Severity: normal
 Certainty: certain
 Info: Architecture-independent Perl code should be placed in
- <tt>/usr/share/perl5</tt>, not <tt>/usr/lib/perl5</tt>
+ <tt>/usr/share/perl5</tt>, not <tt>/usr/lib/.../perl5</tt>
  unless there is at least one architecture-dependent file
  in the module.
 Ref: perl-policy 2.3
@@ -943,6 +950,15 @@ Info: This package creates a potential privacy breach by fetching data
  that the remote resources are suitable for Debian main before making
  local copies of them.
 
+Tag: privacy-breach-may-use-debian-package
+Severity: important
+Certainty: possible
+Info: This package creates a potential privacy breach by fetching data
+ from an external website at runtime. Please remove these scripts or
+ external HTML resources.
+ .
+ You may use if compatible the debian package indicated in the hint.
+
 Tag: privacy-breach-google-adsense
 Severity: serious
 Certainty: possible
@@ -1553,3 +1569,13 @@ Info: This package ships a PKCS#11 module configuration file under
  .
  p11-kit currently warns on every file that does not follow the
  convention and may ignore them in the future.
+
+Tag: package-contains-timestamped-gzip
+Severity: wishlist
+Certainty: certain
+Info: The package contains a gzip'ed file that has timestamps.
+ Such files make the packages unreproducible, because their
+ contents depend on the time when the package was built.
+ .
+ Please consider passing the "-n" flag to gzip to avoid this.
+Ref: https://wiki.debian.org/ReproducibleBuilds
diff --git a/checks/group-checks.desc b/checks/group-checks.desc
index 03b445a..219feda 100644
--- a/checks/group-checks.desc
+++ b/checks/group-checks.desc
@@ -3,6 +3,7 @@ Author: Niels Thykier <niels@thykier.net>
 Abbrev: gchck
 # This is a source check, so we only run it once per group
 Type: source
+Needs-info: unpacked
 Info: This script checks for some issues that may appear in packages
  built from the same source.  This includes intra-source circular
  dependencies and intra-source priority checks.
diff --git a/checks/huge-usr-share.desc b/checks/huge-usr-share.desc
index a5cabf8..0b002de 100644
--- a/checks/huge-usr-share.desc
+++ b/checks/huge-usr-share.desc
@@ -2,7 +2,7 @@ Check-Script: huge-usr-share
 Author: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
 Abbrev: hus
 Type: binary
-Needs-info: index
+Needs-info: unpacked
 Info: This script checks whether an architecture-dependent package has
  large amounts of data in /usr/share.
 
diff --git a/checks/infofiles.desc b/checks/infofiles.desc
index a586c36..41b9387 100644
--- a/checks/infofiles.desc
+++ b/checks/infofiles.desc
@@ -2,7 +2,7 @@ Check-Script: infofiles
 Author: Josip Rodin <jrodin@jagor.srce.hr>
 Abbrev: info
 Type: binary
-Needs-Info: unpacked, file-info, index
+Needs-Info: unpacked, file-info
 Info: This script checks if a binary package conforms to info document policy.
 
 Tag: info-document-not-compressed
diff --git a/checks/java.desc b/checks/java.desc
index ab335a1..c6aecac 100644
--- a/checks/java.desc
+++ b/checks/java.desc
@@ -2,7 +2,7 @@ Check-Script: java
 Author: Vincent Fourmond <fourmond@debian.org>
 Abbrev: java
 Type: binary
-Needs-Info: java-info, index
+Needs-Info: java-info, unpacked
 Info: This script checks if the packages comply with various aspects of the
  debian Java policy.
 
diff --git a/checks/manpages.desc b/checks/manpages.desc
index 2bf66b1..4513ba6 100644
--- a/checks/manpages.desc
+++ b/checks/manpages.desc
@@ -2,7 +2,7 @@ Check-Script: manpages
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: man
 Type: binary
-Needs-Info: unpacked, file-info, index
+Needs-Info: unpacked, file-info
 Info: This script checks if a binary package conforms to manual page policy.
 
 Tag: bad-link-to-undocumented-manpage
diff --git a/checks/md5sums.desc b/checks/md5sums.desc
index a29af12..cd65a3b 100644
--- a/checks/md5sums.desc
+++ b/checks/md5sums.desc
@@ -2,7 +2,7 @@ Check-Script: md5sums
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: md5
 Type: binary
-Needs-Info: md5sums, bin-pkg-control, index
+Needs-Info: md5sums, bin-pkg-control, unpacked
 Info: This script checks if md5sum control files are valid, if they are
  provided by a binary package.
 
diff --git a/checks/menu-format.desc b/checks/menu-format.desc
index 1bc39f5..6f9e583 100644
--- a/checks/menu-format.desc
+++ b/checks/menu-format.desc
@@ -1,7 +1,7 @@
 Check-Script: menu-format
 Author: Joey Hess <joeyh@master.debian.org>
 Abbrev: mnf
-Needs-Info: unpacked, menu-files, index
+Needs-Info: unpacked, menu-files
 Type: binary
 Info: This script validates the format of <b>menu</b> files.
 
@@ -379,6 +379,15 @@ Info: The header on this line of the desktop entry has been deprecated in the
  useful for checking the syntax of desktop entries.
 Ref: http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html
 
+Tag: desktop-mime-but-no-exec-code
+Severity: normal
+Certainty: possible
+Info: The desktop entry lists support for at least one mime type, but does not
+ provide codes like %f, %F, %u or %U for the Exec key.
+ .
+ If the application can indeed handle files of the listed mime types, it should
+ specify a way to pass the filenames as parameters.
+
 Tag: deprecated-kdelnk-file
 Severity: important
 Certainty: certain
diff --git a/checks/menus.desc b/checks/menus.desc
index c910fdc..d09dab0 100644
--- a/checks/menus.desc
+++ b/checks/menus.desc
@@ -4,7 +4,7 @@ Abbrev: men
 Type: binary
 Info: Check if a binary package conforms to policy with respect to
  <b>menu</b> and <b>doc-base</b> files.
-Needs-Info: doc-base-files, menu-files, bin-pkg-control, index
+Needs-Info: doc-base-files, menu-files, bin-pkg-control, unpacked
 
 Tag: maintainer-script-does-not-check-for-existence-of-updatemenus
 Severity: important
diff --git a/checks/ocaml.desc b/checks/ocaml.desc
index 7d7ebf6..69c314e 100644
--- a/checks/ocaml.desc
+++ b/checks/ocaml.desc
@@ -3,7 +3,7 @@ Author: Stephane Glondu <steph@glondu.net>
 Abbrev: ocaml
 Type: binary
 Info: This looks for common mistakes in OCaml binary packages.
-Needs-Info: ar-info, index
+Needs-Info: ar-info, unpacked
 
 Tag: ocaml-dangling-cmxa
 Severity: serious
diff --git a/checks/phppear.desc b/checks/phppear.desc
index 477b373..64d3dc3 100644
--- a/checks/phppear.desc
+++ b/checks/phppear.desc
@@ -2,7 +2,7 @@ Check-Script: phppear
 Author: Mathieu Parent <sathieu@debian.org>
 Abbrev: phppear
 Type: source
-Needs-Info: index, debfiles, unpacked
+Needs-Info: debfiles, unpacked
 Info: This script checks if the packages comply with various aspects of the
  debian PHP policy.
 
diff --git a/checks/scripts.desc b/checks/scripts.desc
index 675505b..6d4b33b 100644
--- a/checks/scripts.desc
+++ b/checks/scripts.desc
@@ -3,7 +3,7 @@ Author: Richard Braakman <dark@xs4all.nl>
 Abbrev: scr
 Type: binary
 Info: This script checks the #! lines of scripts in a package.
-Needs-Info: unpacked, file-info, scripts, bin-pkg-control, index
+Needs-Info: unpacked, file-info, scripts, bin-pkg-control
 
 Tag: script-without-interpreter
 Severity: important
diff --git a/checks/shared-libs.desc b/checks/shared-libs.desc
index 6c1d69d..e647610 100644
--- a/checks/shared-libs.desc
+++ b/checks/shared-libs.desc
@@ -2,7 +2,7 @@ Check-Script: shared-libs
 Author: Christian Schwarz <schwarz@debian.org>
 Abbrev: shl
 Type: binary, udeb
-Needs-Info: unpacked, file-info, objdump-info, bin-pkg-control, index
+Needs-Info: unpacked, file-info, objdump-info, bin-pkg-control
 Info: This script checks if a binary package conforms to shared library policy.
 
 Tag: shlib-with-executable-bit
diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index 92df8e4..448e7cb 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -2,7 +2,7 @@ Check-Script: source-copyright
 Author: Jakub Wilk <jwilk@debian.org>
 Abbrev: scpy
 Type: source
-Needs-Info: debfiles, index
+Needs-Info: debfiles, unpacked
 Info: This script checks if a source package conforms to policy
  with regard to copyright files.
  .
@@ -23,6 +23,15 @@ Ref: policy 12.5
 Info: Every package must include the file <tt>/usr/share/doc/<i>pkg</i>/copyright</tt>.
  A copy of this file should be in <tt>debian/copyright</tt> in the source package.
 
+Tag: no-dep5-copyright
+Severity: pedantic
+Certainty: possible
+Info: This package does not use Machine-readable debian/copyright file.
+ .
+ This format help to review license problem and could be easily parsed
+ by Lintian.
+Ref: https://dep.debian.net/deps/dep5/
+
 Tag: unknown-copyright-format-uri
 Severity: pedantic
 Certainty: wild-guess
@@ -107,6 +116,48 @@ Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Info: The paragraph in the machine readable copyright file is missing a field
  that is required by the specification.
 
+Tag: empty-short-license-in-dep5-copyright
+Severity: normal
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The short license field in the machine readable copyright file
+ is empty.
+
+Tag: license-problem-undefined-license
+Severity: serious
+Certainty: possible
+Ref: https://ftp-master.debian.org/REJECT-FAQ.html
+Info: Your copyright file references a license that is not defined.
+ Due to copyright law or treaties, files that are not available under
+ a defined license are non-free and non-re-distributable.
+ .
+ Referencing an undefined license could mean the file cannot be
+ distributed in Debian or it could simply mean that the existing
+ license needs to be documented. In both cases,
+ the copyright file should be updated to reflect reality.
+ .
+ Please re-package the package without the file (if possible)
+ or ask the FTP-masters to remove the package.
+ .
+ If the package has been uploaded to Debian before, and if
+ affected files cannot be distributed in Debian please
+ remember to also notify snapshot.debian.org about this
+ package containing a non-distributable file.
+
+Tag: invalid-short-name-in-dep5-copyright
+Severity: minor
+Certainty: certain
+Ref: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The license header contains a short name observed to be a
+ misspelling of one of the standard short names.
+
+Tag: space-in-std-shortname-in-dep5-copyright
+Severity: minor
+Certainty: certain
+Ref: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The license header contains a short name with a space, which
+ does not conform to the specification.
+
 Tag: missing-license-paragraph-in-dep5-copyright
 Severity: normal
 Certainty: possible
@@ -168,3 +219,47 @@ Info: The paragraph has a "License" and a "Copyright" field, but no
  Lintian will attempt to guess what you intended and continue based on
  its guess.  If the guess is wrong, you may see spurious tags related
  to this paragraph.
+
+Tag: pipe-symbol-used-as-license-disjunction
+Severity: normal
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: In contrast to package dependencies, the pipe symbol or vertical
+ bar does not indicate a logical disjunction or OR-relationship
+ between two license short names. Instead, the keyword "or" between
+ two license names indicates the dual licensing.
+
+Tag: invalid-escape-sequence-in-dep5-copyright
+Severity: normal
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The only allowed escape sequences are "\*", "\?" and "\\" (without
+ quotes) to produce a literal star, question mark and backslash, respectively.
+ Without the escaping backslash, the star and question mark take the role of
+ globbing operators similar to shell globs which is why they have to be
+ escaped. No other escapable characters than "*", "?" and "\" exist.
+
+Tag: wildcard-matches-nothing-in-dep5-copyright
+Severity: minor
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The wildcard that was specified matches no file in the source tree.
+ This either indicates that you should fix the wildcard so that it matches
+ the intended file or that you can remove the wildcard. Notice that in
+ contrast to shell globs, the "*" (star or asterisk) matches slashes and
+ leading dots.
+
+Tag: file-without-copyright-information
+Severity: normal
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The source tree contains a file which was not matched by any of
+ the <tt>Files</tt> paragraphs in debian/copyright. Either adjust existing
+ wildcards to match that file or add a new <tt>Files</tt> paragraph.
+
+Tag: unused-file-paragraph-in-dep5-copyright
+Severity: minor
+Certainty: possible
+Ref: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Info: The <tt>Files</tt> paragraph in debian/copyright is superfluous as it is
+ never used to match any files. You should be able to safely remove it.
diff --git a/checks/symlinks.desc b/checks/symlinks.desc
index 39d6f2d..c9b1850 100644
--- a/checks/symlinks.desc
+++ b/checks/symlinks.desc
@@ -2,7 +2,7 @@ Check-Script: symlinks
 Author: Niels Thykier <niels@thykier.net>
 Abbrev: sym
 Type: binary, udeb
-Needs-Info: index
+Needs-Info: unpacked
 Info: This script checks for broken symlinks.
 
 Tag: package-contains-broken-symlink
diff --git a/checks/systemd.desc b/checks/systemd.desc
index 3365241..ed1b777 100644
--- a/checks/systemd.desc
+++ b/checks/systemd.desc
@@ -2,7 +2,7 @@ Check-Script: systemd
 Author: Michael Stapelberg <stapelberg@debian.org>
 Type: binary
 Info: Checks various systemd policy things
-Needs-Info: scripts, index, unpacked, file-info, bin-pkg-control
+Needs-Info: scripts, unpacked, file-info, bin-pkg-control
 
 Tag: systemd-service-file-outside-lib
 Severity: serious
diff --git a/checks/testsuite.desc b/checks/testsuite.desc
index cf9c3f7..a1865a2 100644
--- a/checks/testsuite.desc
+++ b/checks/testsuite.desc
@@ -1,7 +1,7 @@
 Check-Script: testsuite
 Author: Nicolas Boulenguez <nicolas@debian.org>
 Type: source
-Needs-Info: index, unpacked
+Needs-Info: unpacked
 Info: This script checks the Testsuite field in package dsc files,
  and debian/tests/control if any.
 
@@ -29,7 +29,7 @@ Certainty: certain
 Info: Runtime test names in debian/tests/control are only allowed to
  contain decimal digits, lowercase ASCII letters, plus or minus signs,
  dots or slashes.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: inconsistent-testsuite-field
 Severity: wishlist
@@ -41,28 +41,28 @@ Info: The package provides a debian/tests/control file but no
  For discoverability, packages shipping tests for the autopkgtest
  testing framework should declare their presence in the package
  dsc file by adding "XS-Testsuite: autopkgtest" to their debian/control.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: missing-runtime-tests-field
 Severity: normal
 Certainty: certain
 Info: A mandatory field is missing in some paragraph of the
  debian/tests/control file.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: missing-runtime-test-file
 Severity: normal
 Certainty: possible
 Info: A test file listed in the debian/tests/control file does not
  exist in the package source.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: runtime-test-file-is-not-a-regular-file
 Severity: wishlist
 Certainty: certain
 Info: A runtime test listed by debian/tests/control is not a regular
  file.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: syntax-error-in-debian-tests-control
 Severity: normal
@@ -72,7 +72,7 @@ Info: The debian/tests/control file didn't pass Debian control file
  .
  This issue may hide other issues as Lintian skips some checks on the
  file in this case.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: unknown-runtime-tests-feature
 Severity: pedantic
@@ -80,7 +80,7 @@ Certainty: wild-guess
 Info: A paragraph in debian/tests/control mentions a non standard
  value for the Features field. Though allowed, this may indicate an
  error, as the value will be ignored.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: unknown-runtime-tests-field
 Severity: pedantic
@@ -88,7 +88,7 @@ Certainty: wild-guess
 Info: A paragraph in debian/tests/control mentions a non standard
  field. Though allowed, this may indicate an error, as the whole
  paragraph will be ignored.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: unknown-runtime-tests-restriction
 Severity: pedantic
@@ -96,7 +96,7 @@ Certainty: wild-guess
 Info: A paragraph in debian/tests/control mentions a non standard
  value for the Restrictions field. Though allowed, this may indicate an
  error, as the whole paragraph will be ignored.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
 
 Tag: unknown-testsuite
 Severity: normal
@@ -104,4 +104,4 @@ Certainty: certain
 Info: The dsc file sets Testsuite to a value other than autopkgtest,
  the only one allowed. This field is most probably copied by
  dpkg-source from XS-Testsuite in debian/control.
-Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
+Ref: http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD


Reply to: