Bug#546525: check for Maintainer field mismatches between *.changes and debian/control
Package: lintian
Version: 2.2.14
Severity: wishlist
Thanks to Ana (Cc-ed) I've discovered only today that for years I've
been uploading *.changes files in which Maintainer and Changed-By fields
where both set to me _erroneously_, in the sense that I was not the
Maintainer for those packages (either due to team maintenance or to NMU
activity).
The reason of the mistake, not terribly relevant, was a particular
setting in pbuilder/cowbuilder (the $DEBEMAIL variable) which, when set,
invokes dpkg-genchanges setting explicitly the maintainer, hence
overriding the package default.
That being easily fixable, I believe that lintian can easily shield
against this error pattern by checking whether there is a mismatch
between the Maintainer field in debian/control and the very same field
in the *.changes file being lintian-checked (if given, which is usually
the case).
Can you please consider adding such a test?
/me wonders how many people have set that variable, hence providing not
terribly telling *.changes files
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.19.91.20090910-1 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.4 Debian package development tools
ii file 5.03-1 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchange 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.6-2 on-line manual pager
ii perl [libdigest-sha-p 5.10.0-25 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.6-2 on-line manual pager
-- no debconf information
Reply to: