Last commit made on 2005-12-20
Get this branch:
git clone -b ubuntu/hoary https://git.launchpad.net/ubuntu/+source/lintian
Members of Ubuntu Server Dev import team can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

d250721... by Michael Vogt on 2005-01-04

Import patches-unapplied version 1.23.6ubuntu1 to ubuntu/hoary

Imported using git-ubuntu import.

Changelog parent: 43ea43d691f6fa06994a605d1d1ef6695bd2e533

New changelog entries:
  * Resynchronise with Debian.
  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 <email address hidden>, thanks. (Closes:
  * 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 <email address hidden>,
      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
      <email address hidden>. (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

  * 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)
  * frontend/lintian: Add warty and hoary as valid distributions.
  * checks/common_data.pm: Add restricted, universe, and multiverse to
  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)
  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
  * 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

  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/<package> 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) <package> <type>:,
      (2) <package>:, and (3) <nothing> as prefix to tags you want to
      override, and modify documentation accordingly. This used to be buggy
      (Closes: #261435)
  * 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)
  The ``Now featuring over 500 checks'' release, prepared by the usual
  * 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 ->
      (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
    + [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
      <email address hidden>. (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
  * 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
    + [FL] a space after the colon is not mandatory in dpkg control

  * 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.

43ea43d... by Debian Lintian Maintainers <email address hidden> on 2004-04-23

Import patches-unapplied version 1.23.0 to ubuntu/warty

Imported using git-ubuntu import.