adequate (0.9.1ubuntu1) trusty; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - debian/tests/control: Drop "breaks-testbed" restriction. Our
      "adt-virt-null in qemu" runner does not support that, but we want to run
      the test anyway.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 19 Dec 2013 08:40:33 +0100

adequate (0.9.1) unstable; urgency=low

  * Update the package description.
  * Improve the test suite:
    + Fix Architecture fields of test packages.
    + Don't hardcode the i386 architecture (closes: #732448). Thanks to Martin
      Pitt for the bug report and the initial patch.
    + Fix DEP-8 test dependencies.
    + Fix test failures with ld that defaults to --as-needed. Thanks to Martin
      Pitt for the bug report and the patch.

 -- Jakub Wilk <jwilk@debian.org>  Wed, 18 Dec 2013 09:25:29 +0100

adequate (0.9) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - program-name-collision
      - missing-alternative

  * Add license information for libgmp.so.10 and libltdl.so.7.
  * Check for program name collisions.
  * Check if providers of x-terminal-emulator and x-window-manager register
    required alternatives.
  * Test runner: don't expect deterministic order of emitted tags.
  * Improve error handling.
  * Tidy up the code. Thanks, perlcritic.

 -- Jakub Wilk <jwilk@debian.org>  Mon, 16 Dec 2013 14:16:11 +0100

adequate (0.8.2) unstable; urgency=low

  * Improve the manual page:
    + Fix hyphens used as minus signs.
    + Add examples (closes: #726152)
      Thanks to Shirish Agarwal for the bug report.
  * Don't complain about files in /usr/share/paster_templates/ not being
    byte-compiled.
  * Fix reporting incompatible-licenses, and other ELF-related tags, against
    wrong package (closes: #729031).
  * Fix incorrect implementation of --tags for ELF-related tags.

 -- Jakub Wilk <jwilk@debian.org>  Thu, 05 Dec 2013 10:04:22 +0100

adequate (0.8.1) unstable; urgency=medium

  * Fix possible privilege escalation via tty hijacking (CVE-2013-6409,
    closes: #730691).
    + Switch users only when running ldd.
    + Run ldd with stdin redirected to /dev/null, and without controlling
      terminal when run with reduced privileges.
  * Bump standards version to 3.9.5 (no changes needed).

 -- Jakub Wilk <jwilk@debian.org>  Thu, 28 Nov 2013 11:27:21 +0100

adequate (0.8) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - missing-symbol-version-information
      - symbol-size-mismatch

  * When printing warnings from ldd, avoid outputting binary name twice.
  * Check for symbol size mismatches.
  * Check for missing version information.
  * Report symbol issues with libraries in private directories (when they can
    be triggered by running ldd against binaries or libraries in public
    directories).
  * Add license information for libpoppler.so.37.
  * Don't complain about missing lua_* and luaL_* symbols in liblua* libraries.
  * Add “Summary of tag changes” sections to old changelog entries.

 -- Jakub Wilk <jwilk@debian.org>  Mon, 16 Sep 2013 13:27:06 +0200

adequate (0.7.1) unstable; urgency=low

  * When checking ELFs, skip unresolvable symlinks (closes: #709484, #716988).
    Thanks to Laurent Bonnaud and Peter Karbaliotis for the bug reports.

 -- Jakub Wilk <jwilk@debian.org>  Tue, 16 Jul 2013 15:37:13 +0200

adequate (0.7) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - incompatible-licenses

  * Check if Python modules in /usr/lib/pypy/ are byte-compiled
    (closes: #710021).
  * Check for binaries linked to libraries with incompatible licenses.
    Currently only licenses of the following libraries are recognized:
    OpenSSL, GnuTLS, Poppler, and GNU Readline.
  * Remove a duplicate label.
    Thanks to Niels Thykier for the bug report.
  * Silence “skipping <pkgname> because it's not installed” warnings
    (closes: #712446).
    Thanks to Paul Wise for the bug report.
  * Add a section about reporting bugs to the manual page.
  * Update the package description.
  * Add “XS-Testsuite: autopkgtest”.

 -- Jakub Wilk <jwilk@debian.org>  Tue, 25 Jun 2013 00:25:26 +0200

adequate (0.6) unstable; urgency=low

  * Improve error handling when resolving symlinks (see bug #709484).
  * Improve error handling when accessing /var/lib/adequate/pending.
  * Add the --tags option (closes: #709372).
  * Assume that executable .py files in private directories that start with
    shebangs are scripts, rather than Python modules, and therefore don't
    require bytecompilation (closes: #709192).
  * Disable warnings about use of smartmatch (closes: #710063).
  * Add a minimal build-time test that verifies that adequate runs
    successfully and without warnings on a simple package (coreutils).
    + Add “perl (>= 5.12)” to Build-Depends.
  * Unset all LD_* environment variables when running ldd.

 -- Jakub Wilk <jwilk@debian.org>  Wed, 29 May 2013 22:25:59 +0200

adequate (0.5.3) unstable; urgency=low

  * Make the obsolete conffile check work with pre-multi-arch dpkg.
  * Don't consider a conffile obsolete if dpkg-query lists it as non-obsolete
    and belonging to a different package (closes: #708588). This is a
    work-around for dpkg bug #645849.
  * Don't complain about /usr/lib/pythonX.Y/__phello__.foo.py not being
    byte-compiled.
  * Don't complain about .py files in /usr/share/apport/package-hooks/ not
    being byte-compiled (closes: #709187).

 -- Jakub Wilk <jwilk@debian.org>  Tue, 21 May 2013 21:10:41 +0200

adequate (0.5.2) unstable; urgency=low

  * Don't use dh_testdir; instead, use makefile rules to ensure that
    debian/rules can be only run in the correct directory.
  * Whitelist ps_* symbols in libthread_db-*.so libraries when checking for
    undefined symbols.
  * Improve diagnostics when ldd fails (closes: #706915).
    Thanks to Paul Wise for the bug report.
  * Find more undefined versioned symbols.
  * Make --pending ignore dpkg-query exit code (closes: #707080). This is
    needed because packages listed in /var/lib/adequate/pending might have
    been removed in the mean time.
    Thanks to Paul Wise for the bug report.
  * Don't complain about missing .pyc in /usr/lib/python2.X/dist-packages/ if
    2.X is not a supported Python version (closes: #707614).
  * Don't complain about missing .pyc in /usr/lib/python3/dist-packages/ if
    no supported Python 3 version is installed.
  * Clean tests/ subdirectory in the clean target.

 -- Jakub Wilk <jwilk@debian.org>  Fri, 10 May 2013 12:39:39 +0200

adequate (0.5.1) unstable; urgency=low

  * Update the package description.
  * Disable the unicode_strings Perl feature.
  * Improve the manual page:
    + Call “Debian Python Policy” simply “Python Policy”.
    + Add links to Debian Policy and Python Policy.
    Thanks to Shirish Agarwal for the bug report.
  * Handle diversions correctly (closes: #706107).
    Thanks to Ben Hutchings for the bug report.
  * Fix Restrictions field in debian/tests/control. (The items should be
    space-separated, rather than comma-separated.)

 -- Jakub Wilk <jwilk@debian.org>  Wed, 24 Apr 2013 21:57:35 +0200

adequate (0.5) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - library-not-found

  * When looking for /(s)bin binaries, don't skip symlinks that point outside
    /(s)bin.
  * When looking for public executables and shared libraries, don't skip
    symlinks that point to directories that wouldn't normally be checked.
  * Check for binaries linked to libraries that cannot be found.
  * Change Debconf prompt priority to critical.

 -- Jakub Wilk <jwilk@debian.org>  Thu, 04 Apr 2013 22:09:12 +0200

adequate (0.4.4) unstable; urgency=low

  * Make sure that the APT hook won't fail when the package is removed but not
    purged (closes: #702904). Thanks to Andreas Beckmann for the bug report.

 -- Jakub Wilk <jwilk@debian.org>  Thu, 14 Mar 2013 17:50:28 +0100

adequate (0.4.3) unstable; urgency=low

  * Upload to unstable.

 -- Jakub Wilk <jwilk@debian.org>  Mon, 11 Mar 2013 22:30:21 +0100

adequate (0.4.2) experimental; urgency=low

  * Skip packages that are not fully installed (closes: #701995).
    Thanks to Axel Beckert for the bug report.
  * Refactor code responsible for printing errors and warnings.

 -- Jakub Wilk <jwilk@debian.org>  Sat, 02 Mar 2013 10:59:42 +0100

adequate (0.4.1) experimental; urgency=low

  * Update the package description.
  * Add description to the manual page.
  * Document --apt-preinst and --pending in more details.
  * Add a test suite.
    + Add DEP-8 test script.
  * Add README.source asking to change source format when forking.
  * Improve the pyshared-file-not-bytecompiled tag description.
  * Fix Python byte-compilation checks for Python < 2.6.
  * Fix Python byte-compilation checks for python-support < 0.90.
  * Improve error handling.

 -- Jakub Wilk <jwilk@debian.org>  Thu, 21 Feb 2013 13:41:14 +0100

adequate (0.4) experimental; urgency=low

  * Detect missing versioned symbols, too.
  * Avoid running ldd against the following files:
    - files that are known not to be readable;
    - dynamic linkers;
    - files with whitespace in their names.
  * Filter package names through dpkg-query. This adds or removes architecture
    suffixes, as needed.
  * Reduce number of ldd(1) calls to at most two.

  * Add option for chroot(2)ing into another directory: --root.
  * Add option for switching user and group: --user.
  * Make the APT hook run as user ‘nobody’.

  * Make the package more portable:
    + Stop requiring multi-arch-aware dpkg. Drop versioned runtime dependency
      on dpkg.
    + Stop using IPC::Run. Drop libipc-run-perl recommendation.
    + Load debconf modules lazily.

  * Improve options parsing. Exit with error for incompatible combinations of
    options (e.g. both --pending and --all).
  * Make --help more verbose.

  * Improve the documentation:
    + Work around bug #280148 in pod2man: manual page references should be
      rendered in bold, not in italics.
    + Add a to-do list.
    + Rewrite the undefined-symbol tag description.
    + Don't repeat “Debian Policy” if a tag refers multiple policy sections.
    + Document the --help option.
  * Replace “underlinked libraries” with “undefined symbols” in the package
    description. The latter is what adequate actually detects, while the
    former might or might not be the root cause of the observed problem.
  * Make generating the POD file atomic.

 -- Jakub Wilk <jwilk@debian.org>  Wed, 30 Jan 2013 23:46:24 +0100

adequate (0.3.1) experimental; urgency=low

  * Initial upload to Debian (closes: #698656).
  * Update years in debian/copyright.
  * Disable the APT hook. (It can be re-enabled by editing
    /etc/apt/apt.conf.d/20adequate).
  * Improve error handling.
  * Improve the documentation.
  * Rebuild the documentation from source.
  * Add Vcs-* and Homepage fields.

 -- Jakub Wilk <jwilk@debian.org>  Tue, 22 Jan 2013 23:30:21 +0100

adequate (0.3) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - undefined-symbol

  * Improve the documentation.
  * Remove some no-op code.
  * Check for undefined symbols.
  * Add libipc-run-perl to Recommends (needed for the new check).
  * Update the package description.
  * Bump standards version to 3.9.4 (no changes needed).

 -- Jakub Wilk <jwilk@debian.org>  Mon, 21 Jan 2013 20:25:37 +0100

adequate (0.2.1) unstable; urgency=low

  * Don't expect third-party Python 2.X modules to be byte-compiled if the
    corresponding Python version is not installed.
  * Print symlink target when reporting broken symlink.
  * Provide a manual page.

 -- Jakub Wilk <jwilk@debian.org>  Fri, 14 Sep 2012 17:32:13 +0200

adequate (0.2) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - bin-or-sbin-binary-requires-usr-lib-library

  * Don't complain about .py files in /usr/lib/debug/usr/bin/ etc.
  * Don't complain about .py files in /usr/games/.
  * Check for /bin and /sbin binaries requiring /usr/lib libraries.
  * Reduce number of dpkg -L calls to one.

 -- Jakub Wilk <jwilk@debian.org>  Mon, 03 Sep 2012 20:27:04 +0200

adequate (0.1.1) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - pyshared-file-not-bytecompiled

  * Don't store ambiguous package names (for Multi-Arch: same packages) in
    /var/lib/adequate/pending.
  * Don't complain about .py files in /etc that are not byte-compiled.
  * Don't complain about .py files within standard libraries of alternative
    Python interpreters (jython, pypy) that are not byte-compiled.
  * Check byte-compilation of files in /usr/share/pyshared/ and
    /usr/share/python-support/.
  * Fix emitting messages longer than 2 lines via debconf.
  * Don't put colon between tag name and extra information.

 -- Jakub Wilk <jwilk@debian.org>  Sat, 11 Aug 2012 18:51:40 +0200

adequate (0.1) unstable; urgency=low

  * Initial release.

  * Summary of tag changes:
    + Added:
      - broken-symlink
      - missing-copyright-file
      - obsolete-conffile
      - py-file-not-bytecompiled

 -- Jakub Wilk <jwilk@debian.org>  Thu, 02 Aug 2012 21:19:14 +0200
