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

Bug#742787: check for missing Disclaimer field in debian/copyright (for contrib/non-free packages)



Package: lintian
Version: 2.5.21
Severity: wishlist

Heya,
  for contrib or non-free packages Policy §12.5 says (emphasis with asterisks
mine):

  Packages in the _contrib_ or _non-free_ archive areas *should* state in the
  copyright file that the package is not part of the Debian distribution and
  briefly explain why.

Debian Copyright Format 1.0 documents the "Disclaimer" field as the appropriate
place for such a statement (and points back to Policy 12.5):

  Disclaimer

  Formatted text, no synopsis: this field is used for non-free or contrib
  packages to state that they are not part of Debian and to explain why (see
  Debian Policy section 12.5).

It would be very nice to have a corresponding Lintian check if the field is
missing. I believe the conditions to trigger the check should be:

- the package is in contrib or non-free, and
- the package uses machine parseable debian/copyright, and
- debian/copyright lacks the Disclaimer field

How about it?

(and, as usual, my deepest admiration and infinite thanks for maintaining
lintian: the Debian world would be oh so much worse without it)

Cheers.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.24-4
ii  bzip2                          1.0.6-5
ii  diffstat                       1.58-1
ii  file                           1:5.17-1
ii  gettext                        0.18.3.2-1
ii  hardening-includes             2.5
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.29+b1
ii  libarchive-zip-perl            1.30-7
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.36-1
ii  libdpkg-perl                   1.17.6
ii  libemail-valid-perl            1.192-1
ii  libfile-basedir-perl           0.03-1
ii  libipc-run-perl                0.92-1
ii  liblist-moreutils-perl         0.33-2
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtext-levenshtein-perl       0.06~01-2
ii  libtimedate-perl               2.3000-1
ii  liburi-perl                    1.60-1
ii  man-db                         2.6.6-1
ii  patchutils                     0.3.2-3
ii  perl [libdigest-sha-perl]      5.18.2-2+b1
ii  t1utils                        1.37-2

Versions of packages lintian recommends:
ii  libautodie-perl                 2.23-1
ii  libperlio-gzip-perl             0.18-2
ii  perl-modules [libautodie-perl]  5.18.2-2

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.17.6
ii  libhtml-parser-perl    3.71-1+b1
ii  libtext-template-perl  1.46-1
ii  libyaml-perl           0.84-1
ii  xz-utils               5.1.1alpha+20120614-2

-- no debconf information


Reply to: