lintian (1.23.41~feisty1) feisty-backports; urgency=low * Automated backport upload; no source changes. -- SpecialK Tue, 18 Dec 2007 17:05:08 +0000 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 not translated, often it makes no sense to translate it (Closes: #262649) * checks/debhelper: + dh-make also creates sample files named .EX, so make that check case-insensitive (Closes: #251262) * checks/fields.desc: + Adjust package-has-a-duplicate-relation to warning, and note that this sometimes happens to you when using ${shlibs:Depends}, and you shouldn't bother too much if that's the case (Closes: #274286) Thanks Peter Eisentraut for the suggestion + Fix English language depends-on-essential-package-without-using-version, thanks to Peter Eisentrautf for noticing (Closes: #261603) + [FL] Clone depends-on-essential-package-without-using-version as build-depends-on-essential-package-without-using-version to give correct policy reference (Closes: #261602) * checks/init.d: + Don't warn for missing init.d scripts in package and conffile list if a variable is used instead of a real name (Closes: #264218) * checks/manpages.desc: + Demote binary-without-manpage to warning, and adjust description, to be consistent with policy, which says a manpage should be available (and doesn't use "must" for it). Thanks to Robert Millan for his patch (Closes: #271014) * checks/nmu.desc: + Note in source-nmu-has-incorrect-version-number's description that the mistake could also be the other way around (Closes: #258604) * checks/po-debconf: + Don't give missing-file-from-potfile-in on empty lines (Thanks Adam Conrad for noticing) * checks/scripts: + The php commandline interpreter is now provided by php4-cli, and not php4-cgi, update dependency check accordingly (Closes: #268077) + Give an error if the 'config' script uses a non-essential interpreter (Closes: #274832) * checks/shared-libraries: + Ignore comments in shlibs files (Closes: #275124) * doc/lintian.sgml: + Document that you can use comments in overrides (Closes: #87805) * frontend/lintian: + Fix overrides so that they allow all of (1) :, (2) :, and (3) as prefix to tags you want to override, and modify documentation accordingly. This used to be buggy (Closes: #261435) -- Jeroen van Wolffelaar Wed, 13 Oct 2004 02:45:36 +0200 lintian (1.23.2) unstable; urgency=low * The "of course it had to go wrong on my first own lintian upload" release. * Tigthen versioned Build-Depends on sed to (>= 4.1-4) to avoid be hitten by a bug in sed that changes the permissions of files when processed with sed -i (Closes: #259109) -- Frank Lichtenheld Tue, 13 Jul 2004 13:36:45 +0200 lintian (1.23.1) unstable; urgency=low The ``Now featuring over 500 checks'' release, prepared by the usual suspects. * checks/*: + [JvW] Changed from executables to check-plugins + [HE] Drop the misuse of charset when we want to say "encoding". Renamed 2 tests for that: unknown-charset-in-po-file -> unknown-encoding-in-po-file debian-changelog-file-uses-obsolete-national-charset -> debian-changelog-file-uses-obsolete-national-encoding (Closes: #248194) * checks/binaries: + [FL] Change check for binary-compiled-with-profiling-enabled on hppa to look for _mcount instead of __gmon_start__ since the latter can't be used as an indicator on that arch (Closes: #207063) + [JvW] Exempt ocaml binaries from the 'is the binary stripped?' test, since they cannot be stripped harmlessly. See #256900 (Closes: #252695) + [JvW] Parse the output of file a little bit more strict, and make it consequent across checks (Closes: #257898) * checks/changelog-files{,.desc}: + [HE] New check latest-debian-changelog-entry-without-new-date, comparing the dates of the last 2 changelog entries. (Closes: #111215) + [FL] New tag invalid-date-in-changelog which is issued if latest-debian-changelog-entry-without-new-date encounters a parse error * checks/common-data.pm: + [JvW] Add libgl(u)-dev to list of virtual packages (Closes: #255595) + [JvW] Added amd64 to list of known architectures, as the name has settled and it'll likely enter the archive soonish (Closes: #257503) * checks/control-file{,.desc}: + [HE] Introduced new check script. New checks: - build-info-in-binary-control-file-section, triggered by a Build-* field in a binary section (Closes: #94928) - debian-control-file-uses-obsolete-national-encoding, stolen from changelog-file (Closes: #247197) * checks/cruft{,.desc}: + [JvW] cvsignore-file-in-source is now info, because it happens so often by upstream, and is only very minor in size + [HE] New check: source-contains-cvs-conflict-copy, triggered by .#file.version files. They are created by cvs when it tries to merge local changes and an update from the repo. (Closes: #246060) + [JvW] Also check for source-contains-svn-conflict-copy (for .r123 and .mine files) * checks/debhelper: + [FL] Avoid Perl warning about undefined values. Noted by JvW. * checks/fields{,.desc}: + [JvW] Added debian-revision-should-not-be-zero, suggested by Adam Conrad + [FL] Downgrade build-depends-without-arch-dep to warning as it's heuristic. Reword explanation. This partly handles #247171. + [JvW] For build-depends-without-arch-dep, fix detection of debhelper usage in clean when used by means of CDBS (combined with above change, now fully closes: #247171) + [HE] Check Build-Depends(-Indep) for virtual packages without a real dependency. Fix based on patch by Steinar H. Gunderson . (Closes: #255593) + [HE] Don't issue virtual-package-depends-without-real-package-depends if this happens in Suggests. (Closes: #254367) + [FL] Allow whitespace in relations after the version number * checks/huge-usr-share: + [FL] Skip check for packages that don't have usr/share at all (Closes: #247708) * checks/manpages: + [FL] Comment check for no-manpage-in-correct-directory out until I know if it's worth keeping it at all (Closes: #253011) Thanks to Stephen Stafford for pointing this out. * checks/menus: + [FL] Fix regex which checks for update-menus calls (missing whitespace) and allow path before executable name (perhaps this should be another warning, though?) (Closes: #254420) + [FL] Some clean-up and warn that wm-menu-config is deprecated (Closes: #248997) + [FL] Demote executable-in-usr-lib-menu to warning as executables are supported (but seldomly used) (Closes: #254498) * checks/menu-format: + [FL] Fix su-to-root checks to cope with the new -X option and improve the option parsing to better handle unknown options + [FL] Allow a comma separated list in the package test. Pointed out by Gerfried Fuchs (Closes: #246507) Change incorrect-package-test to pkg-not-in-package-test which is issued when the package is not in the list. Don't issue menu-command-not-in-package when we have a list. + [FL] Commands for window manager's modules can't be expected to be available as executables, so don't issue menu-command-not-in-package in this case. Thanks to Manoj Srivastava for reporting (Closes: #247805) + [HE] Change menu-command-not-in-package to also look into the standard PATH. (Closes: #255155) * checks/po-debconf: + [JvW] Simply fail if stuff from gettext is missing. * checks/scripts: + [FL] Don't issue executable-not-elf-or-script for files that are named *.exe (Closes: #251075, #255083) + [CW] Add python2.4 as a valid interpreter (Closes: #254482) + [FL] Add ruby1.[68] as valid interpreters, introduce new ruby-script-but-no-ruby-dep error, copied from the python stuff + [FL] Don't issue script-not-executable for menu-methods. There are reasons why they are sometimes not executable (Closes: #250632) + [FL] 'and' and 'or' are no bash keywords (Closes: #194283) * checks/shared-libs: + [FL] Don't report shlib-with-executable-bit and shlib-with-bad-permissions on symbolic links to such files + [JvW] Fix the pic-detection code (Closes: #185816) * debian/{control,rules}, frontend/lintian: + [JvW] Insert version number at package build time, no need to commit a change to frontend/lintian on every version number change... Requires sed version 4 at build-time. + [JvW] Start depending on gettext. + [JvW] Start depending on libdigest-md5-perl on woody, for using md5 on files. * frontend/lintian: + [JvW] Partial rewrite: checks are now plugins loaded into lintian, rather than executed as separate executables. Makes it easy to make common functions available, tags are done centrally, etc etc. Should also save quite a number of forks, thus more speedier. * lib/Util.pm: + [FL] dpkg supports comments in control files now, handle them correctly + [FL] a space after the colon is not mandatory in dpkg control files * man/lintian.1: + [FL] Document new control-file check script * reporting/harness: + [FL] Correctly support udeb packages * reporting/html_reports: + [FL] Correctly support udeb packages + [FL] Remove some unused code for bug references * reporting/bug.status: + [FL] Remove * testset/filenames: + [JvW] Fix two lintian warnings in lintian itself by touching files only on clean target, and not distributing them in the source * unpack/list-srcpkg: + [FL] Some packages don't specifiy a standards-version, e.g. d-i ones. Prevent Perl warnings. * unpack/list-udebpkg: + [FL] Fix sort of copy & paste error which caused the whole script to behave ill * unpack/unpack-binpkg-l2: + [FL] While fixing permissions, also enable write access so we get no problems on removal. Disable group write permissions, we need nobody to interfere with us. -- Debian Lintian Maintainers Tue, 13 Jul 2004 01:23:20 +0200 lintian (1.23.0) unstable; urgency=low The ``moving forward'' release, prepared by Marc 'HE' Brockschmidt, Frank Lichtenheld and Jeroen van Wolffelaar. * [FL] add udeb support (Closes: #216117) Thanks to Joey Hess for his input. Many changes, mostly to frontend/lintian, checks/debconf and checks/files * checks/binaries: + [JvW] Ignore static binaries in /usr/lib/debug * checks/changelog-file: + [HE] Check for the debmake template email address in the changelog entries. Patch by Steffen Moeller , thanks! (Closes: #199903) + [JvW] Loosen up checks for -0.x versions, could be either native or upstream + Debian revision, so some tests cannot be performed because of that uncertainty * checks/copyright-file: + [HE] Change usr-doc-symlink-to-foreign-package check to throw an error when a package doesn't depend on the *same* version of the package its /usr/share/doc/$foo dir is symlinked to. This is supposed to ensure that both come from the same source and the same source version. (Closes: #201470) * checks/cruft.desc: + [HE] Reworded some parts and bumped the Standards-Version after checking for changes. (Closes: #235735) * checks/debconf{,.desc}: + [JvW] Add an error for a bogus default for a boolean template (Closes: #236846) + [HE] Check for duplicate fields in templates. Fix based on patch by Denis Barbier , thanks! (Closes: #233116) + [HE] Check if the translation of a Choices: field is empty, leading to skipped questions. (Closes: #149451) * checks/debdiff: + [HE] Check for accidental native packaging. This is done by checking for a dash in the version number (though -0.\d+ and -0.\d+.\d+ are allowed for (binary) NMUs) and the existence of a .diff.gz. (Closes: #216327) + [JvW] Implement source-tar-is-posix-tar, which checks for upstream tarballs that are tar --posix tarballs, which cannot be untarred by the tar version in woody (Closes: #245138) * checks/debhelper{,.desc}: + [JvW] Add error if debian/compat is empty, happens once in current sid and gave internal error before * checks/debian-readme: + [HE] Add check for the debmake template email address. Patch by Steffen Moeller , thanks! * checks/deb-format: + [HE] Add a check for the data member of a deb. dpkg 1.11 introduces support for configurable compression algorithms (bzip2, for example), but this shouldn't be allowed before dpkg 1.11 hits stable. (Closes: #159874) * checks/fields: + [HE, FL] Nearly complete rewrite for clean up: - bad-relation seems to work better now (Closes: #171763) - duplicate relations checking now works for different fields, too (Closes: #234978, #235356) + [HE] Add check for an Origin field with "Debian" as value. (Closes: #119618) + [HE] Reintroduce build-depends-without-arch-dep check with the patch I proposed in #214231. (Closes: #242484) + [JvW] Check for well-formed Debian-revision + [JvW] Check for correct realname when QA mailaddress used * checks/fields.desc: + [FL] Fix some wrong policy references * checks/files: + [HE] New check for compiled python files (*.pyc). Patch by David Kimdon , thanks. (Closes: #236606) + [HE] Check for gzipped zero byte files. (Closes: #172052) + [FL] Don't complain about read-only *.ali files as requested by Ludovic Brenta. This makes #226879 wishlist again. + [FL] Warn about ancient files with the value of Dinstall::CutOffPastYear from dak CVS as limit. (Closes: #204801, #218304) + [HE] Check for *.ali files introduced, warn if their permissions are != 0444. (Closes: #226879) + [HE] New checks for deprecated X11 dirs (/usr/{bin,lib,include}/X11 and usr/X11R6/*). (Closes: #81004) + [HE] Check for README for other distributions/platforms and warn if they're installed. Based on patch by Jay Bonci. (Closes: #178441) * checks/init.d: + [FL] output-of-updaterc.d-not-redirected-to-dev-null should be only a info tag since it is more a aesthetical issue, not a policy violation. (Closes: #149700) * checks/lintian.desc: + [JvW] Added missing Type: tags * checks/manpages: + [FL] New checks: - Section number of directory and file differ - Section number of file differs from what is expected from the location of the binary. (Closes: #203831) + [FL] Parse contents of man page and implement more new checks: - Section number of file and header differ (Closes: #89488) - Try to search for hyphens that should be minus signs (Closes: #205924). First patch by Eduard Bloch, final regex by Josip Rodin. - Search for FSSTND directories referenced in man pages. Only an info tag. (Closes: #111098) + [FL, HE] Fix false positives of manpage-for-non-x11-binary-in-wrong-directory when a link from a normal bin/ is pointing to a binary in an X11 dir. Based on patch by FL. (Closes: #203389) + [JvW] x11-games-should-be-in-usr-games is now error, because it's mandated by policy * checks/menus: + [JvW] Stricter checking for whether update-menus is actually called (Closes: #244628) * checks/menu-format: + [FL] Only issue one warning about needs=dwww, not two + [HE] Check if the command given with command= is in the package (Closes: #199346) * checks/nmu{,desc}: + [JvW] New series of checks: Check whether NMU's have correct NMU version number, and whether maintainer uploads have correct maintainer version. Also, check whether NMU's and QA uploads are identified as such in the changelog (Closes: #111948) * checks/scripts: + [FL] Add /usr/bin/php as valid interpreter. (Closes: #239115) Thanks to Peter Eisentraut for pointing this change out + [FL] Reflect new suidperl handling. /usr/bin/suidperl shouldn't/can't be called directly anymore so add a new error and remove it from the list of usual interpreters. (Closes: #240806) + [HE] Don't warn about files with a shebang line which are not executable when they are called *in, as they're probably just templates. (Closes: #114740) * checks/shared-libs: + [HE] Add some new logic to cope with symlinks from /usr/lib to another dir to fix false positives of postrm-has-useless-call-to-ldconfig and friends. (Closes: #190714) + [HE] Also handle case statements in postrm scripts. (Closes: #179435) * checks/standards-version: + [JvW] Also emit warning if standards version is 3.6.0, and not yet 3.6.1 * collection/diffstat + [HE] The diff.gz file name does not include the the epoch, so strip it before trying to get the file. * collection/override-file: + [FL] add support for source overrides (Closes: #129510) See the User Manual for more information. * collection/source-control-file: + [FL] New collection script to extract field information from debian/control in source packages. Currently used in checks/debhelper to guess udeb packages. * debian/control,debian/copyright: + [FL] Add Marc 'HE' Brockschmidt to Uploaders and to copyright file * doc/lintian.sgml: + [FL] Some updates, some more verbatim explantions (Closes: #197955) + [FL] Reworked the override section to handle udeb and source packages, too * doc/README: + [FL] Update options * frontend/lintian: + [HE] Added a --dont-check-parts|-X option to allow users to specify which tests should not be run. Also added infos about this to the manpage. (Closes: #206674) * frontend/lintian-info: + [JvW] Fixed that lintian -I also displays info for I: entries * lib/Dep.pm: + [FL] Fixed some semantic errors (since noone ever observed the correspoding perl warnings the fixed parts are probably never used in the current code) * lib/Utils.pm + [HE] Changed {read,parse}_dpkg_control a bit to cope with the fact that template files sometimes contain lines consisting only of whitespace which do *not* separate to blocks. (Closes: #242479) * testset/runtests: + [JvW] Rewrote so that it is actually useful: - sort output to nullify filesystem directory ordering differences - run lintian just once - check that all tests that are triggered have a description, if verbose specified, warn about tests that are not tested * unpack/list-binpkg: + [HE] Try to open Packages.gz if no Packages file can be found. Fix based on patch by Robert Lemmen , thanks! (Closes: #198617) -- Debian Lintian Maintainers Fri, 23 Apr 2004 12:32:36 +0200 lintian (1.22.12) unstable; urgency=low The ``Fix those false positives, mkay'' release, prepared for all Debian Maintainers by Frank Lichtenheld and Jeroen van Wolffelaar. Best served cold. * debian/control: + [FL] Make Uploaders a single line field. It didn't really break, but at least DDPO had its difficulties * man/lintian.1: + [FL] sync man page with the --help output by adding missing options Based on a patch by Robert Lemmen. (Closes: #198615) + [FL] sync man page with the current list of checks and collection scripts * checks/binaries: + [FL] Don't complain about non-stripped kernel modules. Patch by Dagfinn Ilmari Mannsaker (Closes: #203373) + [JvW] Exclude binaries and packages named *-static from the binary-is-static test. Exception for sash removed. (Closes: #215235) * checks/changelog-file: + [FL] Check that encoding of changelog file is UTF-8, based on a patch by Denis Barbier (Closes: #175318) * checks/copyright-file{,.desc}: + [FL] Don't advise to point to the perl packages' copyright file. Thanks to Martin Orr for pointing this out. (Closes: #193293) + [FL] Fixed false positives of copyright-should-refer-to-common-license-file-for-gpl due to the GFDL. Thanks to Ross Burton for reporting this. (Closes: #192278) * checks/deb-format{,.desc}: + [JvW] Fix perl variable-name clash causing unusually formatted error output (only important if you do automatic processing on it) + [FL] The current script is by Denis Barbier, correcting author in .desc file * checks/debhelper.desc: + [FL] correct reference to debhelper manpage. It's debhelper(7), not debhelper(1). Thanks to Brian Nelson for pointing this out (Closes: #188245) * checks/debconf: + [JvW] Update valid types, since currently 'title' is supported now too (Closes: #234379, #234608) * checks/description: + [FL] fix description-is-dh_make-template check. (Closes: #215125) Fix suggested by Josip Rodin * checks/etcfiles.desc: + [FL] correcting abbrevation of etcfiles to 'etc', was 'ini' which is already used by init.d * checks/fields: + [FL] Really check only "real" dependency fields for needlessy depends (Closes: #185035) + [JvW] Don't consider depending on coreutils bad, as this is in a way a versioned depend (Closes: #216536) + [FL] Remove the build-depends-without-arch-dep check. It produces way too much false positives and can only be replaced by a sophisticated debian/rules parser (Closes: #192037, #202950, #214231) + [JvW] Test syntax of Uploaders: too + [JvW] Accept more whitespace in relations, which is allowed according to policy, thanks Adrian Bunk for noticing, FL for patch (Closes: #200280) * checks/filenames: + [JvW] Revised the symlink detection stuff, it is now more rigorous, and has seperate warning for recursive symlinks that are otherwise not necessarily wrong (Closes: #118080) * checks/files: + [FL] only issue package-installs-nonbinary-perl-in-usr-lib-perl5 if there is no binary perl file at all in the package, since this reflects the way the Installer module behaves (Closes: #199898) * checks/huge-usr-share: + [JvW] Check for a big /usr/share (currently 1-2MB will trigger it) in arch-dependent packages. Currently just I:. Thanks Steve McIntyre for the idea. (Closes: #232849) * checks/menus{,.desc}: + [FL] Remove non-exectuable-in-etc-menu-methods as it doesn't reflects the current menu manual (Closes: #229460) * checks/po-debconf: + [JvW] Check whether files listed in debian/po/POTFILES.in actually exist, and only positively detect po-debconf usage if dependency is there. (Patch by Denis Barbier , only minimally modified) * checks/scripts: + [FL] Fix check for "exec ..." line. Fix suggested by Josip Rodin. (Closes: #212811) + [JvW] Tighten up mknod, dpkg --print-architecture and killall detection in maintainer scripts, would need rewrite to be really sane. (Closes: #148548, #161820, #192300) * checks/shared-libs: + [FL] Be more tolerant to variations when checking for postrm-unsafe-ldconfig. Thanks to Martin Godisch, Steinar H. Gunderson and Aidas Kasparas for their input. (Closes: #218543, #233740) * unpack/unpack-binpkg-l1: + [FL] tar uses now h to signal hardlinks which breaks a lot of our code. so sed'ing it away. Many many thank