lintian (1.23.46) unstable; urgency=low The "five Lintian committers!" release. * checks/binaries: + [RA] Anchor file matches for Perl libraries and debugging symbols so as to not match partial paths. Based on a patch from Niko Tyni. (Closes: #466501) + [RA] Also check for make -i when checking if errors from make clean or distclean are ignored. Thanks, Jörg Sommer. (Closes: #469024) * checks/changelog-file: + [RA] Adjust for the extra space added by Parse::DebianChangelog when checking line length. Thanks, Robert Millan. (Closes: #467019) * checks/common_data.pm: + [RA] Accept (and ignore for now) the new Checksums-Sha1, Checksums-Sha256, and Checksums-Md5 fields in source packages. Thanks, Raphael Hertzog. (Closes: #466979) * checks/control-file: + [RA] Skip empty dependencies for stronger-dependency-implies-weaker. * checks/control-files{.desc,}: + [FL] Warn about empty control files. I can't see any use for them. Exclude udebs though, since they might differ there. * checks/copyright-file{.desc,}: + [RA] Tests for copyright notices must be case-insensitive. Patch from Chris Lamb. (Closes: #464992) + [RA] When looking for cases where Copyright is separated from a year by a newline, also allow (C) before or after the newline. Thanks, Michael Meskes. (Closes: #465258) + [RA] Further explain why lintian looks for a valid copyright notice. (Closes: #466714) + [RA] Suggest an override if only the Debian packaging or some other part of the package not linked with OpenSSL is covered by the GPL. Thanks, Andrew Pollock. (Closes: #469106) * checks/cruft{.desc,}: + [FL] Add hg to the list of -control-dir tags. + [RA] In the long description of outdated-autotools-helper-file, point to autotool-dev's documentation. (Closes: #465132) + [RA] Remove now-unnecessary workarounds for calling File::Find with symlink starting directory. * checks/debian-readme{.desc,}: + [RA] Warn of references to /usr/doc in README.Debian. Thanks, Guillem Jover. (Closes: #465192) * checks/files{.desc,}: + [FL,RA] Merge all the tags for vcs ignore files, inventory files, and vcs control dirs. Since the explanations don't actually differ, different tags make no sense. While at it, add the mercurial equivalents as well and update some of the tag descriptions. Partly based on a patch by Chris Lamb. * checks/md5sums{.desc,}: + [FL] Remove tag md5sums-control-file-is-empty in favour of a more general tag in control-files. * checks/manpages.desc: + [RA] Mention in binary-without-manpage that if the man pages are provided by another package on which this package depends, a lintian override is appropriate. * checks/menu-format: + [RA] When the menu or desktop file invokes a quoted command via an su program, don't try to check whether the command is in the package. Thanks, Paul Wise. (Closes: #466665) * checks/menus{,desc}: + [RA] Check that doc-base files are encoded in UTF-8. Thanks, Robert Luberda. (Closes: #468759) + [RA] Check doc-base sections against the new canonical list. Thanks, Robert Luberda. (Closes: #463474) * check/patch-systems: + [HE] Warn if the .diff.gz contains changes while the package uses a patch system. (Closes: #452215) * checks/scripts{.desc,}: + [FL] Warn if a maintainer script is a valid shell script but doesn't seem to have any actual code. Based on an idea by Justin Pryzby. (Closes: #410042) + [RA] Update regexes based on checkbashisms to remove additional false positives and add additional checks. Thanks, Adam D. Barratt. + [RA] Add kaptain. Thanks, Tobias Toedter. (Closes: #466701) + [RA] Allow zsh-beta as an alternative to zsh. Thanks, Joost van Baal. (Closes: #468362) + [RA] Add yorick. Thanks, Thibaut Paumard. (Closes: #468370) + [RA] Add warnings for dpkg --assert* flags for features that have been guaranteed for nearly a decade. Thanks, Bernhard R. Link. (Closes: #467642) * checks/shared-libs{,desc}: + [RA] Rename sharedobject-in-library-directory-not-actually-a-shlib to sharedobject-in-library-directory-missing-soname for clarity. Thanks, Peter Eisentraut. (Closes: #467425) * data/doc-base/sections: + [RA] New file listing known doc-base sections. * debian/dirs: + [RA] Install the base directory for the Lintian root here. * debian/rules: + [RA] Redo the installation rules to support arbitrary nesting under the copied directories. As a side effect, install lib/Tags/ColonSeparated.pm, unbreaking the experimental colon-separated output format. * frontend/lintian: + [CW] Make the presence of an Ubuntu release name in the version number trigger the Ubuntu distribution field checks. + [RA] Fix option parsing bug leading lintian to incorrectly reject -a or -p without a package. * lib/Dep.pm: + [RA] Skip empty dependencies, avoiding false positives for stronger-dependency-implies-weaker. Patch from Adam D. Barratt. (Closes: #469222) * lib/Lintian/Data.pm: + [RA] New module for loading and querying lists of keywords. * lib/Read_pkglists.pm: + [RA] Extract Uploaders from the source package list. * lib/Spelling.pm: + [RA] Add another spelling correction. + [RA] Merriam-Webster and the OED have both given up on publically vs. publicly, so we should as well. (Closes: #466617) * reporting/html_reports: + [RA] Load the correct configuration file. + [RA] Include packages for which one is an uploader in one's maintainer page, marked accordingly. (Closes: #421011) * reporting/templates/*: + [TK] Correct Lintian maintainers address in page footers. * reporting/templates/maintainer.html: + [RA] Include packages for which the maintainer is an uploader. * unpack/list-srcpkg: + [RA] Include Uploaders in the package list. * unpack/unpack-srcpkg-l2: + [RA] Don't rely on the output format of dpkg-source to learn the source directory and create a symlink. Instead, tell dpkg-source to unpack the source directly into the unpacked directory. Discard output of dpkg-source to allow for the current version, which prints things even with -q (fixed in later versions). Thanks, Raphael Hertzog. (Closes: #468927) -- Russ Allbery Mon, 03 Mar 2008 18:21:32 -0800 lintian (1.23.45) unstable; urgency=low The "100 open bugs is magical" release. * checks/debconf: + [RA] Recognize require as well as use when loading debconf modules in Perl. Thanks, Manoj Srivastava. (Closes: #464775) * checks/fields: + [RA] Fix coding error that didn't allow python-all-dev to satisfy a Python build dependency. Thanks, Joerg Jaspert. (Closes: #464709) * checks/manpages: + [RA] Ignore another undefined macro generated by pod2man (will be fixed with the Pod::Man in Perl 5.10). * checks/po-debconf: + [RA] Also accept nnn_NN names for po files. nds_DE and nds_NL are valid locales. Thanks, Christian Perrier. * checks/scripts{.desc,}: + [RA] Warn of use of start-stop-daemon in maintainer scripts unless used with --stop. Thanks, Kurt Roeckx. (Closes: #381180) -- Russ Allbery Fri, 08 Feb 2008 22:58:32 -0800 lintian (1.23.44) unstable; urgency=low The "I can't release a quick fix without *some* other work" release. * checks/binaries: + [RA] Make an architecture specification after perlapi optional. Thanks, gregor herrmann. (Closes: #464626) * checks/copyright-file{.desc,}: + [RA] Check the copyright file to ensure it contains at least one copyright statement with a date or the term "public domain". It's hard to be thorough without false positives, but this should catch the most obvious omissions. Thanks, Justin Pryzby and Jari Aalto. (Closes: #286842, #409131) * checks/fields: + [RA] Warn of build-dependencies on a Debian revision of -1. They make backporting unnecessarily difficult. Thanks, Erich Schubert. (Closes: #345487) * checks/po-debconf: + [RA] Accept three-character language codes for po files. Thanks, Patrick Winnertz and Eddy Petrișor. (Closes: #464511) * lib/Spelling.pm: + [RA] Don't strip hyphens before checking spelling. Move all D-Bus corrections to the picky list since the correction is too confusing even if accurate without capitalization. Thanks, Nelson A. de Oliveira. (Closes: #464461) -- Russ Allbery Thu, 07 Feb 2008 20:07:45 -0800 lintian (1.23.43) unstable; urgency=low The "37 bug fixes is enough for one release" release. * checks/binaries{.desc,}: + [RA] Don't require objdump's errors on files with bad dynamic tables to start at the beginning of the line. Patch from Chris Lamb. (Closes: #459509) + [RA] Warn for packages that have binaries requiring libc but which don't depend on libc. Patch from Niko Tyni. (Closes: #461350) + [RA] Remove check for libc5 binaries. libc5 is long-gone. + [RA] Remove various dead tag descriptions we no longer issue. + [RA] Warn on packages that provide Perl modules but don't depend on perlapi-*. Thanks, Niko Tyni. (Closes: #463142) + [RA] Check files in /usr/lib/debug directories mirroring the main file system to verify they are detached debugging symbols and not full libraries or executables. Thanks, Neil Williams and Niko Tyni. (Closes: #462456) * checks/changelog-file: + [RA] Decode the changelog entry from UTF-8 before doing length checks. Thanks, Cyril Brulebois. (Closes: #461822) + [RA] Check for mismatches between the latest changelog and NEWS.Debian entries if they're for the same package version. Thanks, Cyril Brulebois. (Closes: #461823) * checks/common_data.pm: + [RA] Add Bugs, Origin, and Breaks to known binary and udeb fields and Bugs to known source fields, matching current dpkg. Thanks, Raphaël Hertzog. (Closes: #459787) * checks/debhelper: + [RA] CDBS now defaults to a debhelper compatibility level of V5. + [FL] Update list of debhelper commands that modify maintainer scripts. Add dh_icons, dh_installudev, dh_pysupport, dh_pycentral and rename dh_installtexfonts to dh_installtex. + [RA] Add checks for versioned debhelper dependencies for dh_icons and dh_installifupdown. Thanks, Evgeni Golov. (Closes: #463028) * checks/fields{.desc,}: + [RA] The CDBS ant rules are in class, not rules. Thanks, Cyril Brulebois. (Closes: #460168) + [RA] Versioned Python dependencies satisfy a Python debian/rules requirement. Add a separate tag for Python build dependencies to explain the dependency possibilities. Ignore dh_python if debian/pyversion or a Python-Version control field are present. Thanks, Loïc Minier. (Closes: #460625) + [RA] Check that -dbg packages depend on their base package. Patch from Chris Lamb. (Closes: #458785) + [RA] Check the value of Dm-Upload-Allowed. + [RA] Warn about packages with a list as the maintainer and no Uploaders. Thanks, Sune Vuorela. (Closes: #462635) + [RA] Remove the package-has-duplicate-relation test. It gets relations with different version strictness in different levels of dependency wrong and what it gets right dpkg-gencontrol strips out. * checks/files{.desc,}: + [RA] In many of the long descriptions for symlink-related tags, mention that running dh_link will fix symlink problems. + [RA] Fix a long-standing error in the regex checking for *.desktop files in /usr/share/gnome/apps that caused the tag to never be issued. Remove the check for /usr/share/applnk, since obsolete or not KDE appears to actively use it still. + [RA] Check for *.devhelp{2,} files not linked into devhelp's search path. Based on a patch by Bradley Smith. (Closes: #273309) + [RA] Warn about /etc/cron.{hourly,daily,weekly,monthly} scripts that won't be executed by run-parts because of periods in the name. Patch from Chris Lamb. (Closes: #458742) + [RA] Warn of .gitignore files installed by the package. Patch from Chris Lamb. (Closes: #459502) + [RA] Warn of more language extensions on files in the user's path. Patch from Chris Lamb. (Closes: #459514) + [RA] Remove the tag for empty Perl directories. The underlying issue is fixed in Perl 5.10; there's no need to add code to debian/rules when 5.10 is landing soon. (Closes: #463138) * checks/infofiles: + [RA] Don't issue unknown-intepreter for maintainer scripts with weird interpreters. checks/scripts already handles this and the tag wasn't defined. Thanks, Thijs Kinkhorst. (Closes: #460964) + [RA] Fix Perl warnings given a zero-byte maintainer script. Thanks, Thijs Kinkhorst. (Closes: #460966) * checks/init.d{.desc,}: + [RA] Downgrade a missing LSB Short-Description keyword to info since it's not required for functionality. Thanks, Petter Reinholdtsen. (Closes: #460499) * checks/manpages{.desc,}: + [RA] Make hyphen-used-as-minus-sign more conservative to avoid false positives with non-ASCII text and catch hyphens at the start of lines. Thanks, Michal Čihař. (Closes: #459871) + [CW] Use man's new --warnings option to catch use of undefined strings, macros, or diversions in manual pages, which usually indicate mistaken use of "." or "'" at the start of a line. This check is only enabled if man 2.5.1 or later is installed. (Closes: #377392) * checks/menu-format: + [RA] Avoid a Perl warning for desktop entries without Exec. + [RA] Fix a bug that prevented Exec keys in desktop files from being checked at all. Thanks, Raphael Geissert. (Closes: #462601) + [RA] Exempt packages providing the su wrappers from the check for using su-to-root. Thanks, Raphael Geissert. * checks/menus: + [RA] Don't issue unknown-interpreter for maintainer scripts with weird interpreters. + [RA] Fix Perl warnings given a zero-byte maintainer script. * checks/po-debconf: + [RA] Exclude from not-using-po-debconf template files with only the shared templates used for coordination with dictionaries-common. Thanks, Thomas Bushnell BSG. (Closes: #460731) * checks/rules.desc: + [RA] To fix an ignores-make-clean-error, suggest removing "-" for static makefiles. Thanks, Andrea Colangelo. (Closes: #458164) * checks/scripts{.desc,}: + [RA] Re-add php4-cli as a valid interpreter for those who want to maintain stable compatibility. Thanks, Thomas Goirand. + [RA] Be clearer in the tag name that php-cli dependencies should be versioned. Add more explanation to the long description of several interpreter tags about limitations and requested bug filings. + [RA] Remove tcl as a valid interpreter since tclx8.3 is obsolete. (tclsh is the standard interpreter name.) + [RA] Require versioned dependencies for OCaml scripts. Each version is ABI-incompatible. Thanks, Samuel Mimram. (Closes: #462065) + [RA] Add tcl and tk metapackages. Thanks, Sergei Golovan. (Closes: #463281) + [RA] Catch exec wrappers that use $* instead of $@ (not that this is a good idea). Thanks, Adam D. Barratt. (Closes: #463476) + [RA] Integrate several more bashism checks from checkbashisms in devscripts. Patch from Adam D. Barratt. (Closes: #464026) * debian/control: + [RA] Suggest man-db >= 2.5.1 for better warning support. + [RA] Wrap Uploaders. * frontend/lintian: + [RA] Include info tags in the broken-down description of the override count since they're included in the total. Based on a patch by Chris Lamb. (Closes: #459851) + [RA] Don't try to report overrides when not checking a package. Thanks, Håkon Stordahl. (Closes: #461978) + [RA] Cope with a relative path to the lab. Patch from Håkon Stordahl. (Closes: #461982) + [RA] Don't require *.changes files for source-only uploads to have a Description field. Thanks, Cyril Brulebois. (Closes: #462586) * lib/Spelling.pm: + [RA] Add spelling corrections for PostgreSQL and OCaml and lots of new capitalization corrections. (Closes: #460347) -- Russ Allbery Tue, 05 Feb 2008 21:07:30 -0800 lintian (1.23.42) unstable; urgency=low The "what did you do on your Christmas vacation?" release. * checks/binaries: + [RA] Don't warn about unstripped binaries in .../lib/debug. Some packages include debugging symbols in the main package. + [RA] Allow rpath pointing to /usr/lib/games/. Thanks, Bas Wijnen. (Closes: #456318) + [RA] Exclude nsswitch modules from multiple SONAME and package naming checks. * checks/changelog-file{.desc,}: + [RA] Don't spell-check lines that include the word "spelling". Thanks, Andreas Hoenen. (Closes: #456515) + [RA] Allow long no-whitespace lines even when spaces or bullets precede the text. * checks/common_data.pm: + [RA] Remove the obsolete base section. (Policy change pending). * checks/control-file{.desc,}: + [RA] Include the package name in stronger-dependency-implies-weaker. + [RA] Fix stronger-dependency-implies-weaker description cut and paste error. Thanks, Rafael Laboissiere. (Closes: #456405) * checks/copyright-file{.desc,}: + [RA] Warn about packages covered by the GPL and linked with libssl that don't list other common licenses or mention a license exception or exemption. Requested by Joerg Jaspert. (Closes: #454238) * checks/cruft: + [RA] Ignore debian/config.cache. * checks/debconf{.desc,}: + Remove partially-translated-question at the request of Christian Perrier. Only the translator could fix this, and debconf doesn't show the translation unless it's complete. (Closes: #459293) * checks/debian-readme{.desc,}: + Combine readme-debian-{is,contains}-debmake-template and be less particular about the exact formatting of the dh-make template. Triggering off the template text is enough and matches linda. Thanks, Joerg Jaspert. (Closes: #458074) * checks/description{.desc,}: + [RA] Do picky spelling and capitalization checks on the description and note and explain this in the long description. * checks/fields: + [RA] Handle double-colon rules when checking that build dependencies match debian/rules. (Closes: #457501) + [RA] Allow python-setuptools in Build-Depends for arch-independent Python packages. Thanks, Vincent Bernat. (Closes: #459042) * checks/fields.desc: + [RA] Remove X.X.X versions from the debian-revision-not-well-formed long description. (Closes: #456286) + [RA] Update references and binary-NMU version descriptions. * checks/files: + [RA] Ignore zero-length files in /usr/share/doc/examples. + [RA] The underFooLicense.docbook files from KDE are not license files. Thanks, Sune Vuorela. (Closes: #458831) + [RA] Allow /emul as a top-level directory and files in /emul/ia32-linux/{lib,usr/lib}. (Closes: #459254) * checks/files.desc: + [RA] Remove a stray variable from the config-file-reserved tag. * checks/init.d{.desc,}: + [RA] Warn on init scripts that list S in their Default-Stop LSB keyword. Thanks, Petter Reinholdtsen. (Closes: #458596) * checks/menu-format{.desc,}: + [RA] Fix non-wm-module-in-wm-modules-menu-section pluralization to match the check and reword the long description to be hopefully clearer. Thanks, Martín Ferrari. (Closes: #457527) + [RA] Warn about use of su wrappers other than su-to-root for desktop and Live CD support. Thanks, Daniel Baumann. (Closes: #453931) + [RA] Only check for desktop files in /usr/share/applications. The ones elsewhere are too strange. (Closes: #459252) * checks/menus{.desc,}: + [RA] Spelling errors in doc-base files should only be warnings. Do picky spelling and capitalization checks on the abstract and title fields. * checks/patch-systems: + [RA] dpatch permits multiple patches to be listed on the same line of 00list. Patch by Chris Lamb. (Closes: #457523) * checks/scripts{.desc,}: + [RA] Add lua40 and lua5.1. Thanks, Enrico Tassi. (Closes: #457219) + [RA] Improve recognition of heredocs. + [RA] Recognize quoted strings that start at beginning of the line. + [RA] Rewrite script path and dependency checking. Remove scripts and packages no longer in the archive. Add new versions of versioned scripts and packages. Fix the dependencies for pike interpreters. (Closes: #458896) + [RA] Reformat long descriptions and collapse some tags. + [RA] For consistent results, only syntax-check sh and bash scripts. Also ignore all dpatch files, not just those in /usr/src. * checks/shared-libs{.desc,}: + [RA] New check for version numbers in symbol files. Based on a patch from Raphael Hertzog. (Closes: #457067) + [RA] Exclude nsswitch modules from shlibs file checks. + [RA] ld.so may also look in /emul/ia32-linux/{lib,usr/lib}. * debian/control: + [RA] Suggest libtext-template-perl, needed for HTML reporting. * debian/copyright: + [RA] Add my copyright statement. + [RA] Reference GPL-2, not the GPL symlink, reflecting our license. * frontend/lintian: + [RA] Merge all override messages into a single message per run. Add -q/--quiet option to suppress that message. (Closes: #457513) + [RA] Allow + and . in tag names in overrides. Thanks, Stefan Fritsch. (Closes: #454790) + [RA] Check that the argument to --color is valid. + [RA] Warn about no package arguments unless --setup-lab or --remove-lab are given. Thanks, Damyan Ivanov. (Closes: #455732) + [RA] Add support for HTML coloring. (Closes: #458376) * frontend/lintian-info: + [RA] Allow for HTML color tags. + [RA] Add -a to annotate an override file. * lib/Dep.pm: + [RA] Allow substvars instead of package names so that dependency checks against the source debian/control file don't treat all substvars as equivalent. Thanks, Julien Cristau. (Closes: #456802) * lib/Spelling.pm: + [RA] Stop doing capitalization checks on all files; there's too much of a risk of false positives. Instead, provide a separate picky spelling check function for package descriptions and similar cases where we're more sure of the contents. + [RA] Expand the picky capitalization checks to catch Debian, GNOME, KDE, and Linux. (Closes: #456582) * lib/Tags.pm: + [RA] Add support for HTML coloring. * man/lintian.1: + [RA] Document the --color=html and -q/--quiet options. * man/lintian-info.1: + [RA] Document the --annotate option. * reporting/html_reports: + [RA] Rewritten. - Include info, experimental, and overridden tags in the tag pages. - Generate a second report for each maintainer showing all tags. - Correctly handle multiple different maintainer strings with the same e-mail address. - Correctly report the version number of a binary package when it differs from the source package. (Closes: #458036) - Formatting changes (hopefully improvements) to the web pages. - New template-driven system for easier revision of the HTML. * reporting/lintian.css: + [RA] New minimal style sheet for the HTML reports. * reporting/templates/*: + [RA] New Text::Template page templates for the HTML reports. * testset/runtests: + [RA] Test tags for valid characters. -- Russ Allbery Sat, 05 Jan 2008 17:16:32 -0800 lintian (1.23.41) unstable; urgency=low The "it would be lovely if there were an actual desktop file standard" release. * checks/*.desc: + [RA] Escape all literal angle brackets and fix unclosed and unknown HTML tags. Based on a patch by Thijs Kinkhorst. (Closes: #455211) * checks/field{.desc,}: + [FL] Add some checks for the Homepage field: - warn about enclosing < and > - warn about non-absolute URLs * checks/menu-format{.desc,}: + [RA] Add Actions to the KDE-specific desktop file keys. Add Application as an acceptable Main Category even though it's not listed in the standard; given how widely it's used, it doesn't appear to be worth warning about right now. (Closes: #444651) + [RA] Add GNUstep as an acceptable Main Category, since it's used as a non-standard category by GNUstep applications. + [RA] Warn about desktop files containing CRLF line endings (and then strip the CR for later checks). The standard is explicit that each line ends in only LF. * debian/control: + [FL] Add liburi-perl to Depends for the Homepage checks. + [RA] Wrap Depends for readability. * testset/runtests: + [RA] Check all tag descriptions for unknown or unclosed HTML tags and for stray angle brackets. -- Russ Allbery Sun, 09 Dec 2007 20:03:03 -0800 lintian (1.23.40) unstable; urgency=low The "Russ's brown paper bag bug" release. * checks/doc-base: + [RA] My mistaken precedence fiddling with the doc-base checks caused them to warn about every abstract containing a period. Patch from Chris Lamb. (Closes: #454941) * lib/Spelling.pm: + [RA] Add common mistakes for publicly and spelling. -- Russ Allbery Sat, 08 Dec 2007 12:15:33 -0800 lintian (1.23.39) unstable; urgency=low The "Ubuntu and doc-base patch merge, with extra fixes" release. * checks/*.desc: + [RA] Remove the unused Standards-Version header. * checks/changelog-file{.desc,}: + [RA] Check the latest entry of the Debian changelog and any NEWS.Debian file for common spelling errors. (Closes: #36017) + [RA] If this looks like a new package (Debian revision of -1 and only one changelog entry), warn if it doesn't close a bug. Thanks, Margarita Manterola. (Closes: #356051) + [RA] Check for lines over 80 columns in the most recent entry. Thanks, Guillem Jover. (Closes: #435963) * checks/copyright-file{.desc,}: + [RA] Moved spelling-error-in-copyright check to here. * checks/debconf: + [RA] Go back to not warning about "no" in boolean debconf questions. The word is too common in normal English prose for reasons other than assuming a particular debconf interface. Thanks, Rafael Laboissiere. (Closes: #453177) * checks/debian-readme{.desc,}: + [RA] Moved spelling-error-in-readme-debian check to here. * checks/description{.desc,}: + [RA] Moved spelling-error-in-description check to here. * checks/fields: + [RA] Python documentation packages should still be in section doc. Thanks, Michal Čihař. (Closes: #454688) + [RA] Warn about lib.*-dev packages not in section libdevel. + [RA] Warn about debug packages that aren't priority: extra. Thanks, Joerg Jaspert. (Closes: #454358) + [RA] Ignore Original-Maintainer if the version contains ubuntu. + [RA] Only warn about Section for Python packages starting with python-, not py, since py picks up too many things that aren't Python modules. + [RA] Only warn about Section for Perl packages matching lib.*-perl to avoid false positives for things like dh-make-perl. Thanks, Damyan Ivanov. (Closes: #454723) * checks/files: + [RA] Warn about packages providing files in /usr/lib/debug that aren't named -dbg. Thanks, Joerg Jaspert. * checks/lintian.desc: + [RA] Add bad-ubuntu-distribution-in-changes-file, merged from the Ubuntu patch. + [RA] Fix the malformed-override long description. Thanks, Stefan Fritsch. * checks/menus{.desc,}: + [RA] Substantial overhaul and expansion of the doc-base control file checks. Patch from Robert Luberda. (Closes: #448783) * checks/nmu: + [RA] No packages with ubuntu in the version number are NMUs. Merged from the Ubuntu patch. * checks/patch-systems: + [RA] Ignore blank lines in 00list and don't report them as patches without descriptions. Thanks, Julien BLACHE. (Closes: #454730) * checks/spelling{.desc,}: + [RA] Subsumed into other check scripts and lib/Spelling.pm. * frontend/lintian: + [RA] If the version number indicates an Ubuntu package, check against a different list of allowable distributions. Merged from the Ubuntu patch. + [RA] Skip check and collection *.desc files whose names start with a period (mostly to avoid testing artifacts from editor lock files). + [RA] Restore previous override parsing and make the package name optional again. Thanks, Stefan Fritsch. (Closes: #454790) + [RA] Check overrides for implausible tags. * lib/Spelling.pm: + [RA] New module to do general spelling checks for specific misspellings. Based on the previous checks/spelling and a patch by Robert Luberda. -- Russ Allbery Fri, 07 Dec 2007 22:12:56 -0800 lintian (1.23.38) unstable; urgency=low * The "HE's brown paper bag bug" release * checks/changelog-file: + [RA] Don't warn about version numbers going backwards in the changelog file if the comment says this is a backport. * checks/patch-systems: + [FL] Try appending .dpatch to patchnames found in 00list. Patch by Leo Antunes. (Closes: #454516, #454518) * lib/Dep.pm: + [FL] Fix "uninitialized value" warning in pred_implies(). -- Russ Allbery Wed, 05 Dec 2007 17:21:44 -0800 lintian (1.23.37) unstable; urgency=low The "Policy 3.7.3" release. * checks/binaries: + [HE] Fix RegEx to re-enable 'binary-in-etc' and 'arch-dependent-file-in-usr-share' checks. (Closes: #452336) + [HE] When checking that a lib is linked against libc, search for libc.so, not any library beginning with libc. Thanks for the bug and patch to Ruben Porras . (Closes: #448652) + [RA] Ignore the gf suffix from the gfortran migration when checking whether the package name matches the SONAME. Thanks, Kevin B. McCarty. (Closes: #448207) * checks/changelog-file{.desc,}: + [RA] Check that the latest changelog entry has a later version than the previous entry. Thanks, Thijs Kinkhorst. (Closes: #449257) * checks/common_data.pm: + [RA] Add Dm-Upload-Allowed as a control field. (Closes: #453779) * checks/control-file{.desc,}: + [RA] Diagnose stronger dependencies that imply weaker dependencies, such as the same dependency in both Depends and Recommends or Recommends and Suggests. Thanks, Joerg Jaspert. (Closes: #453302) + [RA] Upgrade no-section-field-for-source to warning at the request of Joerg Jaspert. * checks/control-files: + [RA] Add symbols as a known control file for debs and udebs. * checks/copyright-file: + [HE] Check that encoding of copyright file is UTF-8. Patch by gregor herrmann . (Closes: #451689) + [HE] Add warning copyright-contains-dh_make-todo-boilerplate if the maintainer left the dh_make boilerplate in the copyright file. Based on patch by Cyril Brulebois . (Closes: #448677) + [RA] Check for the complete GFDL included in the copyright file and expand copyright-file-contains-full-gpl-license to look for GPL v3 references. Also check for correct references to common-licenses for the GFDL and LGPL. * checks/deb-format: + [HE] Remove, not needed any more. (Closes: #447257) * checks/debconf: + [HE] Explicitly allow the phrase "no longer" in boolean debconf questions. (Closes: #447718) * checks/description.desc: + [RA] Upgrade the legacy Homepage tag to a warning. * checks/fields: + [HE] Add 'doc-package-should-be-section-doc', 'python-package-should-be-section-python', 'perl-package-should-be-section-perl'. Ideas shamelessy stolen from linda. (Closes: #452839) + [RA] Allow Python dependencies in Build-Depends when using another variant for calling Python in the clean target. Thanks, Bernd Zeimetz. (Closes: #444642) * checks/files{.desc,}: + [HE,RA] Add 'package-contains-empty-directory' check, but ignore dirs in /var and /etc and handle /usr/lib/perl5 and /usr/share/perl5 directories separately with a lower priority level since they're very common. (Closes: #452316, #357838) + [HE] Add checks for game packages that contain no game executables (package-section-games-but-contains-no-game) or that contain anything in usr/bin at all, which is usually a mistake. (package-section-games-but-contains-no-game). (Closes: #451668) + [RA] Downgrade symlink-should-be-relative to a warning since it's a Policy should. Thanks, Thijs Kinkhorst. (Closes: #454239) * checks/lintian.desc: + [RA] Add critical as a recognized urgency. * checks/patch-systems: + [HE] Add complete new check script, intended to check for usual problems when using patch systems. Start with three checks for common dpatch problems. Idea loosely based on patch by Carl Fürstenberg . (Closes: #437959) * checks/po-debconf.desc: + [RA] not-using-po-debconf is now an error per Policy section 3.9.1. * checks/rules: + [HE] Implement 'binary-arch-rules-but-pkg-is-arch-indep', checking for rules in binary-arch when the package is arch: all. (Closes: #409109, #119097) + [HE] Implement 'desktop-file-but-no-dh_desktop-call', checking for missing dh_desktop calls when .desktop files are installed in a debhelperized package. (Closes: #409138) * checks/scripts: + [HE] Allow packages to drop snippets into /etc/csh/login.d without a dependency on csh. Files there should also be allowed to have csh in the shebang line. (Closes: #453417) + [HE] Allow packages to drop snippets into /etc/fish.d/ without a dependecy on fish. (Closes: #453416) + [RA] Remove possible-non-posix-code-in-maintainer-script entirely. Debian Policy now allows local and test -a/-o specifically and this is pointless portability. * checks/standards-version: + [RA] 3.7.3 is now the current Standards-Version and anything older than 3.6.2 is ancient. * debian/control: + [TK] Add Vcs-* fields to point to Lintian's repository. + [RA] Update standards version to 3.7.3. * debian/dirs: + [RA] Stop creating empty /usr/share/lintian/{overrides,info} directories. The latter is no longer used and the former is shipped with packages that include overrides. * frontend/lintian: + [RA] Add critical as a recognized urgency. + [RA] Diagnose malformed override entries; don't just ignore them. + [RA] Fix some odd formatting. + [RA] Display a summary of overridden tags as an N: output line. Requested by Steve McIntyre. (Closes: #452804) * man/lintian.1: + [RA] Be clearer about what files lintian takes as arguments; in particular, mention that source packages are checked by providing the .dsc file as an argument. (Closes: #441636) + [RA] Fix a slight spacing problem with the --color flag. + [RA] Remove mention of unused /usr/share/lintian/info directory. * lib/DebVersions.pm: + [RA] Remove. This isn't used by anything and would produce incorrect results (it doesn't understand ~), and Dep.pm provides version comparison routines that use dpkg. * lib/Tags.pm: + [RA] Keep statistics on overrides by severity. * reporting/html_reports: + [RA] Change the layout of the per-maintainer lintian pages. Now, each report will be in /reports/maintainer/.html where is the maintainer's e-mail address with unsafe characters replaced by _. This should allow better links from the QA pages. Thanks, Stefano Zacchiroli. * unpack/list-srcpkg: + [RA] Escape ; and newline characters in all package fields before writing them to the index (uncovered when someone accidentally appended a package description to Standards-Version). -- Russ Allbery Tue, 04 Dec 2007 16:43:13 -0800 lintian (1.23.36) unstable; urgency=low The "grand open change and desktop cleanup" release. * {checks,collection,depcheck,frontend,lib,reporting,unpack}/*: + [RA] Use the three-argument form of open uniformly, whether needed or not, to head off further quoting and whitespace interpretation bugs. * checks/files{.desc,}: + [RA] Catch .DS_Store.gz files as well. + [RA] Warn about ._ Mac OS X resource files in the package. + [RA] Add a hopefully helpful note about how cruft from other operating systems can show up in binary packages. * checks/menu-format: + [RA] Fix detection of commands for menu entries when the command is given with its full path. (Closes: #446796) + [RA] Remove Actions from known desktop keys again, as I believe the root problem was our willingness to inspect desktop types other than Application (also fixed in the previous release). + [RA] Fix Perl flow error when skipping some desktop files. + [RA] Skip unknown and deprecated key warnings and encoding key warnings in desktop files if they were of an unknown type. * lib/Dep.pm: + [RA] Fix negative implication in some boundary cases when comparing two versioned relationships in the same direction. Thanks to Raphael Hertzog for the analysis and fix. (Closes: #446768) -- Russ Allbery Mon, 15 Oct 2007 21:23:16 -0700 lintian (1.23.35) unstable; urgency=low The "frantic bug catchup" release. * checks/changelog-file{.desc,}: + [RA] Add some basic checks for NEWS.Debian files: naming, compression, encoding, a syntax check with Parse::DebianChangelog, and unreleased for the distribution. (Closes: #437707) * checks/common_data.pm: + [RA] Allow Homepage in source and binary packages. * checks/control-file: + [RA] Support and ignore comments in debian/control. Thanks, Julien Cristau. (Closes: #440830) + [RA] Check for XS-Vcs-* headers and recommend (at info level) that they be changed to Vcs-* headers. (Closes: #444661) * checks/cruft.desc: + [RA] Fix incorrect tag name for patch failure files. Thanks, Romain Francoise. (Closes: #437463) * checks/debconf: + [RA] A cdebconf that supported error was released with sarge, so don't require a versioned cdebconf dependency. Thanks, Thijs Kinkhorst. (Closes: #438860) + [RA] Various improvements from Thomas Huriaux: Diagnose select templates with only yes/no options, diagnose more question prompts, warn on any questions in the extended description, allow yes/no mentions in non-boolean templates, and catch more first-person language. (Closes: #439508) + [RA] More exactly follow the Developer's Reference recommendations by only requiring open prompts for string and password prompts and only complaining about imperative wording for select and multiselect templates. Thanks, Steve Langasek. (Closes: #442711) * checks/description{.desc,}: + [RA] Warn (at info level for now) about Homepage pseudo-fields in the extended description. (Closes: #444336) * checks/fields: + [RA] Allow python-all as yet another way of satisfying a Python build dependency. (Closes: #444642) * checks/fields.desc: + [RA] Properly escape < and >. * checks/files{.desc,}: + [RA] Warn about Thumbs.db files, which are usually useless Windows thumbnail databases. Thanks, Paul Wise. (Closes: #438202) + [RA] Warn about .DS_Store files, used by Mac OS X to store extended folder attributes. Thanks, Paul Wise. (Closes: #438203) + [RA] Improve the recommended command to remove .packlist files. Thanks, Justin Pryzby. + [RA] Don't think hard links are zero-length files. + [RA] Diagnose files with names ending in whitespace. * checks/infofiles: + [RA] Emacs 22 now allows embedded images in info files, so accept and ignore PNG files in the info directory. More image types may be needed. Thanks, Andreas Metzler. (Closes: #438602) * checks/menu-format{.desc,}: + [RA] Reserved categories are okay in .desktop files if OnlyShowIn is present, and generally deserve their own separate tag regardless. Thanks, Michael Biebl. (Closes: #442709) + [RA] Ignore categories beginning with "X-", reserved for category extensions. Thanks, Josselin Mouette. (Closes: #443827) + [RA] Allow Actions keys. This isn't in the desktop standard but is widely used. Thanks, Raphael Geissert. (Closes: #444651) + [RA] Ignore desktop files not for one of the known types. This should significantly reduce the noise for KDE packages. + [RA] Only check whether a program referenced by Exec is in the package if the desktop file is in /usr/share/applications. Too many applications use Exec for desktop files elsewhere without the standard PATH. + [RA] Ignore Exec fields pointing to kcmshell. + [RA] Ignore desktop files in /usr/share/doc or that appear to be templates. + [RA] Avoid uninitialized warnings on all-whitespace commands. * checks/menus: + [RA] Find the targets of hard links correctly. (Closes: #444355) + [RA] Use the three-argument form of open to not fail on doc-base files ending in whitespace. Error on doc-base files with Document fields that end in whitespace, since currently they break multiple tools. Thanks, Ian Zimmerman. (Closes: #444889) * checks/nmu.desc: + [RA] Remove obsolete note about binary NMUs. Patch from Thijs Kinkhorst. (Closes: #437925) * checks/scripts{.desc,}: + [RA] We now have a csh package. Allow it as an alternative for csh script dependencies. Thanks, Bernd Zeimetz. (Closes: #440825) + [RA] Allow install-sgmlcatalog --remove in postinst as well as prerm and suggest removing it entirely in the long description. * checks/version-substvars.desc: + [RA] Properly escape < and >. * collection/changelog-file{.desc,}: + [RA] Collect NEWS.Debian as well as changelog. -- Russ Allbery Sun, 14 Oct 2007 22:29:51 -0700 lintian (1.23.34) unstable; urgency=low The "brown paper operator" release. * frontend/lintian: + [RA] Use =~ with regexes, not eq. Thanks, Guillem Jover. (Closes: #436180) -- Russ Allbery Sun, 05 Aug 2007 19:58:38 -0700 lintian (1.23.33) unstable; urgency=low The "menu and cruft reorganization" release. * checks/common_data.pm: + [CW] Add automaken as a known virtual package. + [CW] Update architectures to dpkg 1.14.5, adding solaris-* and lpia. + [RA] Add %known_obsolete_emacs. * checks/cruft{.desc,}: + [RA] Check for .git directories in source packages. Thanks, Julien Cristau. (Closes: #433516) + [RA] Substantially rewrite how all cruft checking against source packages is done, incorporating debdiff in the process. There are now two tags for most source package cruft problems: one for files introduced in the Debian diff or in a native package, and one for files present upstream. The former is at warning severity and the latter is at info severity, since it's usually not worth repackaging the upstream source to remove such files. In the process, standardize the names of all of the tags and pull the regexes out into data instead of code for easier maintenance. (Closes: #434744) * checks/debdiff{.desc}: + [RA] Removed, incorporated into checks/cruft. * checks/debian-readme: + [RA] Replace all uses of tag_error and tag_warn with just tag. * checks/fields{.desc,}: + [RA] Tag packages listing emacs21 as the preferred Emacs flavor in a dependency. Thanks, Tatsuya Kinoshita. (Closes: #434978) + [RA] Start tagging unversioned dependencies on coreutils again since the transition from fileutils is long-since finished. Thanks, Guillem Jover. (Closes: #436058) * checks/files{.desc,}: + [RA] Check for .git directories in binary packages. * checks/menu-format{.desc,}: + [RA] Switch to the new menu hierarchy, which will be in the next release of Policy. Add specific checks for the major renamings to hopefully cut down on the confusion and provide some specific guidance. Remove the code that allowed for applications to create new sub-menus, since the current menu documentation says not to do that. (Closes: #431844) + [RA] Add checks of desktop files. The checks so far are basic, but do include key and category verification. Based heavily on work by Javier Fernández-Sanguino Peña. (Closes: #277441, #433411) * checks/scripts{.desc,}: + [RA] If rm output is redirected to /dev/null, don't think that rm is removing /dev/null. Thanks, Robert Luberda. (Closes: #431259) + [RA] xjed also provides jed-script. Thanks, Jörg Sommer. (Closes: #431629) + [RA] Don't complain about ruby libraries in /usr/lib/ruby that have shebang lines. This is a common means for embedding unit tests in Ruby libraries. Thanks, Paul van Tilburg. (Closes: #431545) + [RA] Don't push depending directly on update-inetd in the long description of maintainer-script-needs-depends-on-update-inetd. Most packages should depend on inet-superserver. Leave the check the same for the time being, however. + [RA] Replace all uses of tag_error and tag_warn with just tag. * checks/shared-libs: + [RA] Exclude udebs from dependency checking in the shlibs files since binary packages may legitimately declare udeb dependencies on other packages. Thanks, Loïc Minier. (Closes: #431395) * checks/spelling: + [RA] Replace all uses of tag_error and tag_warn with just tag. * checks/version-substvars: + [RA] Don't skip other checks for binNMUability when warning about the deprecated ${Source-Version} substvar. Thanks, Lior Kaplan. (Closes: #432959) * frontend/lintian: + [RA] Add \w+-backports to the known distribution list. Thanks, Vincent Danjean. (Closes: #432268) * lib/Tags.pm: + [RA] Replace any newlines in the extra information to the tag function with \n. * man/lintian.1: + [RA] Remove the mention of the debdiff check script. -- Russ Allbery Sun, 05 Aug 2007 11:59:15 -0700 lintian (1.23.32) unstable; urgency=low The "stability of output" release. * checks/binaries: + [RA] Sort the package SONAMEs to provide more stable lintian tags. Patch from Cyril Brulebois. (Closes: #428681) * checks/files{.desc,}: + [RA] Limit the Zope license exception to only .dtml, .pt, and .cpt files. Thanks, Bernd Zeimetz. + [RA] Sort the files listed in package-contains-hardlink so that the lintian output is stable regardless of the hash order of the directory when the tar file was built. + [RA] Don't incorrectly skip all other file location checks for hard links. + [RA] Check for files installed in /usr/lib/sgml. This transition was probably completed long ago, but checking for regression can't hurt. (Closes: #90019) * checks/manpages{.desc,}: + [RA] Check for dh_make man page templates (by looking for the template whatis entry). Thanks, Bill Allombert. (Closes: #173583) * checks/menus: + [RA] Avoid a quadratic search of the files in the package on doc-base files that list tons of files individually. This speeds up a lintian check of openoffice.org-dev-doc enormously. * checks/po-debconf: + [RA] Close the template file handle between files so that the line numbers for translated default fields are correct. * checks/rules{.desc,}: + [RA] Check for ignoring all errors from make clean or make distclean and recommend skipping the call if there's no Makefile instead. Thanks, Branden Robinson. (Closes: #325372) * checks/scripts{.desc,}: + [RA] Add Octave as an interpreter, and allow both versioned and unversioned forms. Thanks, Sebastian Harl. (Closes: #428403) + [RA] Check for deprecated install-sgmlcatalog usage. * checks/shared_libs: + [RA] Report the correct file for shlib-with-nonpic-code rather than the last shlib in the package. (Closes: #429840, #429528) * frontend/lintian: + [RA] Don't require -v in order to report unused overrides; they're already info-level tags, which is enough hiding. + [RA] Remove old dead unused override code. * reporting/html_reports: + [RA] Fix a Perl warning when generating the clean maintainer pages. * unpack/unpack-binpkg-l1: + [RA] Sort the output of tar tfv by filename so that the lintian output will be stable regardless of the hash order of the directory when the tar file was built. -- Russ Allbery Thu, 21 Jun 2007 01:47:53 -0700 lintian (1.23.31) unstable; urgency=low The "back under 100 open bugs" release. * checks/changelog-file: + [RA] Only check for missing colons in bug closers in the most recent changelog entry. Thanks, Thijs Kinkhorst. (Closes: #423171) * checks/common_data.pm: + [RA] Update architectures to dpkg 1.14.1. Remove all linux-* architectures and add armel. (Closes: #421995) * checks/control-files.desc: + [RA] Change unknown-control-file to a warning, since Policy only discourages it and doesn't outlaw it. (Closes: #287209) * checks/cruft: + [RA] Allow any automake package to satisfy the autotools-dev build dependency for suppressing warnings about out of date autotools helper files. (Closes: #417067) * checks/fields: + [RA] Require libmodule-build-perl in Build-Depends if the clean rule runs perl Build. Hopefully this isn't too aggressive. Thanks, Ian Beckwith. (Closes: #421549) * checks/files: + [RA] Don't warn about LICENSE files in Zope products, since they may be used for runtime display. (Closes: #424164) * checks/manpages: + [RA] Avoid false positives on binaries with X11 in the name. Patch from Kevin B. McCarty. (Closes: #423229) * checks/menu-format.desc: + [RA] Improve the pkg-not-in-package-test long description and add a manual reference. (Closes: #423519) * checks/menus: + [RA] Allow multiple blank lines between doc-base sections and trailing blank lines in the file. doc-base is fine with this. Reported by Luis Rodrigo Gallardo Cruz. (Closes: #423096) * checks/scripts: + [RA] Add pagsh, provided by openafs-client and heimdal-clients. + [RA] Diagnose removal of device files in maintainer scripts per Policy 10.6. (Closes: #268688) + [RA] Add jruby1.0. Thanks, Sebastien Delafond. (Closes: #426950) + [RA] Add jed and friends. Thanks, Jörg Sommer. (Closes: #426469) + [RA] Move several maintainer script checks specific to shell scripts inside the conditional so that they won't run on maintainer scripts not written in shell. + [RA] Diagnose maintainer scripts looking at /var/lib/dpkg/status directly. Thanks, Guillem Jover. (Closes: #426628) + [RA] Diagnose direct modifications to /etc/services, /etc/protocols, /etc/rpc, and /etc/inetd.conf in maintainer scripts. (Yes, an eight-year-old bug!) (Closes: #32532) * checks/version-substvars{.desc,}: + [RA] Add a check for deprecated ${Source-Version} substvars. Patch from Guillem Jover. (Closes: #427577) * frontend/lintian-info: + [CW] Fix uninitialized value warning after reading a blank line. -- Russ Allbery Mon, 04 Jun 2007 20:29:55 -0700 lintian (1.23.30) unstable; urgency=low The "beating false positives off with a stick" release. * checks/common_data.pm: + [RA] Add mktemp and sysvinit-utils as known essential packages. + [RA] Add Vcs-Mtn and Vcs-Browser to the known source package fields. + [RA] Add Kernel-Version to known udeb control fields. * checks/control-files: + [RA] Allow clilibs, but don't try to check the syntax of it yet. Thanks, Sebastian Dröge. (Closes: #378088) * checks/copyright-file: + [RA] Exclude the Affero General Public License from the check for references to the shared GPL copy. (Closes: #420077) + [RA] Replace yet another hand-rolled dependency parser with Dep. * checks/cruft{.desc,}: + [RA] Check for svk commit message files. * checks/debconf{.desc,}: + [RA] Remove the dependency check for SETTITLE since all debconf implementations back to oldstable support it. + [RA] Reduce the dependency check for error templates to info since all debconf implementations back to stable support it. * checks/debhelper{.desc,}: + [RA] Downgrade the dependency check for dh_python and the Python policy to info since all debhelpers back to stable support it. + [RA] Downgrade the dependency check for compatibility level V5 to info since all debhelpers back to stable support it. * checks/fields{.desc,}: + [RA] The CDBS Python rules only call pycentral or pysupport during the binary targets, so those dependencies can be safely moved to Build-Depends-Indep. Still allow them in Build-Depends, though, since that's where CDBS likes to put them. Thanks, Tristan Seligmann. (Closes: #420526) + [RA] Allow the Python core packages themselves to depend on python-minimal. + [RA] Remove the version constraints for python-central and python-support dependencies since stable released with a working version and they weren't in oldstable. + [RA] Remove the dependency check on dh_installxfonts for the X.Org transition since the debhelper released with stable does the right thing and this dependency is not useful for backports to oldstable. + [RA] Remove the version on the quilt dependency check. It's not worth the effort to maintain a separate version check for oldstable backports. (Closes: #420160) * checks/files{.desc,}: + [RA] Check for svk commit message files. + [RA] Don't consider {copying,license}.dtd extra license files; the Mozilla suite uses them for non-licenses. (Closes: #420558) + [RA] Use $pkg rather than reading fields/package for the x11-common pre-depend check. + [RA] Allow x11-common to install /usr/X11R6/bin. + [RA] Downgrade the pre-depends on x11-common requirement for packages installing into /usr/include/X11 or /usr/lib/X11 to info since it's only needed for upgrades from sarge or early etch. * checks/md5sums: + [RA] Don't warn about a missing md5sums file if the package contains nothing for which we would generate an MD5 checksum. Thanks, Andreas Beckmann. (Closes: #420465) * checks/manpages: + [RA] Cope with more uses of - in *roff escapes that don't need hyphen warnings. + [RA] Don't consider a binary an X binary if it's a symlink into /etc/X11. (seyon does something weird but probably legitimate.) + [RA] Fix manpage-for-non-x11-binary-in-wrong-directory and manpage-for-x11-binary-in-wrong-directory output. (Closes: #295072) * checks/menus{.desc,}: + [RA] In doc-base control files, check for Index fields for HTML and Info documents and require that each section after the header have a Format field. Thanks, Bernhard R. Link. (Closes: #419847) * checks/rules: + [RA] Listing a rule as a dependency of .PHONY is sufficient to mark it as present for GNU make and hence sufficient for Policy's requirement. Thanks, Peter Eisentraut. (Closes: #419446) * checks/scripts{.desc,}: + [RA] Packages calling update-xmlcatalog must depend on xml-core. Also avoid false positives when a package itself provides the program its maintainer scripts use. Thanks, Daniel Leidert. (Closes: #419461) + [RA] Check for maintainer scripts calling read (but exclude those that include /usr/share/debconf/confmodule on the grounds that they're probably only using it as a fallback). Based on a patch by Luk Claes. (Closes: #231770) + [RA] Add pike7.6 and ruby1.9 as valid interpreters. + [RA] Diagnose use of /bin/env with a more specific message than the generic unusual interpreter tag. + [RA] Remove the version constraint on the gconf-schemas check since all versions of gconf2 back to stable provide this script and it's not worth maintaining a separate check for oldstable backports. * checks/shared-libs{.desc,}: + [RA] Warn if a package declares dependencies in its shlibs control file that cannot be satisfied by that package (including via Provides). (Closes: #56440) * reporting/harness: + [RA] Include overridden tags in the lintian output so that we can do statistical reporting on them and see them in lintian.log. * reporting/html_reports: + [RA] Create stub pages for maintainers with only lintian-clean packages. (Closes: #305173) + [RA] Sort packages on each maintainer's page. + [RA] Report statistics on info tags as well. + [RA] Generate better file names for maintainer pages with weird characters. + [RA] Fix Perl warnings. -- Russ Allbery Sat, 28 Apr 2007 16:31:31 -0700 lintian (1.23.29) unstable; urgency=low The "look at all the stuff that accumulated during the etch freeze" release. * COPYING: + [CW] Update to current text of GPL v2 (which talks about the GNU Lesser General Public License rather than Library, etc.; no functional changes). * checks/changelog-file{.desc,}: + [RA] Check for bug closers without a colon after closes, but only if there are at least six digits in the bug number and no non-digits. Suggestion from Jari Aalto. (Closes: #373918) * checks/copyright-file{.desc,}: + [JA] Update usr-doc-* test to report user-share-doc-* instead. New tests added: postinst-should-not-set-usr-doc-link, doc-base-file-references-usr-doc. Patch from Thijs Kinkhorst. (Closes: #406349). * checks/common_data.pm: + [JA] Perl syntax corrections. + [JA] Support the Autobuild: and Vcs-* fields in .dsc files. Applied patch to implement this by Ian Beckwith. (Closes: #403553). * checks/control-file: + [RA] Allow source in main to generate contrib packages. Thanks, Bdale Garbee. (Closes: #401881) * checks/cruft{.desc,}: + [RA] Use Dep to check autotools-dev build dependency rather than rolling our own dependency parsing, thus avoiding problems when it's the first dependency. Thanks, Tilman Koschnick. (Closes: #412406) + [RA] Mention that including CVS or .svn directories in a release tarball should generally be reported as an upstream bug. Qualify the statement that export should be used instead of checkout to refer to snapshot packaging. Thanks, Jari Aalto. (Closes: #373668) + [RA] Allow a build dependency on automake to satisfy the autotools-dev requirement since users may use autoreconf to update config.{sub,guess}. Thanks, Jordà Polo. (Closes: #417067) * checks/debconf: + [RA] Rather than munging dependencies to cope with the various implementations of debconf, take advantage of our new dependency comparison routines and check the full correct dependency. This should really fix problems with checking the dependencies for settitle. Patch from Damyan Ivanov. (Closes: #349616) + [RA] Check that an appropriate versioned dependency on debconf and/or cdebconf is present if error template types are used. Thanks, Christian Perrier. (Closes: #416140) * checks/debhelper.desc: + [RA] Use consistent file naming when diagnosing possibly conflicting debhelper compat settings. Thanks, Jari Aalto. (Closes: #409122) * checks/fields{.desc,}: + [RA] Add an exception to maintainer-not-full-name for Wookey and a comment to consider removing the check if we get more false positives. Thanks, Neil Williams. (Closes: #406731) + [RA] Rename build-depends-indep-should-be-build-depends to clean-should-be-satisfied-by-build-depends to make the reason for the message clearer without running lintian -i. Thanks to Osamu Aoki for the suggestion. (Closes: #405840) + [RA] Recognize the +bX convention for binary NMUs. Warn about use of the old three-part version numbers. * checks/files{.desc,}: + [RA] Diagnose creation of subdirectories of /usr/bin other than mh and the legacy X11 directory. (Closes: #417912) * checks/manpages: + [RA] When checking for hyphen used as a minus sign, avoid false positives on \s-1 (small font) and \*(-- (pod2man long dash). + [RA] Display the full path for binary-without-manpage tags to make it easier to track down problems. + [RA] Ignore binaries in subdirectories of the normal binary directories (other than /usr/bin/X11 and /usr/bin/mh). These should be caught by other checks and the man page warnings would likely be confusing noise. * checks/menu-format{.desc,}: + [RA] If a menu icon isn't an absolute path, only look for it in /usr/share/pixmaps, not in the old X11R6 paths. Update the long tag description accordingly. * checks/menus: + [JA] Perl syntax corrections. Removed extra empty newlines. * checks/lintian.desc: + [RA] List emergency as a valid urgency. * checks/nmu{.desc,}: + [RA] List the exact phrases recognized by lintian as marking an NMU. Reported by Jari Aalto. (Closes: #409108) + [RA] Recognize the +bX convention for binary NMUs. * checks/po-debconf: + [RA] Now that we're passing --use-untranslated to msgcmp, we have to compare the generated pot file with the one in the package both directions to catch all out of date errors. Thanks, Thomas Huriaux. (Closes: #402662) * checks/rules{.desc,}: + [RA] Fix the policy section for debian-rules-missing-required-target and debian-rules-not-a-makefile. Thanks, Daniel Kahn Gillmor. (Closes: #414964) + [RA] Warn about use of $(PWD) instead of $(CURDIR). + [RA] Setting DH_COMPAT globally in debian/rules is now deprecated in favor of debian/compat. Patch from Luk Claes. (Closes: #330025) * checks/scripts{.desc,}: + [RA] update-inetd is now its own package and netbase may not always depend on it. Update the check to require a dependency on update-inetd, inet-superserver, or one of the inet-superserver packages that provides update-inetd. Reported by Tatsuya Kinoshita. (Closes: #402319) + [RA] Mention SUSv3 in the bashism and non-posix tag descriptions, note that use of test -a/-o and local aren't bugs but may still be worth avoiding, and mention short circuiting of && and ||. (Thanks to Jari Aalto for the latter). + [RA] Add /usr/bin/gbr2, provided by gambas2-runtime. Thanks, José "L. Redrejo" Rodríguez. (Closes: #403515) + [RA] Add /usr/bin/jruby0.9, provided by jruby0.9. Thanks, Sebastien Delafond. (Closes: #418105) * doc/README: + Document --color option. Based on a patch from Loïc Minier. * depcheck/deppages.pl: + [JA] Perl syntax corrections. * depcheck/report2html.pl: + [JA] Perl syntax corrections. * frontend/lintian: + [JA] Removed trailing spaces and other perl syntax corrections. + [RA] Add --color option to optionally colorize lintian tags based on their severity. Based on a patch from Loïc Minier. + [RA] Accept emergency as a valid urgency and check urgencies case-insensitively since that's what Policy specifies. Thanks, Joey Hess. (Closes: #412577) * frontend/lintian-info: + [RA] Ignore ANSI color sequences when parsing lintian tags. * lib/Checker.pm + [JA] Perl syntax corrections. * lib/Lab.pm + [JA] Perl syntax corrections. * lib/Tags.pm + [JA] Perl syntax corrections. + [RA] Support for colorizing lintian tags based on their severity. Based on a patch from Loïc Minier. (Closes: #399714) * man/lintian.1: + [RA] Document --color. Based on a patch from Loïc Minier. * unpack/unpack-*pkg* + [JA] Perl syntax corrections. -- Russ Allbery Tue, 10 Apr 2007 21:08:23 -0700 lintian (1.23.28) unstable; urgency=high * collection/objdump-info: + [RA] Remove unsafe temporary file creation in left-over debugging code added accidentally when fixing #399456. Thanks, Josh Triplett. (Closes: #414237) -- Russ Allbery Fri, 9 Mar 2007 22:58:59 -0800 lintian (1.23.27) unstable; urgency=low The "we haven't run this against the whole archive in a while" release * checks/binaries{.desc,}: + [RA] Tag unrecognized ELF binaries as apparently corrupted rather than failing with a note that binutils-multiarch is required. Some packages have had ELF binaries recognized by file but unreadable. Reported by Bill Allombert. (Closes: #399456) * checks/infofiles: + [RA] Don't consider /usr/share/infon to be an info directory. Reported by Joachim Breitner. (Closes: #399857) * checks/md5sums: + [RA] Also don't complain about missing md5sums for files in /var/lib/ispell as they're changed after installation. Thanks, Agustin Martin. (Closes: #401070) * checks/po-debconf: + [RA] gettext 0.16's msgcmp requires --use-untranslated when checking for newer templates than PO files or it gives false positives for every package. Thanks, Damyan Ivanov. (Closes: #400957) + [RA] Don't consider directories to be stray template files even if named template. Thanks, Thomas Huriaux. (Closes: #401442) * checks/shared-libs: + [RA] Don't report shlib-with-non-pic-code unless we're sure that we're looking at a shared library. Otherwise, we get many false positives on some platforms where text relocations are normal for binaries. Reported by Bill Allombert. (Closes: #399525) * collection/file-info: + [RA] Unescape non-ASCII characters escaped by tar before running file on the resulting filename. Otherwise, file can't find the file, exits with an error, and lintian aborts. Reported by Bill Allombert. (Closes: #399392) * collection/objdump-info: + [RA] Include unrecognized format errors from objdump in the output rather than aborting; some packages contain apparently corrupt ELF binaries. * debian/control: + [RA] Depend on gettext 0.16 or later for --use-untranslated. * lib/Lab.pm: + [RA] Preserve the old package lists when setting up a static lab so that the unpack programs can build a list of changed packages and incremental mode works. Thanks, Bill Allmobert. (Closes: #400342) * unpack/list-udebpkg: + [RA] Handle compressed udeb Packages files. Thanks, Bill Allombert. (Closes: #400338) -- Russ Allbery Sun, 3 Dec 2006 11:06:33 -0800 lintian (1.23.26) unstable; urgency=low * checks/binaries{.desc,}: + [RA] Add a policy reference for unstripped-binary-or-object. Thanks, Bas Wijnen. (Closes: #394419) + [RA] Add a special exception to the shared library dependency check for the dynamic loader itself. * checks/changelog-file.desc: + [RA] Downgrade to a warning several errors with changelog files, including compression and a text version of HTML changelogs, that are only shoulds in Policy. (Closes: #289723) + [RA] Cleaned up language and use of unbalanced single quotes in numerous descriptions. * checks/control-file{.desc,}: + [RA] Diagnose a control file that creates binary packages in a different archive category from the source package or the other binary packages. Idea from Yann Dirson. (Closes: #394720) + [RA] Close opened files. + [RA] Add info-level check for Section in the source section of the control file. (Closes: #322244) * checks/cruft{.desc,}: + [RA] Tighten the timestamp check on config.{sub,guess} to look for files dated 2004 or newer, since that's when x86_64 was added. Increase to an error at the request of Ryan Murray since we already suppress this warning of config.{guess,sub} are modified by the Debian patch or if the package build-depends on autotools-dev. (Closes: #190897) * checks/debconf{.desc,}: + [RA] Take into account comma escaping when checking the number of translated choices. Reported by Frans Pop. (Closes: #395028) + [RA] Only require debconf be loaded in the postinst script if a config script exists. Reported by Josselin Mouette. + [RA] Require pre-depends on debconf if debconf is used in the preinst script. Update the long description to deprecate only depending on debconf and falling back on another configuration system. Reported by Josselin Mouette. (Closes: #395468) + [RA] Warn of debconf notes displayed with low or medium priority, with an exception for Policy-required device file warnings. Based on a patch by Thomas Huriaux. (Closes: #389070) + [RA] Close files after opening them, fixing incorrect line numbers when reporting problems with config scripts. * checks/debdiff{.desc,}: + [RA] Check for creation of ~ and .xxx.swp backup files in the Debian diff, but only at the info level for now since they cause no harm. (Closes: #332770) * checks/fields{.desc,}: + [RA] Clarify in missing-build-dependency why lintian does not take into account transitive build dependencies. (Closes: #393975) + [RA] Avoid Perl warning when diagnosing a Python-Version of the form "all, >= 2.4". Thanks, Thijs Kinkhorst. (Closes: #394104) + [RA] Teach the debian/rules parsing about make conditionals and don't require build dependencies for lines encountered inside a conditional (in other words, assume people using conditionals know what they're doing). Fixes a false positive due to the unusual arch-specific build dependencies for openoffice.org, reported by Rene Engelhard. (Closes: #380286) * checks/files{.desc,}: + [RA] Check for vim .swp files in the package. + [RA] Split the warning for NFS temporary files into a separate tag from the warning for editor backup files. * checks/infofiles: + [RA] Close opened files. + [RA] debhelper no longer adds a --section flag to install-info, so don't warn about any install-info invocation without --section. Instead, check each info file for INFO-DIR-SECTION and diagnose calling install-info without --section if any info file is missing this information. (Closes: #97502, #398670) + [RA] Checks for the compression and suffixes of info files were not being run due to a mistake in specifying either /usr/info or /usr/share/info as an info directory. Re-enable them. * checks/md5sums{.desc,}: + [RA] Add a tag for a missing md5sums control file, but only at info level, at least for now. (Closes: #133027) + [RA] Do better syntax checking of the md5sums control file and report malformed lines as a tag rather than aborting lintian. + [RA] Downgrade file-missing-in-md5sums to a warning since it doesn't break the package or debsums and may be intentional. * checks/menu.desc: + [RA] Remove stray commas in Ref strings since the reporting code considers commas to be separating two different references. * checks/menu-format{.desc,}: + [RA] Support the sux, gksu, and kdesu wrappers in menu commands as well as su-to-root. (Closes: #360227) + [RA] Fix tag name for menu-icon-cannot-be-parsed. Thanks, Bill Allombert. (Closes: #399245) * checks/po-debconf{.desc,}: + [RA] Check for misnamed PO files in debian/po, which cause translations to be merged into the template with the wrong names and not found. Based on a patch by Thomas Huriaux. (Closes: #387360) * checks/shared-libs: + [RA] Calling ldconfig is also required for libraries installed in various subdirectories of its standard search path based on hardware capabilities. Reported by Aurelien Jarno. (Closes: #396278) * debian/rules: + [RA] Exclude testset/diffs/binary.c~ from dh_clean. * frontend/lintian: + [RA] Add --fail-on-warning option to exit with non-zero status if any warnings were found. Thanks, Daniel Bonniot. (Closes: #189656) * man/lintian.1: + [RA] Document --fail-on-warning. -- Russ Allbery Sat, 18 Nov 2006 17:21:22 -0800 lintian (1.23.25) unstable; urgency=low The "dependency and debconf" release * checks/debconf: + [CW] Don't trigger partially-translated-question when Choices-C exists but not Description-C. + [RA] Remove select-with-translated-default-field since there are cases where this is correct and we can perform a better check against the source package. Patch from Thomas Huriaux. + [RA] Fix Perl warnings when a template has no type. * checks/debdiff: + [RA] Remove the source-tar-is-posix-tar tag. This was only a problem for woody and earlier, and woody support is no longer needed. Reported by Loïc Minier. (Closes: #385833) * checks/fields{.desc,}: + [RA] Improve the long descriptions of the warnings about dependencies on essential or build-essential packages to make it clearer that the correct resolution is normally to omit the dependency and why. + [RA] Add a check for duplicate build dependencies. (Closes: #359178) * checks/files: + [RA] Don't consider files named license.rb to be extraneous licenses. Patch from NIIBE Yutaka. (Closes: #387269) * checks/init.d: + [RA] Correctly handle LSB keywords which are present but have an empty value. Reported by Erich Schubert. (Closes: #386968) * checks/lintian.desc: + [RA] Add tags for missing and bad Urgency fields in *.changes files. + [RA] Improve the no-description-in-changes-file information. * checks/md5sums: + [RA] aspell dictionary packages may ship files in /var/lib/aspell that should not have MD5 checksums in md5sums because they change after installation. Don't complain that those files are missing. * checks/po-debconf: + [RA] Avoid Perl warnings on .po files that don't contain msgstr lines. Patch from Thomas Huriaux. (Closes: #387357) + [RA] Check templates for a translatable Default or DefaultChoice field and warn if there isn't a translator comment. Patch from Thomas Huriaux. (Closes: #388824) * checks/scripts: + [RA] Add /usr/bin/gosh from the gauche package to the list of valid interpreters. Thanks, Tatsuya Kinoshita. (Closes: #386798) + [RA] Add a separate tag for tclsh dependencies to explain about the virtual package and improve the description of the wish virtual package in its tag. Fix inverted logic that got the wish dependency backwards. Reported by Hamish Moffatt. (Closes: #387845) + [RA] Allow tcsh to satisfy a csh dependency. Reported by Yann Dirson. (Closes: #389615) + [RA] Improve the check for shell scripts that are actually exec wrappers around scripts written in another language. + [RA] Allow update-inetd to fulfill the dependency requirements for the update-inetd script. Thanks, Michael Holzt. (Closes: #389960) * frontend/lintian: + [RA] Check the existence and value of the Urgency field in *.changes files. (Closes: #384219) * lib/Dep.pm: + [RA] Improve the dependency resolution engine so that it can prove aa|bb implies aa|bb|cc. Fix the comparison of dependencies for inverse implication to catch many more cases. (The latter code isn't currently used in lintian.) + [RA] Add an unparse function to take an internal representation and convert it back to human-readable text. + [RA] Significantly improve and rewrite the get_dups function to only find relations that imply each other and to return the complete duplicate dependencies in sets. * man/lintian.1: + [RA] Document setting TMPDIR to change the location of lintian's temporary lab. (Closes: #388786) -- Russ Allbery Sun, 8 Oct 2006 12:57:05 -0700 lintian (1.23.24) unstable; urgency=low The "LSB init script" release * checks/control-files: + [RA] perm2oct definition moved to Util.pm. * checks/cruft{.desc,}: + [RA] Remove the (info-level) check for .cvsignore files in the source tarball. This isn't an error; those files contain metadata that may be useful for people making modifications and it's quite common to distribute them. * checks/debconf{.desc,}: + [RA] Diagnose unknown priorities in db_input and db_text invocations. Patch from Thomas Huriaux. (Closes: #386014) * checks/fields{.desc,}: + [RA] Depending on versioned variants of python-minimal is also an error. Thanks, Adeodato Simó. (Closes: #384476) * checks/files: + [RA] perm2oct definition moved to Util.pm. * checks/init.d{.desc,}: + [RA] Added a warning for init scripts missing an LSB keyword section, checks of the syntax of such a section if present, and some basic semantic checks of the easiest fields. Based on initial work by Carlos Villegas. (Closes: #377740) * checks/menus: + [RA] perm2oct definition moved to Util.pm. * checks/scripts: + [RA] Properly concatenate the dependencies for a package when checking whether the dependency for an interpreter is included. Thanks, Vincent Danjean. (Closes: #385178) * checks/shared-libs: + [RA] perm2oct definition moved to Util.pm. * lib/Util.pm: + [RA] Move perm2oct to here and improve recognition of s, S, t, and T characters. Thanks to Justin B. Rye for patch. (Closes: #376119) -- Russ Allbery Mon, 4 Sep 2006 12:03:16 -0700 lintian (1.23.23) unstable; urgency=low The "new Python policy" release * checks/binaries.desc: + [RA] Greatly expand the binary-or-shlib-defines-rpath long description based on recent discussion in debian-policy. Add a reference to the wiki page. (Closes: #378054, #378055) * checks/changelog-file{.desc,}: + [RA] Diagnose changelog files that are symlinks, using the new way the changelog-file collection script processes them. * checks/common_data.pm: + [RA] Add Python-Version as a known source and binary field. * checks/copyright-file: + [RA] Catch "" as well as the string without "http/". Thanks, Jari Aalto. (Closes: #374167) * checks/deb-format{.desc,}: + [RA] Remove deb-created-with-broken-tar; the bug was actually in dpkg, and the dpkg in stable has been fixed. Thanks Jari Aalto and Thijs Kinkhorst. (Closes: #375638, #376030) * checks/debconf: + [RA] Diagnose a missing template description only once and avoid Perl warnings. Thanks, Thomas Huriaux. (Closes: #377654) * checks/debhelper: + [RA] Use the standard control file parser rather than a custom parser that can't handle continuation lines. + [RA] Warn if dh_python is used without debian/pycompat in non-CDBS packages and check for the debhelper version required for Python policy. Thanks, Raphaël Hertzog. (Closes: #375318) * checks/fields{.desc,}: + [RA] Don't warn virtual-package-depends-without-real-package-depends for Recommends and rewrite the tag description to be more accurate. Thanks to Martin F. Krafft for the report. (Closes: #370720) + [RA] ~ is now permitted in version numbers. (Closes: #381965) + [RA] Catch and check dependencies correctly for debconf-updatepo run from the clean target. Thanks, James Westby. (Closes: #380399) + [RA] Warn when encountering an aspell dictionary package that isn't arch: all. Thanks, Piotr Engelking. (Closes: #374899) + [RA] Check the syntax of the new Python-Version field. + [RA] Check for missing build dependencies on python-central or python-support. Thanks, Raphaël Hertzog. + [RA] Check for old << dependencies on Python in Python packages that lack a Python-Version control field, as these are probably packages that don't follow the new Python policy. Thanks, Raphaël Hertzog. * checks/files{.desc,}: + [RA] Provide a better explanation of why Debian packages shouldn't ship files in /srv. (Closes: #379176) + [RA] Warn about files installed into /etc/gconf/schemas. + [RA] Warn about files in /usr/lib/site-python. Thanks, Thomas Viehmann and Raphaël Hertzog. (Closes: #372748) * checks/manpages{.desc,}: + [RA] Warn about manpage short descriptions of the form "manual page for program" (usually generated by help2man). * checks/menu: + [RA] Ignore trailing whitespace in doc-base files. Patch from Bas Zoetekouw. (Closes: #379749) * checks/nmu{.desc,}: + [RA] When checking for an NMU changelog entry, require "NMU" be surrounded by word boundaries. + [RA] Warn if the changelog incorrectly indicates an NMU. Thanks to George Danchev for the report. * checks/scripts{.desc,}: + [RA] Except mkstemp from possibly-insecure-handling-of-tmp-files for maintainer scripts written in Perl. + [RA] Mention [[ ]] explicitly in the possible-bashism long description as requiring a Korn shell and make it clearer that the primary arbiter of this test is the POSIX shell specification. (Closes: #381800 by clarification) + [RA] Use the Dep library to check dependencies. Add php5 to the interpreter list and correctly handle the dependencies for version-less PHP scripts. (Closes: #379558) + [RA] Check for proper dependencies if gconf-schemas is called in maintainer scripts and diagnose calling gconftool(-2) directly. Thanks, Josselin Mouette. (Closes: #333311) * checks/version-substvars{.desc,}: + [RA] New check from Adeodato Simó for proper use of substvars for versioned dependencies between packages built from the same source package so that NMUs will work properly. Also catch use of such a substvar for a versioned dependency on a package not built from the same source. (Closes: #377141, #376596) * collection/changelog-file: + [RA] Be much more careful about changelog files that are symlinks. Don't skip over changelog symlinks just because they point to non-existant files, mark unsafe symlinks or symlinks to non-existent files by creating copyright as a symlink to a non-existent file in the lab, and don't create an empty dummy changelog if we couldn't find a changelog. Correctly handle changelog files that are symlinks to other files in the same directory. * debian/copyright: + [RA] Add Subversion repository location. * frontend/lintian: + [JvW] Give error if there is no "Description" field in .changes, this is required by dak * frontend/lintian-info: + [RA] Add the -t or --tags option that, given a tag name, prints out the description. (Closes: #376109) * lib/Tags.pm: + [RA] If a tag has been overriden via any mechanism, do not add it to any of the statistics (tag, severity, or significance). Before, the override only suppressed a record for the specific statistic the override was based on, meaning that classic tag-based overrides didn't suppress severity statistics. Overridden error tags would therefore cause lintian to exit with non-zero status. Thanks, Andree Leidenfrost and Martin F. Krafft. (Closes: #377182, #374314) * man/lintian.1: + [RA] Better document the --archivedir and --dist options and how lintian constructs the path to an archive. (Closes: #383203) + [RA] Document new version-substvars check script. * man/lintian-info.1: + [RA] Document the new -t or --tags option. * reporting/html_reports: + [RA] Include the lintian version in HTML page footers. Thanks, Thijs Kinkhorst. (Closes: #377616) -- Russ Allbery Mon, 21 Aug 2006 10:28:14 -0700 lintian (1.23.22) unstable; urgency=low * checks/debconf: + [JvW] Teach lintian to know about the 'error' debconf template question type. (Closes: #374399) + [RA] Exclude debconf templates with "for internal use" in the short description from style checks and document this in the log description of the tags most likely to trigger on internal templates. (Closes: #368206) * checks/common_data.pm: + [RA] Add amd64 to the standard architectures. (Closes: #367324) * checks/debhelper: + [RA] Use the Dep library to check debhelper build dependencies rather than parsing Build-Depends with regexes. This avoids false positives due to matching package names ending in debhelper. Reported by Fabio Tranchitella. (Closes: #366531) * checks/fields: + [RA] Allow build-depend on quilt if clean depends on the xsfclean rule, for packages maintained by the X Strike Force. + [RA] CDBS packages that use the python-distutils class should list Python in Build-Depends, not Build-Depends-Indep, since CDBS wants to use it in debian/rules clean. Thanks, Jan Lübbe. + [HE] Add check for build-deps on build-essential. Yes, people do that. + [RA] Recognize direct invocations of quilt in clean rules and allow Build-Depends on quilt in that case. Reported by Sam Hocevar. (Closes: #374878) + [RA] Fix handling of versioned Build-Depends to avoid spurious build-depends-without-arch-dep warnings. Reported by Marcus Better. + [RA] Don't require Build-Depends on perl even if run explicitly in debian/rules clean, since perl-base may be sufficient. Catch more ways perl could be run, including the common idiom for packages that use Build.PL. + [RA] Downgrade build-depends-without-arch-dep to info from warning. Policy doesn't require using Build-Depends-Indep for arch-independent packages and the test has a lot of false positives. + [RA] Require ant in Build-Depends when using the CDBS ant rule. + [RA] Bypass the build-depends-without-arch-dep check entirely when using ant, since determining which Java dependencies are then permissible in Build-Depends is too complex to do a proper job. Reported by Peter Eisentraut. (Closes: #372190) + [RA] Only allow patch in Build-Depends for yada unpatch, don't require it, since yada depends on patch. (Closes: #375479) * checks/po-debconf: + [RA] Don't consider templates.in to be a stray translated template file. Thanks, Thomas Huriaux. (Closes: #367534) * lib/Util.pm: + [RA] Pass the --wildcards option to tar, now required by a change in the default tar semantics. (Closes: #375246) -- Russ Allbery Tue, 27 Jun 2006 17:50:05 -0700 lintian (1.23.21) unstable; urgency=low * checks/menus: + [RA] Tell Perl where common_data.pm is since we're now including it. Doh. Thanks, Nelson A. de Oliveira. (Closes: #366481) -- Russ Allbery Mon, 8 May 2006 18:52:45 -0700 lintian (1.23.20) unstable; urgency=low The "Policy backlog clearing is a wonderful sight" release * checks/debconf{.desc,}: + [RA] Add checks for the Developer's Reference guidelines for debconf templates. Based on a patch by Thomas Huriaux. (Closes: #362145) * checks/fields{.desc,}: + [RA] xfonts-encodings is also not an xfont package. Thanks, Drew Parsons. (Closes: #365503) + [RA] Report errors for dependencies on python-minimal. Thanks to Steve Langasek for the analysis. + [RA] Allow a build-dependency on patchutils when using CDBS with one of the patch systems, as patchutils may be optionally used to check for bad patches. Thanks, Marc Dequènes (Duck). (Closes: #365466) + [RA] Since some packages should be in Build-Depends and some should be in Build-Depends-Indep, report all of the misplaced ones rather than just the first one. That way, users know which to move. + [RA] Allow perl in Build-Depends if invoked in clean rules. + [RA] Allow patch in Build-Depends if yada unpatch is invoked in clean rules. * checks/files{.desc,}: + [RA] Add an explicit check for non-world-readable executables to provide a more detailed explanation and tighten the accepted permissions of setuid and setgid executables to just the permissions mentioned in Policy 10.9. Add Policy 10.9 references to the descriptions. Reported by Piotr Engelking. (Closes: #365452) + [RA] Add a request to the descriptions of setuid and setgid tags to add a lintian override for documentation if the permissions are intentional. + [RA] Report a more specific tag for binaries that are owned by group games but are not setgid. + [RA] Remove the check for files in /usr/lib/cgi-bin. This policy change was reverted. + [RA] Allow files installed in /usr/include/X11 and /usr/lib/X11 but require Pre-Depends on x11-common (>= 1:7.0.0). Remove the duplicate check for files in /usr/bin/X11 since it no longer adds additional information. * checks/menus{.desc,}: + [RA] Check that all files referenced in doc-base control files are present in the package, based on a patch by Robert Luberda. Also check that Index references only one file and that Format names a known format. (Closes: #196122) + [RA] Fix incomplete diagnosis of missing calls to update-menus. + [RA] Change postrm to prerm in the check for a useless install-docs call; calling install-docs in postrm is always a warning and useless calls in prerm were not being diagnosed. * checks/po-debconf{.desc,}: + [RA] Exempt packages that use yada from the POTFILES.in check and from checking for up-to-date templates, since yada does this at build time. Reported by Piotr Roszatycki. (Closes: #321139) + [RA] Check for stray debconf-mergetemplate files in packages using po-debconf. Thanks, Martin Quinson. (Closes: #232442) + [RA] General cleanup of tag descriptions for grammar and markup. Move man page references into Ref fields. * checks/shared-libs.desc: + [RA] Document that exceptions to the -fPIC rule for shared libraries are possible and ask that such exceptions be documented with lintian overrides. * checks/standards-version: + [RA] Update to 3.7.2. (Closes: #366233) + [RA] Report the current standards version when warning about too old or too new versions. Thanks, Jari Aalto. (Closes: #366104) * debian/control: + [RA] Update standards version to 3.7.2 (no changes required). + [RA] Update description to note calibration for Policy 3.7.2. -- Russ Allbery Mon, 8 May 2006 13:22:03 -0700 lintian (1.23.19) unstable; urgency=low The "Policy 3.7.0" release * checks/fields{.desc,}: + [RA] python-all-dev also satisfies dh_python's requirements. Thanks, Marc Dequènes (Duck). (Closes: #364943) + [RA] Allow python in Build-Depends if it's invoked explicitly in the clean rule. Thanks, Marc Dequènes (Duck). (Closes: #365030) + [RA] Recognize the CDBS included rule files that indicate dpatch or quilt will be used, check those dependencies, and require that they be in Build-Depends since they're used for clean. Thanks, Marc Dequènes (Duck). (Closes: #365041) * checks/files{.desc,}: + [RA] Add the references to Policy for the deprecation of X11R6 directories now that Policy has been updated in 3.7.0.0. + [RA] Policy now mandates FHS 2.3. Update tag descriptions. + [RA] Warn about files installed in /usr/lib/cgi-bin. Policy now states they should be installed in /usr/lib/cgi-lib. + [RA] Warn about scripts installed on the user's PATH with names that include language extensions (.sh, .pl, .py), per Policy 10.4. + [RA] Report directories under /usr/share/man that don't match the directory layout specified in the FHS. (Closes: #176683) + [RA] Fix a very long-standing bug that caused the check for executable manpages to be silently skipped. * checks/scripts: + [RA] Debian etch release policy explicitly forbids scripts without #! magic and they rely on being run from a shell. Revert the change that permitted the Perl magic without a #! line. Thanks to Piotr Engelking and Steve Langasek for pointing this out. + [RA] Don't syntax-check *.dpatch scripts in /usr/src. bash -n doesn't stop at exit 0 and then may choke on the patch. Thanks, Matthias Klose. (Closes: #364521) * checks/scripts.desc: + [RA] Using invoke-rc.d is now required by Policy. * checks/standards-version: + [RA] Update to 3.7.0. * debian/control: + [RA] Update standards version to 3.7.0 (no changes required). + [RA] Update description to note calibration for Policy 3.7.0. -- Russ Allbery Sat, 29 Apr 2006 01:06:59 -0700 lintian (1.23.18) unstable; urgency=low The "brown paper Python" release * checks/fields{.desc,}: + [RA] Redo handling of build dependencies to allow a custom tag to be specified and to allow a general dependency string to be required rather than a simple package name. As a result, dh_python handling is no longer a buggy special case. Allow either python or python-dev for dh_python and the cdbs Python rules. Thanks, Torsten Merek and Aaron M. Ucko. (Closes: #364297, #364330) + [RA] Require at least quilt 0.40 if /usr/share/quilt/quilt.make is included. Thanks, Michele Baldessari. + [RA] Packages using dh_installxfonts must build-depend on 5.0.31 or later of debhelper for the X.Org 7 transition. -- Russ Allbery Sat, 22 Apr 2006 16:17:14 -0700 lintian (1.23.17) unstable; urgency=low The "happy Nanaimo hacking" release * checks/binaries: + [RA] Detect klibc binaries from their requested interpreter and allow them to appear static. (Closes: #328850) * checks/common_data.pm: + [RA] Include all combinations of cpu and os from the dpkg cputable and ostable files (as of dpkg 1.13.16). (Closes: #337034, #357433) + [RA] Include a list of known X metapackages. * checks/control-file{.desc,}: + [RA] Warn if debian/control in a source package is a symlink. * checks/copyright-file{.desc,}: + [RA] Don't assume mentions of GPL or GNU General Public License after what look like mail headers are referring to the license of the package. Be a bit more specific in the old FSF address check to avoid false positives on other Cambridge, MA addresses. Reported by Adam C. Powell IV. (Closes: #205934) * checks/debconf: + [RA] Allow Indices as a template field. cdebconf uses it and debconf ignores it. Reported by Frans Pop. (Closes: #361986) * checks/debdiff{.desc,}: + [RA] Warn if the diff contains debian/substvars. Based on a patch by Michael Ablassmeier. (Closes: #359646) * checks/debhelper.desc: + [RA] When explaining the warning about deprecated debhelper compatibility versions, mention that debhelper defaults to version 1 if not set anywhere. (Closes: #360711) + [RA] Move simple man page references from Info into Ref. * checks/fields{.desc,}: + [RA] Allow dpatch in Build-Depends for arch-independent packages if it is invoked in clean, build-arch, or binary-arch. + [RA] Only list examples of non-standard architectures, since there are now too many combinations to list completely. + [RA] Catch dependencies on X metapackages, based on a patch by Josh Triplett. No packages are allowed to build-depend, and only packages that look like metapackages (arch: all, no files outside of /usr/share/doc) are allowed to depend. (Closes: #347169) + [RA] Look for an explicit section of unknown, probably left over from dh_make templates, and diagnose it with an error rather than a warning. Reported by Jari Aalto. (Closes: #355032) + [RA] Reorganize dependency checking based on debian/rules analysis. Diagnose missing build dependencies on the helper packages we know about, catch cases where Build-Depends-Indep should be Build-Depends because of the clean target, and make sure users of dh_python build-depend on python. yada is no longer a special case. (Closes: #242789, #278290) + [RA] Check for conflicting with dependencies and build-conflicting with build dependencies. (Closes: #122760) + [RA] Allow xfonts-utils in dependencies. It's not actually an X font package. * checks/files{.desc,}: + [RA] For the X.Org 7 transition, add explicit checks for fonts and binaries installed in /usr/X11R6. Rename the existing check for other files in /usr/X11R6 since the tag had a pluralization error and we want package maintainers to see the error again and reconsider whether to ignore it. No packages should be installing files in /usr/X11R6 going forward. Remove the policy cross-refs for right now until policy catches up. * checks/manpages: + [RA] Use system_env instead of system and sanitize the environment before running man -l out of caution and to avoid extraneous output when CDPATH is set. Reported by Marc Haber. (Closes: #360217) * checks/nmu{.desc,}: + [RA] Warn if debian/changelog in a native source package is a symlink and skip checks rather than aborting if it was a symlink to a file we didn't unpack. (Closes: #257650) * checks/po-debconf: + [RA] Use system_env instead of system out of caution and to avoid extraneous output when CDPATH is set. * checks/rules{.desc,}: + [RA] A new set of checks that parses debian/rules and checks for required rules, debian/rules as a symlink, and the correct first line. Based heavily on previous work by René van Bevern. (Closes: #294926, #311786) * checks/scripts{.desc,}: + [RA] Ignore text inside single quotes and, for most checks, text inside double quotes when checking for bashisms. Reported by Frank Küster. (Closes: #344266) + [RA] Change canonical zsh path to /bin/zsh at the request of the zsh maintainer. (Closes: #360534) + [RA] Change the check for broken error handling with invoke-rc.d to maintainer-script-hides-init-failure to be more generic and explain what the test looks at. Add the script name and line number and fix a typo. Thanks, Marc Haber. (Closes: #360214, #360216) + [RA] Warn when maintainer scripts run init scripts directly and don't use invoke-rc.d. Thanks, Lars Wirzenius. (Closes: #353659) + [RA] Find missing ucf dependencies and restructure the code to allow easier addition of similar checks. (Closes: #261891) + [RA] Add python2.5, lua50, gbx, and gbx2 to the list of valid interpreters. (Closes: #361601, #361644, #362566) * checks/shared-libs: + [RA] Limit shlib-without-PT_GNU_STACK-section to only those architectures where gcc always adds the section. Thanks to Frans Pop for the report and Bastian Blank for the architecture list. (Closes: #357636) * collection/objdump-info: + [RA] Unset CDPATH before running cd to avoid strange effects from the user's environment. + [RA] Run readelf -l to collect interpreter information. * lib/Dep.pm: + [RA] Add initial support for analyzing architecture information in dependencies instead of ignoring it. * lib/Read_taginfo.pm: + [RA] Add support for formatting man page references from Ref. * lib/Util.pm: + [RA] Add system_env, like system but sanitizing the environment. * man/lintian.1: + [RA] Mention the new rules check class. -- Russ Allbery Fri, 21 Apr 2006 09:36:34 -0700 lintian (1.23.16) unstable; urgency=low The "What's this Russ guy up to?" release * checks/binaries{.desc,}: + [RA] Add a check for the new "Invalid operation" error from objdump -T. Skip shared-lib-without-dependency-information for files in /usr/lib/debug. * checks/changelog-file: + [FL] Add line number to output of wrong-bug-number-in-closes. Inspired by #349761 from Steinar H. Gunderson. * checks/common_data.pm: + [FL] Add armeb to %non_standard_archs as requested by Martin Michlmayr. (Closes: #350653) * checks/debconf: + [RA] Packages that depend on dbconfig-common are allowed to have config scripts without templates or an explicit debconf dependency. Reported by Marcus Better. (Closes: #344421) * checks/debconf.desc: + [RA] Clarify the necessary dependencies for packages using SETTITLE. (Closes: #349616) * checks/debhelper: + [RA] Recognize setting DH_COMPAT with := in addition to = in debian/rules. (Closes: #349272) + [RA] CDBS sets DH_COMPAT to 4 but doesn't export it. It does create debian/compat with that value if none was present. Reflect this behavior to avoid spurious compat level warnings when using CDBS. Based on a patch by Jay Berkenbilt. (Closes: #350228) * checks/fields: + [RA] Allow a quilt build-dependency for arch-independent packages if the quilt makefile rules are included. (Closes: #349273) + [RA] If clean depends on a rule that calls dh_clean rather than calling it directly, still allow debhelper in Build-Depends for arch-independent packages. Reported by Michael Stilkerich. + [JvW] Commented that Uploaders no longer will hit the multiline field issue, updated testsuite accordingly * checks/manpages: + [FL] Ignore more warnings ("cannot adjust line", "can't break line") in non-English manpages. (Closes: #349792) + [RA] cd into the parent directory before checking man pages with man so that .so inclusions are processed correctly. Based on a patch by Nicolas François. (Closes: #349614) * checks/menu-format: + [RA] Look for binaries in /usr/X11R6/bin, not /usr/bin/X11, per Policy 11.8.7. Thanks, Matej Vela. (Closes: #354890) * checks/menu-format.desc: + [RA] Use "menu manual" rather than "menu" for references to more clearly distinguish from the Debian Menu Policy. (Closes: #347510) * checks/po-debconf: + [RA] If there are template files in debian, assume the package uses debconf; don't require a dependency or config script. Patch by Thomas Huriaux. (Closes: #353294) * checks/scripts: + [RA] Allow /tmp in variable settings. It's likely to be a false positive. Reported by Frank Küster. (Closes: #344998) + [RA] Make the syntax checking of shell scripts more robust against filenames containing shell metacharacters. Reported by Michael Stilkerich. + [RA] Add fish and expectk to the list of valid interpreters. (Closes: #351624, #353770) + [RA] /usr/bin/tcl is provided by tclx8.3, not tcl. Reported by James R. Van Zandt. (Closes: #351324) + [RA] Allow more variations on leading magic to invoke some interpreter rather than then shell. Bypass the ELF magic check for scripts using magic that relies on having no leading #! line. Reported by Frank Küster. (Closes: #344269) + [JvW] Add check against package suffering from debhelper bug #337664, per Joey Hess, which had broken error detection (Closes: #358523) * checks/shared-libs: + [JvW] Fix postinst-must-call-ldconfig to also get emitted when there is no postinst at all, instead of just one lacking a ldconfig call + [JvW] Implement checks for "udeb:" lines in shlibs files (Closes: #357541) + [JvW] Consider also the soname version for shlibs checking, preventing some bogus 'duplicate' warnings, and actually throw a warning when soname version doesn't match + [JvW] Added error when udeb postinst calls ldconfig, that must never happen (thanks to Frans Pop for noticing, see #203056) * debian/{control,copyright}: + [RA] Add Russ Allbery to Uploaders and copyright. + [JvW] Version dpkg-dev requirement to >= 1.13.17, for unpack/unpack-srcpkg-l2 * frontends/lintian-info: + [RA] Avoid Perl uninitialized value warnings when given output that looks like lintian messages without tags. (Closes: #352606) * collection/objdump-info: + [RA] Pass "Invalid operation" errors from objdump -T on to the check scripts instead of failing. (Closes: #249435) * man/lintian.1: + [RA] Add references to dh_make, debhelper, dpkg-buildpackage, and linda in new reference sections. (Closes: #322288) * man/{lintian.1,lintian-info.1}: + [RA] Left-justify and disable hyphenation for readability. * unpack/unpack-srcpkg-l2: + [JvW] Use -q with dpkg-source to surpress warnings about unsigned source packages. Requires dpkg-dev 1.13.17 -- Jeroen van Wolffelaar Sun, 26 Mar 2006 15:38:37 +0200 lintian (1.23.15) unstable; urgency=low * The "www.no-name-yet.eu" release * debian/changelog: + [FL] Fix wrapping of last changelog entry (Closes: #344899) * checks/common_data.pm: + [FL] Add xlibs-dev and debmake to %known_obsolete_packages * checks/debconf: + [CW] Show template name for empty-translated-choices, mismatch-translated-choices, and unknown-field-in-templates. * checks/debhelper: + [FL] Also check for debhelper build-dependency in debhelper-using cdbs based packages + [FL] Indicate where we found which compat version in declares-possibly-conflicting-debhelper-compat-versions (Closes: #329953) + [FL] Add dh_installtexfonts to list of commands that modfiy the maintainer scripts + [FL] Try a little harder to find the DH_COMPAT setting in debian/rules (Closes: #348380) * checks/fields: + [FL] Allow version numbers of 0 by correctly checking the output of _valid_version for definedness and not the boolean value (Closes: #345005) + [FL] Better check for false postives of build-depends-without-arch-dep. Should fix false positives for cdbs, dbs, dpatch and yada. Based on a patch by Russ Allbery (Closes: #344609, #321135, #339750) + [FL] Also check for build-dependencies on obsolete packages not only dependencies (Closes: #234531) * checks/fields.desc: + [JvW] Fix typo in description * checks/init.d: + [FL] Only try to validate update-rc.d calls where the name of the script matches [\w.-]+. That accounts for all today known init scripts and eliminates false positives like shell variables in the name (Closes: #343865) * checks/manpages: + [FL] Fix stupid mistake in regex to strip of filenames from roff output (which was hidden by another stupid mistake in the test suite). Patch by Nicolas François (Closes: #347999) * checks/scripts: + [FL] Make mknod-in-maintainer-script an error since this is now a must in policy. Pointed out by Bartosz Fenski (Closes: #344928) + [FL] dpkg --print-installation-architecture is deprecated so delete dpkg-print-architecture-in-maintainer-script + [FL] Add parrot to list of valid interpreters (Closes: #346335) -- Frank Lichtenheld Thu, 19 Jan 2006 15:13:02 +0100 lintian (1.23.14) unstable; urgency=low * The "fix those frontend regressions" release * frontend/lintian: + [FL] Fix exit status computing so that we exit with 1 again if we found any error. (Closes: #329458) + [FL] Re-enable reporting unused overrides. * lib/Tags.pm: + [FL] Some fixes to the statistics code to make the fixes in frontend/lintian possible * checks/binaries{.desc,}: + [FL] support c2a suffix in soname check, too (Closes: #340856) + [FL] fix typo in description of package-name-doesnt-match-sonames (Closes: #339360) + [FL] The Debian specific patches from coreutils to call strip with --remove-section arguments on install -s have been dropped. Adapt description of binary-has-unneeded-section accordingly and demote it to "info" because many packages will get this now. * checks/debconf{.desc,}: + [FL] drop seen-flag-requires-versioned-depends and multiselect-without-dependency and drop version requirement from missing-debconf-dependency-for-preinst. All due to the fact that woody shipped with 1.0.x and therefor versioned depends on versions lesser than that don't make much sense anymore (Closes: #333736) * checks/debhelper: + [FL] debhelper compat level 3 is deprecated as well now (Closes: #340222) * checks/files: + [FL] forgot /lib(32|64) (more #328612 fixes) * checks/menu-format: + [FL] Drop su-to-root-with-usr-bin and su-to-root-without-usr-sbin, and add su-to-root-with-usr-sbin to adapt to current menu package and policy (Closes: #332400) * checks/po-debconf: + [FL] Fix logical error in search for files (Closes: #342707) * checks/scripts{.desc,}: + [FL] Drop install-fvwmgenmenu as valid interpreter. Was dropped from menu package before sarge. (also for #332400, see checks/menu-format) + [FL] Change path for install-menu from /usr/sbin to /usr/bin (also for #332400) + [FL] Merge most of the wrong-path-for-* and *-script-but-no-*-dep tags to two tags wrong-path-for-interpreter and missing-dep-for-interpreter. This makes maintaining the list of valid interpreters way easier. Some tags with special text have been special cased (php\d? and (m|g)awk). + [FL] Add speedy and slsh to list of valid interpreters (Closes: #333955, #336700) * checks/shared-libs: + [FL] forgot /lib(32|64) (hopefully finally closes: #328612) -- Frank Lichtenheld Sun, 18 Dec 2005 02:04:46 +0100 lintian (1.23.13) unstable; urgency=low * The "doesn't contain all the fixes I would like but that's no reason to let the others wait forever" release * debian/control: + [FL] Fix typo in description. Noted by Bill Allombert (Closes: #327859) * checks/copyright-file: + [JvW] Demote FSF address check to warning * checks/description: + [HE] Change description-synopsis-is-duplicated to only be emitted if the synopsis is copied without being extended. (Closes: #316523) * checks/files: + [FL] Add some formats to the exception list for extra-license-file (jpe?g, gif and svg) (Closes: #324944) + [FL] Don't complain about lib(32|64) as unusual directories. Noted by Matthias Klose (partly fixes #328612, see checks/shared-libs for the rest) * checks/infofiles: + [FL] Don't issue install-info-not-called-with-section-option if the call in postinst is really a removal. Experienced by Ben Pfaff in autoconf (Closes: #329170) * checks/po-debconf: + [FL] Previously we only run the checks if we found a templates file and a debconf dependency. Since the latter is mostly generated by ${misc:Depends} nowadays, we now also run the checks if we find a templates and a config file. (Closes: #331672) * checks/scripts: + [FL] PythonX.Y dependency can also be satisfied with pythonX.Y-minimal. Noted by Matthias Klose (Closes: #326643) + [FL] Only match 'local' at the beginning of a line. The check is too ambigious otherwise. Reported by Marc Haber (Closes: #330548) + [FL] Better reflect the current discussions wether some of the XSI:sms should be allowed in shell scripts by moving some of them to a separate check possible-non-posix-code-in-maintainer-script. Not doing that for kill -NAME as reuqested since -s NAME is available and should be perfectly portable. (Closes: #323053) * checks/shared-libs: + [HE] Apply patch from Bastian Blank to check for executable stacks in binaries. New checks are called shlib-without-PT_GNU_STACK-section, shlib-with-executable-stack, thanks waldi. (Closes: #321750) + [FL] Add lib(32|64) to ldso directories. Pointed out by Matthias Klose (Closes: #328612) -- Frank Lichtenheld Thu, 13 Oct 2005 15:19:05 +0200 lintian (1.23.12) unstable; urgency=low * The "bad, bad SONAME check" release * all files: + [FL] Update FSF address * debian/control: + [FL] Depend on dpkg-dev since we use dpkg-source. How old exactly is this bug? (Closes: #324673) * checks/binaries: + [FL] Only use sonames from files in common library directories for the soname checks. This avoids many false positives. Patch by Russ Allbery (Closes: #321564) + [FL] Convert the SONAME to lower case before comparing with package name. Suggested by Josh Triplett (Closes: #321206, #325225) + [FL] Try to remove strings added for transition purposes from library package names before comparing package name with SONAME. Pointed out by Rene Engelhard (Closes: #322241, #324121) + [FL] Also remove -udeb strings and substitute lib64 with lib in package name before comparing with SONAME + [FL] Replace any occurence of _ in the SONAME with - since the former isn't allowed in package names but occasionally used in sonames + [FL] Remove trailing .so from SONAMEs + [FL] Also ignore static binaries in sub directories of /boot, not only in /boot itself. Patch by Guillem Jover (Closes: #320382) * checks/changelog-file: + [FL] Detect old FSF address additionally to the even older one * checks/{cruft,files}{,.desc}: + [FL] Also check for .arch-ids/ {arch}/ .arch-inventory and .bzr/ in packages and sources (Closes: #324255) * checks/debhelper{,.desc}: + [FL] Warn about using debhelper compat version lower than 3 like debhelper itself + [FL] Drop package-lacks-versioned-build-depends-on-debhelper tag for compat versions < 5. With debhelper 4 even in oldstable issuing an error here is silly + [FL] Fix typo (s,debian/control,debian/compat,) in description of declares-possibly-conflicting-debhelper-compat-versions * checks/description{,.desc}: + [FL] Avoid double warning about description-is-dh_make-template in the same way we do it for the corresponding debmake tag + [FL] Policy section of Description field has changed * checks/fields{,.desc}: + [FL] Fix a lot of off-by-one errors in the policy references (caused by the addition of the Uploaders field). Unknowningly pointed out by Russ Allbery + [FL] Also use non_standards_archs when checking source package relations. Patch by Russ Allbery (Closes: #322291) * checks/manpages: + [FL] Don't issue warnings about 8bit characters in translated man pages. Patch by Denis Barbier (Closes: #321650) * checks/scripts: + [FL] Don't issue bashism warning on POSIX character classes ([[:foo:]]). Noted by Stephen Gran (Closes: #323098) + [FL] Remove some useless groupings in the bashism regexes -- Frank Lichtenheld Sun, 28 Aug 2005 22:05:54 +0200 lintian (1.23.11) unstable; urgency=low * frontend/lintian: + [FL] Don't use dpkg --print-installation-architecture since it is deprecated, use dpkg --print-architecture instead. * debian/control: + [FL] Depend on libparse-debianchangelog-perl, require >= 0.6 since prior versions have bugs regarding parse error handling * checks/binaries: + [FL] Check that the package name of a shared library matches the SONAME as defined in the "Library Packaging guide" (Closes: #305575, #313118) * checks/changelog-file{,.desc}: + [FL] Use libparse-debianchangelog-perl to parse the changelog, which detects a lot of syntax errors + [FL] Add a new tag debian-changelog-file-missing-or-wrong-name which is issued if we found no Debian changelog but an upstream changelog since the further checks will treat the latter file as the Debian changelog and only issuing debian-changelog-file-missing would be confusing then (Closes: #285152) + [FL] Detect closes: statements with non-valid bugnumbers, suggested by martin f. krafft (Closes: #294409) * checks/common_data.pm: + [FL] Fix typo (hurd-386 -> hurd-i386) from last release that lead to spurious warnings about unknown architectures (Closes: #318110) * checks/control-file: + [CW] Break control paragraphs at lines containing only whitespace, not just on zero-length lines. (Closes: #319370) * checks/fields: + [FL] Actually mention which architecture we're complaining about * checks/manpages: + [FL] Report errors from man when parsing man pages. Based on a patch by Kevin Ryde (Closes: #285540) * checks/po-debconf: + [FL] Abort check if the package doesn't seem to use debconf to avoid false positives in case maintainers use debian/po for other Debian specific strings (Closes: #262749) * checks/scripts: + [FL] increase search limit for exec hack by not counting comments and empty lines (Closes: #294661) + [FL] detect more bashisms, suggested by Clint Adams and martin f krafft (Closes: #253498, #296233 and addresses #253012 partly). + [FL] Adjust check for positional arguments after ". file" to detect more shell control and piping commands that are all allowed. Noted by Thomas Hood. (Closes: #319212) * reporting/html_reports: + [FL] Fix counting of binary package names + [FL] Generate mostly valid HTML (id and name attributes still aren't valid in all cases) -- Frank Lichtenheld Mon, 11 Jul 2005 15:50:10 +0300 lintian (1.23.10) unstable; urgency=low * The "Ah, it's LinuxTag and I still have free time!" release * debian/control: + [HE] Updated description to say that we're calibrated for Policy version 3.6.2. As the changes between 3.6.{1,2} aren't stuff we (can) check, this is actually true! (Closes: #317049) * testset/runtests: + [HE] Fix symlinking of original tarballs to allow run directories outside the lintian source tree. * checks/control-file + [HE] Check for duplicated fields. (Closes: #299792) * checks/fields: + [HE] Change unknown-architecture a bit: We don't complain about "known" non-standard archs (like amd64, ppc64, *bsd-i386) and only print out an info message for those. (Closes: #253405, #311471) * checks/files: + [HE] Allow backupninja configuration files in /etc/backup.d/ to be 0600. (Closes: #307639) * checks/scripts: + [HE] Allow Scripts in /etc/Xsession.d/ to be not executable, as they're not directly called, but only sourced. (Closes: #309203) + [HE] Check for use of adduser and update-inetd and warn if the package has no (pre-)dependency on adduser/netbase. Patch by Russ Allbery, thanks for the work. (Closes: #308569) + [HE] Check for use of "." as a deprecated separator between user and group names in chown call. (Closes: #88340) + [HE] Fix to work $interpreter-script-but-no-$pkg-dep with more than one dependency if needed. First use case is depending on build-essential to provide /usr/bin/make. (Closes: #294894) + [HE] Add lefty as a valid interpreter and check for a correct dependency on graphviz. (Closes: #295093) * checks/shared-libs: + [HE] Don't allow non-PIC shared libraries. This conforms to the new etch release policy. Thanks for the report and patch to Kurt Roeckx . (Closes: #309220) -- Marc 'HE' Brockschmidt Sun, 10 Jul 2005 16:20:42 +0200 lintian (1.23.9) unstable; urgency=low * The "Wow, so much time at hand" release * [FL] Convert build process to debhelper - debian/rules - adapted - debian/compat - new - debian/dirs - new - debian/docs - new - debian/control - add build depends - debian/postinst - remove (Closes: #292981) - debian/conffiles- remove - debian/prerm - adapted * debian/control: + [FL] Update Standards-Version to 3.6.2 * checks/conffiles: + [JvW] Warn on /var files being a conffile too (Closes: #293443) * checks/debconf: + [FL] Also report postinst-does-not-load-confmodule and postrm-does-not-purge-debconf if the related files don't exist at all. Spotted by Gerfried Fuchs (Closes: #301056) * checks/menus: + [FL] New check menu-file-in-usr-lib because /usr/lib/menu is deprecated + [FL] Also find menu files in /usr/share/menu (Closes: #314187) + [FL] Rename executable-in-usr-lib-menu to executable-menu-file * checks/menu-format: + [FL] Adapt to changes in collections/menu-files * checks/standards-version: + [FL] Update to 3.6.2 (Closes: #314879) * collections/menu-files: + [FL] Also collect files from /usr/share/menu -- Frank Lichtenheld Fri, 17 Jun 2005 02:17:52 +0200 lintian (1.23.8) unstable; urgency=low The "Hm, this is the team's one year anniversery of maintaining lintian" release[1], and still using the "temporary" subversion repository... Featuring Steve "R." Langasek in a guest appearance. [1] http://lists.debian.org/debian-lint-maint/2004/01/msg00014.html * checks/*.desc,doc/lintian.sgml: + [JvW] Stop bugging us for exceptions, mmkay, just install overrides. Hints like this should be in the general documentation anyway, not in per-tag descriptions. The general documentation will now only ask to contact us if in doubt * checks/changelog-file{,desc}: + [JvW] (new test) Bark on @toplevel email signatures in changelogs + [JvW] Display invalid debmake email address upon detection * checks/common_data.pm: + [CW] Add tclx8.4 to %known_tclxs. * checks/description: + [SRL] Do not generate warnings when a short description starts with an article; this is good grammar and should not be discouraged. (Closes: #290505) + [JvW] Drop description-synopsis-starts-with-a-capital-letter by popular demand (Closes: #288568) * checks/files{,.desc}: + [JvW] Warn only for hardlinks in /etc or amongst different directories (Closes: #288634) + [JvW] Only check for desktop files in GNOME's and KDE's obsolete places, not in all the package, as KDE uses .desktop files also for other purposes (Closes: #289773) * checks/nmu.desc: + [JvW] Be more precise in explaining why lintian thinks this is a NMU, and copy explanation to changelog-should-mention-nmu * checks/scripts{,.desc}: + [CW] Add checks for tclsh8.4 and wish8.4. (Closes: #288287) -- Jeroen van Wolffelaar Mon, 31 Jan 2005 23:14:01 +0100 lintian (1.23.7) unstable; urgency=high * lib/Lab.pm: + Fixed creation of static lab if the directory already existed, this failed in 1.23.6 + In temporary lab mode, try to create the directory several times before giving up * testset/runtests: Extend the static lab test -- Frank Lichtenheld Sat, 8 Jan 2005 21:41:21 +0100 lintian (1.23.6) unstable; urgency=low The "Let's see if I can upload myself now" release, made by Marc, Frank and Colin, uploaded by Jeroen. * checks/description + [HE] Warn if the short description start with an article or a capital letter. Patch by Tobias Toedter , thanks. (Closes: #258824) * checks/fields: + [HE] Warn if the debian revision has three parts, as this is the sign of a binary NMU. New check's name is binary-nmu-debian-revision-in-source. (Closes: #244830) + [HE] Warn if people use the Bugs field to refer to the Debian BTS, the new check is called redundant-bugs-field. (Closes: #245883) * checks/files: + [HE] Check that .desktop files are placed in /usr/share/applications. This seems to be the standard place for those files that are used to create menus. The check is called desktop-file-in-wrong-dir. (Closes: #200171) * checks/manpages: + [HE] Don't compare the manpage filename extension and the content of .TH case-sensitive. Report + patch by Jay Berkenbilt , thanks. (Closes: #285335) + [HE] Emit binary-without-english-manpage if a package only provides translated manpages for a binary. (Closes: #259227) + [HE] Skip all comment lines when checking for .so links in manpages. Thanks for the report and fix suggestion to Steinar H. Gunderson . (Closes: #284662) * checks/md5sums: + [HE] Strip off ./ at the beginning of the filenames in md5sums files (this seems to happen on some systems, though we don't know how). (Closes: #284728) * checks/standards-version: + [CW] By definition, udebs aren't required to conform to policy, so don't issue no-standards-version-field for them. (If they happen to have a Standards-Version field anyway, we still check that it's valid.) * lib/Lab.pm, frontend/lintian: SECURITY (CAN-2004-1000): + [FL] Overhaul lab directory handling. This also fixes the issue of removing a lab that never was created (Closes: #286681) -- Debian Lintian Maintainers Mon, 27 Dec 2004 05:40:13 +0100 lintian (1.23.5) unstable; urgency=low The "learn how to use intltool-debian correctly the hard way" release * checks/po-debconf: Set INTLTOOL_EXTRACT to fix invocation of intltool-update (Closes: #285419, #285471) -- Frank Lichtenheld Mon, 13 Dec 2004 18:16:52 +0100 lintian (1.23.4) unstable; urgency=low The "A little pause from the sarge release work" release. * checks/changelog-file: + [FL] file has apparently changed its output format for symlinks sometime in the past. This broke symlink detection. (Closes: #276504) * checks/deb-format, unpack/unpack-binpkg-l1, unpack/unpack-binpkg-l2: + [CW] Fix binary package data member extraction to work with arbitrary compression algorithms instead of hardcoding data.tar.gz. * checks/debconf{,.desc}: + [FL] The SETTITLE command was introduced in debconf version 1.3.22. Check the depends for that (Closes: #261890) + [FL] Warn about incorrect usage of commas in translated Choices fields. Patch by Denis Barbier after a suggestion by Andreas Metzler (Closes: #282030) * checks/debhelper: + [FL] Update list of debhelper scripts that modify maintainer scripts * checks/menu-format.desc: + [FL] Adjust references to the menu documentation. Noted by Jack Moffitt (Closes: #277393) * checks/po-debconf{,.desc}: + [FL] Check for outdated .pot files when using po-debconf. This requires a new dependency on intltool-debian. Patch by Denis Barbier with corrections by JvW (Closes: #242345) * checks/scripts{,.desc}: + [FL] Fix copy-and-paste error in description of wrong-path-for-gnuplot (Closes: #276945) Thanks to Lionel Elie Mamane for reporting. + [FL] Add tclsh8.3 to list of valid interpreters as it is used in at least one package. (Closes: #280080) + [FL] Issue wrong-path-for-{ruby,python} even if the path contained a version number. Change the description of the tag to reflect that. (Closes: #257904) * frontend/lintian-info: + [FL] Overrides start with O:, not with 0:, d'oh! (Closes: #258815) * lib/Tags.pm: + [FL] Add missing "use Util;", noted by Robert Luberda (Closes: #278513) * testset/debconf/*,testset/tags.debconf: + [FL] New test package for debconf and udeb tests * testset/diffs: + [JvW] Remove the shipped ELF binary, can be compiled at test-time * testset/runtests: + [FL] Make checks of udeb packages possible -- Frank Lichtenheld Mon, 6 Dec 2004 01:41:21 +0100 lintian (1.23.3) unstable; urgency=low The ``the others must be busy releasing Sarge or something'' release, prepared by yours truly * checks/conffiles.desc: + Note the most likely cause for duplicate-conffile in the description (thanks Chris Anderson for running into this problem and asking me about it) * checks/copyright-file: + Revert the extra pedantic check introduced in 1.23.0 that complained about unstrict dependencies when one as a /usr/share/doc/ that is a symlink (Closes: #249414) * checks/debconf: + Don't warn when the Choices field of a debconf question is