debhelper (13.11.4~nd+1) sid; urgency=medium * Backported for sid. * Used following sed expression to modify debian/control: -e 's/\(^Depends:\) */\1 neurodebian-popularity-contest, /g' -e 's/^Maintainer:.*$/Maintainer: NeuroDebian Maintainers \nX-Original-&/'. -- NeuroDebian Maintainers Thu, 08 Jun 2023 13:41:04 -0400 debhelper (13.11.4) unstable; urgency=medium [ Peter Pentchev ] * meson.pm: Pass --destdir to `meson install`. (Closes: #1027014) -- Niels Thykier Mon, 02 Jan 2023 14:54:26 +0000 debhelper (13.11.3) unstable; urgency=medium * Dh_Lib.pm: Have addsubstvars check the value for newlines (Closes: #1026014) * Stop using (fake)root for mkdirs again. Should have been removed as a part of the clean up in the previous upload but was overlooked causing breakage in packages still having `Rules-Requires-Root: binary-targets`. (Closes: #1026125) * PROGRAMMING.md: Fix typos -- Niels Thykier Thu, 15 Dec 2022 09:07:38 +0000 debhelper (13.11.2) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Remove unused third parameter from install_dh_config_file * makefile.pm: Provide hook for subclasses to reuse cross-build support (Closes: #1024296) * Dh_Lib.pm: Revert change where `install_{file,prog,lib}` would use chown. The problem that prompted this change was not caused by debhelper but by fakeroot (#1024544) and the change in debhelper would not even function as a work around in this case. Accordingly, the extra complexity is not worth it and has been reverted. [ Jakub Wilk ] * Dh_Lib.pm: Fix typo in warning message about dherroron -- Niels Thykier Wed, 14 Dec 2022 20:32:18 +0000 debhelper (13.11.1) unstable; urgency=medium * Team upload. * Fix missed 3 to 4 arguments conversion in _install_file_to_path call. (Closes: #1024520) -- Axel Beckert Mon, 21 Nov 2022 00:56:24 +0100 debhelper (13.11) unstable; urgency=medium [ Gioele Barabucci ] * dh_installchangelogs: Ensure that at least four old entries are preserved (Closes: #1021467) [ Andrea Pappacoda ] * meson.pm: Use `meson setup` in the configure step rather than just `meson`. [ Niels Thykier ] * Put newest compat level first in documentation * Rename debhelper config files to include package name * dh_installdebconf: Fix typo in manual page * Dh_Lib.pm: `qx_cmd` support env/chdir changes like `doit` (Closes: #1016354) * Remove obsolete compat checks in the code * dh_dwz: Ensure dwz multifile is owned by root:root when root should be used * dh_builddeb: Always pass `--root-owner-group` to `dpkg-deb` for dbgsym packages. * Dh_Lib.pm: Provide `mkdirs` to create (non-package) directories. * Dh_Lib.pm: Make `install_dir` chown created directories when root should be used for debhelper's own commands. This fixes #1024261 for packages that only use debhelper itself. However, third-party debhelper tools may still cause packages with incorrect ownership for now if they are run after `dh_fixperms` (or `dh_fixperms` is omitted). * Dh_Lib.pm: Ensure `install_{file,prog,lib}` uses chown when root should be used. Previously, they would skip the `chown` call and rely on `dh_fixperms` or `dpkg-deb` to fix the ownership. However, that could cause issues when the helper was run after `dh_fixperms` and install files that `dpkg-deb` would not reset ownership of. -- Niels Thykier Sun, 20 Nov 2022 20:02:12 +0000 debhelper (13.10.1) unstable; urgency=medium * Team upload. [ Luca Boccassi ] * dh_installsysusers: make output reproducible [ Jakub Wilk ] * dh_assistant: Suggest json_pp as JSON formatter [ Niels Thykier ] * dh_assistant: Fix typo of active-compat-level * dh_installchangelogs: Fix typo of performed -- Luca Boccassi Fri, 28 Oct 2022 10:48:06 +0100 debhelper (13.10) unstable; urgency=medium [ Luca Boccassi ] * Install `installsysusers` sequence (to match the provide). [ Gioele Barabucci ] * dh_installchangelogs: Trim old Debian changelog entries automatically. Distributions can disable this by using `DEB_BUILD_OPTIONS=notrimdch`. * dh_installchangelogs.t: Force locale to be `C.UTF-8` to avoid generating invalid changelog entries under non-default locales. [ Andrea Pappacoda ] * meson.pm: Stop providing `MESON_TESTTHREADS` environment variable for the install target. Said variable only applies for testing. * cmake.pm: Use `cmake --install` in compat 14. (Closes: #1020732) * docs/PROGRAMMING{,.md}: Rewrite PROGRAMMING into markdown. [ Michael Biebl ] * dh_installsystemduser: Stop masking user units on package removal. They should never have been masked in the first place. See #1021027. * dh_installinit: Remove executable bit of init scripts on package removal (via preinst). Related to #1021027. * dh_installsystemd: Stop masking system units on package removal. This is no longer necessary with the init scripts getting their exec bit cleared on package removal. (Closes: #1021027) [ Niels Thykier ] * Dh_Lib.pm: Add `package_type` as a function (extracted from `is_udeb`). * Dh_Getopt.pm: Fix duplicated `warning` in output for a particular warning. * dh_assistant: Provide a new `detect-hook-targets` command. * dh: Recommend using `dh_assistant detect-hook-targets` for checking whether hook targets are correct. * dh: Hoist `nodoc` and `nocheck` from `DEB_BUILD_PROFILES` into `DEB_BUILD_OPTIONS` when they are present in the former and absent in the latter. Emit a warning when doing so to aid the user, so they know why this does not work when they are later building a package that does not use dh. (Closes: #979401) * dh: Provide a warning when cross building an `nocheck` is absent from `DEB_BUILD_OPTIONS` to cross builders, who are not experienced with Debian's requirements for cross-building. The warning also recommends activating the `cross` build profile and provides a way to disable the warning without using `nocheck` (for the special case, where people have a system that can run host binaries). * Dh_Lib.pm: Fix bug where `addsubstvars` would not respect the `--no-act` parameter. * dh_perl: For scripts that are detected as perl scripts that would trigger a dependency, normalize the shebang line to use the same perl as debhelper is run under (/usr/bin/perl in Debian, YMMV in derivatives). (Closes: #904409) * dh_assistant: Provide new `log-installed-files` command to help users and third-party tools record which files they have installed. Third-party tools should use the `--on-behalf-of-cmd` to have their tool name recorded. (Closes: #972724) * dh_installexamples: Explicitly recommend `examples/*` over `examples` as content for the `debian/.examples` file to avoid the triggering `.../examples/examples` case. (Closes: #1000384) * debhelper.pod: Clarify the documentation around `-v` + `--verbose` vs. `DH_VERBOSE` vs. `DH_QUIET` and `terse` from `DEB_BUILD_OPTIONS`. Notably, clarify that `-v` and `DH_VERBOSE` provides the same functionality and that they do not cause *all* commands to be shown. (Closes: #1002464) [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #1019231) -- Niels Thykier Sat, 08 Oct 2022 18:13:35 +0000 debhelper (13.9.1) unstable; urgency=medium [ Niels Thykier ] * autoscripts/postinst-init-tmpfiles: Re-instate runtime check before running `systemd-tmpfiles`. However, explicitly check for `systemd-tmpfiles` rather than asserting the system was booted by systemd. This resolves #1013969 without requiring a strict dependency as originally suggested by Guilhem Moulin in #1013969. * dh_installtmpfiles: Remove the `systemd | systemd-tmpfiles` dependency as it is no longer required. (Closes: #1017441) * dh_installsystemd: Ditto. * dh_installinit: Ditto. [ Johannes Schauer Marin Rodrigues ] * autoscripts/postinst-init-tmpfiles: Only pass `--root` to systemd when `DPKG_ROOT` is present (as `--root=/` is different from omitting `--root` entirely). * autoscripts/postinst-sysusers: Ditto -- Niels Thykier Tue, 30 Aug 2022 15:24:43 +0000 debhelper (13.9) unstable; urgency=medium [ Gioele Barabucci ] * d/control: Provide dh-sequence-installsysusers. [ Andreas Hübner ] * debhelper.pod: Add missing word "variables". [ Niels Thykier ] * Dh_Lib.pm: Fix in addsubstvar where a value was added when it should not have been. (Closes: #1015263) -- Niels Thykier Sun, 14 Aug 2022 12:34:54 +0000 debhelper (13.8) unstable; urgency=medium [ Niels Thykier ] * dh_perl: Fix incorrect binary versioning caused by a regression in 13.3. Thanks to Niko Tyni for reporting the issue. (Closes: #997961) * d/control: Bump Standards-Version to 4.6.1 - no changes required. * root_sequence.pm: Run `dh_installsysusers` before `dh_installtmpfiles` (only affects compat 14 or later). Thanks to Nicholas Brown for the suggestion. (Closes: #1011099) * autoscripts/postinst-init-tmpfiles: Remove runtime check on the system having systemd as init system. * dh_installtmpfiles: Replace runtime check on the system running under systemd in generated `postinst` script with a dependency on `systemd | systemd-tmpfiles` added to `${misc:Depends}`. Thanks to Guilhem Moulin for the suggestion. (Closes: #1013969) * dh_installsystemd: Ditto. * dh_installinit: Ditto. * debhelper-compat-upgrade-checklist.pod: Correct description for the addition of dh_installsysusers in compat 14. * meson.pm: Use `meson install` instead of `ninja install` for dh_auto_install in compat 14. Thanks to Andrea Pappacoda for the suggestion. (Closes: #1006805) [ Max-Julian Pogner ] * Dh_Lib.pm: Remove double semi-colon. (Closes: #1010591) * Dh_Lib.pm: _strip_spaces now explicitly returns undef on undef argument. (Closes: #1010594) [ Andrea Pappacoda ] * cmake.pm: Set FETCHCONTENT_FULLY_DISCONNECTED to true. This ensures that the `FetchContent` module does not attempt to use internet connection. [ Vagrant Cascadian ] * debhelper-compat-upgrade-checklist.pod: Update documentation for compat 14 change. (Closes: #1011404) [ Ferenc Wágner ] * debhelper.pod: Correct link to the new upgrade checklist. (Closes: #1012777) [ Luca Boccassi ] * dh_installman: Avoid false positive language detection on shared libs. [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #1011256) -- Niels Thykier Sun, 03 Jul 2022 09:04:23 +0000 debhelper (13.7.1) unstable; urgency=medium * debhelper.pod: Fix several typos. Thanks to Guillem Jover for pointing them out and proposing corrections. * dh_installalternatives: Correct a file check that caused false-positive rejections of valid alternatives files. Thanks to Hiroyuki YAMAMORI for reporting the bug and providing an initial patch. (Closes: #1009844) -- Niels Thykier Wed, 20 Apr 2022 06:17:57 +0000 debhelper (13.7) unstable; urgency=medium [ Niels Thykier ] * dh_installalternatives: Improve validation of alternative files to catch some "obvious" copy-waste mistakes. * dh: Invoke dh_installalternatives after dh_link in compat 14 or later. Thanks to Colin Watson for the suggestion. (Closes: #1002800) * cmake.pm: Drop -DCMAKE_SKIP_RPATH=on in compat v14. Thanks to Vagrant Cascadian for the suggestion and the investigative work on this topic. (Closes: #1004939) * debhelper-compat-upgrade-checklist.pod: New file. * debhelper.pod: Move list of supported compat levels and the related upgrade checklist into debhelper-compat-upgrade-checklist.pod. This means you now need `man 7 debhelper-compat-upgrade-checklist` to see the upgrade checklist. * dh_installdebconf: Support -D/--define command line parameters (mirroring those from dh_installdeb). * Dh_Lib.pm: Cope with "?=" as assignment operator in substvars files to be future proof with (possible) planned addition of "optional substvars. At the moment, debhelper will still always use "=" when adding a substvar but it will now preserve "?=" operator if an existing substvar is modified. [ Guillem Jover ] * autoconf.pm: Add support for autotest test suites by passing the TESTSUITEFLAGS environment variable to `make test`. [ Dave Jones ] * Rewrite handling of stop services to use the `preinst` when using --no-restart-after-upgrade. This fixes a regression caused by the fix for #989155. (Closes: #994204) [ Johannes Schauer Marin Rodrigues ] * dh_installmenu: Respect DPKG_ROOT when checking for update-menus. Note this implementation assumes update-menus is present both inside and outside the chroot to activate. If it is absent on either side, the update-menus call is skipped. [ Gioele Barabucci ] * dh_installsysusers: Invoke systemd-sysusers even when DPKG_ROOT is set (relying on `--root`). * dh_installpam: In compat 14, install pam snippets into `/usr/lib/pam.d` instead of `/etc/pam.d`. Remember to remove (now) obsolete conffiles when you bump to compat 14. [ Andreas Hübner ] * debhelper.pod: Correct spelling of DEB_BUILD_MAINT_OPTIONS. -- Niels Thykier Sun, 17 Apr 2022 09:42:46 +0000 debhelper (13.6) unstable; urgency=medium [ Niels Thykier ] * dh_assistant: Avoid creating `debian/.debhelper` when the which-build-system sub command is invoked. Thanks to Jelmer Vernooij for spotting that bug. * dh_assistant: Add new active-compat-level command, which outputs information about which compat level is declared and active. It also tells how the compat level was declared. * Dh_Lib.pm: Add new function, get_non_binnmu_date_epoch, only needed for dh_strip_nondeterminism. * dh_installcron: Add support for `cron.yearly` packaging file. Thanks to Martin-Éric Racine for the suggestion. (Closes: #1000363) * Dh_Lib.pm: Remove support for compat 5 and 6. * debhelper.pod,debhelper-obsolete-compat.pod: Update to reflect the new status for compat 5 and 6. [ Guillem Jover ] * dh: Add missing _ in execute_after example in POD. [ Sandro Tosi ] * dh_compress: Exclude .woff and .woff2 by default. [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #1000719) -- Niels Thykier Mon, 20 Dec 2021 12:55:03 +0000 debhelper (13.5.2) unstable; urgency=medium [ Niels Thykier ] * dh_installsystemd: Revert change to deploy systemd files into usr/lib/systemd. (Closes: #993316, #993759) * dh_installinit: Ditto. * dh_systemd_enable: Ditto. * dh_systemd_start: Ditto. * SequencerUtil.pm: Remove duplicate "-a" option to some commands. Thanks to Christoph Berg for reporting the issue. (Closes: #971761) * dh_installdeb: Revert the change to rewrite `rm_conffiles` into `remove-on-upgrade` due to it causing bugs in non-trivial cases. (Closes: #994919) [ Christoph Berg ] * dh_installtmpfiles: Add missing option name in POD documentation. -- Niels Thykier Thu, 23 Sep 2021 16:44:25 +0000 debhelper (13.5.1) unstable; urgency=medium [ Paul Wise ] * cmake.pm: make it possible to override dh provided ctest arguments [ Niels Thykier ] * cmake.pm: Add missing import which broke cmake related builds. Thanks to Boyuan Yang for reporting the issue. (Closes: #993345) -- Niels Thykier Tue, 31 Aug 2021 05:43:35 +0000 debhelper (13.5) unstable; urgency=medium * dh_installdeb: Install debian/conffiles in compat 12+ again (undoing the compat 12 change saying dh_installdeb would ignore this file). The file can now be using for the activating the `remove-on-upgrade` feature from dpkg 1.20. * dh_installdeb: Automatically rewrite `rm_conffiles` into the new `remove-on-upgrade` feature from dpkg when possible. * cmake.pm: Pass `ARGS+=--verbose` to make when running tests in the cmake+make variant except when "terse" is in DEB_BUILD_OPTIONS. Thanks to Paul Wise for the suggestion. (Closes: #992623) * python_support.pm: Remove obsolete dh addon. It did nothing but warn and nothing used it anymore. * dh: Document debhelper provided dh addon sequences. * single_binary.pm: New dh addon ("single-binary") that explicitly activates the "single binary" work flow, where dh_auto_install uses debian/ as default --destdir when there is only a single binary package. It will error out if used in a source package building multiple binary packages. * dh: Activate "single-binary" addon by default in compat levels up to and including compat 14 when the source package only lists one binary package in debian/control. In compat 14, emit a warning when this happens implicitly requesting users to explicitly enable or disable the addon for single binary source packages to avoid surprises in compat 15. * dh_auto_install: In compat 15, remove special-case default for --destdir for single binary source packages. If the previous default is desired, please use the "single-binary" dh addon or explicitly pass --destdir to dh_auto_install. (Closes: #971432) * debian/control: Provide dh-sequence-single-binary. * debhelper.pod: Document the dh_auto_install will change behaviour in compat 15 for single binary packages and dh will warning about that in compat 14. * dh_assistant: New tool for assisting third-party tools. At the moment, it primarily supports introspection related features but will hopefully be extended to support more use cases. (Closes: #984900) -- Niels Thykier Mon, 30 Aug 2021 19:50:42 +0000 debhelper (13.4.1) unstable; urgency=medium [ Clint Adams ] * autoscripts/*: Replace `which` with `command -v`. [ Simon McVittie ] * dh_installsystemd: Only merge /lib/systemd/system into /usr for now. (Closes: #992554) * dh_systemd_enable: Ditto. [ Johannes Schauer Marin Rodrigues ] * autoscripts/postinst-init-nostart: Call invoke-rc.d when a non-empty DPKG_ROOT is used. (Closes: #992556) -- Niels Thykier Sat, 21 Aug 2021 09:01:00 +0000 debhelper (13.4+nmu1) unstable; urgency=high [ Sean Whitton ] * Non-maintainer upload. * Replace "use v5.28" with "use v5.24" in Dh_Lib.pm. The change to "use v5.28" in 13.4 broke the test to distinguish 0755 from "0755" in the reset_perm_and_owner function, breaking builds. Thanks Adrian Bunk and Ansgar for help isolating the problem. [ Niels Thykier ] * debian/changelog: Correct bug number in the 13.4 entry. -- Sean Whitton Tue, 17 Aug 2021 13:34:02 -0700 debhelper (13.4) unstable; urgency=medium [ Dimitri John Ledkov ] * dh_dwz: run in parallel across packages. (Closes: !47) [ Andrej Shadura ] * Dh_Buildsystems.pm: Add bmake and mkcmake as third-party build systems. (Closes: !46) [ Guillem Jover ] * Dh_Buildsystems.pm: Add golang as a third-party build system. (Closes: #981106) [ Niels Thykier ] * autoscripts/*: Add support for DPKG_ROOT in systemd, tmpusers, sysusers and init related snippets. Based on an initial patch from Helmut Grohne. (Closes: #983566) * autoscripts/*: Reorder conditions in some scripts to avoid doing a redundant stat call when a script parameter can decide to skip it. * dh_gconf: Remove the command as it does nothing. (Closes: #908845) * doc/TODO: Remove reference to dh_gconf. * root_sequence.pm: Remove dh_gconf from root sequence and declare it as obsolete (causing errors from compat 14 if still referenced in hook targets). * man/po4a/po4a.cfg: Remove dh_gconf from translations. * AddonAPI.pm: The declare_command_obsolete command now accepts an "$error_compat" parameter to enable addons to choose which compat level that will trigger an error (though it must be minimum 13). * doc/PROGRAMMING: Update docs to reflect API change. * debhelper.pod: Document that referencing dh_gconf in hook targets will cause an error in compat 14. * dh_fixperms: Correct permissions of files beneath usr/libexec to be executable. (Closes: #980325) * dh_installtmpfiles: Only register tmpfiles ending with ".conf" as tmpfiles in /usr/lib/tmpfiles.d and /etc/tmpfiles.d. This ensures that dh_installtmpfiles gracefully copes with e.g. README files provided by systemd upstream. (Closes: #986329) * dh_installsystemd: Ditto (but only relevant in compat 12 or earlier) * cmake.pm: Pass -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF to cmake in addition to -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON as the former is intended to replace the latter. Thanks to Raul Tambre for reporting the issue. (Closes: #988973) * Dh_Lib.pm: Bump version requirement to v5.28 to reflect the actual requirements (the code was using v5.28 features). Thanks to Sérgio Basto for reporting the issue. * dh_missing: Ditto. * autoscripts/postinst-init,autoscripts/postinst-systemd-start: Use "restart" instead of "start" when starting the services. This ensures a smooth transition from --restart-after-upgrade to --no-restart-after-upgrade in dh_installinit and dh_installsystemd. Thanks to Ryan Tandy for reporting the issue. (Closes: #989155) * dh_installsystemd: Remove usage of autoscripts/postinst-systemd-restart * dh_installinit: Remove usage of autoscripts/postinst-init-restart * autoscripts/autoscripts/postinst-systemd-restart: Removed. * autoscripts/postinst-init-restart: Removed * dh_installsystemd: Prefer /usr/lib/systemd/ to /lib/systemd. (Closes: #987989) * dh_systemd_enable: Ditto. * dh_systemd_start: Ditto. * dh_installinit: Ditto. * dh_installsystemd: Merge /lib/systemd into /usr/lib/systemd if both are present in the package staging directory (preferring the latter in case of conflicts). (Closes: #987989) * dh_systemd_enable: Ditto. [ Dominic Hargreaves ] * perl_build.pm,perl_makemaker.pm: Make debhelper use the same perl as it runs under (via Perl's $^X variable) when invoking the upstream build system. (Closes: !40, #966396) [ Axel Beckert ] * Always generate unique doc-base file names based on package name and document ID. (Closes: #980903) -- Niels Thykier Tue, 17 Aug 2021 16:32:34 +0000 debhelper (13.3.4) unstable; urgency=medium [ Jakub Wilk ] * debhelper.pod: Add missing space after ")" [ Translations ] * Update French translation (Jean-Pierre Giraud) (Closes: #982675) -- Niels Thykier Sat, 06 Mar 2021 09:53:10 +0000 debhelper (13.3.3) unstable; urgency=medium [ Niels Thykier ] * dh_installsysusers: Add systemd-sysusers as alternative provider in the ${misc:Depends} dependency as that is the name used by opensysusers. [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #981567) -- Niels Thykier Wed, 03 Feb 2021 19:43:32 +0000 debhelper (13.3.2) unstable; urgency=medium * Team upload. [ Niels Thykier ] * cmake.pm: Correct parameter -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON passed to cmake in compat 14+. Thanks to Raul Tambre for reporting the issue. (Closes: #977255) * dh_strip: Fix wording. Thanks to Chris Leick and Pfannenstein Erik. * debhelper.pod: Fix typos. Thanks to Chris Leick and Pfannenstein Erik. * dh_makeshlibs: Ditto. * debian/control: Bump Standards-Versions to 4.5.1. No changes required. [ Axel Beckert ] * Extend dh_installdocs documentation on debian/$pkg.doc-base.* with regards to when deduplication does not work and may cause uninstallable packages. (Mitigates: #980903) [ Translations ] * Update German translation (Pfannenstein Erik) (Closes: #979608) -- Axel Beckert Mon, 01 Feb 2021 00:53:24 +0100 debhelper (13.3.1) unstable; urgency=medium * d/control: Bump dependency on dwz to pull newer version of dwz in buster-backports, which makes backporting easier. Thanks to Anthony Fok for the patch and for backporting dwz. -- Niels Thykier Mon, 28 Dec 2020 16:52:01 +0000 debhelper (13.3) unstable; urgency=medium [ Niels Thykier ] * dh_md5sums: When reading the conffiles file, ignore every line except those starting with a slash "/". * SequencerUtil.pm,dh_testroot: Let dh skip dh_testroot when the builder supports Rules-Requires-Root and it is set to "no". * Dh_Lib.pm: Provide a more helpful error message when lintian-overrides config files are executable by mistake. * dh_gencontrol: Discard the "Protected" field in dbgsym packages. Thanks to Axel Beckert for reporting the issue. (Closes: #976323) * dh_installsysusers: New tool to install and integrate sysusers into debian packaging. Thanks to Michael Biebl and Moritz Muehlenhoff for feedback and initial testing. (Closes: #962384) * d/control: Remove transitional package for dh-systemd. Thanks to Michael Biebl for poking reverse dependencies to migrate and getting us ready to remove it. (Closes: #871312) * cmake.pm: Pass VERBOSE=1 to make by default when building to ensure that gmock builds are also verbose. Thanks to Johannes Schauer for reporting the issue. (Closes: #973029) * Dh_Lib.pm: Disable "unicode_strings" feature, which caused issues with UTF-8 encoded files. Thanks to Sebastien Bacher for reporting the issue. (Closes: #971362) * dh_installinfo: Work around upstream installing the usr/share/info/dir file. If seen, dh_installinfo will now tag it as "installed" even though it is not installed. This avoids promoting the installation of the file by dh_missing only to have lintian tell people to remove it again. (Closes: #971036) [ Michael Biebl ] * autoscripts/postrm-systemd-reload-only: Run daemon-reload on "remove" only. -- Niels Thykier Sun, 06 Dec 2020 20:11:53 +0000 debhelper (13.2.1) unstable; urgency=medium [ Niels Thykier ] * debian/changelog: Fix some typos in previous entries. * Dh_Lib.pm,Dh_Buildsystems.pm: Properly clear buildflags with --reload-all-buildenv-variables is passed. Thanks to Harald Welte and Guillem Jover for reporting and debugging the issue. (Closes: #966689) * dh_missing: Improve message about related files found. Thanks to Diego Escalante for reporting the issue. (Closes: #966834) [ Peter Pentchev ] * dh_installalternatives: Correct order of values in the example for Dependents links. (Closes: #966285) [ Chris Lamb ] * dh_missing: Sort order of missing files to make output deterministic. (Closes: #968187) [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #964784) -- Niels Thykier Sat, 12 Sep 2020 20:27:03 +0000 debhelper (13.2) unstable; urgency=medium [ Niels Thykier ] * dh_missing: Explicitly remind people that they should not copy-waste multi-arch paths directly into debian/not-installed. Instead, recommend the use of wildcards of ${DEB_HOST_MULTIARCH} to replace the hardcoded value. * d/changelog: Clarify what dh_installman change in 13.1 related to #958343 was about. * Dh_Lib.pm: Add support for raising compat deprecation warnings to an error if there are pending removals. This currently triggers for usage of compat 5 and 6. * cmake.pm: Pass -DCMAKE_SKIP_RPATH=ON -DBUILD_RPATH_USE_ORIGIN=ON to cmake in compat 14. This should fix some reproducibility issues but may cause breakage if packages run binaries directly from the build directory. Thanks to Timo Röhling for the suggestion. (Closes: #962474) * dh,dh_auto_*: Change the handling of XDG_RUNTIME_DIR in compat 13. It is now only set to a writable directory for dh_auto_test but set to a much shorter directory avoid issues with socket lengths. In all other cases, the XDG_RUNTIME_DIR is now cleared. Thanks to Simon McVittie for the report. (Closes: #961655) * debhelper.pod: Document that --sourcedir clashes between dh_auto_* and dh_missing (etc.). Thanks to Thorsten Glaser for reporting the issue. (See #964230) * PROGRAMMING: Minor improvements and clarifications to the API documentation. [ Anel Husakovic ] * debhelper.7: Fix typo/grammatical errors. [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #962568) -- Niels Thykier Sun, 05 Jul 2020 21:14:04 +0000 debhelper (13.1) unstable; urgency=low [ Niels Thykier ] * dh_installinitramfs: Remove misleading "in compat 12" as the behaviour was unrelated to the compat level. * dh_installinitramfs: Migrate to triggering update-initramfs via activate-noawait trigger (replacing maintscript calls to "update-initramfs -u", which had the same affect). (Closes: #822730). * dh_installman: Improve error messages and handling of broken section numbers. Notably, the auto-detection no longer picks section numbers that look suspiciously like a version number (or a date). This can cause dh_installman to reject manpages if it can no longer guess a suitable section for the manpage Thanks to Paul Gevers for reporting the bug. (Closes: #958343) * Dh_Lib.pm: Support that Architecture (among other fields) can be folded in d/control. Thanks to Thorsten Glaser for reporting the issue. (Closes: #958987) * SequencerUtil.pm: Fix use of uninitialized variable warning. * Dh_Lib.pm: Properly error out on paragraphs missing the Package field (rather than silently ignoring them). * debian/rules: Fix call to gen-provides that seemed to work more due to luck than by design. * Dh_Lib.pm: Provide HIGHEST_STABLE_COMPAT_LEVEL, which reflects the latest stable compat level. Thanks to Jelmer Vernooij for the suggestion. * Dh_Lib.pm: Respond to DH_DATAFILES environment variable in addition to DH_AUTOSCRIPTS as a means to find data files. This is mostly useful for testing purposes or to be "self-hosting". The new DH_DATAFILES is more general than DH_AUTOSCRIPTS and enable us to add new data file sources without inventing new environment variables. * Dh_Lib.pm: Require perl v5.24 (available in Debian oldstable) to enable more modern features. * Dh_Lib.pm: Fix a bug in variable substitution where ${Tab} incorrectly expanded to "\b" rather than "\t". * dh_installchangelogs: Loosely document which file names that dh_installchangelogs uses as guesses for finding an upstream changelog file. Thanks to Laurent Bigonville for suggesting the change. (Closes: #933224) * Dh_Lib.pm: When setting HOME or XDG_RUNTIME_DIR in compat 13, use an absolute path. Thanks to Dmitry Shachnev for reporting the issue. (Closes: #959731) * dh_installsystemd: Copy the description for the --no-stop-on-upgrade option from dh_installinit. * dh_installsystemd: Have --no-start or --no-stop-on-upgrade disable --restart-after-upgrade as the documentation says it will. Thanks to Axel Beckert for reporting the issue. (Closes: #959678) * dh_installinit: Ditto. * dh: Explicitly document that hook targets can cause complications when they are made unconditional by a makefile target and suggest alternatives. Thanks to Marcin Owsiany for reporting this. (Closes: #645873) * cmake.pm: Rollback -DCMAKE_AUTOGEN_VERBOSE=ON temporarily as it trips bhlc due to a bug in cmake. Thanks to Nicolas Braud-Santoni and "anoteng" for reporting the issue. (Closes: #959494) * dh_clean: Rephrase the description of dh_clean to avoid confusion about when it is run. Thanks to Hugh McMaster for the suggestion. (Closes: #960110) * dh_missing: Update documentation to reflect that the --fail-missing option is now the default in compat 13. Thanks to Hugh McMaster and Christoph Berg for the report. (Closes: #960107, #960697) * dh: Filter out the root-sequence in "--list" output and reject attempts to activate or deactivate the sequence as it is an implementation detail. * dh_installalternatives: New helper that can setup alternatives (update-alternatives) based on a declarative format. Currently, the format is converted to calls to update-alternatives, which are inserted into the maintscripts of the package. Thanks to David Engel and Fumitoshi UKAI for the original requests. (Closes: #43720) * dh_missing: Attempt to guess if missing files might be caused by the packager installing the same file via a different path and let them know of this. (Closes: #960781) [ Guillem Jover ] * autoconf.pm: Pass --disable-option-checking to ./configure scripts to avoid warnings about unknown options. (Closes: #942813) [ Translations ] * Fix typo in German translation. (Andreas Bombe) -- Niels Thykier Sun, 17 May 2020 17:07:30 +0000 debhelper (13) unstable; urgency=medium [ Niels Thykier ] * debian/changelog: Fix typo of a bug number in the 12.10 entry. Thanks to Andy Caldwell for reporting it. * Dh_Lib.pm: Flag compat 9 as deprecated as announced in https://lists.debian.org/debian-devel-announce/2020/02/msg00000.html * dh_install: Remove trailing slashes from value to the --sourcedir parameter. This avoids dh_install computing an incorrect directory name. Thanks to Mihai Moldovan for reporting the issue. (Closes: #955568) * dh_missing: Ditto. * SequencerUtil.pm/dh: Fix bug where the long forms of --builddirectory and --sourcedirectory might be ignored by dh causing it to skip dh_auto_* when it should not. This is in practice only a problem in compat 13 as long form of arguments are not optimized in compat 12 or earlier. [ Chris Leick ] * debhelper.pod: Fix typos. * dh_makeshlibs: Ditto. * dh: Ditto. [ Helmut Grohne ] * perl_makemaker.pm: Add missing import of "warning" function. -- Niels Thykier Wed, 15 Apr 2020 14:44:56 +0000 debhelper (12.10) unstable; urgency=medium [ Niels Thykier ] * dh_installsystemd: Improve documentation about tmpfiles that are now handled by dh_installtmpfiles in compat 13. * dh_installtmpfiles: Prefer debian/package.tmpfiles over debian/package.tmpfile, but accept the old path with a warning. Thanks to Michael Biebl for suggesting the change. * dh_strip: Automatically strip Link-Time Optimization (LTO) symbols from static archives. The format is not stable between compiler versions. Thanks to Matthias Klose for the suggestion and for providing the exact options. (Closes: #939656) * dh: Tweak the command-skipping optimization to skip commands in a few more cases when the command is known not to react to command line options. * dh,dh_installsytemd*: Work around broken NOOP promise caused by dh_installsystemd* using nonstandard "package@" prefix for pkgfiles. Thanks to Badreddin Aboubakr and Andy Caldwell for reporting it. (Closes: #950723, #951820) [ Nicholas Guriev ] * cmake: Verbose autogen rules. * cmake: Skip install all dependency with compatibility level 13 and above. [ Andy Caldwell ] * dh_installsystemduser: Fix bug that prevented dh_installsystemduser from installing parameterized services. (Closes: #951819) [ Translations ] * Update German translation (Chris Leick) (Closes: #951917) -- Niels Thykier Tue, 24 Mar 2020 15:55:09 +0000 debhelper (12.9) unstable; urgency=medium [ Niels Thykier ] * debhelper.7: Clarify how DH_OPTIONS works and that some third-party tools may ignore it if they do not support it. Thanks to Andrej Shadura for reporting the issue over IRC. * doc/PROGRAMMING: Introduce a section on the NOOP PROMISE comment. * dh: In compat 13, skip calls to hook and override targets for dh_auto_test, dh_dwz and dh_strip. Thanks to Mike Hommey for suggesting it. (Closes: #568897) * Dh_Getopt.pm: Remove support for "--ignore". No package uses it any more. For most parts, it has been replaced by the "3.0 (quilt)" source format. * debian/changelog: Clarify that substitutions change in 12.8 only apply to the maintscript file (and not maintainer scripts) for dh_installdeb. * debhelper.7: Improve text in compat 13 section. * autoconf.pm: Only consider "configure" as an autoconf script if it is a file (and not a directory). Thanks to Andrius Merkys for reporting the bug and providing a patch. (Closes: #949396) * debian/control: Bump Standards-Version to 4.5.0 - no changes required. * dh_shlibdeps: Pass "--" in front of filenames passed to file(1). Thanks to Christoph Biedl for the suggestion. (Closes: #949538) * dh_strip: Ditto * dh.1: Improve documentation for override targets and include a section on the new hook target. (Closes: #885994) * Dh_Lib.pm: Make it possible to disable the command logging by passing "inhibit_log => 1" to the init sub. Furthermore, the logging is now only enabled when init is called (and not disabled by that option or inhibit_log()). This prevents Dh_Lib from triggering a log write just by being loaded. * dh: Refactor addon loading. As a side-effect, dh no longer leaks as many functions into the scope of addons. Addons depending on the previous behaviour may now fail due to calls to undefined subroutines and will need to be fixed. * dh_installinitramfs.1: Correct the name of localized versions of dh_installinitramfs so that man can find them. [ Thorsten Glaser ] * dh_auto_*: Make it possible to disable build systems by passing --buildsystem=none. Previously this would require overriding each and every dh_auto_* tool. (Closes: #949635) -- Niels Thykier Mon, 27 Jan 2020 20:45:05 +0000 debhelper (12.8) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Simplify internal logging of which commands have been run. We are no longer interested in whether it was an override target or not. * dh: Support "execute_before_X" and "execute_after_X" targets in debian/rules. This is useful for injecting commands before or after the command "X" that dh runs. Note this feature requires compat 10 or later due to internal limitations in debhelper. Attempts to use it in compat 9 will trigger an error. Thanks to Christoph Berg for the suggestion. (Closes: #885994) * dh: Detect and warn about override and hook targets for known obsolete commands. In compat 13, this will be an error instead of a warning. * dh: Reset umask to 0022 as a consistent default value. Thanks to Thorsten Glaser for the suggestion. (Closes: #944691) * dh_missing: The --fail-missing parameter is now default in compat 13. Thanks to Mattia Rizzolo for the suggestion. (Closes: #917368) * dh_installtmpfiles: New command extracted from dh_installsystem that will handle tmpfiles.d configuration. Thanks to Michael Biebl for the suggestion. (Closes: #944478) * dh_installsystemd: In compat 13, this command will no longer manage tmpfiles.d configuration. * dh: Run dh_installtmpfiles by default in compat 13. * Dh_Lib.pm: Emit "error" and "warning" with error and warning messages. Thanks to Paul Wise for the suggestion. (Closes: #906723) * Dh_Lib.pm: Support colored output for warnings and errors (enabled by default). The colors can be controlled by setting DH_COLORS or DPKG_COLORS. The latter will also affect dpkg-related tools. Note: NO_COLOR is respected in the absence of DH_COLORS and DPKG_COLORS. * Dh_Lib.pm: Support substitution variables in files handled by filearray and filedoublearray in compat 13. This also applies to executable configuration files. As the substitution occurs after splitting the files into tokens, it can be used to include spaces in the tokens (often file names). (Closes: #198507) * dh_install: Support substitution configuration files. * dh_clean: Ditto. * dh_installcatalogs: Ditto. * dh_installdeb: Ditto (debian/*.maintscripts only). * dh_installdirs: Ditto. * dh_installdocs: Ditto. * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_installwm: Ditto. * dh_link: Ditto. * dh_missing: Ditto. * dh_ucf: Ditto. * debian/rules: Remove override for dh_missing as the --fail-missing parameter is default now. [ Helmut Grohne ] * Warn about missing perl-xs-dev for perl_* buildsystems. -- Niels Thykier Sun, 19 Jan 2020 10:02:16 +0000 debhelper (12.7.3) unstable; urgency=medium [ Niels Thykier ] * dh_perl: Use perl:any for perl module in addition to perl programs. Thanks to Helmut Grohne and Niko Tyni for the suggestion and analysis. (Closes: #946655) * dh_gencontrol: Clear the "Built-Using" flag for dbgsym packages. It is irrelevant as the original binary will have the field plus the field can cause lintian warnings. (Closes: #947506) * lintian-overrides: Override no-dh-sequencer as it is a false-positive that lintian cannot be expected to know. [ Debian Janitor ] * Fix day-of-week for changelog entry 4.0.0. -- Niels Thykier Sun, 29 Dec 2019 17:59:47 +0000 debhelper (12.7.2) unstable; urgency=medium [ Niels Thykier ] * dh: Skip conditional dh sequence addons in the clean target. This avoids FTBFS with conditional addons where the build-dependency is not satisfied. (Closes: #944225) * meson.pm: Fix bug where dh_auto_test would break horribly under compat 13 due to an uninitialized variable. Thanks to Benjamin Jacobs for reporting the issue. (Closes: #945149) * dh_installman: Fix non-deterministic behaviour when there multiple definitions of the same manpage in a package. In compat 13, this is resolved by aborting with an error. In older compat levels, dh_installman will deterministically pick a canonical version (via sort) along with emitting a warning. Thanks to Colin Watson for reporting the issue. (Closes: #943705) * dh_auto_*: In compat 13+, reset HOME and XDG_* environment variables. Some are cleared and some are set to a writable directory that persist until dh_clean. Thanks to Simon McVittie for reporting the issue. (Closes: #942111) * dh_auto_*: As a side-effect of the above, debhelper in compat 13+ no longer trips a FTBFS in sbuild for meson packages when ccache is installed but not configured/used explicitly. Thanks to Simon McVittie for reporting the issue. (Closes: #933799) * d/control: Bump Standards-Versions to 4.4.1 - no changes required. [ Andrius Merkys ] * debhelper.pod: Document changes to the gradle third-party build system in compat 13. [ Translations ] * Update German translation (Chris Leick) (Closes: #943853) -- Niels Thykier Sat, 07 Dec 2019 17:44:32 +0000 debhelper (12.7.1) unstable; urgency=medium [ Colin Watson ] * dh_installman: Correctly handle compressed manpages when dh_installman uses man-recode. (Closes: #943376) -- Niels Thykier Sat, 26 Oct 2019 06:42:04 +0000 debhelper (12.7) unstable; urgency=medium [ Niels Thykier ] * dh_installman: Avoid error message when man-db is not installed (only occurs in debhelper's own build as man-db is a mandatory dependency). * dh_installman: Use man-recode(1) when available to massively speed up re-encoding performance for any package with a non- trivial amount of manpages. Thanks to Robert Luberda for reporting the issue and Colin Watson for writing man-recode (Closes: #933576) * debhelper.pod: Actively discourage compat 11 as it has an issue that causes services not to start correctly in all cases (e.g. install, remove-but-not-purge, install again), which cannot be fixed. * dh_auto_*: Support a new --reload-all-buildenv-variables option for resetting the cache (of e.g. dpkg-buildflags). This is needed by e.g. parted which does two builds with different CFLAGS. * dh_makeshlibs: Suggest/Document that --no-add-udeb can be relevant for some udebs where the shared library for the udeb is embedded in a different package (e.g. the main udeb package). Thanks to Nicolas Braud-Santoni for reporting the issue. (Closes: #942454) * meson.pm: Fix invalid call under compat 13. Thanks to Jeremy Bicha for testing it. (Closes: #942690) [ Helmut Grohne ] * cmake buildsystem: Fix CMAKE_SYSTEM_PROCESSOR for 32bit arms. (Closes: #941245) [ Niko Tyni ] * Basic support cross building XS modules: + perl_makemaker: run Makefile.PL with host arch Config.pm + perl_build: run Build.PL and Build with host arch Config.pm + dh_perl: scan host arch include directories for Perl plugins -- Niels Thykier Sun, 20 Oct 2019 17:48:06 +0000 debhelper (12.6.1) unstable; urgency=medium * Upload to unstable now that libdebhelper-perl has been through the NEW queue. -- Niels Thykier Sun, 15 Sep 2019 10:08:53 +0000 debhelper (12.6) experimental; urgency=medium [ Niels Thykier ] * dh_makeshlibs: Fix regression where versionless SONAMEs could trigger a rejection of the "generated" shlibs file (despite dh_makeshlibs not generating any "shlibs" files). (Closes: #939635) * dh_strip: Avoid impossible copy of .../debug/.dwz/ to itself when a manual debug package contained ELF files and was processed by dh_dwz before dh_strip. (Closes: #939164) [ Sven Joachim ] * Split debhelper into debhelper (the tools) and libdebhelper-perl (the Perl libraries). (Closes: #821130) * d/rules: Call dh_missing --fail-missing to catch bugs where files are not installed anywhere. -- Niels Thykier Sat, 14 Sep 2019 06:37:44 +0000 debhelper (12.5.4) unstable; urgency=medium * dh_installxfonts: Remove version in dependency on xfonts-utils added to ${misc:Depends}. The version requirement has been satisfied for the past 3-4 releases. * dh_makeshlibs: Correct a control check that was only intended for automatic udeb detection, which incorrectly also checked when --add-udeb was passed. Thanks to Andreas Metzler for reporting the issue. (Closes: #935577) * dh: Fix bug where overrides for dh_dwz, dh_strip, dh_makeshlibs or dh_shlibdeps could be triggered via binary-indep in compat 12 and earlier. Thanks to Andreas Beckmann for reporting the issue. (Closes: #935780) -- Niels Thykier Sun, 01 Sep 2019 07:23:05 +0000 debhelper (12.5.3) unstable; urgency=medium * Dh_Getopt.pm: Skip compat call if d/control cannot be found and just assume that auto-abbreviation can be disabled in that case. This avoids breaking options such as --help and --list. (Closes: #935017) * Dh_Lib.pm: Jump to hoops to only parse the Build-Dependency field in dh without breaking dh's own --list or --help parameter. This fixes a regression since 12.5 where dh's --help and --list options were broken. * dh_builddeb: Revert removal of --destdir for now. It is in fact used to hardcode paths in some cases e.g. v4l2loopback's debian/rules.modules. * dh_makeshlibs: Disable auto-filtering of udeb libraries. It cannot be implemented without violating the requirements for the noudeb build-profile. * dh_makeshlibs: Fix invalid error under the noudeb profile where the absence of udeb content is expected rather than an in issue. (Closes: #934999) -- Niels Thykier Mon, 19 Aug 2019 09:50:19 +0000 debhelper (12.5.2) unstable; urgency=medium * dh_makeshlibs: Fix regression in compat 10 and earlier where dh_makeshlibs now failed on error. This safety check was intended to be a compat 11 or later feature. * dh: Ensure addon API functions return 1 to avoid gratuitous breakage of addons due to perl's idiosyncrasy of requiring a truth value at the end of modules. (See #935016) -- Niels Thykier Sun, 18 Aug 2019 07:36:20 +0000 debhelper (12.5.1) unstable; urgency=medium * dh_installdeb: Allow "+" to appear in token names as it is a valid character for package names. * dh_installdeb: Reject invalid token names passed to -D or --define (in most cases). * dh_makeshlibs: Fix bug in -X where it would no longer match as expected. A regression since 12.5 - thanks to Aurelien Jarno for reporting the issue over IRC. -- Niels Thykier Sat, 17 Aug 2019 15:09:07 +0000 debhelper (12.5) unstable; urgency=medium [ Niels Thykier ] * dh_strip: Skip stripping of guile-2.2 files by skipping all all files matching "/guile/.*\.go$". Thanks to Jeremy Bicha and Rob Browning. (Closes: #907061) * dh_auto_*: Officially adopt --sourcedir and --builddir as official parameters. They have always worked since debhelper defaulted to supporting auto-abbreviated parameters, so this is simply documenting fait accompli for the most common abbreviation. * dh_*: Disable auto-abbreviation of command line parameters in compat 13. * dh: Optimize out redundant helpers even when passed long options in compat 13. * dh_builddeb: Remove --destdir. It has never been useful as everyone expects the debs to be placed in "..". * Dh_Lib.pm: Add a hint to resolve the error caused by having the compat level specified both as a build-dependency and in debian/compat. Thanks to Alessandro Grassi for reporting the issue on IRC. * dh_makeshlibs: Fix bug where --no-add-udeb could trigger the auto-detection code. (Closes: #934891) * dh_makeshlibs: When using the auto-detection of udeb, automatically exclude "udeb:" lines for libraries omitted from the udeb. At the same time, verbosely fail if the udeb contains a library not present in the deb (overridable with --add-udeb). (Closes: #934889) * dh: Support making "dh-sequence-ADDON" Build-Depends relation conditional on build-profiles (etc.). If the relation is ignored due to the current build-profiles (etc.), then addon is silently skipped. * dh: Support running addons in "arch-only" or "indep-only" mode by adding "dh-sequence-ADDON" in Build-Depends-Arch or Build-Depends-Indep (respectively). Not all addons support this and will trigger an error at load time. Addon providers should ensure that their package provide "dh-sequence-ADDON" and review the doc/PROGRAMMING document (in the debhelper source) if they are considering to make their addon compatible with these requirements. (Closes: #836699) * dh,elf_tools.pm: Extract the ELF related debhelper tools (dh_strip, dh_dwz, dh_makeshlibs, dh_shlibdeps) into their own addon called "elf-tools" enabled by the default. * debian/control: Provide dh-sequence-elf-tools. * dh: In compat 13, the "elf-tools" addon is considered an implicit "arch-only" addon (i.e. they are only available in "-arch" sequences and are always passed a "-a"). If you need the ELF tools for arch:all packages, please add an explicit Builds-Depends on dh-sequence-elf-tools. [ Frank Schaefer ] * dh_installmodules: Also look for compressed kernel modules in addition to uncompressed kernel modules (gz, bz2 or xz). [ Adam Borowski ] * d/s/lintian-overrides: Override lintian warning about debhelper not using debhelper. -- Niels Thykier Sat, 17 Aug 2019 10:54:08 +0000 debhelper (12.4) unstable; urgency=medium * dh: Retroactively remove support for manual dh sequence operators (--until, --after, --before and --remaining). This breaks about 8 source packages that still rely on this feature and have not yet migrated away. (Closes: #932537) Please see the debhelper bug for relevant bug numbers and package names. -- Niels Thykier Mon, 12 Aug 2019 15:07:01 +0000 debhelper (12.3) unstable; urgency=medium [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #927394) [ Niels Thykier ] * dh_installsystemduser: Fix bug that would neuter sorting of unit files and make the resulting maintscripts unreproducible. Thanks to Daniel Kahn Gillmor for reporting the bug. (Closes: #932646) * dh_dwz: Remove the -q flag when calling dwz(1). It is sufficiently silently with -q and aids with debugging for others. (Closes: #933561, #931792) * dh_dwz: Gracefully handle when dwz fails to create a multifile but succeeds anyway by default. The previous behaviour of insisting on a multifile can be obtained by explicitly passing --dwz-multifile. (Closes: #933541) * dh_dwz: Skip multifile generation for udeb packages. (Closes: #933212) * dh_makeshlibs: Attempt to automatically detect udeb packages for a given (non-udeb) library package. In simple cases, it can replace the need for an explicit --add-udeb parameter. However, there are many cases where the auto-detection falls short and --add-udeb is still needed (see dh_makeshlibs(1) for details). Packagers are advised to verify the resulting shlibs file before removing --add-udeb in an upload. -- Niels Thykier Tue, 06 Aug 2019 16:55:26 +0000 debhelper (12.2.3) unstable; urgency=medium * dh_installinit: Revert "Fail with an error if --name is given but there is no matching init script.". (Closes: #932073, Reopens: #462389) * Dh_Getopt.pm: Produce a better error message when -p is ignored in an architecture constrained override (e.g. during an architecture specific build and the -p argument refers to an arch:all package). Thanks to Helmut Grohne for reporting the issue. (Closes: #932262) -- Niels Thykier Fri, 19 Jul 2019 19:18:03 +0000 debhelper (12.2.2) unstable; urgency=medium * dh_shlibdeps: Remove regex anchor when parsing file(1) to avoid regressions with setuid/setgid binaries. Thanks to James Cowgill for reporting the issue. (Closes: #932240) * dh_strip: Ditto. -- Niels Thykier Tue, 16 Jul 2019 21:03:38 +0000 debhelper (12.2.1) unstable; urgency=medium [ Dmitry Bogatov ] * dh_installinit: Fix regression where dh_installinit bailed out on --name if only one of the acted on packages had an init script file. Thanks to Helmut Grohne for reporting the issue. (Closes: #932073) -- Niels Thykier Tue, 16 Jul 2019 20:21:32 +0000 debhelper (12.2) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Ensure the error function always triggers the same exit code on termination. Previously, it depended on the value of the last error (if any). * Buildsystem/make: Fix regression where cross-flags were passed in a non-cross build. (Closes: #925175) * dh_perl: Fix code to prune (skip) /usr/share/doc which never worked. * doc/PROGRAMMING: Document that the environment variable DH_AUTOSCRIPTDIR can be used for testing purposes to shadow existing or test new autoscript snippets. Thanks to Dmitry Bogatov for the suggestion. (Closes: #925281) * dh_compress: Exclude .haddock and .hs files (as this is customary for haskell packages). * dh_installinfo: Update NOOP PROMISE to account for dh_missing's needs. Thanks to Daniel Kahn Gillmor for reporting the issue. (Closes: #930689) * debhelper.pod: Document that debhelper will use dpkg-buildflags for setting CFLAGS et al and that it is recommended to rely on dpkg-buildflags's features for extending the default. (Closes: #923626) * dh_strip: Make dh_strip more robust with issues from file(1). Thanks to Christoph Biedl for reporting the issue. (Closes: #931995) * dh_shlibdeps: Pass --brief to file(1) and anchor the output parsing regex to avoid false-positive misdetections. Thanks to Christoph Biedl for the suggestion. (Closes: #931996) * dh_strip: Ditto. * dh_installman: Improve documentation to be more clear about exactly which new features dh_installman got in compat 11. Thanks to Laurent Bigonville for pointing out the issue. (Closes: #912999) * dh_strip: Pass --no-sandbox to file(1) when run under fakeroot and file(1) appear to support the option. Thanks to Christoph Biedl for requesting the feature. (Closes: #932006) * Dh_Lib.pm: Support substituting additional variables into the generated maintainer scripts. These include DEB_(BUILD|HOST|TARGET)_* and ENV.* which point to the variables from dpkg-architecture(1) and variables from the environment (respectively). * dh_installdeb: Support additional substitution variables on the commandline via -DTOKEN=VALUE to replace #TOKEN# with VALUE. (Closes: #25235) * d/control: Bump Standards-Version to 4.4.0 - no changes required. [ Helmut Grohne ] * Buildsystem/cmake: Fix CMAKE_SYSTEM_PROCESSOR for mips64el. (Closes: #926815) [ Dmitry Bogatov ] * dh_installinit: Fail with an error if --name is given but there is no matching init script. Thanks to A Mennucc for reporting the issue. (Closes: #462389) [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #886279) -- Niels Thykier Sun, 14 Jul 2019 10:29:20 +0000 debhelper (12.1.1) unstable; urgency=medium * dh_installinitramfs: Install hooks as executable rather than plan files. Thanks to Thorsten Glaser for the report. (Closes: #922990) * dh_compress: Fix bug where examples where compressed when a doc package shipped examples for another package. Thanks to Christian Kastner for reporting this. (Closes: #922795) -- Niels Thykier Sat, 23 Feb 2019 13:24:47 +0000 debhelper (12.1) unstable; urgency=medium [ Xavier Guimard ] * dh_fixperms: add .node in mode_0644_patterns. [ Sylvestre Ledru ] * dh_strip: Print a warning when an ELF binary does not have a build-id (or when dh_strip cannot find it). [ Niels Thykier ] * Dh_Lib.pm: Strip leading and trailing whitespace from lines in regular debhelper config files. Whitespace-only lines from executable config files are now explicitly detected and triggers a human readable error message early rather than warnings/errors about uninitialized variables. Thanks to Ben Finney for the suggestion and the initial patch. (Closes: #919853) * meson.pm: Dump "meson-logs/testlog.txt" if testing fails with an error. Thanks to Jeremy Bicha for the suggestion. (Closes: #918066) * dh_missing: Clarify the documentation about when -X with other helpers can may dh_missing ignore paths that are not installed. Thanks to Hilko Bengen for reporting the original documentation was insufficient. (Closes: #917362) * d/control: Bump Standards-Version to 4.3.0 - no changes required. [ Baptiste Jammet ] * fr.po: Update French translation. (Closes: #921254) -- Niels Thykier Sun, 10 Feb 2019 20:33:53 +0000 debhelper (12) unstable; urgency=medium [ Niels Thykier ] * Release debhelper/12 marking compat 12 as stable. * dh: Special NOOP PROMISE of cli-options() to always allow skipping the helper (as we know no option can make it change behaviour). [ Dmitry Shachnev ] * dh_compress: Do not compress mkdocs search indices (search_index.json). -- Niels Thykier Mon, 24 Dec 2018 13:47:55 +0000 debhelper (11.5.4) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Reopen stdin to read from /dev/null in doit (and its sibling functions) to prevent issues when stdin is open in write-only mode (which is what nohup(1) does). Thanks to Julian Gilbey for reporting the issue and providing a sample patch for it as well. (Closes: #913663) * fr.po: Add missing dash in "--parallel" in a translation. Thanks to Christian Marillat for reporting the issue. (Closes: #915255) * debhelper.7: Document that the "python-distutils" build system is removed in compat 12. Thanks to Axel Beckert for reporting the omission. (Closes: #915530) [ Luca Boccassi ] * makefile.pm: revert passing V=0/1 to makefiles. Fixes FTBFS in apcupsd (and possibly more). (Closes: #914419) -- Niels Thykier Sat, 15 Dec 2018 19:18:47 +0000 debhelper (11.5.3) unstable; urgency=medium [ Helmut Grohne ] * cmake.pm: Pass the usual CMAKE_SYSTEM_PROCESSOR for ppc64el when cross compiling. (Closes: #913425) -- Niels Thykier Sat, 10 Nov 2018 21:42:12 +0000 debhelper (11.5.2) unstable; urgency=medium [ Luca Boccassi ] * makefile.pm: Pass V=0 or V=1 to the make file depending on whether "terse" is set in DEB_BUILD_OPTIONS. [ Niels Thykier ] * dh_gconf: Mark dh_gconf as deprecated (see #908845). * Dh_Lib.pm: Separate lowest non-deprecated compat level and the lowest compat level we generate "debhelper-compat (= X)" relations for. * Dh_Lib.pm: Open compat level 13 as an experimental compat level. * meson.pm: In compat 13, run tests with "meson test" rather than "ninja test". Thanks to Simon McVittie for the suggestion. (Closes: #912560) * dh: Correctly include dh_installsystemduser in the sequence in compat 12. It was excluded due to an inverted boolean meaning it was added in compat up to (and incl.) compat 11. Thanks to Michael Biebl for reporting the issue. (Closes: #913329) * fr.po: Correct translations for dh_installman.1 which incorrectly implied that dh_installman was deprecated. Thanks to Laurent Bigonville for reporting the issue. (Closes: #912978) [ Helmut Grohne ] * cmake.pm: Pass QMAKE_EXECUTABLE when cross-building. (Closes: #913415) -- Niels Thykier Sat, 10 Nov 2018 19:51:25 +0000 debhelper (11.5.1) unstable; urgency=medium * dh_systemd_start: Fix bug introduced in debhelper/11.5 where dh_systemd_start would fail to substitute a token in the generated maintscript for maintainer scripts when using "--restart-after-upgrade" (including when the option is on by default). Thanks to Colin Watson for reporting the bug. (Closes: #912420) -- Niels Thykier Wed, 31 Oct 2018 21:02:00 +0000 debhelper (11.5) unstable; urgency=medium [ Daniele Nicolodi ] * dh_installsystemduser: New helper responsible for installing package maintainer supplied systemd user instance units and to produce postinst and postrm maintainer scripts code blocks to appropriately enable, mask and disable units when the package is installed, upgraded, or removed. (Closes: #764678) [ Niels Thykier ] * dh_installsystemd.1: Improve the documentation for --name to make it more clear that it also changes the name of the source files in the debian directory. Thanks to Emel Hasdal for reporting the issue and reviewing the change. (Closes: #899983) -- Niels Thykier Sun, 28 Oct 2018 16:07:01 +0000 debhelper (11.4.1) unstable; urgency=medium [ Niels Thykier ] * debhelper.pod: Quote the value of INSTALL in description of compat level 11. Thanks to Josh Triplett for the suggestion (Closes: #908906) * d/changelog: Fix typos in old entries. * dh_strip: Remove empty /usr/lib/debug directories left over by dh_dwz. Thanks to Ferenc Wágner for reporting the issue. (Closes: #909303) * dh: Disable optimization to skip tools based on command-line parameters when dh is passed long options. Since debhelper had implicit support for auto-abbreviation of long options and people have started to rely on it, the optimization in debhelper/11.4 caused regressions. The optimization is still enabled for short options. (Closes: #909704) [ Josh Triplett ] * debhelper.pod: Document how to declare the debhelper compat level via the "debhelper-compat (= X)"-method. (Closes: #908909) * debhelper.pod: Document that we do not provide debhelper-compat for experimental/beta versions of compat levels. (Closes: #908907) * doc/PROGRAMMING: Fix typos. -- Niels Thykier Sun, 30 Sep 2018 15:49:38 +0000 debhelper (11.4) unstable; urgency=medium [ Niels Thykier ] * dh_dwz.1: Remove now obsolete note in manpage claiming that dh_dwz was experimental. Since debhelper/11.3, dh_dwz was no longer experimental. * cmake.pm: Explicitly set CMAKE_INSTALL_LIBDIR on native builds. This should not make any practical difference but aligns the behaviour of native and cross builds. Thanks to Simon McVittie for the suggestion. (Closes: #903042) * autoconf.pm: Leave --libexecdir at upstream default (/usr/libexec) in compat 12 and later. (Closes: #859724) * meson.pm: Ditto. * dh: Support implicitly loading addons via "dh-sequence-${name}" relations in Build-Depends (which would imply "dh ... --with ${name}"). Only simple relations in Build-Depends are considered at the moment. * debian/control: Provide dh-sequence-dwz, dh-sequence-installinitramfs, and dh-sequence-systemd, which enables packages to use the new feature to implicitly autoload dh addons via Build-Depends. * dh_md5sums: Rewrite handling of conffiles and excludes to better support an arbitrary number of files that should be omitted from the md5sums file. Previously, dh_md5sums could fail with the error: """... "/bin/sh": Argument list too long at ...""" (Closes: #864182) * dh_installinit.1: Correct documentation which was inaccurate in relation to which compat levels where dh_installinit still supported systemd items and upstart jobs. Thanks to Theodore Y. Ts'o for bring up the issue. * dh_installdeb: In compat 12, ignore the maintainer provided conffiles. It has not been useful since compat 3. * Dh_Lib.pm: isnative() now also resets $dh{VERSION} as a side-effect when using the cache to answer the request. This is mostly useful because it enables the following optimization. * Dh_Lib.pm: Have isnative() special-case debian/changelog to avoid reparsing that file over and over in the same helper. * dh_gconf: Explicitly declare the --priority parameter with the intention to remove it from the default debhelper options. * dh_installemacsen: Ditto. * dh_installgsettings: Ditto. * dh_installudev: Ditto. * dh_installwm: Ditto. * Dh_Getopt.pm: Remove --priority from the list of options supported by all debhelper tools. The only external consumer was dh_installtex from tex-common, which was fixed in 6.10. * dh_installinit: In compat 12, pass --skip-systemd-native to update-rc.d to make it ignore systemd services. * dh_installsystemd: In compat 12, avoid relying on dh_installinit's shell snippets for starting services. (Closes: #887904, #887900) * dh_installinit: Drop unnecessary "systemctl daemon-reload" in auto-generated postrm script. The systemd package has a trigger for handling sysvinit scripts and dh_installsystemd handles the requirement for native systemd unit files. * dh_clean: Explicitly declare the -k/--keep parameter with the intention to remove it from the default debhelper options. * dh_installchangelogs: Ditto. * dh_strip: Ditto. * Dh_Getopt.pm: Remove -k/--keep from the list of options supported by all debhelper tools. The only external consumer was dh_gtkmodules which is now deprecated and a "noop" command. No consumers of dh_gtkmodules appear to pass -k/--keep to dh_gtkmodules any longer. * dh: Rewrite command line optimization logic to enable support for a new NOOP PROMISE for command line options. This will make dh able to skip helpers in some cases even when passed options. (Closes: #866581) * dh_*: Add a NOOP PROMISE for command options where applicable. * dh: Remove old compatibility code from compat 10 that never worked. * Dh_Getopt.pm: Fix a bug that would make "-S" be interpreted as "-s" when "-S" was not given an argument. * debian/control: Bump Standards-Versions to 4.2.1 - no changes required. * debhelper.pod: Declare compat 12 in beta testing. [ Juhani Numminen ] * dh_installsystemd.1: Fix typo in manpage. * dh_installinit.1: Ditto. [ Fabian Wolff ] * dh_installdocs.1: Fix typo. * dh_link.1: Ditto. [ Nicholas Guriev ] * cmake.pm, autoconf.pm: honor QUIET setting (closes: #907738). * Dh_Lib.pm: use terse build option to set QUIET setting (closes: #907595). [ Clément Hermann ] * debhelper.pod: Document dh_golang's DH_GOLANG_EXCLUDES behaviour change for compat 12 (closes: #908656) -- Niels Thykier Fri, 14 Sep 2018 20:56:55 +0000 debhelper (11.3.5) unstable; urgency=medium * Dh_Lib.pm: Introduce a new glob_expand error handler to better emulate the old style glob code to fail when a non-glob entry in the config file is missing. * dh_installdocs: Use the new glob_expand error handler to restore the behaviour to that of debhelper/10.5.1 and older. Thanks to Christoph Berg for reporting the issue. (Closes: #902355) * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * Dh_Lib.pm: Fix a bug where ending debian/control on (what debhelper believed was) a comment line could cause debhelper to omit the last package listed in the file. Thanks to Santiago Vila for reporting the bug. (Closes: #902748) -- Niels Thykier Sat, 30 Jun 2018 11:52:51 +0000 debhelper (11.3.4) unstable; urgency=medium * Dh_Lib.pm: Fix bug that made the parser assign the wrong value from the Build-Profiles field. Thanks to Sven Joachim for reporting the bug. (Closes: #902268) * debhelper.pod: Rewrite the compat 11 change on "main doc packages" in an attempt to clarify what is happening in compat 11. Thanks to Paul Gevers for pointing out some of the confusing aspects. -- Niels Thykier Sun, 24 Jun 2018 09:46:35 +0000 debhelper (11.3.3) unstable; urgency=medium [ Niels Thykier ] * d/control: Remove versioned Breaks on qt5-qmake as it prevents others from backporting qt5 packages to stable-backports. The Breaks was added to assist cross-building in buster and it has already served that purpose by now. * Dh_Lib.pm: Provide a more helpful diagnostic message when an executable config file fails and it does not have a #!-line (and is not an ELF binary). Thanks to Nadav Ruskin for the suggestion. (Closes: #902214) * debhelper.pod: Make a dedicated subsection about executable debhelper config files to make them more prominent. Thanks to Nadav Ruskin for the suggestion. (Closes: #901715) * Dh_Lib.pm: Avoid forking a shell when running executable debhelper config files. * Dh_Lib.pm: Validate package names according the rules for Debian packages. Thanks to Raphael Geissert and Tim Düsterhus for the suggestion. (Closes: #567178) * Dh_Lib.pm: Rewrite deb822 parser to validate d/control more strictly. Particularly, debhelper no longer permits the same field twice in a stanza. Thanks to Tim Düsterhus for the suggestion. * Dh_Lib.pm: Ensure that at most once definition of (X-)Package-Type is used per stanza. [ Roberto C. Sánchez ] * cmake.pm: Reorder arguments to cmake to make "-D FOO=BAR" work. This form only works if it is before the directory passed to cmake. [ Daniele Nicolodi ] * dh_installsystemd: Improve man page. * dh_installsystemd: Tighten error handling: fail immediately if an unit name not installed by the package is specified on the command line. * dh_installsystemd: Fix the undocumented '--no-also' command line option to do not affect handling of the Alias= directives. * dh_installsystemd: Add timer units to the list of units considered when the '--name' option is specified. -- Niels Thykier Sat, 23 Jun 2018 18:30:08 +0000 debhelper (11.3.2) unstable; urgency=medium * dh_installchangelogs: Fix a second regression that made dh_installchangelogs ignore upstream changelogs in the source directories. Thanks to gregor herrmann for reporting the incomplete fix. (Closes: #899248) -- Niels Thykier Wed, 23 May 2018 05:59:59 +0000 debhelper (11.3.1) unstable; urgency=medium * dh_installchangelogs: Fix logic error that made dh_installchangelogs incorrectly ignore explicitly passed changelogs. Thanks to Sven Joachim and Rene Engelhard for reporting the bug. (Closes: #899248) -- Niels Thykier Mon, 21 May 2018 20:02:32 +0000 debhelper (11.3) unstable; urgency=medium [ Niels Thykier ] * Buildsystem.pm: Fix use of undefined variable in certain error conditions. * dh_makeshlibs: Support -VUpstream-Version and -VNone as alternative to passing -V or omitting -V respectively. * dh_makeshlibs: Make -VUpstream-Version the default in compat 12 when -V is omitted. (Closes: #896464) * dh_makeshlibs: Correct handling of an explicit -V when a source builds multiple library packages and provides explicit shlibs files for a subset of them. Previously, the -V option could have been ignored for some of the packages containing libraries. * Dh_Lib.pm: Fall back to a regular mv(1) when rename fails with EXDEV (cross mount point moves). This restores debhelper's ability to move files between mount points, which can happen in dh_builddeb has to correct the extension of a binary package built by dpkg-deb. Thanks to Evan Krall for the report. (Closes: #897569) * dh_missing.1: Consistently mention that dh_missing defaults to --list-missing in compat 12. Thanks to Robie Basak for spotting the contradicting documentation. (Closes: #898161) * dh_compress: Avoid adding a duplicate ".gz" extension on a symlink if it already has it. This can happen e.g. with dh_installman recompresses a manpage that was compressed and had a valid symlink to it. Thanks to Andreas Hasenack for reporting the bug. (Closes: LP: #1765851) * debian/control: Depend on dwz for dh_dwz. * dh_dwz: Generate a per-package multifile by default. This feature can be disabled by --no-dwz-multifile. * dh: Run dh_dwz by default in compat 12. * dh_dwz: Remove warning about the dwz feature being experimental. * dwz.pm: Ditto. * dh_installsystemd: Use the basename of the "tmpfiles" config files. This makes "systemd-tmpfiles --create" search for it in both /usr/lib/tmpfiles.d and in /etc/tmpfiles.d. With this change the system administrator can now override the "tmpfiles" config shipped by the package in /usr/libtmpfiles.d. Thanks to Nick Groenen and Seyeong Kim for filing the bug. (Closes: #894510) * dh_installinit: Ditto. * dh_installchangelogs: Look for changelog files installed by the upstream build system in the package build dir (i.e. d// and *not* debian/tmp!) and use them in preference to the one in the source package where available. This avoids some cases of duplicated upstream changelogs. Thanks to Evgeni Golov for the suggestion. (Closes: #513521) * dh_md5sums: Stop deleting empty md5sums files as dpkg (now) creates the empty file on install if absent. Thanks to Rhonda D'Vine for suggesting the improvement. (Closes: #776853) * Dh_Lib.pm: Re-organise exports. * Dh_Lib.pm: Retract "print_and_complex_doit"; the only potential consumer went with a different code snippet. * dh_installinitramfs: New tool to install initramfs hook scripts and handle related maintscripts. Thanks to Evgeni Golov for the suggestion. (Closes: #491027) * installinitramfs.pm: New sequence to enable dh_installinitramfs in compat 11 and earlier. * dh_installdirs: Add --(no-)create-in-sourcedir option to make dh_installdirs create directories in the source directory in addition in the package build directory. Furthermore, dh_installdirs now accepts --sourcedir to overrule the default source directory (just like e.g. dh_install). Thanks to Robert Luberda for the suggestion. (Closes: #816332) * Buildsystem.pm: Move code from Dh_Buildsystems.pm to Buildsystem.pm to make the latter independent of the former. This makes it possible to load Buildsystem.pm without debian/control being present. Thanks to Andreas Tille for the bug report. (Closes: #897026) * dh_installinit.1: Fix some incorrect markup in the documentation of --no-enable. * makefile.pm: Revert the use of -O/-Oline for make, which helps debugging what commands time out on the buildds. Thanks to Adrian Bunk for the report. (Closes: #895196) * dh_testroot.1: Update R³ documentation to reflect the current implementation and not the initial draft. Thanks to Jens Reyer for reporting the inconsistency. (Closes: #899125) * d/changelog: Retroactively add Closes for LP bug #1766102 in 11.2 release. * Dh_Lib.pm: Correct control parser to permit zero or more leading space after the "Section" field (instead of "exactly one" space). * python_distutils.pm: Deprecate the python-distutils build system and mark it as removed in compat 12. Users are recommended to migrate to the third-party build system called "pybuild". This deprecation implies that python3 (among other) will not be supported in the python-distutils build system. (Closes: #568033, #597105, #597342, #769840, #813686, #898347) * Dh_Lib.pm: Remove warning for using "debhelper-compat" build-dependency. [ Dmitry Shachnev ] * qmake.pm: Use ${DEB_HOST_GNU_TYPE}-qmake wrapper for cross-compilation. (Closes: #895286) [ Helmut Grohne ] * cmake: Pass CC/CXX environment variables down during native compilation as well. (Closes: #897083) [ Chris Lamb ] * dh_listpackages.1: Document that packages are listed in the order that they appear in debian/control. (Closes: #897949) [ Peter Pentchev ] * Dh_Lib.pm: Permit leading and trailing whitespace around the debhelper-compat dependency when it is the first or the last relation listed. (Closes: #897937) [ Jakub Wilk ] * dh_usrlocal: Fix invalid POD markup. -- Niels Thykier Sun, 20 May 2018 20:35:00 +0000 debhelper (11.2.1) unstable; urgency=medium * Buildsystem.pm: Correctly pass build directory values to target buildsystems. Thanks to Helmut Grohne, Adrian Bunk and Tobias Frost for the reports and debugging. (Closes: #895174, #895181) * Buildsystems: Avoid choosing a build system for the clean step if it is not necessary. Previously, debhelper could choose a "random" build system that would prefer building in a separate build directory on the basis that the build directory should be removed. With this, change we only choose such a build system if there is a build directory to remove. -- Niels Thykier Sun, 08 Apr 2018 08:47:35 +0000 debhelper (11.2) unstable; urgency=medium [ Niels Thykier ] * debhelper.7: Add a ~ to the suggested Build-Depends to ensure backports also work for debhelper with single integer versions. Thanks to Trent W. Buck for the suggestion. (Closes: #894666) * makefile.pm: Use -Oline with make. This avoids make mistaking a target name for a value for -O and should make build time outs less likely for "long" targets. (Closes: #894573) * Dh_Lib.pm: Fix bug that make debhelper trip on packages with the version "0". Thanks to Chris Lamb for reporting the bug plus debugging the issue. (Closes: #894895, LP: #1766102) * Buildsystem.pm: Rewrite to support build systems that generate build files for another build system (without using inheritance). This enables generator build systems to have multiple backends. * cmake.pm: Support ninja as alternative backend (by using the build system cmake+ninja). Thanks to Kyle Edwards for the suggestion. (Closes: #895044) * meson.pm: Rewrite as a generator build system with ninja as the only backend. * debhelper.7: Recommend packagers to use "debian/." over "debian/" in most cases. Thanks to Johannes Schauer for the suggestion. * dh_usrlocal: Implement a simple guard for directories that will likely cause issues in the shell snippets. * dh_usrlocal: Use the new rules from Debian Policy 4.1.4 to determine the default ownership and mode for directories. * d/control: Bump Standards-Versions to 4.1.4. Beyond the dh_usrlocal change listed above, no changes were required. [ Nicolas Boulenguez ] * dh_installxfonts: Fix typo that causes a misc:Depends on non-existing xfont-utils. (Closes: #894835) * dh_installwm.1: Document --all. (Closes: #895011) * dh_usrlocal: Fix bug where the generated prerm script generated by dh_usrlocal could remove a directory directly in /usr/local. (Closes: #894549) [ Mattia Rizzolo ] * Lower the version restrictions on dpkg and dpkg-dev. They are not needed anymore, as R³ support is not implied anymore, but requires an environment variable to be passed. -- Niels Thykier Sat, 07 Apr 2018 19:23:32 +0000 debhelper (11.1.6) unstable; urgency=medium * Dh_Lib.pm: Avoid passing invalid parameters to a function, which caused tons of "package ARRAY(...) is not in control info" warnings from dh in some cases. It triggers when dh thinks the package might have architecture qualified debhelper config files. The warning is harmless (besides the noise) for all native builds and most cross builds, but it did invalidate attempt to make pkgfile() use "DEB_TARGET_ARCH{,_OS}" (see 11.1.5~alpha1). Thanks to Andreas Beckmann for reporting the issue. (Closes: #891546) * dh: Refactor handling of sequences to simplify some code paths. * autopkgtests: Remove "use-name" tests as it no longer works. The debhelper module makes assumptions in which directory it is run from and the test breaks these assumptions. * debian/control: Comment out versioned dependency on make. It is not strictly necessary for Debian and causes issues with make-guile. On the other hand, it is useful for people backporting debhelper on derivatives and hench leaving it as a comment. (Closes: #892586) * debian/control: Bump dependency on dh-autoreconf for the fix for #889567. * dh_installinfo: Accept --sourcedir like the documentation says for compat 11. Previously the option was incorrectly silently ignored. Thanks to Nicolas Boulenguez for the report and the patch. (Closes: #894226) * dh_ucf.1: Apply patch from Nicolas Boulenguez to add missing documentation of the "--all" and non-option parameters. (Closes: #894228) * dh_installxfonts: Apply patch from Nicolas Boulenguez. This ensures that the generated maintscript snippets are bit-for-bit reproducible when a package ships xfonts in multiple fonts directories. (Closes: #894227) * Dh_Lib.pm: Improve the "make_symlink" code to avoid non-compliant symlinks when the link name was not a normalized path. Note that ".."-segments are now disallowed in the link name (but not the link target). Thanks to Nicolas Boulenguez for reporting the bug plus the test cases. (Closes: #894229) * dh_installinfo: Report installed files to dh_missing. Thanks to Daniel Kahn Gillmor for reporting this omission. (Closes: #893160) * Dh_Lib.pm: Make Dh_Lib loadable again without a debian/control being present. This makes the autopkgtests work again. -- Niels Thykier Thu, 29 Mar 2018 19:26:59 +0000 debhelper (11.1.5) unstable; urgency=medium * Upload to unstable. * Add a warning for using the new experimental feature for requesting the compat level via the Build-Depends field. -- Niels Thykier Sun, 25 Feb 2018 10:05:22 +0000 debhelper (11.1.5~alpha1) experimental; urgency=medium * dh_installdocs: Add missing documentation about --sourcedir in compat 11. * dh_installdocs: Document that d/tmp is used by default in compat 11. * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * meson.pm: Apply patch from Jakub Wilk to fix typo in the name of the "C.UTF-8" locale. * autoscripts/postinst-systemd-restart: Apply patch from Christoph Biedl to fix indentation. (Closes: #890373) * dh_testroot: With the advent of DEB_RULES_REQUIRES_ROOT, it no longer needs to read debian/control to tell whether root is needed or not. However, the warning remains for calling dh_testroot outside the source root (as we may need to check the compat level in a future version of debhelper). * makefile.pm: Synchronize output from make (via -O) when make runs in parallel except when STDOUT is a TTY. Thanks to Goswin von Brederlow for the suggestion. (Closes: #768791) * dh_gencontrol: Avoid uninitialized value warning when there are no build-ids (e.g. because the builder disabled the dbgsym building via DEB_BUILD_OPTIONS). This regression was introduced in 11.1. Thanks to Christian Marillat for reporting the bug. (Closes: #890736) * Dh_Lib.pm: pkgfile() now properly uses for DEB_TARGET_ARCH{,_OS} when the package is set to be built for the target architecture. * d/control: Drop dependency on binutils; it does not reflect our actual requirement and the package or builder will ensure that the current binutils is installed for other reasons any way. Thanks to Helmut Grohne for the report. (Closes: #891187) * Dh_Lib.pm: Add an experimental feature to determine the requested compat level from the Build-Depends field. -- Niels Thykier Sat, 24 Feb 2018 16:01:31 +0000 debhelper (11.1.4) unstable; urgency=medium * qmake.pm,qmake_qt4.pm: Avoid global state in the build systems. * dh_makeshlibs: Fix --no-act, which could still cause writes to the shlibs file. Thanks to Sven Joachim for reporting it. (Closes: #888974) * dh_installdocs: Discard auto-detected main doc package when passed -A/--all as it causes file-conflicts. (Closes: #886108, #888294) * Dh_Lib.pm: Fix regression where "foo{bar}" would not be matched when the pattern was handled as a glob. The bug was introduced in debhelper/10.6. Thanks to Wouter Verhelst for finding the bug. (Closes: #888251) * d/control: Update the Vcs-* fields to point to salsa.debian.org as a part of the migration from alioth. * d/control: Update maintainer address debhelper@packages.d.o as a part of the migration from alioth. Any subscription to debhelper-devel@lists.alioth.debian.org should be replaced by a subscription in tracker.debian.org or salsa.debian.org. * d/control: Remove Bernhard R. Link from uploaders as he does not appear to be active in debhelper at the moment. Thanks to Bernhard for his past contributions. * d/control: Bump (Build-)Dependency on dpkg to ensure that dpkg provides DEB_RULES_REQUIRES_ROOT and DEB_GAIN_ROOT_CMD as a part of its Rules-Requires-Root support. * Dh_Lib.pm: Rely on DEB_RULES_REQUIRES_ROOT instead of the field to determine whether or not tools may "root-only" actions (such as chown'ing). * d/control: Bump dependency on dh-autoreconf to ensure that packages do not experience #887482. * makefile.pm: Ensure that command line arguments are passed deterministically to make when cross-compiling. -- Niels Thykier Wed, 31 Jan 2018 21:36:13 +0000 debhelper (11.1.3) unstable; urgency=medium * autoscripts/*: Improve rollback handling of many scripts. Notably a lot of scripts failed to rerun the postinst parts on an "abort-upgrade". (Closes: #446856) * debian/control: Add a Breaks on meson to ensure that we have meson (>= 0.40.0) as the meson build system uses --wrap-mode. This is mostly relevant for backports. * Dh_Lib.pm: When printing commands (e.g. for doit), also show changes to the environment (when done as a part of the command). * ninja.pm: Set LC_ALL=C.UTF-8 when calling ninja to avoid meson choking on UTF-8 characters when it embeds itself into e.g. the build or install. (Closes: #873831) * dh: Remove the assumption that sequences will supply only "safe no-op" parameters to commands. Thanks to Axel Beckert and Sascha Steinbiss for the report. (Closes: #887727) -- Niels Thykier Sat, 20 Jan 2018 18:26:06 +0000 debhelper (11.1.2) unstable; urgency=medium * dh: Fix non-sense error about a missing "startpoint object method". -- Niels Thykier Sun, 07 Jan 2018 21:31:40 +0000 debhelper (11.1.1) unstable; urgency=medium * dh: Fix an off-by-one in a compat check. This fixes an internal error for compat 9 packages that requires dh to recurse into the debian/rules file. Thanks to Helmut Grohne for reporting the bug. (Closes: #886518) -- Niels Thykier Sun, 07 Jan 2018 09:48:17 +0000 debhelper (11.1) unstable; urgency=medium [ Paul Tagliamonte ] * dh: Provide the DH_EXTRA_ADDONS environment as a method for e.g. derivatives to enable additional debhelper add-ons. It is *not* a replacement for the --with parameter (which package maintainers should still use). (Closes: #570935) [ Hideki Yamane ] * Fix typo of unnecessary. (Closes: #884574) [ Niels Thykier ] * dh_missing: Support wildcards in debian/not-installed. Thanks to Maximiliano Curia for the suggestion. (Closes: #884556) * dh_missing: Tweak handling of missing source directory and single binary packages. * dh_missing: Make --list-missing the default in compat 12. Thanks to Daniel Leidert and Christian Göttsche for the suggestions. (Closes: #650129, #858834) * meson.pm: Set LC_ALL to C.UTF-8 when invoking meson and debcrossgen (helper tool for cross-building). Thanks to Jeremy Bicha for the suggestion. (Closes: #873831) * dh_makeshlibs: Avoid forking a shell per line in the generated shlibs file. * dh_makeshlibs: Find all libraries with an unversioned SONAME field (and not just the unversioned ones containing ".so"). * dh_makeshlibs: In compat 12, stop passing ELF binaries without a SONAME to dpkg-gensymbols. Thanks to Steve Langasek for the report. (Closes: #653640) * dh_compress: In compat 12, stop compressing any thing in /usr/share/doc/$pkg/examples. Thanks to Piotr Ożarowski for the suggestion. (Closes: #593382) * dh_installinit: Support a new --no-enable parameter to setup the init script with the "defaults-disabled" and add the proper versioned dependency on "init-system-helpers (>= 1.51)", which is the first (functional) version with support for "defaults-disabled". Thanks to Laurent Bigonville for the report and Evgeni Golov for filing #857452. (Closes: #709384) * Dh_Lib.pm: Make "exit 1" the default error-handler instead of "exit $?" as this makes it easier to migrate from sed-based autoscript substitutions to the new hash-based ones. * autoscripts/*systemd*: Also use "|| true" in removal scripts for systemd related tools if we do it in other scripts for the same command. Thanks to Laurent Bigonville for the report. (Closes: #761272) * dh_installinit: Perform the autoscript substitutions without needing a shell. * dh_clean: Skip cleaning in the '.pc' and '_darcs' directories. (Closes: #566861) * dh_strip: Do not strip debug symbols in ".../debug/.build-id/". Thanks to Mattia Rizzolo for reporting the bug. (Closes: #886037) * dh_gencontrol: Deduplicate debug-ids before inserting them into the control file. Thanks to Mattia Rizzolo for reporting the bug. (Closes: #886038) * dh: Rewrite sequence handling to ensure that dh does not "inline" a subtarget of a target it recurses into. Thanks to James Cowgill for reporting the bug. (Closes: #880840) * d/control: Add a Breaks against cmake (<< 3.8~) to ensure that cmake response to the /run change in compat 11. Thanks to Adrian Bunk for the suggestion. (Closes: #886127) * Dh_Lib.pm/dh_testroot: Support the DEB_GAIN_ROOT_CMD environment that replaces DPKG_GAIN_ROOT_CMD. * dh_installinit/dh_installsystemd: Re-order snippets so service handling is always the first to happen in removal scripts and last to happen on install scripts. This means that configuration file management and systemd-tmpfiles handling will now always happen before the service is started on install/upgrade. Thanks to Дилян Палаузов and Simon McVittie for reporting the bug. (Closes: #814285, #885998) - Note that the deprecated dh_systemd_enable and dh_systemd_start helpers have not been changed. Services handled by these may still be started before configuration management happens. * debian/control: Drop some very old versioned constraints that are no longer important. * dh_installsystemd: Fix NOOP PROMISE to account for the tmpfiles.d files. * debian/control: Bump Standards-Versions to 4.1.3 - no additional changes required. [ Translations ] * Update French translation (Baptiste Jammet) (Closes: #886279) -- Niels Thykier Sat, 06 Jan 2018 21:17:47 +0000 debhelper (11) unstable; urgency=medium [ Niels Thykier ] * dh_installdeb: Do basic validation of rm_conffile and mv_conffile parameters in "maintscript" parameters in compat 10 and newer. In compat 12, this is an error. Thanks to Andreas Beckmann for the suggestions. (Closes: #882626) * dh_strip: Fix bug where the Build-Id field would not be properly filled when using --dbg-package. Thanks to Paul Wise for finding and reporting the bug. (Closes: #884152) * d/control: Bump Standards-Version to 4.1.2 - no changes required. * dh_installsystemd: Remove neutering of dh_installsystemd in compat levels prior to 11 now that compat 11 is stable. [ Chris Leick ] * debhelper.pod: Improve the wording of two paragraphs. [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #883635) * Update German translation (Chris Leick) (Closes: #884205) -- Niels Thykier Sat, 16 Dec 2017 15:41:17 +0000 debhelper (10.10.9) unstable; urgency=medium [ Dmitry Shachnev ] * qmake.pm: Add missing import of generated_file. * meson.pm: Find typo of meson in the name of the cross config file. * qmake.pm: Push compiler information as ‘early’ flags to qmake, to make sure qmake calls the right compiler to get library paths. * qmake.pm: Add all possible settings to generated qmake-cross.conf. Now output of ‘qmake -query’ with and without using this file is identical. This makes cross-building Qt’s own modules possible. [ Niels Thykier ] * dh_missing: Permit a missing debian/tmp without failing in compat 11 when debian/tmp is an implicit source directory. Thanks to Christoph Biedl for reporting the bug. (Closes: #882083) * dh_missing: Improve the wording about "debian/not-installed". -- Niels Thykier Sun, 19 Nov 2017 11:04:45 +0000 debhelper (10.10.8) unstable; urgency=medium [ Niels Thykier ] * Document that compat 11 is now in its open beta phase. * Dh_Getopt.pm: Improve warning message when a package is excluded due to profiles or architecture restrictions. * dh_install: Properly allow patterns to be excluded without complaining about missing files. (Closes: #881658) * qmake.pm: Ensure that the qmake cross-build config file survives until clean. [ Dmitry Shachnev ] * qmake.pm: Set QMAKE_LINK correctly for cross-builds. -- Niels Thykier Wed, 15 Nov 2017 19:46:00 +0000 debhelper (10.10.7) unstable; urgency=medium * dh_strip: Fix a regression that caused debug symbols for executables to be discarded instead of included into debug packages. * Dh_Lib.pm: Ensure that $dh{U_PARAMS} is always defined as a list. Thanks to Adrian Bunk for the bug report. -- Niels Thykier Sat, 11 Nov 2017 14:10:21 +0000 debhelper (10.10.6) unstable; urgency=medium [ Axel Beckert ] * Cleanup trailing whitespace in ancient debian/changelog entries and debian/rules. * Fix typo "belive" in debian/copyright and ancient debian/changelog entries. * Use HTTPS in debian/copyright format URL. [ Niels Thykier ] * Remove support for named compat levels. * dh_perl: Make dh_perl faster on packages with large doc directories by pruning the entire doc directory. * dh,dh_auto_*: Support skipping all of the dh_auto_* helpers if the package does not seem to have a build system (and there are no build system related options passed to dh). * Dh_Lib.pm: Define a (hardcoded) extension for dbgsym packages. * dh_gencontrol: Pass -DPackage-Type to dpkg-gencontrol when the package type for dbgsym is different than for regular deb packages. * dh_builddeb: Automatically handle renaming of dbgsym packages when the extension of the dbgsym packages are different than for regular deb packages. * dh_installsystemd,dh_systemd_start: Use "restart" instead of the "try-restart" action. This ensures that newly added services are started the first time they are installed. (Closes: #879727, LP: #1707880) * dh_install: Fix regression where it was no longer possible to exclude an entire pattern / source file. Thanks to James Cowgill for the report. (Closes: #814856, LP: #1554979) * dh_installsystemd: Permit missing explicitly requested file in package as long as another on being acted on ships it. * dh_installsystemd: Optimize the search for files installed in the tmpfiles.d directories to only look in the tmpfiles.d directories. * Add experimental support for building some packages for "TARGET" rather than "HOST" via the X-DH-Build-For-Type field. The field is subject to removal and changes without notice. The field is not considered by dpkg tooling and therefore you will still have to manually work around tools like dpkg-gencontrol (even when called via dh_gencontrol). * dh_makeshlibs: Ignore non-ELF files even if they are named ".so". (Closes: #880480) * Dh_Lib.pm: Improve the performance of isnative by using Dpkg::Changelog::Parse instead of calling dpkg-parsechangelog as an external process. This improves the performance of dh_installchangelogs by ~10%. [ Felipe Sateler ] * dh_installsystemd: Fix a bug where dh_installsystemd would generate invalid maintscript, when there were no units to start or enable. Thanks to Ben Hutchings and Bastian Blank for the bug report. (Closes: #881190) -- Niels Thykier Sat, 11 Nov 2017 11:18:11 +0000 debhelper (10.10.5) unstable; urgency=medium * meson.pm: Add missing import of generated_file that broke cross building. * Dh_Lib.pm: Fix regression where an empty line before the source paragraph in d/control would cause parse error. (Closes: #879762) -- Niels Thykier Thu, 26 Oct 2017 19:10:51 +0000 debhelper (10.10.4) unstable; urgency=medium * meson.pm: Keep the meson cross file until dh_clean is called as otherwise ninja tries and fails to regenerate the build rules. Thanks to Helmut Grohne for reporting the bug. (Closes: #879658) * dh_dwz: Add new experimental tool to run dwz(1) to deduplicate ELF debugging symbols. It should be generally be run before dh_strip (as dh_strip compresses the debug symbols and dwz expects uncompressed debug symbols). (Closes: #878888) * dwz.pm: New sequence to add dh_dwz to the sequence. * d/control: Add a Suggests on dwz for the optional dh_dwz tool. * Dh_Lib.pm: Fix regression where the source section would not be parsed leading to dbgsym packages possibly getting an incorrect value in the Section field. Thanks to Mihai Moldovan for reporting the issue. (Closes: #879667) -- Niels Thykier Wed, 25 Oct 2017 06:00:13 +0000 debhelper (10.10.3) unstable; urgency=medium * dh_strip: Skip the entire directory when an exclude rule parameter matches it. * dh_fixperms: Improve the documentation to assume less familiarity with "Rules-Requires-Root" (R³). * dh_usrlocal: Ditto. * dh_builddeb: Ditto. * dh_usrlocal: Correct the group name when creating directories owned by "root:staff". Thanks to Paul Gevers for reporting the bug. (Closes: #879643) * dh_usrlocal: Fix inverted boolean logic that made dh_usrlocal ignore ownership of directories when it should have preserved them. -- Niels Thykier Mon, 23 Oct 2017 21:24:08 +0000 debhelper (10.10.2) unstable; urgency=medium * Dh_Lib.pm: Fix uninitialized warning in find_hardlinks that broke dh_compress's ability to deal with hardlinks. Thanks to Ondřej Surý for finding the bug. -- Niels Thykier Sun, 22 Oct 2017 21:21:58 +0000 debhelper (10.10.1) unstable; urgency=medium * debhelper.pod: Document that all tools by default must be run in the root of an unpacked source. * dh: Clarify that --list can be run anywhere. * dh_testroot: Temporarily cope with being run outside a source root. (Closes: #879478) * dh_testroot: Update manpage to mention its new scope. * d/control: Bump (build-)dependency on dpkg to 1.19.0.3~. That was technically necessary already in the previous upload. -- Niels Thykier Sun, 22 Oct 2017 09:00:12 +0000 debhelper (10.10) unstable; urgency=medium * dh_installsystemd: Improve error messages to include the actual error caused by attempted to open the file. * dh_systemd_enable: Ditto. * dh_systemd_start: Ditto. * dh_installinit: In compat 12, error out if an upstart init file is provided with a reminder message about how to remove the obsolete conffile. (Closes: #876453) * dh_systemd_enable: Permit missing explicitly requested file in package as long as another on being acted on ships it. (Closes: #878911) * dh_systemd_start: Ditto. * Dh_Lib.pm: Add support for R³ (Rules-Requires-Root field) to enable package builds without requiring root (or only selectively require root). * dh_fixperms: Skip "chown" calls when R³ is set to anything but "binary-targets". * dh_installchangelogs: Ditto. * dh_installdocs: Ditto. * dh_testroot: Update check for root to support R³. * makefile.pm: Call "make install" with DPKG_GAIN_ROOT_CMD when R³ contains the "debhelper/upstream-make-install" keyword. * dh_builddeb: Pass --root-owner-group to dpkg-deb in packages with R³ (except for "binary-targets"). * dh_usrlocal: When R³ is enabled (and not "binary-targets"), ignore the ownership/mode information on the directories. Instead, the ownership "root:staff" and the mode 02775 is used. * d/control: Bump (Build-)Dependency on dpkg-dev to support to support R³. * d/control: Set R³ to "no". -- Niels Thykier Sat, 21 Oct 2017 17:59:46 +0000 debhelper (10.9.2) unstable; urgency=medium [ Niels Thykier ] * dh_install: Defer the removal of --list-missing and --fail-missing until compat 12. * dh: Run the new dh_installsystemd helper by default in compat 11. * systemd.pm: Remove the sequence in compat 11. It has been replaced by the new dh_installsystemd helper. [ Lisandro Damián Nicanor Pérez Meyer ] * qmake.pm: Remove unnecessary "-nocache" parameter. (Closes: #878427, LP: #1206234) [ Ville Skyttä ] * Fix a number of spelling mistakes. (Closes: #878325) [ Felipe Sateler ] * dh_installsystemd: New command (currently noop except when used in the experimental compat 11). This new helper: - Generates postinst code for tmpfiles (now that dh_installinit does not). - Follows the naming convention for other built-in dh_* commands. - Replaces dh_systemd_enable and dh_systemd_start in compat 11 and later. - Only acts on units with the name specified by "--name" when this option is given. (Closes: #752521, #857306, #870768, #876486) * dh_systemd_enable: Remove as obsolete in compat 11. * dh_systemd_start: Ditto. [ Helmut Grohne ] * cmake.pm: Also supply PKGCONFIG_EXECUTABLE for obsolete UsePkgConfig.cmake. (Closes: #878460) -- Niels Thykier Sat, 14 Oct 2017 07:19:38 +0000 debhelper (10.9.1) unstable; urgency=medium [ Niels Thykier ] * dh_builddeb: Add some missing error checks. * Dh_Lib.pm: Fix bug where debhelper could discard some error messages during parsing when -O options were passed via DH_OPTIONS (among other). Thanks to Adrian Bunk and Andrew Shadura for reporting the issue. (Closes: #876689) * Dh_Getopt.pm: Gracefully reduce the tool to a no-op when given a -p and is disabled by a Build-Profile. * debhelper.7: Document how package selections interact with Build-Profiles. Thanks to Helmut Grohne for the report. (Closes: #872745) * dh_installdocs: Validate that the package passed to --doc-main-package are listed in debian/control. * dh_installexamples: Ditto. * dh_systemd_start: Regex escape two paths used in a regex. * Dh_Lib.pm: Open compat 12. * dh_clean: Defer making -k an error until compat 12. * Dh_Getopt.pm: Defer making -s an error until compat 12. * dh_installinit: Defer making --no-restart-on-upgrade an error until compat 12. * Dh_Lib.pm: Defer making the "shell-spawning bug" in doit an error until compat 12. * dh_systemd_enable: Fix regression in debhelper/10.9 where template units would be installed as regular units (and possibly replace regular units). (Closes: #877989) * dh_systemd_enable: Drop versioned dependency on init-system-helpers that is satisfied in oldstable. * Dh_Lib.pm: Fix regression where --no-act would actually create maintscript snippets. * dh_systemd_*: If an unit file cannot be read (e.g. to check for the [Install] section), error out instead of emitting a warning and continuing. * t: Add tests for dh_systemd_* based on WIP tests from Felipe Sateler related to a new dh_installsystemd helper. * dh_systemd_enable: Properly quote unit names to preserve escaped names like "\x2d". Thanks to Bernd Zeimetz for reporting the issue. (Closes: #764730) * dh_systemd_start: Ditto. * meson.pm: Add prototype support for cross building by relying on /usr/share/meson/debcrossgen. Note that this is currently not functional due to #875703. * debian/control: Bump Standards-Versions to 4.1.1 - No changes required. [ Dmitry Shachnev ] * qmake.pm: Add basic cross-building support. (Closes: #877357) -- Niels Thykier Tue, 10 Oct 2017 19:01:00 +0000 debhelper (10.9) unstable; urgency=medium [ Niels Thykier ] * debhelper.pod: Fix typo. * dh_fixperms: Reset permissions of .scss and .sass files to 0644. Thanks to Jonas Smedegaard for the suggestion. (Closes: #875586) * dh_shlibdeps: Disable unused file(1) tests. * dh_strip: In compat 11, rely on file headers/magic to determine whether files are ELF binaries worth processing instead of using filenames/extensions. (Closes: #35733) * dh_shlibdeps: Ditto. * d/control: Bump Standards-Versions to 4.1.0: - Bump priority of dh-systemd to "optional". * dh_makeshlibs: Avoid gratuitous warning about a non-existing directory, when the packaging directory does not exist. (Closes: #626685) * dh_gencontrol: Ensure that dbgsym packages do not inherit the "Important" field. * dh_installinfo: Merge two chmod calls into one to save a fork+exec. * dh_builddeb: Use -z6 compression for udebs (up from -z1). Thanks to Adrian Bunk for the suggestion and Aurelien Jarno for confirming it would be fine for d-i. (Closes: #870201) * dh_fixperms: Set the permissions of /usr/lib/nodejs/*/{cli,bin}.js to 0755. Thanks to Pirate Praveen for the report. (Closes: #840913) * Dh_lib.pm: Expand *_doit and doit to also support a chdir in the child process. * Dh_Getopt.pm: Validate package names passed via -p and -N to ensure they are present in d/control. Thanks to Matthias Klose for the report. (Closes: #795432) * debhelper.7: Fix typo of compatibility. [ Felipe Sateler ] * dh_systemd_enable: Refactor and add support for timer units. (Closes: #841746) -- Niels Thykier Tue, 19 Sep 2017 18:49:57 +0000 debhelper (10.8) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Introduce a qx_cmd sub to behave like a mix of qx and doit (i.e. avoid the shell while capturing stdout). * dh_makeshlibs: Avoid forking a shell when calling objdump in compat 11. * dh_shlibdeps: Avoid forking a shell when calling file. * dh_shlibdeps: Avoid passing files with "newline" to subprocesses. * dh_installdocs: Ignore missing files in compat 11 for packages that are not processed (e.g. arch:all packages during a -B build). Thanks to Jens Reyer for reporting the issue. (Closes: #870892) * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_compress: Avoid forking a shell for a find command. * dh_gconf: Ditto. * dh_installgsettings: Ditto. * dh_perl: Avoid forking a shell for a dpkg call. * dh_gencontrol: Set the priority of all dbgsym packages to optional to be compliant with Standards-Version 4.0.1. Thanks to Mattia Rizzolo for the report. (Closes: #870905) * dh_installdocs: Accept "nodoc" via DEB_BUILD_OPTIONS as well. Thanks to Sébastien Villemot for the suggestion. (Closes: #866619) * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_installwm: Ditto. * debhelper.pod: Tweak text for some compat 11 changes. * dh_installdeb: Stop emitting versioned Pre-Depends on dpkg for symlink_to_dir and dir_to_symlink maintscripts. The version requirements are satisfied in oldoldstable. * dh_installdocs: Merge two chmod calls to save a fork+exec. * dh_strip: Disable parallelism when --dbg-package is used as it causes non-deterministic failures in some cases. Thanks to Helmut Grohne for reporting the issue. (Closes: #872007) * dh_installdocs: Auto-detect "main package" for documentation packages in compat 11 to assist with Debian policy §12.3. This auto-detection can be overruled with the new --doc-main-package. (Closes: #824221) * dh_installexamples: Ditto. * dh_update_autotools_config: Improve detection to also catch very old versions of config.{guess,sub} that do not have the "timestamp" variable. Thanks to Guillem Jover for reporting the bug. (Closes: #872510) [ Adam Conrad ] * dh_gencontrol: Change the synopsis of dbgsym packages so it follows best practises. (Closes: #872274) [ Geoffrey Thomas ] * Support building debhelper on case-insensitive filesystems by moving the Debian (perl package) to the lib subdirectory. (Closes: #873043) -- Niels Thykier Sat, 09 Sep 2017 15:07:38 +0000 debhelper (10.7.2) unstable; urgency=medium * Dh_Lib.pm: Fix inverted boolean logic that causes a compatibility rule to be ignored. Thanks to Adrian Bunk, Andreas Beckmann, Markus Koschany and Emmanuel Bourg for reporting and analysing the issue. (Closes: #870339) -- Niels Thykier Tue, 01 Aug 2017 16:51:58 +0000 debhelper (10.7.1) unstable; urgency=medium * Dh_Lib.pm: Fix doit's new call to ensure it does not call a shell (like the documentation promises). * dh: Ensure that we do not fork a shell for running a simple command. * autoconf: Revert expansion of ${var} variables passed to configure as several packages implicitly assume that are not expanded. E.g. liblockfile relies on ${prefix} being unexpanded for DESTDIR to work. Reopens: #813266 -- Niels Thykier Mon, 31 Jul 2017 19:00:45 +0000 debhelper (10.7) unstable; urgency=medium [ Niels Thykier ] * dh_usrlocal: Fix call to doit to avoid making it fork a shell. * autoconf.pm: Ditto. * cmake.pm: Ditto. * meson.pm: Ditto. * dh_installmodules: Ensure maintscripts are reproducible even with multiple kernel versions detected. * Apply patches from gregor herrmann to improve autopkgtests. * Dh_Lib.pm: Introduce a print_and_complex_doit. * Buildsystem: Introduce a complex_doit_in_builddir, which is needed by gradle-debian-helper. * Dh_Lib.pm: Fix bug in doit + doit_* that made them fork a shell in some cases. For backwards compatibility, there is detection code that should make it warn for this case and retain bug-compatibility. This can cause a weird "Please specify the compatibility level in debian/compat" error if the tools have chdir to a different directory. * Dh_Lib.pm: Support an optional hashref in doit + doit_* to enable some trivial operations in the child process (e.g. redirect stdout). * dh_installman: Avoid forking a shell where a simple subprocess call is sufficient. * Dh_Lib.pm: Avoid forking 2 to 7 subprocesses for adding an autosnippet when helper tools use a subroutine rather then a sed snippet. * Dh_Lib.pm: Extend autoscript to accept a hashref and use that for substituting into the snippet. This variant (like the subroutine variant) avoids forking a lot of subprocesses and need not worry about a shell possibly interpreting metacharacters. * dh_installman: Pass "-l" to man when recoding the manpages. * dh_icons: Use hashref based autoscripts generation. * dh_installcatalogs: Ditto. * dh_installemacsen: Ditto. * dh_installmenu: Ditto. * dh_installmodules: Ditto. * dh_installwm: Ditto. * dh_installxfonts: Ditto. * dh_systemd_enable: Ditto. * dh_systemd_start: Ditto. * Dh_Lib.pm: Reduce the use of shell and external commands for generating the final maintscripts. * Dh_Lib.pm: Make getpackages without any arguments return all packages as the documentation promises it should. Previously, it would hide packages not built (e.g. due to Build-Profiles). * Dh_Lib.pm: Provide a better error message when getpackages() is called by a helper in the wrong directory. Unfortunately, dh cannot rely on dh_testdir to do this as dh_testdir is called too late. * dh: optimize out the call to dh_testdir. It is useless for printing a helpful error message when called by dh. * dh_installdocs: Apply patch from Sven Joachim to revert an incorrect regression "fix". Thanks to Adrian Bunk for reporting the issue. (Closes: #868649) * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_gencontrol: Rewrite code that ensures that misc:Depends and misc:Pre-Depends are present to avoid relying external processes for this. * dh_builddeb: Let dpkg-deb choose the default compression level for dbgsym packages instead of using xz -1e. The current default (xz -6) is likely to be a better default value for dbgsym packages. Thanks to Adrian Bunk for the suggestion. (Closes: #868674) * cmake.pm: Pass -DCMAKE_INSTALL_RUNSTATEDIR=/run to cmake in compat 11. Thanks to Felix Geyer for the suggestion. (Closes: #869697) * cmake.pm: Avoid using the user specific cmake package registry. Thanks to Christian Seiler and Felix Geyer. (Closes: #868584) [ Colin Watson ] * Quote assignment to $recommended_compat in case it isn't a valid Perl version string (e.g. for Debian derivatives). Fix typos that caused it not to be used correctly. Use the /g flag so that all instances of the substitution variable are handled. (Closes: #869780) [ Isaac Jurado ] * Make the autoconf buildsystem expand "${var}" values send to configure (e.g. pass --mandir=/usr/share/man instead of --mandir=${prefix}/share/man). (Closes: #813266) -- Niels Thykier Sat, 29 Jul 2017 18:00:24 +0000 debhelper (10.6.4) unstable; urgency=medium * dh_installmenu: Revert "Stop installing menu files in compat 11 (menu-methods are still installed)". * dh: Revert "--without=build-stamp by default in compat 11". Keep the compat 10 behaviour while enable packages to opt-in by explicitly passing --without=build-stamp themselves. * dh_installman: Apply patch from Sven Joachim to fix regression, where dh_installman would fail to remove the compressed manpage. With hardlinks involved, this could make dh_compress fail later. (Closes: #867846) * Dh_lib.pm: Rewrite reset_perm_and_owner to it does chmod + chown using perl built-ins rather than forking+exec. * dh_compress: Apply patch from Sven Joachim to make dh_compress gracefully handle hardlinks, where the target files already exists. (Closes: #867881) * dh_install: Re-instate bug compatibility with debhelper (<< 10.6) where (some) path arguments where split on space as if it had been parsed in the config file. (Closes: #867866) * dh_installdocs: Ditto. * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * Dh_Lib.pm: Fix a regression in handling of dangling symlinks for native file copying that caused dh_installdocs to no longer replace dangling symlinks with real files. Thanks to Stéphane Glondu for the report. (Closes: #868204) * dh_install: Silently disable bulk optimization when two source paths have the same destination. Thanks to Gianfranco Costamagna for reporting the regression. (Closes: #868169) * d/control: Set Testsuite to autopkgtest-pkg-perl to enable autopkgtests. -- Niels Thykier Fri, 14 Jul 2017 17:49:46 +0000 debhelper (10.6.3) unstable; urgency=medium * Makefile: Use "dpkg-parsechangelog -S" rather than "dpkg-parsechangelog | grep". * debhelper.pod: Use substitution to ensure examples always use the recommended compatibility level. * Dh_Lib.pm: Embed tool versions into autoscripts so lintian can extract and display them. Tools that want to rely on this feature should set "$main::VERSION" to the version of the tool. * dh_install: Rewrite and re-enable optimization so it deterministically and gracefully handles cases like #866405. * dh: Support new "pkgfile-logged" hint, which can be used by helpers that log what files they install. It enables dh to see that it may need to run a helper that would install no files, but log what it would have done to avoid making dh_missing complain. Thanks to Michael Stapelberg for reporting the issue and testing the fix. (Closes: #867246) * PROGRAMMING: Document how to write "logging" helpers that work with dh_missing. -- Niels Thykier Sun, 09 Jul 2017 08:24:34 +0000 debhelper (10.6.2) unstable; urgency=medium * Refactor test suite and support running tests in parallel. * Add a test case for #866570. * dh_compress: Apply patch from Sven Joachim to fix a regression in 10.5.1. (Closes: #866713) * dh_installman: Fix regression introduced in 10.5.1 that caused a "file not found" error when using -P with an absolute argument. Thanks to Adrian Bunk for reporting it over IRC. -- Niels Thykier Wed, 05 Jul 2017 08:40:00 +0000 debhelper (10.6.1) unstable; urgency=medium * Makefile: Enable running some tasks in parallel to better utilize multiple cores. * Dh_Lib.pm: Revert a change that caused dh_install (and other tools) to take filenames as absolute if they started with a leading slash. Thanks to Sven Joachim for the prompt discovery and notification. (Closes: #866570) * dh_install: Make optimization conditional on compat 11 for now. (Closes: #866405) -- Niels Thykier Fri, 30 Jun 2017 06:50:10 +0000 debhelper (10.6) unstable; urgency=medium * dh_installinfo: Use "xargs" so it works even if there are "a lot" of info files. * Dh_Lib.pm: Introduce a is_build_profile_active function, which can be used to check if a given Build-Profile was specified. * dh_installdocs: Ignore given documentation files when the "nodoc" build profile is specified in DEB_BUILD_PROFILES. Note that dh_installdocs is not a complete noop in this case as it still ensures the package has a copyright file (or a symlinked doc directory). (Closes: #865869) * dh_installman: Fix regression in compat 5 that could make it ignore one manpage per invocation. * dh_installdocs: Warn if a pattern in the config file matches nothing. In compat 11, this becomes a hard error. * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_installexamples: Support missing documentation under the nodoc profile. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_installwm: Ditto. (Closes: #865707) * dh_installdocs: Log installed files so dh_missing can see them. * dh_installexamples: Ditto. (Closes: #863456) * dh_installinfo: Ditto. * dh_installdocs: In compat 11, automatically fall back to debian/tmp if the files are not found in ".". Furthermore, accept the option --sourcedir with the same meaning as dh_install. * dh_installexamples: Ditto. * dh_installinfo: Ditto. * dh_installman: Ditto. * dh_installman: Fix bug in how it handled language auto-detection in compat 11. Previously, it did not work as intended. * dh_installdocs: Revert change in compat 11, where it would install documentation into /usr/share/doc/mainpackage. (Reopens: #824221) * Dh_Lib.pm: Stop setting PERL_USE_UNSAFE_INC in compat 11. * perl_build.pm: Stop passing -I. to perl in compat 11. * perl_makemaker.pm: Ditto. -- Niels Thykier Thu, 29 Jun 2017 17:15:00 +0000 debhelper (10.5.1) unstable; urgency=medium * Dh_Lib.pm: Fix rounding error when computing how many processes to use. This rounding error could cause dh-tools to use one more process than permitted by DEB_BUILD_OPTIONS. * Dh_Lib.pm: Check return value of open+close when creating a log of installed files. * Dh_Lib.pm: Implement subroutines to facility file removal and symlink creation without a fork+exec. * Dh_Lib.pm: Avoid a fork+exec for rm -f and ln -s. * dh_compress: Ditto. * dh_installman: Ditto. * dh_clean: Avoid a fork+exec for rm -f. * dh_installdeb: Ditto. * dh_makeshlibs: Ditto. * dh_md5sums: Ditto. * dh_installdocs: Avoid a fork+exec for ln -s. * dh_strip: Ditto. * Dh_Lib.pm: Avoid 1-2 stat calls in make_symlink by reusing existing stat calls. * dh_installman: Avoid a fork+exec for renaming a path. * dh_installdocs: Avoid unnecessary stat call. * dh_installman: Ditto. * dh_strip: Ditto. * dh_shlibdeps: Fix a regression where non-detached debug symbol files where not properly processed. Thanks to Sven Joachim for reporting the issue. (Closes: #865982) * dh_installman: When re-encoding manpages, use the actual manpages as tasks to split rather than packages. This provides a much better performance if the manpages are unevenly split between the packages. * dh_install: Optimize some patterns into bulked "cp" calls. This optimization is only applicable in some cases (notably, it is always disabled by --exclude). * dh_builddeb: Account for dbgsym packages separately when determining how many tasks can be run in parallel. * dh_strip: Process packages in parallel. -- Niels Thykier Mon, 26 Jun 2017 17:25:00 +0000 debhelper (10.5) unstable; urgency=medium * Upload to unstable. (Closes: #865363) [ Niels Thykier ] * dh_installman: Remove unnecessary "chown" call that made things a lot slower. Thanks to Kurt Roeckx for reporting it. * dh_installman: Fix wrong permission of man pages (set 0755 instead of 0644). Regression introduced in 10.2.2. * dh_installman: Batch chmod calls to reduce the overhead for packages with many manpages. * dh: Undo an unsafe optimisation that caused "-indep" and "-arch" override targets to be ignored. Thanks to Gianfranco Costamagna for reporting it and Iain Lane for tracing it to the commit that introduced the issue. (Closes: #863887) * dh_clean, dh_prep: Bulk delete most files and directories, which gives a noticeable speed up for source packages building many binary packages. * dh_shlibdeps: Avoid creating debian//DEBIAN directory if it is not needed. * Dh_Lib.pm: Fix typo in error message. * Dh_Lib.pm: Rewrite install_* to use File::Copy to avoid the overhead of a fork+exec per file. For simplicity, the verbose output still claim debhelper uses "install -p -m " for this. * Dh_Lib.pm: Replace most of the fork+exec calls to mv for simple file renames. * Dh_Lib.pm: Add sub to make common dh_* tools do their thing in parallel with very little coding effort. This parallel support accounts for DEB_BUILD_OPTIONS to set the upper limit. * dh_fixperms: Run package updates in parallel if DEB_BUILD_OPTIONS permits it. * dh_installchangelogs: Ditto. * dh_compress: Ditto. * dh_installman: Ditto. * dh_genchanges: Ditto. * dh_shlibdeps: Ditto. * dh_md5sums: Ditto. * dh_builddeb: Rewrite the hand-written parallel code to use the new simpler way of doing it. * dh_shlibdeps: Avoid calling file(1) on debug symbols. * SUPPORT-POLICY: Include new document that describes the current support policy of debhelper compat levels. * Dh_Lib.pm: Pass ":unix" layer when using the ":gzip" layer due to PerlIO-gzip bug RT#114557. * Dh_Lib.pm: Ignore empty dpkg-architecture variables. (Closes: #862844) * dh_installchangelogs: Avoid trying to install a directory by default as a changelog file. Thanks to Markus Koschany for reporting the issue. (Closes: #861852) * dh_installwm.1: Correct documentation to reflect the behaviour in compat 10. Thanks to Robert Luberda for reporting the issue. (Closes: #865708) * dh_installcatalogs: Use explicit await triggers to avoid trigger a lintian warning. * dh_installman: In compat 11, attempt to detect the language of the manpage based on the directory (/man//manX/) before using the extension. This is more reliably for packages using dh_installman to install manpages from the temporary install dir. (Closes: #761024) * dh_installcatalogs: Check the return code of close when generating a catalog for sgml-base. * Dh_Lib.pm: Emulate "install -d" with File::Path to avoid a fork+exec for creating directories. For simplicity, the verbose output still claim debhelper uses "install -d" for this. * dh_auto_install: In compat 11, do not create package build directories (except if one of them happens to be the default "destdir" for dh_auto_install). [ Iain Lane ] * Dh_Lib.pm: Re-add warning + exit 0 for the -i/-a shortcut that was added in 10.3. (Closes: #863961) * dh_install: Pass --exclude/-X to dh_missing. (Closes: #863447) [ Michael Stapelberg ] * Dh_Getopt.pm: Provide a more detailed error message when there are no buildable packages caused by architecture restrictions. (Closes: #858467) * Dh_Lib.pm: Split package_arch($package) into three distinct functions. -- Niels Thykier Sun, 25 Jun 2017 17:00:00 +0000 debhelper (10.4) experimental; urgency=medium * Team upload. [ Niels Thykier ] * meson.pm: Pass --wrap-mode=nodownload to meson (requires meson 0.40-1 or later). * dh_install: Fix initialized warning when --sourcedir is absent on the cmd-line. * dh_missing: Accept --sourcedir (given it is passed by dh_install). (Closes: #862049) * Dh_Lib.pm: Fix a bug in pkgfile that caused dh to skip helpers that had configuration files. Thanks to Michael Biebl for finding and reporting. (Closes: #863387) [ Chris Lamb ] * dh_fixperms: Fix regression where dh_fixperms would fail to correct permissions because it used an invalid find expression. (Closes: #862003) -- Michael Biebl Fri, 26 May 2017 22:08:37 +0200 debhelper (10.3) experimental; urgency=medium [ Helmut Grohne ] * Supply PKG_CONFIG for cross compilation with the makefile buildsystem. (Closes: #853881) * Disable stripping during dh_auto_* in makefile buildsystem in compat 11. (Closes: #844077) * Remove explicit "Multi-Arch: no" stanzas as they are auto-rejected. (Closes: #857028) [ Niels Thykier ] * Dh_Lib.pm: Make getpackages() produce the correct result independently of the order of the fields in a given paragraph of debian/control. (Closes: #847138) * dh_installman: Report installed manpages so the new dh_missing tool is informed about them. * dh_install: Deprecate --list-missing/--fail-missing in favor of the new dh_missing tool. The options will be removed in compat 11. * dh: Run dh_missing by default (in no op mode). * dh_prep: Clean up generated files so they work like other temporary debhelper files. * dh_installinit: Clarify that it might make sense to skip dh_installinit for a package if it provides a systemd service but no sysvinit file. (Closes: #800043) * dh_installinit: Deprecate --no-restart-on-upgrade in favor of the new name --no-stop-on-upgrade, which does the same thing but is less likely to be confused with --no-restart-after-upgrade and is more descriptive of what it actually does. Thanks to Simon McVittie and Michael Biebl for the help. (Closes: #837528) * debian/rules: Only apply the --no-parallel to dh_auto_test. The rest of debhelper's build appears to work fine with --parallel. * dh_systemd_enable.1: Clarify that --no-enable does not control whether a service is started and that dh_systemd_start is the tool that does that. (Closes: #770281) * autoconf.pm: Set --runstatedir to "/run" in compat 11. Thanks to Michael Biebl for the suggestion. * dh_fixperms: Refactor to reduce the constant overhead a bit and extract some patterns into data list. The latter hopefully reducing the need for tweaking dh_fixperms' logic. * dh_installdocs: Document that --link-doc has limitations on source and target package plus that compat 10 will reject unsupported combinations. * dh_gencontrol: Avoid adding Homepage fields to dbgsym packages. Avoids non-overridable warnings from lintian when there is an issue in the homepage field of the original binary. (Closes: #812248) * dh_strip: Fix a check that could cause dh_strip to generate dbgsym packages when it should not. * dh: Stop loading python-support in all compat levels as dh_pysupport has been removed in stretch. * python_support.pm: Remove the content with a deprecation warning as the module can no longer do anything. * dh_installman.1: Improve the manpage to clarify the scope of dh_installman and provide an examples. (Closes: LP: #184156) * makefile.pm: Disable parallel installation if libtool is present to avoid a race-condition in automake when using libtool. (Closes: #861627) [ Steven Chamberlain ] * When cross-compiling for GNU/kFreeBSD host systems, set CMAKE_SYSTEM_NAME to the correct value "kFreeBSD", not "FreeBSD". (Closes: #856688) [ Felipe Sateler ] * dh_systemd_enable.1: Improve the wording of the documentation for the --no-enable option. (Closes: #844602) [ Michael Biebl ] * Add support for meson + ninja build systems. (Closes: #795253) [ Michael Stapelberg ] * dh_missing: New tool to handle --list-missing/--fail-missing. (Closes: #415396, #616070) * Dh_Lib.pm: Introduce a log_installed_files sub that can be used to inform dh_missing that a given file has been installed. [ Johannes Schauer ] * dh_link.1: Improve the documentation and use ln(1) as a reference to make it simpler for people, who are used to the terms from ln. (Closes: #860091) -- Niels Thykier Sat, 06 May 2017 13:29:31 +0000 debhelper (10.2.5) unstable; urgency=medium [ Translations ] * Add Japanese translation (Hideki Yamane) (Closes: #852520) -- Niels Thykier Wed, 25 Jan 2017 20:47:27 +0000 debhelper (10.2.4) unstable; urgency=medium [ Niels Thykier ] * d/changelog: Add missing changelog entry in 10.2.3 for a compat 11 change. * dh: Show when the "create-stamp" "command" is being run. * dh: Fix a bug where dh would repeat part of the build sequence when an add-on modified the build sequence after "dh_auto_test". Thanks to Sean Whitton for reporting the issue. (Closes: #851071) [ Luca Boccassi ] * dh_systemd_enable: Correct installation for "mount" units. (Closes: #851744) [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #851207) * Update French translation (Baptiste Jammet) (Closes: #852211) * Update German translation (Chris Leick) (Closes: #851962) -- Niels Thykier Mon, 23 Jan 2017 20:28:37 +0000 debhelper (10.2.3) unstable; urgency=medium [ Axel Beckert ] * Fix wrong German translation of dh_systemd_start man page. Thanks to Thorsten Alteholz for spotting the mistake! (Closes: #839655) [ Mattia Rizzolo ] * dh_auto_test: Apply patch from Mattia Rizzolo to update documentation about running tests during cross-building. [ Niels Thykier ] * Bump dependency on dh-strip-nondeterminism to ensure stable-backports uses a functional version. Thanks to Christoph Biedl for the report. (Closes: #843813) * Massage md5sum output to avoid GNU-specific escaping extension while we wait for dpkg-gendigests for a more compatible tool. Thanks to Bernd Zeimetz for the report. (Closes: #843163) * In compat 11, dh will now skip creating a stamp file unless the package explicitly requests it with "--with build-stamp". [ Felipe Sateler ] * dh_systemd_start: Fix a bug where --restart-after-upgrade with --no-start would still start the service. (Closes: #805878) * dh_installinit: Leave the handling of debian/pkg.service and debian/pkg.tmpfiles to dh_systemd_*. (Closes: #830208) -- Niels Thykier Sat, 31 Dec 2016 21:27:54 +0000 debhelper (10.2.2) unstable; urgency=medium * Fix typo in changelog entry for release 10.2. Thanks to Peter Pentchev for reporting it. * Deprecate all compat levels lower than 9. * dh: Discard override log files before running the override rather than after. * dh_compress,dh_fixperms: Remove references to long obsolete directories such as usr/info, usr/man and usr/X11*/man. * autoreconf.pm: Apply patch from Helmut Grohne to fix autoconf/cross regression from #836988. The autoreconf build-system is now also used directly for "clean" and "build" (while still using the "make" build-system for the heavy lifting). (Closes: #839681) * dh_installdirs: In compat 11, avoid creating debian/ directories except when required to do so. This fixes a corner case, where an arch:all build would behave differently than an arch:all+arch:any when dh_installdir is optimised out only for the arch:all build. * Dh_Lib.pm: Fix typo of positive. Thanks to Matthias Klose for spotting it. -- Niels Thykier Sat, 08 Oct 2016 10:16:23 +0000 debhelper (10.2.1) unstable; urgency=medium * d/rules: Add a ./run in front of dh_auto_install. It is technically not needed, but it prevents lintian from assuming that we need to Build-Depend debhelper. -- Niels Thykier Sun, 02 Oct 2016 06:51:49 +0000 debhelper (10.2) unstable; urgency=medium * Apply patch from Peter Pentchev to fix some typos. * Apply patch from Michael Biebl to undo a major regression where all of debhelper's functionality was missing (introduced in 10.1). (Closes: #839557) * dh_installinit,dh_systemd_start: Introduce a new --no-stop-on-upgrade as an alternative to --no-restart-on-upgrade. This new option should reduce the confusion of what it does. Thanks to Michael Biebl for the suggestion. -- Niels Thykier Sun, 02 Oct 2016 06:20:56 +0000 debhelper (10.1) unstable; urgency=medium * Apply patch from Michael Biebl to take over dh-systemd package to ease backporting to jessie-backports. (Closes: #837585) * Apply patch from Helmut Grohne and Julian Andres Klode to improve cross-building support in the cmake build system. (Closes: #833789) * Make the makefile.pm buildsystem (but not subclasses thereof) pass the CC and CXX variables set to the host compilers when cross-building. Thanks to Helmut Grohne for the idea and the initial patch. (Closes: #836988) * dh_md5sums.1: Mention dpkg --verify as a consumer of the output file. Thanks to Guillem Jover for reporting it. * debhelper-obsolete-compat.pod: Add a manpage for the upgrade checklist for all obsolete/removed compat levels. Thanks to Jakub Wilk for the suggestion. * Dh_Getopt.pm,dh_*: Rename --onlyscripts to --only-scripts and --noscripts to --no-scripts for consistency with other options. The old variants are accepted for compatibility. Thanks to Raphaël Hertzog for the suggestion. (Closes: #838446) * cmake.pm: If cmake fails, also dump CMakeFiles/CMakeOutput.log and CMakeFiles/CMakeError.log if they are present. Thanks to Michael Banck for the suggestion. (Closes: #839389) * d/copyright: Correct copyright and license of dh_systemd* tools. -- Niels Thykier Sat, 01 Oct 2016 20:45:27 +0000 debhelper (10) unstable; urgency=medium [ Niels Thykier ] * Dh_Lib.pm: Support a new named "beta-tester" compat level. If you want to participate in beta testing of new compat levels, please review "man 7 debhelper" for more information. * Dh_Lib.pm: Fix bug in detection of existing auto-trigger. [ Axel Beckert ] * Apply patch by Jens Reyer to fix typo in dh_installdocs man page. (Closes: #836344) * Use uppercase "Debian" in package description when the project is meant. Fixes lintian warning capitalization-error-in-description. * Apply "wrap-and-sort -a" * Add a .mailmap file for making "git shortlog" work properly. [ Translations ] * Update German translation (Chris Leick) (Closes: #835593) * Update Portuguese translation (Américo Monteiro) (Closes: #835403) * Update French translation (Baptiste Jammet) (Closes: #836693) -- Niels Thykier Sun, 11 Sep 2016 09:00:23 +0000 debhelper (9.20160814) unstable; urgency=medium * dh_installdocs: Apply patch from Sven Joachim to make --link-doc work again in compat 11 (See: #830309) * t: Apply patch from Sven Joachim to add some test cases to dh_installdocs's --link-doc behaviour. (Closes: #831465) * dh_installinit,dh_systemd_start: Apply patches from Peter Pentchev to make -R default in compat 10 (as documented, but not as implemented). * perl_{build,makemaker}.pm: Apply patch from Dominic Hargreaves to explicitly pass -I. to perl. This is to assist with the fix for CVE-2016-1238. (Closes: #832436) * dh_install: Clarify that "debian/not-installed" is not related to the --exclude parameter. * dh_install: Apply patch from Sven Joachim to support the "debian/tmp" prefix being optional in "debian/not-installed". (Closes: #815506) * Dh_Lib.pm: Apply patch from Dominic Hargreaves to set PERL_USE_UNSAFE_INC to fix a further set of packages which fail to build with . removed from @INC. (Closes: #832436) * Dh_Buildsystems.pm: Enable auto-detection of the maven and gradle buildsystems (provided they are installed). Thanks to Emmanuel Bourg for the suggestion. (Closes: #801732) -- Niels Thykier Sun, 14 Aug 2016 09:19:35 +0000 debhelper (9.20160709) unstable; urgency=medium * Explicitly Build-Depends on perl:any for pod2man instead of relying on it implicitly via libdpkg-perl. * dh_shlibdeps: Clarify that -L is also useful for packages using debian/shlibs.local for private libraries. * dh_installdocs: Apply patch from Sven Joachim to fix a regression with --link-doc and installing extra documentation. (Closes: #830309) * Apply patches from Michael Biebl to merge dh_systemd_enable and dh_systemd_start from the dh-systemd package. (Closes: #822670) * dh: Enable the systemd helpers by default in compat 10 and later. -- Niels Thykier Sat, 09 Jul 2016 09:53:02 +0000 debhelper (9.20160702) unstable; urgency=medium * Start on compat 11. * dh_installmenu: Stop installing menu files in compat 11 (menu-methods are still installed). * dh_*: Deprecate -s in favor of -a. The -s option is removed in compat 11. * dh_strip: Fix regression in 9.20160618, which caused issues when there were hardlinked ELF binaries in a package. Thanks to Sven Joachim for the report, the analysis/testing and for providing a patch for the most common case. (Closes: #829142) * Dh_Lib.pm: Cope with the parallel options in make 4.2. Thanks to Martin Dorey for the report. (Closes: #827132) * dh_installdocs: In compat 11, install documentation into /usr/share/doc/mainpackage as requested by policy 3.9.7. Thanks to Sandro Knauß for the report. (Closes: #824221) * dh_perl: Emit perl:any dependencies when a package only contains perl programs (but no modules of any kind). Thanks to Javier Serrano Polo and Niko Tyni for the report and feedback. (Closes: #824696) [ Translations ] * Update German translation (Chris Leick + Eduard Bloch) (Closes: #827699) -- Niels Thykier Sat, 02 Jul 2016 13:24:21 +0000 debhelper (9.20160618.1) unstable; urgency=medium * Dh_Lib.pm: Reject requests for compat 4 instead of silently accepting it (while all helpers no longer check for it). -- Niels Thykier Sat, 18 Jun 2016 20:52:29 +0000 debhelper (9.20160618) unstable; urgency=medium * dh: Fix bug where "--help" or "--list" would not work unless "debian/compat" existed and had a supported compat level. (Closes: #820508) * dh_compress: Gracefully handle debian (or any other path segment in the package "tmpdir") being a symlink pointing outside the same directory. Thanks to Bernhard Miklautz for the report. (Closes: #820711) * Dh_Lib.pm: Compat files are now mandatory. * dh_clean: Remove work around for missing compat file. This removes a confusing warning when the package is not built by CDBS. (Closes: #811059) * debhelper.pod: Add a line stating that debian/compat is mandatory. (Closes: #805405) * dh_strip: Apply patch from Peter Pentchev to only strip static libraries with a basename matching "lib.*\.a". (Closes: #820446) * ant.pm: Apply patch from Emmanuel Bourg to pass a normalised "user.name" parameter to ant. (Closes: #824490) * dh_installudev/dh_installmodules: Drop maintainer script snippets for migrating conffiles. - Side effect, avoids portability issue with certain shell implementations. (Closes: #815158) * autoscripts/*inst-moveconffile: Remove unused files. * dh: Update documentation to reflect the current implementation. * Remove support for compat 4. * dh_strip: Add debuglinks to ELF binaries even with DEB_BUILD_OPTIONS=noautodbgsym to make the regular deb bit-for-bit reproducible with vs. without this flag. Thanks to Helmut Grohne for the report. * dh_installcatalogs: Apply patch from Helmut Grohne to explicitly trigger a new update-sgmlcatalog trigger, since dpkg does not triger conffiles on package removal. (Closes: #825005) * dh_installcatalos: Apply patch from Helmut Grohne to remove autoscript for a transition that completed in Wheezy. * dh_strip: Unconditionally pass --enable-deterministic-archives to strip for static libs as the stable version of binutils supports it. * dh_strip: Use file(1) to determine the build-id when available. This saves an readelf call for every binary in the package. * dh_strip: Cache file(1) output to avoid calling file(1) twice on all ELF binaries in the package. * Dh_Lib.pm: Add better error messages when a debhelper program fails due to an executable config file not terminating with success. (Closes: #818933) * dh_strip: Pass -e to file(1) to skip tests for file formats that dh_strip does not care about. * Bump standards-version to 3.9.8 - no changes required. -- Niels Thykier Sat, 18 Jun 2016 14:41:05 +0000 debhelper (9.20160403) unstable; urgency=medium * d/control: Require dh-autoreconf (>= 12) to ensure non-autotools can be built in compat 10. * dh: In a "PROMISE: DH NOOP" clause, make no assumptions about being able to skip "foo(bar)" if "foo" is not known. * debhelper.pod: Use DEB_HOST_ARCH instead of the incorrect "build architecture". Thanks to Helmut Grohne for the report. * dh_makeshlibs: Use same regex for extracting SONAME as dpkg-shlibdeps. (Closes: #509931) * dh_makeshlibs: Add an ldconfig trigger if there is an unversioned SONAME and the maintainer provides a symbols file. -- Niels Thykier Sun, 03 Apr 2016 08:56:07 +0000 debhelper (9.20160402) unstable; urgency=medium * Remove dh_desktop. * dh_install: Fix a regression where a non-existing file was ignored if another file was matched for the same destination dir. Thanks to Ben Hutchings for reporting the issue. (Closes: #818834) * d/rules: Use overrides to disable unnecessary helpers (for which debhelper does not Build-Depend on the necessary packages to run the tools). * dh: Enable "autoreconf" sequence by default in compat 10 (or higher). (Closes: #480576) * d/control: Add a dependency on dh-autoreconf due to the above. * autoscripts/*-makeshlibs: Remove again. Most of the reverse dependencies have migrated already. * Declare compat 10 ready for testing. -- Niels Thykier Sat, 02 Apr 2016 19:20:17 +0000 debhelper (9.20160313) unstable; urgency=medium * Remove dh_undocumented. * dh_install: Attempt to improve the documentation of the config file "debian/not-installed". * dh_compress: Gracefully handle absolute paths passed via the -P option. Thanks to Andreas Beckmann for reporting the issue. (Closes: #818049) -- Niels Thykier Sun, 13 Mar 2016 14:21:02 +0000 debhelper (9.20160306) unstable; urgency=medium [ Niels Thykier ] * Remove dh_suidregister and related autoscripts. No package (that can be built in unstable) invokes this tool. * dh: Do not create stamp files when running with --no-act. * dh_strip/dh_gencontrol: Move "is_udeb" guard to dh_strip. This should avoid adding build-ids to udebs without having the actual debug symbols available. Thanks to Jérémy Bobbio for reporting the issue. (Closes: #812879) * dh_makeshlibs: Do not claim to be using maintainer scripts for invoking ldconfig. Thanks to Eugene V. Lyubimkin for the report. (Closes: #815401) * Remove dh_scrollkeeper. It is no longer used in unstable. * autoconf.pm: Apply patch from Gergely Nagy to set "VERBOSE=1" when running tests to make sure that the build logs are dumped on error with automake. (Closes: #798648, #744380) * dh_installdeb: In compat 10, properly shell escape lines from the maintscript config file. This will *not* be fixed retroactively since people have begun to rely on the bug in previous versions (e.g. by quoting the file names). Thanks to Jakub Wilk for reporting the issue. (Closes: #803341) * dh_installdeb: In compat 10, avoid adding two comments per line in the maintscript file. Thanks to Didier Raboud for reporting the bug. (Closes: #615854) * cmake.pm: Apply patch from Helmut Grohne to correct the name of the default cross compilers. (Closes: #812136) * dh_installdeb: Clarify what goes in the "maintscript" config files. Thanks to Julian Andres Klode for the report. (Closes: #814761) * dh_compress: Correct and warn if given a path with a package tmp dir prefix (e.g. "debian//path/to/file"). * dh_compress: Handle file resolution failures more gracefully. Thanks to Daniel Leidert for reporting this issue. (Closes: #802274) * dh_installinit: Make --restart-after-upgrade the default in compat 10. Packages can undo this by using the new --no-restart-after-upgrade parameter. * d/control: Update Vcs links. * d/control: Bump Standards-Version to 3.9.7 - no changes required. * Import newer German translations from Chris Leick. (Closes: #812790) [ Joachim Breitner ] * addsubstvar: Pass -a to grep to handle substvars with unicode content gracefully (Closes: #815620) -- Niels Thykier Sun, 06 Mar 2016 13:14:43 +0000 debhelper (9.20160115) unstable; urgency=medium * Fix brown paper bag bug that caused many packages to FTBFS when dh_update_autotools_config was called. (Closes: #811052) * Revert removal of autoscripts/*-makeshlibs. Some packages injected them directly into their maintainer scripts. (Closes: #811038) -- Niels Thykier Fri, 15 Jan 2016 20:28:37 +0000 debhelper (9.20160114) unstable; urgency=low [ Niels Thykier ] * Dh_Lib.pm: Pass "-S" to dpkg-parsechangelog when requesting the Version field. * Drop compat level 3. * dh_install: Only fallback to debian/tmp if the given glob does not start with debian/tmp. This should make the output on failures less weird. * autoscripts/*-makeshlibs: Removed, no longer used. * dh: In compat 10, drop the manual sequence control arguments and the sequence log files. (Closes: #510855) * dh_update_autotools_config: New helper to update config.sub and config.guess. * dh: Run dh_update_autotools_config before dh_auto_configure. (Closes: #733045) * d/control: Add dependency on autotools-dev for the new dh_update_autotools_config tool. * dh_installinit: Correct the "PROMISE NOOP" clause to account for /etc/tmpfiles.d and /usr/lib/tmpfiles.d. * dh_strip: Add "--(no-)automatic-dbgsym" and "--dbgsym-migration" options to replace "--(no-)ddebs" and "--ddeb-migration". (Closes: #810948) [ Dmitry Shachnev ] * dh_install: Fail because of missing files only after processing all file lists for all packages. (Closes: #488346) -- Niels Thykier Thu, 14 Jan 2016 22:01:03 +0000 debhelper (9.20151225) unstable; urgency=medium * dh_installmanpages: Fix call to getpackages. Thanks to Niko Tyni for reporting the issue. (Closes: #808603) * Dh_Lib.pm: Restore the behaviour of getpackages(), which is slightly different from getpackages('both'). Fixes a regression introduced in 9.20151220. -- Niels Thykier Fri, 25 Dec 2015 14:39:18 +0000 debhelper (9.20151220) unstable; urgency=medium * dh_strip: Document that dbgsym packages are built by default. * Dh_Lib.pm: Cache the results of getpackages. * dh_gencontrol: Create debug symbol packages with the same component as the original package. -- Niels Thykier Sun, 20 Dec 2015 11:59:33 +0000 debhelper (9.20151219) unstable; urgency=medium * dh_installinit: Apply patch from Reiner Herrmann to sort temporary files put in postinst. (Closes: #806392) * dh_installinit: Import change from Ubuntu to add /g modifier when substituting the auto-script snippets. * dh_*: Add /g when substituting the auto-script snippts in other commands as well. * dh_strip: Do not assume that ELF binaries have a Build-Id. Thanks to Helmut Grohne for spotting this issue. (Closes: #806814) * dh_strip: Enable generation of dbgsym packages by default. Thanks to Ansgar Burchardt and Paul Tagliamonte for implementing the DAK side of this feature. (Closes: #510772) -- Niels Thykier Sat, 19 Dec 2015 22:01:53 +0000 debhelper (9.20151126) unstable; urgency=medium * dh_compress: Apply patch from Michael Biebl to skip compression of .devhelp2 files. (Closes: #789153) * dh_installinit: Undo "Disable initscripts when a package is removed (but not yet purged)". (Reopens #749400, Closes: #806276) -- Niels Thykier Thu, 26 Nov 2015 18:06:06 +0100 debhelper (9.20151117) unstable; urgency=medium [ Niels Thykier ] * dh_clean: Temporarily interpret the absence of d/compat and DH_COMPAT to mean compat 5. This is to avoid breaking packages that rely on cdbs to set debian/compat to 5 during the build. This temporary work around will live until d/compat becomes mandatory. (Closes: #805404) [ Translations ] * Update German translation (Chris Leick) (Closes: #802198) -- Niels Thykier Tue, 17 Nov 2015 21:29:17 +0100 debhelper (9.20151116) unstable; urgency=medium [ Niels Thykier ] * dh_strip: Sort build-ids to make the Build-Ids header reproducible. * Dh_Lib.pm: Respect --no-act in autotrigger, thanks to Andreas Henriksson and Helmut Grohne for reporting the issue. (Closes: #800919) * Fix typos in various manpages. Thanks to Chris Leick for reporting them. * dh_clean: Avoid cleaning up debian/.debhelper when passed the "-d" flag. * Dh_Lib.pm: Reject compat levels earlier than 3. * dh_clean: Support removal of directory (plus contents) when they are marked with a trailing slash. (Closes: #511048) * dh_install,dh_installdocs,dh_installexamples: Apply patches from Niko Tyni to make timestamp of directories created from "find"-pipelines reproducible. (Closes: #802005) * dh_installinit: The postinst snippets are now only run during "configure" or "abort-upgrade". (Closes: #188028) * cmake.pm: Apply patch from Jonathan Hall to fix an accidental error hiding. (Closes: #802984) * qmake.pm: Apply patch from Sergio Durigan Junior to create the build dir if it doesn't exist. (Closes: #800738) * dh_installinit: Disable initscripts when a package is removed (but not yet purged). (Closes: #749400) * Dh_Lib.pm: Reject debian/compat files where the first line is not entirely a positive number. [ Translations ] * Update German translation (Chris Leick) (Closes: #802198) * Update Portuguese translation (Américo Monteiro) (Closes: #804631) * Updated french translation (Baptiste Jammet) (Closes: #805218) -- Niels Thykier Mon, 16 Nov 2015 21:05:53 +0100 debhelper (9.20151005) unstable; urgency=medium * dh_strip: Sort build-ids to make the Build-Ids header reproducible. * Dh_Lib.pm: Respect --no-act in autotrigger, thanks to Andreas Henriksson and Helmut Grohne for reporting the issue. (Closes: #800919) -- Niels Thykier Mon, 05 Oct 2015 08:33:26 +0200 debhelper (9.20151004) unstable; urgency=medium [ Niels Thykier ] * dh,dh_auto_*: Apply patch from Eduard Sanou to define SOURCE_DATE_EPOCH. (Closes: #791823) * cmake.pm: Add better cross-compile support for cmake. Heavily based on a patch from Helmut Grohne. (Closes: #794396) * cmake.pm: Pass -DCMAKE_INSTALL_SYSCONFDIR=/etc and -DCMAKE_INSTALL_LOCALSTATEDIR=/var to cmake. Thanks to Felix Geyer, Lisandro Damián Nicanor Pérez Meyer and Michael Terry for the assistance plus suggestions. (Closes: #719148) * dh_installinit: Quote directory name before using it in a regex. * dh_installinit: Create script snippets for tmpfiles.d files even if the package has no sysvinit script or explicit debian/.service file. (Closes: #795519) * dh_makeshlibs: Revert passing -X to ldconfig in compat 10 after talking with the glibc maintainer. This is not the right place to make this change. * d/control: Remove the homepage field. * dh: Make dh_strip_nondeterminism optional, so debhelper does not need to build-depend on it. * dh_gencontrol/dh_builddeb: Temporarily stop building ddebs for udebs as dpkg-gencontrol and dpkg-deb does not agree the default file extension for these. * dh_builddeb: Generate udebs with the correct filename even when "-V" is passed to dpkg-gencontrol. This relies on dpkg-deb getting everything but the extension correct (see #575059, #452273 for why it does not produce the correct extension). (Closes: #516721, #677353, #672282) * Dh_Lib.pm: Drop now unused "udeb_filename" subroutine. * dh_strip.1: Correct the documentation about ddebs to reflect the current implementation (rather than the desired "state"). Thanks to Jakub Wilk for the report. (Closes: #797002) * dh_fixperms: Reset permissions to 0644 for .js, .css, .jpeg, .jpg, .png, and .gif files. Thanks to Ernesto Hernández-Novich for the suggestion. (Closes: #595097) * dh_install: Read debian/not-installed if present as a list of files that are deliberately not installed. Files listed here will not cause dh_install to complain with --list-missing. Thanks to Peter Eisentraut for the suggestion. (Closes: #436240) * Dh_Lib.pm: Cherry-pick patch from Chris Lamb to only read the latest changelog entry when determining the SOURCE_DATE_EPOCH. * debhelper.7: Provide a better example of how to insert the debhelper maintainer script snippets into a maintainer script written in Perl. Thanks to Jakub Wilk for reporting the issues. (Closes: #797904) * dh_shlibdeps: The "-L" option can now be passed multiple times with different package names. Thanks to Tristan Schmelcher for the suggestion. (Closes: #776103) * dh,Buildsytems: In compat 10, default to --parallel. * dh,Buildsytems: Accept "--no-parallel" to disable parallel builds. It is effectively the same as using --max-parallel=1 but may be more intuitive to some people. * dh_makeshlibs: Use a noawait trigger to invoke ldconfig rather maintscripts. * dh_installdirs.1: Add a note that many packages will work fine without calling dh_installdirs. (Closes: #748993) * dh_compress: Apply patch from Rafael Kitover to support passing files to dh_compress that would have been compressed anyway. (Closes: #794898) * Dh_Lib.pm: Apply patch from Gergely Nagy to make debhelper export "DH_CONFIG_ACT_ON_PACKAGES" when executing an executable debhelper config file. This is intended to assist dh-exec (etc.) in figuring what packages are acted on. (Closes: #698054) * dh_movefiles: Expand globs in arguments passed in all compat levels (and not just compat 1 and 2). (Closes: #800332) * dh_installinit: Clearly document that --onlyscripts should generally be used with -p (or similar) to limit the number of affected packages. (Closes: #795193) [ Paul Tagliamonte ] * dh_gencontrol: Put debug debs back in the "debug" section. * dh_strip/dh_gencontrol: Add a space separated list of build-ids in the control file of packages containing detached debug symbols. [ Andrew Ayer ] * d/control: Depend on dh-strip-nondeterminism * dh: Call dh_strip_nondeterminism during build. (Closes: #759895) [ Colin Watson ] * Buildsystem.pm: Fix doit_in_sourcedir/doit_in_builddir to always chdir back to the original directory even if the subprocess exits non-zero. (Closes: #798116) [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #790820) -- Niels Thykier Sun, 04 Oct 2015 17:34:16 +0200 debhelper (9.20150811) unstable; urgency=medium * d/changelog: Add missing entry for dh_md5sums/#786695 in the 9.20150628 release. * Makefile: Set LC_ALL=C when sorting. * dh: Avoid passing --parallel to other debhelper commands if it is the only option and "parallel" is not set (or set to 1) in DEB_BUILD_OPTIONS. * dh_strip: Apply patch from Guillem Jover to fix a typo. (Closes: #792207) * dh_makeshlibs: Avoid an uninitialised warning in some error cases. Thanks to Jakub Wilk for reporting it. (Closes: #793092) * Dh_Lib.pm: Apply patch from Guillem Jover to use the value of dpkg-architecture variables from the environment, if present. (Closes: #793440) * Dh_Buildsystems.pm/Dh_Lib.pm: Import Exporter's import subroutine rather than adding Exporter to @ISA. * Dh_Lib.pm: Use Dpkg::Arch's debarch_is rather than running dpkg-architecture to determine if an architecture matches a wildcard. Heavily based on a patch from Guillem Jover. (Closes: #793443) * dh_strip: Always compress debug sections of debug symbols in ddebs. * dh_strip: Strip ".comment" and ".note" sections from static libraries. Thanks to Helmut Grohne for the suggestion. (Closes: #789351) * dh_gencontrol: Stop explicitly passing -DSource to dpkg-gencontrol when building ddebs. The passed value was wrong sometimes (e.g. with binNMUs) and dpkg-gencontrol since 1.18.2~ computes the value correctly. * d/control: Bump dependency on dpkg-dev to 1.18.2~ for ddebs. Build-depends not bumped since debhelper itself does not produce any ddebs. * dh_makeshlibs: Continue generating reports from dpkg-gensymbols after the first error. This helps packages with multiple libraries to spot all the symbol issues in one build. -- Niels Thykier Tue, 11 Aug 2015 22:47:08 +0200 debhelper (9.20150628) unstable; urgency=medium * Upload to unstable with ddebs support disabled by default. [ Niels Thykier ] * Buildsystem.pm: Apply patch from Emmanuel Bourg to provide doit_in_{build,source}dir_noerror methods. (Closes: #785811) * Dh_Lib.pm: Promote error_exitcode to a regular exported subroutine (from an internal one). * dh_compress: Apply patch from Osamu Aoki to avoid compressing ".xhtml" files and to use a POSIX compliant find expression. (Closes: #740405) * dh_makeshlibs: Fix typo in manpage. Thanks to Jakub Wilk for reporting it. (Closes: #788473) * dh_auto_test: Run tests by default even during cross-building. (Closes: #726967) * dh_gencontrol: Put ddebs in the "debugsym" section. * dh_strip: Support a new --[no-]ddebs option intended for packages to disable automatic ddebs. * dh_strip: Do not create ddebs for "-dbg" packages. * dh_builddeb/dh_gencontrol: Let dpkg figure out the name of the ddebs itself now that ddebs uses a ".deb" extension. * dh_md5sums: create DEBIAN dir in ddebs before using it. (Closes: #786695) [ Thibaut Paumard ] * Bug fix: "dh_usrlocal leaves directories behind", thanks to Andreas Beckmann (Closes: #788098). -- Niels Thykier Sun, 28 Jun 2015 13:51:48 +0200 debhelper (9.20150519+ddebs) experimental; urgency=medium * dh_strip: Add --ddeb-migration option to support migration from a --dbg-package to a automatic ddeb. * Dh_Lib.pm: Add "package_multiarch" function. * d/control: Add versioned Build-Depends on dpkg-dev to support creating ddebs with the ".deb" extension. * Dh_Lib.pm: Generate ddebs with the ".deb" extension. * dh_gencontrol: Reduce the "pkg:arch" to "pkg" as APT and dpkg disagree on what satisfies an "pkg:arch" dependency. * dh_strip.1: Document what inhibits ddeb generation. * dh_gencontrol: Only mark a ddeb as Multi-Arch: same if the original deb was Multi-Arch: same. All other ddebs are now Multi-Arch: no (by omitting the field). * dh_strip: Avoid generating a ddeb if the same name as an explicitly declared package. Apparently, Ubuntu has been creating some of these manually. -- Niels Thykier Tue, 19 May 2015 21:56:55 +0200 debhelper (9.20150507) unstable; urgency=medium [ Niels Thykier ] * dh_bugfiles: Fix regression in installing the reportbug script correctly. Thanks to Jakub Wilk for reporting. (Closes: #784648) [ Translation updates ] * pt - Thanks to Américo Monteiro. (Closes: #784582) -- Niels Thykier Thu, 07 May 2015 20:07:49 +0200 debhelper (9.20150502+ddebs) experimental; urgency=medium * Add /experimental/ ddebs support *if* the environment variable DH_BUILD_DDEBS is set to 1. -- Niels Thykier Sat, 02 May 2015 10:35:29 +0200 debhelper (9.20150502) unstable; urgency=medium * dh_compress: REVERT change to avoid compressing ".xhtml" files due to #784016. (Reopens: #740405, Closes: #784016) -- Niels Thykier Sat, 02 May 2015 10:21:42 +0200 debhelper (9.20150501) unstable; urgency=medium [ Niels Thykier ] * dh_strip: Recognise .node as potential ELF binaries that should be stripped like a regular shared library. Thanks to Paul Tagliamonte for the report. (Closes: #668852) * dh_shlibdeps: Recognise .node as potential ELF binaries that should be processed like a regular shared library. Thanks to Paul Tagliamonte for the report. (Closes: #668851) * Convert package to the 3.0 (native) format, so dpkg-source strips the .git directory by default during build. * Reorder two paragraphs in d/copyright to avoid one of them being completely overwritten by the other. * d/control: Use the canonical URLs for the Vcs-* fields. * dh_makeshlibs: Apply patch from Jérémy Bobbio to ensure stable ordering of generated shlibs files. (Closes: #774100) * dh_icons: Apply patch from Jérémy Bobbio to ensure stable ordering of the icon list inserted into generated maintainer scripts. (Closes: #774102) * Dh_Lib.pm: Add a public "make_symlink" subroutine allowing dh_*-like tools to generate policy compliant symlinks without invoking dh_link. (Closes: #610173) * dh_compress: Apply patch from Osamu Aoki to avoid compressing ".xhtml" files. (Closes: #740405) * dh_gconf: Apply patch from Josselin Mouette to avoid dependency on gconf2 for installs of non-schema files. (Closes: #592958) * dh_fixperms: Correct permissions of reportbug files and scripts. Thanks to Fabian Greffrath for the report and a basic patch. (Closes: #459548) * The "ant" build system now loads debian/ant.properties automatically before build and clean (like CDBS). Thanks to Thomas Koch for the report. (Closes: #563909) * Dh_Lib.pm: Add install_dh_config_file to install a file either by copying the source file or (with an executable file under compat 9) execute the file and use its output to generate the destination. * dh_lintian: Under compat 9, the debian/lintian-overrides are now executed if they have the exec-bit set like the debian/install files. Thanks to Axel Beckert for the report. (Closes: #698500) * d/rules: Remove makefile target only intended for/used by the previous maintainer. * dh_makeshlibs: In compat 10+, pass "-X" to ldconfig to only regenerate the cache (instead of also creating missing symlinks). Thanks to Joss Mouette for the suggestion. (Closes: #549990) * autoscripts/post{inst,rm}-makeshlibs-c10: New files. * dh_strip: Pass the --enable-deterministic-archives option to strip when it is stripping static libraries. This avoids some unnecessary non-determinism in builds. Based on patch by Andrew Ayer. * dh_install, dh_installdocs, dh_installexamples and dh_installinfo: Pass --reflink=auto to cp. On supported filesystems, this provides faster copying. * Make perl tests verbose. Thanks to gregor herrmann for the patch. (Closes: #714546) * Dh_Lib.pm: Apply patch from Martin Koeppe to provide install_{dir,file,prog,lib} subroutines for installing directories, regular files, scripts/executables and libraries (respectively). * Migrate many "ad-hoc" calls to "install" to the new "install_X" subroutines from Dh_Lib.pm. Based on patch from Martin Koeppe. (Closes: #438930) * dh_gconf: Apply patch from Martin Koeppe to avoid adding a layer of shell-escaping to a printed command line when the command was in fact run without said layer of shell-escaping. * dh_installdocs: Use ${binary:Version} for generating dependencies with "--link-doc" instead of trying to determine the correct package version. Thanks to Stephen Kitt for reporting this issue. (Closes: #747141) * dh_installdocs.1: Document that --link-doc may in some cases require a dir to symlink (or symlink to dir) migration. (Closes: #659044) * dh_usrlocal: Apply patch from Jérémy Bobbio to generate deterministic output. (Closes: #775020) * dh_makeshlibs: In compat 10, install the maintainer-provided shlibs file (replacing the generated one). (Closes: #676168) * dh_installdeb: In compat 10, stop installing the maintainer-provided shlibs file as it is now done by dh_makeshlibs instead. * dh_installdocs: Remove remark about dh_installdocs not being idempotent as it no longer adds anything to maintainer scripts. * autoscripts/*-emacsen: Apply patch from Paul Wise to check that emacs-package-{install,remove} is (still) present before invoking it. (Closes: #736896) * dh_install: Document that dh-exec can be used to do renaming and provide a trivial example of how to achieve it. (Closes: #245554) * dh_makeshlibs: Apply patch from Guillem Jover to stop adding Pre-Depends on multiarch-support. The transition is far enough that we do not need it any longer. (Closes: #783898) * dh_gencontrol: Insert an empty misc:Pre-Depends to avoid warnings in packages for using a (now often) non-existing substvars. * d/control: Remove versioned conflicts that are no longer relevant. [ Bernhard R. Link ] * Dh_Lib.pm: apply patch from Guillem Jover to support case-insensitive control field names. (Closes: #772129) * add DH_QUIET environment variable to make things more silent * dh: don't output commands to run if DH_QUIET is set * buildsystems print commands unless DH_QUIET is set (Closes: #639168, #680687) * autoconf is always passed one of --enable-silent-rules (if DH_QUIET is set) or --disable-silent-rules (otherwise). (Closes: #551463, #680686) * dh_compress: exclude .xz .lzma and .lz files from compression (Closes: #778927) * dh_installwm: call by dh after dh_link (Closes: #781077), error out in compat 10 if no man page found [ Jason Pleau ] * dh_installchangelogs: Add CHANGES.md to the list of common changelog filenames (Closes: #779471) [ Axel Beckert ] * dh_installchangelogs: Consistent suffix search order (none, ".txt", ".md") for all upstream changelog file names ("changelog", "changes", "history"). + Looks for "history.md" now, too. + Makes it easier to add base names or suffixes in the future. * dh_installchangelogs: Also look for changelogs with .rst suffix. [ Tianon Gravi ] * debhelper.pod: Clarify "ENVIRONMENT" requirements for Makefile syntax. (Closes: #780133) [ Translation updates ] * pt - Thanks to Américo Monteiro. (Closes: #758575) -- Niels Thykier Fri, 01 May 2015 14:53:16 +0200 debhelper (9.20150101) unstable; urgency=medium [ Niels Thykier ] * Revert detection of unsafe binNMUs under compat 9 and earlier. It had some false-positives. (Closes: #773965) [ Axel Beckert ] * Document that dh_installdocs will error out on --link-doc between arch:all and arch:any packages in man 7 debhelper. -- Niels Thykier Thu, 01 Jan 2015 17:05:01 +0100 debhelper (9.20141222) unstable; urgency=medium * Add missing entry about #747141. * Fix typo in comment in dh_installman. Thanks to Raphael Geissert for spotting it. (Closes: #772502) -- Niels Thykier Mon, 22 Dec 2014 01:02:52 +0100 debhelper (9.20141221) unstable; urgency=medium [ Niels Thykier ] * New debhelper maintainers. (Closes: #768507) - Add Niels Thykier to uploaders. * dh_installdeb: Raise required dpkg version for dir_to_symlink to 1.17.13 (see #769843, msg #10). Thanks to Guillem Jover. * Refuse to build packages using --link-doc between arch:any and arch:all packages (or vice versa) as it results in broken packages. - In compat 9 or less: Only during an actual binNMU. - In compat 10 or newer: Unconditionally. (Closes: #747141) [ Bernhard R. Link ] - Add Bernhard Link to uploaders. [ Axel Beckert ] * dh_installdeb: Raise required dpkg version for symlink_to_dir to 1.17.14. It is needed in case of relative symlinks. (Closes: #770245) -- Niels Thykier Sun, 21 Dec 2014 21:21:18 +0100 debhelper (9.20141107) unstable; urgency=medium * I'm leaving Debian, and Debhelper needs a new maintainer. -- Joey Hess Fri, 07 Nov 2014 17:15:10 -0400 debhelper (9.20141022) unstable; urgency=low * dh_installdeb: Sort conffile list so there is a stable order for reproducible builds. Closes: #766384 Thanks, Jérémy Bobbio. -- Joey Hess Wed, 22 Oct 2014 14:43:12 -0400 debhelper (9.20141010) unstable; urgency=medium [ Johannes Schauer ] * Depend on libdpkg-perl (>= 1.17.14) for build profiles support. Note to backporters: If you remove that dependency, debhelper will throw an error when a binary package stanza in debian/control has the Build-Profiles field. * Use libdpkg-perl functionality to parse the content of the Build-Profiles field, if there is one. In that case, use libdpkg-perl to evaluate whether the binary package should be built or not. Closes: #763766 -- Joey Hess Fri, 10 Oct 2014 17:42:56 -0400 debhelper (9.20141003) unstable; urgency=medium * dh_clean: Skip over .git, .svn, .bzr, .hg, and CVS directories and avoid cleaning their contents. Closes: #760033 -- Joey Hess Fri, 03 Oct 2014 15:16:00 -0400 debhelper (9.20140817) unstable; urgency=medium * Added Portuguese translation of the man pages, by Américo Monteiro. Closes: #758043 * Updated German translation from Chris Leick. Closes: #735610 -- Joey Hess Sun, 17 Aug 2014 10:42:25 -0400 debhelper (9.20140809) unstable; urgency=medium * dh_perl: Add perlapi-* dependency on packages installed to $Config{vendorarch} Closes: #751684 * dh_perl: Use vendorlib and vendorarch from Config instead of hardcoding their values. Closes: #750021 * Typo: Closes: #755237 -- Joey Hess Sat, 09 Aug 2014 11:24:41 -0400 debhelper (9.20140613) unstable; urgency=medium * Pass --disable-silent-rules in dh_auto_configure if DH_VERBOSE is set. Closes: #751207. Thanks, Helmut Grohne. * Minor typos. Closes: #741144, #744176 * dh_installinit: Fix uninitialized value warning when --name is used. -- Joey Hess Fri, 13 Jun 2014 11:50:09 -0400 debhelper (9.20140228) unstable; urgency=medium * Fix breakage in no-act mode introduced in last release. -- Joey Hess Fri, 28 Feb 2014 15:02:35 -0400 debhelper (9.20140227) unstable; urgency=medium * dh_compress: Avoid compressing .map files, which may be html usemaps. Closes: #704443 * dh_installdocs: When doc dirs are symlinked make the dependency versioned per policy. Closes: #676777 * dh_makeshlibs: Defer propagating dpkg-gensymbols error until all packages have been processed. Closes: #736640 * dh: Reject unknown parameters that are not dashed command-line parameters intended to be passed on to debhelper commands. Closes: #737635 * perl_build: Use realclean instead of distclean. Closes: #737662 * Initial implementation of support for Build-Profiles fields. Thanks, Daniel Schepler. * dh_gencontrol: Revert change made in version 4.0.13 that avoided passing -p to dpkg-gencontrol when only operating on one package. There seems to be no benefit to doing that, and it breaks when using Build-Profiles, since while debhelper may know a profile only allows for one package, dpkg-gencontrol may see other packages in the control file. -- Joey Hess Thu, 27 Feb 2014 11:49:56 -0400 debhelper (9.20131227) unstable; urgency=medium [ Guillem Jover ] * dh_shlibdeps: Use new dpkg-shlibdeps -l option instead of LD_LIBRARY_PATH Closes: #717505 * Depend on dpkg-dev (>= 1.17.0), the version that introduced dpkg-shlibdeps -l option. -- Joey Hess Fri, 27 Dec 2013 21:52:53 -0400 debhelper (9.20131213) unstable; urgency=low [ Joey Hess ] * cmake: Configure with -DCMAKE_BUILD_TYPE=None Closes: #701233 [ Andreas Beckmann ] * dh_installdeb: Add support for dpkg-maintscript-helper commands symlink_to_dir and dir_to_symlink that were added in dpkg 1.17.2. Closes: #731723 -- Joey Hess Fri, 13 Dec 2013 14:46:26 -0400 debhelper (9.20131127) unstable; urgency=low * dh_compress: Exclude several more compressed file formats. Closes: #730483 -- Joey Hess Wed, 27 Nov 2013 19:19:41 -0400 debhelper (9.20131110) unstable; urgency=low * dh_installinit: Revert changes that added versioned dependency on sysv-rc to support upstart, which later grew to a versioned dependency on sysv-rc | file-rc, and which seems to want to continue growing to list other init systems, which there currently seem to be far too many of, for far too little benefit. The sysv-rc dependency is already met in stable. The file-rc dependency is not, so if someone cares about that, they need to find a properly designed solution, which this was not. Closes: #729248 -- Joey Hess Sun, 10 Nov 2013 15:23:29 -0400 debhelper (9.20131105) unstable; urgency=low * Fix (horrible) make output parsing code to work with make 4.0. Closes: #728800 Thanks, Julien Pinon -- Joey Hess Tue, 05 Nov 2013 22:17:03 -0400 debhelper (9.20131104) unstable; urgency=low [ Joey Hess ] * Debhelper is now team maintained. There is a new debhelper-devel mailing list which maintainers of other dh_ commands are encouraged to join also. * dh_installchangelogs: Avoid installing binNMU changelog file in --no-act mode. Closes: #726930 [ Modestas Vainius ] * Update dh_installemacsen and related scripts to follow emacs policy v2.0 (as of emacsen-common 2.0.5). Closes: #728620 -- Joey Hess Mon, 04 Nov 2013 15:34:21 -0400 debhelper (9.20130921) unstable; urgency=low * dh: Call dh_installxfonts after dh_link, so that it will notice fonts installed via symlinks. Closes: #721264 * Fix FTBFS with perl 5.18. Closes: #722501 * dh_installchangelogs: Add changelog.md to the list of common changelog filenames. -- Joey Hess Sat, 21 Sep 2013 13:16:34 -0400 debhelper (9.20130720) unstable; urgency=low * dh_python: Removed this deprecated and unused command. Closes: #717374 (Thanks, Luca Falavigna) * Type fixes. Closes: #719216 * dh_installinit: Fix a longstanding accidental behavior that caused a file named debian/package to be installed as the init script. Only fixed in v10 since packages might depend on this behavior. Closes: #719359 * dh_install, dh_installdocs, dh_clean: Fix uses of find -exec which cause it to ignore exit status of the commands run. Closes: 719598 * makefile buildsystem: Tighten heuristic to detect if makefile target exists. An error message that some other target does not exist just means the makefile spaghetti has problems later on when run with -n, but not that the called target didn't exist. Closes: #718121 -- Joey Hess Tue, 20 Aug 2013 12:46:25 -0400 debhelper (9.20130630) unstable; urgency=low * perl_build: Use -- long option names, for compatibility with Module::Build::Tiny. Closes: #714544 (Thanks, gregor herrmann) -- Joey Hess Sun, 30 Jun 2013 14:20:51 -0400 debhelper (9.20130626) unstable; urgency=low * dh_strip: Run readelf in C locale. Closes: #714187 -- Joey Hess Wed, 26 Jun 2013 13:37:03 -0400 debhelper (9.20130624) unstable; urgency=low * dh_installinit: Use absolute path for systemd tempfiles, for compatibility with wheezy's systemd. Closes: #712727 * makefile buildsystem: Added heuristic to catch false positive in makefile target detection code. Closes: #713257 Nasty make ... why won't it tell us what's in its pocketses? -- Joey Hess Mon, 24 Jun 2013 19:28:18 -0400 debhelper (9.20130605) unstable; urgency=low * dh_installchangelogs: Fix bug preventing automatic installation of upstream changelog. Closes: #711131 -- Joey Hess Wed, 05 Jun 2013 12:28:51 -0400 debhelper (9.20130604) unstable; urgency=low * dh_installchangelogs: No longer automatically converts html changelogs. A plain text version can be provided as a second parameter, or it will generate a file with a pointer to the html changelog if not. html2text's reign of terror has ended. Closes: #562874 * Allow building debhelper with USE_NLS=no to not require po4a to build. Closes: #709557 * Correct broken patch for #706923. Closes: #707481 * dh_installinit: Add appropriately versioned file-rc as an alternate when adding misc:Depends for an invoke-rc.d that supports upstart jobs. Closes: #709482 -- Joey Hess Tue, 04 Jun 2013 11:27:29 -0400 debhelper (9.20130518) unstable; urgency=low * dh_installchangelogs: Write the changelog entry used for a binNMU, as flagged by binary-only=yes to a separate file, in order to work around infelicities in dpkg's multiarch support. Closes: #708218 (Thanks, Ansgar Burchardt) * dh_installinit: Add versioned dependency on sysv-rc when shipping upstart jobs. Closes: #708720 -- Joey Hess Sat, 18 May 2013 10:49:09 -0400 debhelper (9.20130516) unstable; urgency=low * Revert unsetting INSTALL_BASE. Closes: #708452 Reopens: #705141 -- Joey Hess Thu, 16 May 2013 18:29:46 -0400 debhelper (9.20130509) unstable; urgency=low * dh_installinit: Remove obsolete systemd-tmpfiles hack in postinst autoscript. Closes: #707159 * dh_installinfo: Stop inserting dependencies for partial upgrades from lenny to squeeze. Closes: #707218 * dh_compress, dh_perl: Avoid failing if the package build directory does not exist. (Audited all the rest.) * dh: As a workaround for anything not in debhelper that may rely on debhelper command that is now skipped creating the package build directory as a side effect, the directory is created when a command is skipped. This workaround is disabled in compat level 10. Closes: #707336 * dh_auto_install: Create package build directory for those packages whose makefile falls over otherwise. Closes: #707336 -- Joey Hess Thu, 09 May 2013 10:34:56 -0400 debhelper (9.20130507) unstable; urgency=low * dh: Skips running commands that it can tell will do nothing. Closes: #560423 (Commands that can be skipped are determined by the presence of PROMISE directives within commands that provide a high-level description of the command.) * perl_makemaker: Unset INSTALL_BASE in case the user has it set. Closes: #705141 * dh_installdeb: Drop pre-dependency on dpkg for dpkg-maintscript-helper. Closes: #703264 * makefile buildsystem: Pass any parameters specified after -- when running make -n to test for the existence of targets. In some makefiles, the parameters may be necessary to enable a target. Closes: #706923 * Revert python2.X-minimal fix, because it was buggy. Closes: #707111 (Reopens #683557) -- Joey Hess Tue, 07 May 2013 13:20:48 -0400 debhelper (9.20130504) unstable; urgency=low * dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentally being used here rather than in dh_makeshlibs. Closes: #680339 * dh_lintian: Source overrides doc improvement. Closes: #683941 * dh_installmime: No longer makes maintainer scripts run update-mime and update-mime-database, that is now handled by triggers. Closes: #684689 Thanks, Charles Plessy * python distutils buildsystem: Propagate failure of pyversions. Closes: #683551 Thanks, Clint Byrum * python distutils buildsystem: When checking if a version of python is installed, don't trust the presence of the executable, as a python2.X-minimal package may provide it while not having distutils installed. Closes: #683557, #690378 * dh_icons: Improve documentation. Closes: #684895 * Improve -X documentation. Closes: #686696 * Support installing multiple doc-base files which use the same doc-id. Closes: #525821 * dh_installdocs: Support having the same document id in different binary packages built from the same source. Closes: #525821 Thanks, Don Armstrong * dh_installdeb: Avoid unnecessary is_udeb tests. Closes: #691398 * Updated German man page translation. Closes: #691557, #706314 * dh_installinit: Support systemd. Closes: #690399 Thanks, Michael Stapelberg * Updated French man page translation. Closes: #692208 * dh_icons: Reword description. Closes: #693100 * Avoid find -perm +mode breakage caused by findutils 4.5.11, by instead using -perm /mode. Closes: #700200 * cmake: Configure with -DCMAKE_BUILD_TYPE=RelWithDebInfo Closes: #701233 * dh_auto_test: Avoid doing anything when cross-compiling. Closes: #703262 * dh_testdir: Fix error message. Closes: #703515 -- Joey Hess Sat, 04 May 2013 23:32:27 -0400 debhelper (9.20120909) unstable; urgency=low * autoscript() can now be passed a perl sub to run to s/// lines of the script, which avoids problems with using sed, including potentially building too long a sed command-line. This will become the recommended interface in the future; for now it can be used by specific commands such as dh_installxmlcatalogs that encounter the problem. Closes: #665296 Thanks, Marcin Owsiany * Updated Spanish man page translation. Closes: #686291 * Updated German man page translation. Closes: #685538 * Updated French man page translation. Closes: #685560 -- Joey Hess Mon, 10 Sep 2012 12:54:06 -0400 debhelper (9.20120830) unstable; urgency=low * dh_installcatalogs: Adjust catalog conffile conversion to avoid dpkg conffile prompt when upgrading from a removed package. Closes: #681194 -- Joey Hess Thu, 30 Aug 2012 11:04:10 -0400 debhelper (9.20120608) unstable; urgency=low * dh: When there's an -indep override target without -arch, or vice versa, avoid acting on packages covered by the override target when running the command for packages not covered by it. Closes: #676462 -- Joey Hess Fri, 08 Jun 2012 13:15:48 -0400 debhelper (9.20120528) unstable; urgency=low * dh_installcatalogs: Turn /etc/sgml/$package.cat into conffiles and introduce dependency on trigger-based sgml-base. Closes: #477751 Thanks, Helmut Grohne -- Joey Hess Mon, 28 May 2012 13:40:26 -0400 debhelper (9.20120523) unstable; urgency=low * Spanish translation update. Closes: #673629 Thanks, Omar Campagne * Set Multi-Arch: foreign. Closes: #674193 -- Joey Hess Wed, 23 May 2012 14:55:48 -0400 debhelper (9.20120518) unstable; urgency=low * Fix versioned dependency on dpkg for xz options. Closes: #672895 * dh_link: Doc improvement. Closes: #672988 -- Joey Hess Fri, 18 May 2012 11:05:03 -0400 debhelper (9.20120513) unstable; urgency=low * Improve -v logging. Closes: #672448 * dh_builddeb: Build udebs with xz compression, level 1, extreme strategy. This has been chosen to not need any more memory or cpu when uncompressing, while yielding the best compressions for udebs. Thanks, Philipp Kern. * Depend on a new enough dpkg for above features. Backporters will need to revert these changes. -- Joey Hess Sun, 13 May 2012 13:09:42 -0400 debhelper (9.20120509) unstable; urgency=low * dh_installman: Recognize sections from mdoc .Dt entries. Closes: #670210 Thanks, Guillem Jover * Updated German man page translation. Closes: #671598 * dh_install: Reorder documentation for clarity. Closes: #672109 -- Joey Hess Wed, 09 May 2012 12:59:15 -0400 debhelper (9.20120419) unstable; urgency=low * Fix compat level checking for cmake. Closes: #669181 -- Joey Hess Tue, 17 Apr 2012 19:33:35 -0400 debhelper (9.20120418) unstable; urgency=low * cmake: Only pass CPPFLAGS in CFLAGS in v9. -- Joey Hess Tue, 17 Apr 2012 16:54:39 -0400 debhelper (9.20120417) unstable; urgency=low * cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch and for verifying no affected package is broken by this change. -- Joey Hess Tue, 17 Apr 2012 09:10:29 -0400 debhelper (9.20120410) unstable; urgency=low [ Joey Hess ] * Fix a typo. Closes: #665891 * Conflict with too old automake for AM_UPDATE_INFO_DIR=no. Closes: #666901 * dh_md5sums: Don't skip DEBIAN directories other than the control files one. Closes: #668276 [ Steve Langasek ] * dh_installinit: rework upstart handling to comply with new policy proposal; packages will ship both an init script and an upstart job, instead of just an upstart job and a symlink to a compat wrapper. Closes: #577040 -- Joey Hess Tue, 10 Apr 2012 12:51:15 -0400 debhelper (9.20120322) unstable; urgency=low * Revert avoid expanding shell metacharacters in sed call in autoscript(). It breaks dh_usrlocal and must be considered part of its interface. Added to interface documentation. Closes: #665263 -- Joey Hess Thu, 22 Mar 2012 17:37:56 -0400 debhelper (9.20120312) unstable; urgency=low * Also include CFLAGS in ld line for perl. Closes: #662666 -- Joey Hess Tue, 13 Mar 2012 14:27:06 -0400 debhelper (9.20120311) unstable; urgency=low * dh_auto_install: Set AM_UPDATE_INFO_DIR=no to avoid automake generating an info dir file. Closes: #634741 * dh_install: Man page clarification. Closes: #659635 * Avoid expanding shell metacharacters in sed call in autoscript(). Closes: #660794 * dh_auto_configure: Pass CPPFLAGS and LDFLAGS to Makefile.PL and Build.PL, in compat level v9. Closes: #662666 Thanks, Dominic Hargreaves for the patch. Thanks, Alessandro Ghedini, Niko Tyni, and Dominic Hargreaves for testing all relevant packages to verify the safety of this late change to v9. -- Joey Hess Sun, 11 Mar 2012 18:28:33 -0400 debhelper (9.20120115) unstable; urgency=low * Finalized v9 mode, which is the new recommended default. (But continuing to use v8 is also fine.) * It is now deprecated for a package to not specify a compatibility level in debian/compat. Debhelper now warns if this is not done, and packages without a debian/compat will eventually FTBFS. * dh: --without foo,bar now supported. * Updated German man page translation. Closes: #653360 -- Joey Hess Sun, 15 Jan 2012 13:59:49 -0400 debhelper (8.9.14) unstable; urgency=low * Typo. Closes: #653006 * Typo. Closes: #653339 -- Joey Hess Tue, 27 Dec 2011 11:53:44 -0400 debhelper (8.9.13) unstable; urgency=low * Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix Geyert * dh_strip: Use build-id in /usr/lib/debug in v9. Closes: #642158 Thanks, Jakub Wilk * Spanish translation update. Closes: #636245 Thanks, Omar Campagne * Only enable executable config files in v9. The quality of file permissions in debian/ directories turns out to be atrocious; who knew? -- Joey Hess Fri, 09 Dec 2011 13:53:38 -0400 debhelper (8.9.12) unstable; urgency=low * Debhelper config files may be made executable programs that output the desired configuration. No further changes are planned to the config file format; those needing powerful syntaxes may now use a programming language of their choice. (Be careful aiming that at your feet.) Closes: #235302, #372310, #235302, #614731, Closes: #438601, #477625, #632860, #642129 * Added German translation of man pages, done by Chris Leick. Closes: #651221 * Typo fixes. Closes: #651224 Thanks, Chris Leick -- Joey Hess Wed, 07 Dec 2011 15:09:50 -0400 debhelper (8.9.11) unstable; urgency=low * Fix broken option passing to objcopy. Closes: #649044 -- Joey Hess Thu, 17 Nov 2011 00:15:34 -0400 debhelper (8.9.10) unstable; urgency=low * dh_strip: In v9, pass --compress-debug-sections to objcopy. Needs a new enough binutils and gdb; debhelper backport may need to disable this. Thanks, Aurelien Jarno and Bastien ROUCARIES. Closes: #631985 * dh: Ensure -a and -i are passed when running override_dh_command-arch and override_dh_command-indep targets. This is needed when the binary target is run, rather than binary-arch/binary-indep. Closes: #648901 -- Joey Hess Wed, 16 Nov 2011 11:54:59 -0400 debhelper (8.9.9) unstable; urgency=low * dh_auto_build: Use target architecture (not host architecture) for build directory name. Closes: #644553 Thanks, Tom Hughes * dh: Add dh_auto_configure parameter example. Closes: #645335 -- Joey Hess Fri, 04 Nov 2011 17:01:58 -0400 debhelper (8.9.8) unstable; urgency=low * dh_fixperms: Operate on .ali files throughout /usr/lib, including multiarch dirs. Closes: #641279 * dh: Avoid compat deprecation warning before option parsing. Closes: #641361 * Clarify description of dh_auto_* -- params. Closes: #642786 * Mention in debhelper(7) that buildsystem options are typically passed to dh. Closes: #643069 * perl_makemaker: In v9, pass CFLAGS to Makefile.PL and Build.Pl Closes: #643702, #497653 Thanks, Steve Langasek, gregor herrmann. -- Joey Hess Thu, 29 Sep 2011 15:41:16 -0400 debhelper (8.9.7) unstable; urgency=low * dh: Now you can use override_dh_command-arch and override_dh_command-indep to run different overrides when building arch and indep packages. This allows for a much simplified form of rules file in this situation, where build-arch/indep and binary-arch/indep targets do not need to be manually specified. See man page for examples. Closes: #640965 . Note that if a rules file has say, override_dh_fixperms-arch, but no corresponding override_dh_fixperms-indep, then the unoverridden dh_fixperms will be run on the indep packages. . Note that the old override_dh_command takes precedence over the new overrides, because mixing the two types of overrides would have been too complicated. In particular, it's difficult to ensure an old override target will work if it's sometimes constrained to only acting on half the packages it would normally run on. This would be a source of subtle bugs, so is avoided. * dh: Don't bother running dh_shlibdebs, dh_makeshlibs, or dh_strip in the binary target when all packages being acted on are indep. * dh: Avoid running install sequence a third time in v9 when the rules file has explicit binary-indep and binary-arch targets. Closes: #639341 Thanks, Yann Dirson for test case. * debhelper no longer build-depends on man-db or file, to ease bootstrapping. * Remove obsolete versioned dependency on perl-base. * Avoid writing debhelper log files in no-act mode. Closes: #640586 * Tighten parsing of DEB_BUILD_OPTIONS. -- Joey Hess Sun, 11 Sep 2011 20:29:22 -0400 debhelper (8.9.6) unstable; urgency=low * dh_installlogcheck: Add support for --name. Closes: #639020 Thanks, Gergely Nagy -- Joey Hess Tue, 23 Aug 2011 15:25:55 -0400 debhelper (8.9.5) unstable; urgency=low * dh_compress: Don't compress _sources documentation subdirectory as used by python-sphinx. Closes: #637492 Thanks, Jakub Wilk * dh_ucf: fix test for ucf/ucfr availability and quote filenames. Closes: #638944 Thanks, Jeroen Schot -- Joey Hess Tue, 23 Aug 2011 13:25:54 -0400 debhelper (8.9.4) unstable; urgency=low * dh: The --before --after --until and --remaining options are deprecated. Use override targets instead. * Assume that the package can be cleaned (i.e. the build directory can be removed) as long as it is built out-of-source tree and can be configured. This is useful for derivative buildsystems which generate Makefiles. (Modestas Vainius) Closes: #601590 * dh_auto_test: Run cmake tests in parallel when allowed by DEB_BUILD_OPTIONS. (Modestas Vainius) Closes: #587885 * dpkg-buildflags is only used to set environment in v9, to avoid re-breaking packages that were already broken a first time by dpkg-buildpackage unconditionally setting the environment, and worked around that by unsetting variables in the rules file. (Example: numpy) -- Joey Hess Sat, 06 Aug 2011 18:58:59 -0400 debhelper (8.9.3) unstable; urgency=low * dh: Remove obsolete optimisation hack that caused sequence breakage in v9 with a rules file with an explicit build target. Closes: #634784 -- Joey Hess Tue, 19 Jul 2011 23:26:43 -0400 debhelper (8.9.2) unstable; urgency=low * dh: Support make 3.82. Closes: #634385 -- Joey Hess Mon, 18 Jul 2011 17:55:24 -0400 debhelper (8.9.1) unstable; urgency=low * Typo fixes. Closes: #632662 * dh: In v9, do not enable any python support commands. Closes: #634106 * Now the QT4 version of qmake can be explicitly selected by passing --buildsystem=qmake_qt4. Closes: #566840 * Remove debhelper.log in compat level 1. Closes: #634155 * dh_builddeb: Build in parallel when allowed by DEB_BUILD_OPTIONS. Closes: #589427 (Thanks, Gergely Nagy and Kari Pahula) -- Joey Hess Sun, 17 Jul 2011 16:31:27 -0400 debhelper (8.9.0) unstable; urgency=low * dh: In v9, any standard rules file targets, including build-arch, build-indep, build, install, etc, can be defined in debian/rules without needing to explicitly tell make the dependencies between the targets. Closes: #629139 (Thanks, Roger Leigh) * dh_auto_configure: In v9, does not include the source package name in --libexecdir when using autoconf. Closes: #541458 * dh_auto_build, dh_auto_configure, dh: Set environment variables listed by dpkg-buildflags --export. Any environment variables that are already set to other values will not be changed. Closes: #544844 * dh_movefiles: Optimise use of xargs. Closes: #627737 * Correct docs about multiarch and v9. Closes: #630826 * Fix example. Closes: #627534 * Fix error message. Closes: #628053 * dh_auto_configure: If there is a problem with cmake, display the CMakeCache.txt. -- Joey Hess Fri, 24 Jun 2011 14:28:52 -0400 debhelper (8.1.6) unstable; urgency=low * dh_ucf: Fix missing space before ']'s in postrm autoscript. -- Joey Hess Thu, 28 Apr 2011 12:33:42 -0400 debhelper (8.1.5) unstable; urgency=low * dh_ucf: New command, contributed by Jeroen Schot. Closes: #213078 * dh_installgsettings: Correct bug in use of find that caused some gsettings files to be missed. Closes: #624377 -- Joey Hess Wed, 27 Apr 2011 21:33:50 -0400 debhelper (8.1.4) unstable; urgency=low * dh_clean: Remove debhelper logs for all packages, including packages not being acted on. dh can sometimes produce such logs by accident when passed bundled options (like "-Nfoo" instead of "-N foo") that it does not understand; and it was not possible to fix that for any compat level before v8. But also, such logs can occur for other reasons, like interrupted builds during development, and it should be safe to clean them all. Closes: #623446 * Fix Typos in documentation regarding {pre,post}{inst,rm} Closes: #623709 -- Joey Hess Fri, 22 Apr 2011 16:15:21 -0400 debhelper (8.1.3) unstable; urgency=low [ Joey Hess ] * dh_auto_clean: Inhibit logging, so that, if dh_auto_clean is used in some rule other than clean, perhaps to clean up an intermediate build before a second build is run, debian/rules clean still runs it. Closes: #615553 * Started work on Debhelper v9. It is still experimental, and more changes may be added to that mode. * Support multiarch in v9. Thanks, Steve Langasek. Closes: #617761 * dh_auto_configure: Support multiarch in v9 by passing multiarch directories to --libdir and --libexecdir. * dh_makeshlibs: Detect packages using multiarch directories and make ${misc:Pre-Depends} expand to multiarch-support. * Depend on dpkg-dev (>= 1.16.0) for multiarch support. Note to backporters: If you remove that dependency, debhelper will fall back to not doing multiarch stuff in v9 mode, which is probably what you want. * Removed old example rules files. * dh_installgsettings: New command to handle gsettings schema files. Closes: #604727 [ Valery Perrin ] * update french translation. * Fix french misspelling. -- Joey Hess Tue, 05 Apr 2011 13:09:43 -0400 debhelper (8.1.2) unstable; urgency=low * Fix logging at end of an override target that never actually runs the overridden command. Closes: #613418 -- Joey Hess Mon, 14 Feb 2011 14:22:17 -0400 debhelper (8.1.1) unstable; urgency=low * dh_strip, dh_makeshlibs: use triplet-objdump, triplet-objcopy and triplet-strip from cross-binutils when cross-compiling; Closes: #412118. (Thanks, Loïc Minier) * Improve handling of logging in override targets, so that --remaining-packages can be used again. Now all debhelper commands run in the override target are marked as running as part of the override, and when the whole target is run, the log is updated to indicate that commands run during the override have finished. Closes: #612828 -- Joey Hess Thu, 10 Feb 2011 19:58:34 -0400 debhelper (8.1.0) unstable; urgency=low [ Joey Hess ] * python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759 * Man page fixes about what program -u passes params to. Closes: #593342 * Avoid open fd 5 or 6 breaking buildsystem test suite. Closes: #596679 * Large update to Spanish man page translations by Omar Campagne. Closes: #600913 * dh_installdeb: Support debian/package.maintscript files, which can contain dpkg-maintscript-helper commands. This can be used to automate moving or removing conffiles, or anything added to dpkg-maintscript-helper later on. Closes: #574443 (Thanks, Colin Watson) * Massive man page typography patch. Closes: #600883 (Thanks, David Prévot) * Explicitly build-depend on a new enough perl-base. Closes: #601188 * dh: Inhibit logging when an override target runs the overridden command, to avoid unexpected behavior if the command succeeded but the overall target fails. Closes: #601037 * Fix deprecated command list on translated debhelper(7) man pages. Closes: #601204 * dh: Improve filtering in dh_listpackages example. Closes: #604561 * dh: Add support for build-arch, build-indep, install-arch and install-indep sequences. Closes: #604563 (Thanks, Roger Leigh) * dh_listpackages: Do not display warnings if options cause no packages to be listed. * dh_installdocs: Clarify that debian/README.Debian and debian/TODO are only installed into the first package listed in debian/control. Closes: #606036 * dh_compress: Javascript files are not compressed, as these go with (uncompressed) html files. Closes: #603553 * dh_compress: Ignore objects.inv files, generated by Sphinx documentation. Closes: #608907 * dh_installinit: never call init scripts directly, only through invoke-rc.d Closes: #610340 (Thanks, Steve Langasek) [ Valery Perrin ] * update french translation. * Fix french misspelling. * French translation update after massive man page typography -- Joey Hess Sat, 05 Feb 2011 12:00:04 -0400 debhelper (8.0.0) unstable; urgency=low [ Carsten Hey ] * dh_fixperms: Ensure files in /etc/sudoers.d/ are mode 440. Closes: #589574 [ Joey Hess ] * Finalized v8 mode, which is the new recommended default. -- Joey Hess Sat, 07 Aug 2010 11:27:24 -0400 debhelper (7.9.3) unstable; urgency=low * perl_makemaker: import compat(). Closes: #587654 -- Joey Hess Wed, 30 Jun 2010 14:42:09 -0400 debhelper (7.9.2) unstable; urgency=low * In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, since perl_build is tried first. Avoids the makemaker warning message introduced by the fix to #527990. -- Joey Hess Tue, 29 Jun 2010 17:41:41 -0400 debhelper (7.9.1) unstable; urgency=low * Started work on Debhelper v8. It is still experimental, and more changes are planned for that mode. * dh_installman: Support .so links relative to the current section. * dh_installman: Avoid converting .so links to symlinks if the link target is not present in the same binary package, on advice of Colin Watson. (To support eventual so search paths.) * Add deprecation warning for dh_clean -k. * dh_testversion: Removed this deprecated and unused command. * debian/compress files are now deprecated. Seems only one package (genesis) still uses them. * dh_fixperms: Tighten globs used to find library .so files, avoiding incorrectly matching things like "foo.sources". Closes: #583328 * dh_installchangelogs: Support packages placing their changelog in a file with a name like HISTORY. Closes: #582749 * dh_installchangelogs: Also look for changelog files in doc(s) subdirectories. Closes: #521258 * In v8 mode, do not allow directly passing unknown options to debhelper commands. (Unknown options in DH_OPTIONS still only result in warnings.) * In v8 mode, dh_makeshlibs will run dpkg-gensymbols on all shared libraries it generates shlibs files for. This means that -X can be used to exclude libraries from processing by dpkg-gensymbols. It also means that libraries in unusual locations, where dpkg-gensymbols does not itself normally look, will be passed to it, a behavior change which may break some packages. Closes: #557603 * In v8 mode, dh expects the sequence to run is always its first parameter. (Ie, use "dh $@ --foo", not "dh --foo $@") This avoids ambiguities when parsing options to be passed on to debhelper commands. (See #570039) * In v8 mode, prefer the perl_build buildsystem over perl_makemaker. Closes: #578805 * postrm-init: Avoid calling the error handler if update-rc.d fails. Closes: #586065 -- Joey Hess Wed, 16 Jun 2010 13:44:48 -0400 debhelper (7.4.20) unstable; urgency=low * Drop one more call to dpkg-architecture. Closes: #580837 (Raphael Geissert) * Further reduce the number of calls to dpkg-architecture to zero, in a typical package with no explicit architecture mentions in control file or debhelper config files. * dh_perl: use debian_abi for XS modules. Closes: #581233 -- Joey Hess Wed, 12 May 2010 20:06:02 -0400 debhelper (7.4.19) unstable; urgency=low * Memoize architecture comparisons in samearch, and avoid calling dpkg-architecture at all for simple comparisons that clearly do not involve architecture wildcards. Closes:# 579317 -- Joey Hess Mon, 26 Apr 2010 19:45:07 -0400 debhelper (7.4.18) unstable; urgency=low * dh_gconf: Depend on new gconf2 that uses triggers, and stop calling triggered programs manually. Closes: #577179 -- Joey Hess Mon, 26 Apr 2010 16:23:38 -0400 debhelper (7.4.17) unstable; urgency=low * Fix #572077 in one place I missed earlier. (See #576885) * dh: Fixed example of overriding binary target. * Began finalizing list of changes for v8 compat level. -- Joey Hess Thu, 08 Apr 2010 18:23:43 -0400 debhelper (7.4.16) unstable; urgency=low * Updated French translation. * makefile buildsystem: Chomp output during test for full compatibility with debhelper 7.4.11. Closes: #570503 * dh_install: Now --list-missing and --fail-missing are useful even when not all packages are acted on (due to architecture limits or flags). Closes: #570373 * Typo. Closes: #571968 * If neither -a or -i are specified, debhelper commands used to default to acting on all packages in the control file, which was a guaranteed failure if the control file listed packages that did not build for the target architecture. After recent optimisations, this default behavior can efficiently be changed to the more sane default of acting on only packages that can be built for the current architecture. This change is mostly useful when using minimal rules files with dh. Closes: #572077 * dh_md5sums: Sort to ensure stable, more diffable order. Closes: #573702 * dh: Allow --list-addons to be used when not in a source package. Closes: #574351 * dh: Improve documentation. -- Joey Hess Tue, 06 Apr 2010 22:06:50 -0400 debhelper (7.4.15) unstable; urgency=low * The fix for #563557 caused some new trouble involving makefile that misbehave when stderr is closed. Reopen it to /dev/null when testing for the existence of a makefile target. Closes: #570443 -- Joey Hess Thu, 18 Feb 2010 16:37:34 -0500 debhelper (7.4.14) unstable; urgency=low * dh: Disable option bundling to avoid mis-parsing bundled options such as "-Bpython-support". Closes: #570039 -- Joey Hess Tue, 16 Feb 2010 14:47:10 -0500 debhelper (7.4.13) unstable; urgency=low * dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586 * Fix handling of -O with options specified by commands. Closes: #568081 -- Joey Hess Tue, 02 Feb 2010 12:15:41 -0500 debhelper (7.4.12) unstable; urgency=low * dh_bugfiles: Doc typo. Closes: #563269 * makefile: Support the (asking for trouble) case of MAKE being set to something with a space in it. Closes: #563557 * Fix warning about unknown options passed to commands in override targets. * Add -O option, which can be used to pass options to commands, ignoring options that they do not support. * dh: Use -O to pass user-specified options to the commands it runs. This solves the problem with passing "-Bbuild" to dh, where commands that do not support -B would see a bogus -u option. Closes: #541773 (It also ensures that the commands dh prints out can really be run.) * qmake: New buildsystem contributed by Kel Modderman. Closes: #566840 * Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737 -- Joey Hess Sat, 30 Jan 2010 20:23:02 -0500 debhelper (7.4.11) unstable; urgency=low * dh(1): Minor rewording of documentation of override commands. Closes: #560421 * dh(1): Add an example of using an override target to avoid dh running several commands. Closes: #560600 * dh_installman: Avoid doubled slashes in path. Closes: #561275 * dh_installxfonts: Use new update-fonts-alias --include and --exclude options to better handle removal in the case where xfonts-utils is removed before a font package is purged. (#543512; thanks, Theppitak Karoonboonyanan) * dh: Optimise handling of noop overrides, avoiding an unnecessary call to make to handle them. (Modestas Vainius) -- Joey Hess Thu, 31 Dec 2009 11:32:34 -0500 debhelper (7.4.10) unstable; urgency=low * Add --parallel option that can be used to enable parallel building without limiting the max number of parallel jobs. (Modestas Vainius) * dh_makeshlibs: Temporarily revert fix for #557603, as it caused dpkg-gensymbols to see libraries not in the regular search path and broke builds. This will be re-enabled in v8. Closes: #560217 -- Joey Hess Wed, 09 Dec 2009 15:17:19 -0500 debhelper (7.4.9) unstable; urgency=low * Typo. Closes: #558654 * dh_installinit: Fix installation of defaults file when an upstart job is installed. Closes: #558782 -- Joey Hess Mon, 30 Nov 2009 14:21:10 -0500 debhelper (7.4.8) unstable; urgency=low * Parallel building support is no longer enabled by default. It can still be enabled by using the --max-parallel option. This was necessary because some buildds build with -j2 by default. (See #532805) * dh: Document --no-act. Closes: #557505 * dh_makeshlibs: Make -X also exclude libraries from the symbols file. Closes: #557603 (Peter Samuelson) -- Joey Hess Mon, 23 Nov 2009 13:57:10 -0500 debhelper (7.4.7) unstable; urgency=low * make: Avoid infinite make recursion that occurs when testing existence of a target in a certain horribly broken makefile, by making the test stop after it sees one line of output from make. (This may be better replaced with dh's makefile parser in the future.) Closes: #557307 -- Joey Hess Sat, 21 Nov 2009 13:35:22 -0500 debhelper (7.4.6) unstable; urgency=low * Update --list to reflect buildsystem autoselection changes. * Remove last vestiages of support for /usr/X11R6. * cmake: Fix deep recursion in test. Closes: #557299 -- Joey Hess Sat, 21 Nov 2009 13:08:48 -0500 debhelper (7.4.5) unstable; urgency=low * ant: Fix auto-selection breakage. Closes: #557006 (Cyril Brulebois) -- Joey Hess Thu, 19 Nov 2009 11:53:39 -0500 debhelper (7.4.4) unstable; urgency=low * The makefile buildsystem (and derived buildsystems cmake, autoconf, etc) now supports parallel building by default, as specified via DEB_BUILD_OPTIONS. Closes: #532805 * dh_auto_*: Add --max-parallel option that can be used to control or disable parallel building. --max-parallel=1 will disable parallel building, while --max-parallel=N will limit the maximum number of parallel processes that can be specified via DEB_BUILD_OPTIONS. * Added some hacks to avoid warnings about unavailable jobservers when debhelper runs make, and the parent debian/rules was run in parallel mode (as dpkg-buildpackage -j currently does). * Thanks, Modestas Vainius for much of the work on parallel build support. * Add deprecation warnings for -u to the documentation, since putting options after -- is much more sane. (However, -u will not go away any time soon.) Closes: #554509 * Separate deprecated programs in the list of commands in debhelper(7). Closes: #548382 * Adjust code to add deprecation warning for compatibility level 4. (Man page already said it was deprecated.) Closes: #555899 * dh_installdocs: Warn if a doc-base file cannot be parsed to find a document id. Closes: #555677 * Typo. Closes: #555659 * cmake: Set CTEST_OUTPUT_ON_FAILURE when running test suite. Closes: #555807 (Modestas Vainius) * autoconf: If configure fails, display config.log. Intended to make it easier to debug configure script failures on autobuilders. Closes: #556384 * Improve build system autoselection process; this allows cmake to be autoselected for steps after configure, instead of falling back to makefile once cmake generated a makefile. Closes: #555805 (Modestas Vainius) -- Joey Hess Wed, 18 Nov 2009 14:44:21 -0500 debhelper (7.4.3) unstable; urgency=low [ Valery Perrin ] * update french translation. Closes: #494300, #477703 * add --previous at po4a command into Makefile * add dh, dh_auto_install, dh_auto_clean, dh_auto_configure, dh_auto_install, dh_auto_test, dh_bugfiles, dh_icons, dh_installifupdown, dh_installudev, dh_lintian, dh_prep into po4a.cfg manpages list * fix a spelling mistake in dh_makeshlibs man french translation (#494300 part 2) [ Joey Hess ] * dh_perl: Do not look at perl scripts under /usr/share/doc. Closes: #546683 * Allow dpkg-architecture to print errors to stderr. Closes: #548636 * python_distutils: Run default python last, not first, and pass --force to setup.py install to ensure that timestamps do not prevent installation of the scripts built for the default python, with unversioned shebang lines. Closes: #547510 (Thanks, Andrew Straw) -- Joey Hess Thu, 01 Oct 2009 14:37:38 -0400 debhelper (7.4.2) unstable; urgency=low * Man page typo. Closes: #545443 * dh: Remove duplicate dh_installcatalogs list. Closes: #545483 (It was only run once due to logging.) * dh_installdocs: Add --link-doc option that can be used to link documentation directories. This is easier to use and more flexible than the old method of running dh_link first to make a broken symlink. Closes: #545676 Thanks, Colin Watson * Reorder dh_pysupport call in dh sequence to come before dh_installinit, so the generated postinst script registers python modules before trying to use them. Closes: #546293 * dh_installudev: With --name, install debian/..udev to rules.d/-, the same as debian/.udev is installed for the first package. Closes: #546337 -- Joey Hess Mon, 14 Sep 2009 15:46:49 -0400 debhelper (7.4.1) unstable; urgency=low [ Steve Langasek ] * dh_installinit: Support upstart job files, and provide compatibility symlinks in /etc/init.d for sysv-rc implementations. Closes: #536035. [ Joey Hess ] * Add FILES sections to man pages. Closes: #545041 * dh_prep(1): Clarify when it should be called. Closes: #544969 -- Joey Hess Sun, 06 Sep 2009 18:44:40 -0400 debhelper (7.4.0) unstable; urgency=low * Optimise -s handling to avoid running dpkg-architecture if a package is arch all. This was, surprisingly, the only overhead of using the -s flag with arch all/any packages. * The -a flag now does the same thing as the -s flag, so debhelper users do not need to worry about using the -s flag when building a package that only builds for some architectures, and dh will also work in that situation. Closes: #540794 -- Joey Hess Tue, 01 Sep 2009 13:41:16 -0400 debhelper (7.3.16) unstable; urgency=low * dh_desktop: Clarify in man page why it's a no-op. Closes: #543364 * dh_installdocs: Loosen the Document field parsing, to accept everything doc-base *really* accepts in a doc id (not just what it's documented to accept). Closes: #543499 * Allow sequence addons to pass options to debhelper commands, by adding add_command_options and remove_command_options to the interface. Closes: #543392 (Modestas Vainius) * dh_auto_install: Add a --destdir parameter that can be used to override the default. Closes: #538201 (Modestas Vainius) -- Joey Hess Wed, 26 Aug 2009 17:10:53 -0400 debhelper (7.3.15) unstable; urgency=low * dh_installudev: Install rules files into new location /lib/udev/rules.d/ * dh_installudev: Add code to delete old conffiles unless they're modified, and in that case, rename them to override the corresponding file in /lib/udev. (Based on patch by Martin Pitt.) (Note that this file will not be deleted on purge -- I can't see a good way to determine when it's appropriate to do that.) * dh_installudev: Set default priority to 60; dropping the "z". If --priority=zNN is passed, treat that as priority NN. * Above Closes: #491117 * dh_installudev: Drop code handling move of /etc/udev/foo into /etc/udev/rules.d/. -- Joey Hess Fri, 21 Aug 2009 17:22:08 -0400 debhelper (7.3.14) unstable; urgency=low [ Colin Watson ] * dh: Add --list option to list available addons. Closes: #541302 [ Joey Hess ] * Run pod2man with --utf8. Closes: #541270 * dh: Display $@ error if addon load fails. Closes: #541845 * dh_perl: Remove perl minimum dependency per new policy. Closes: #541811 -- Joey Hess Mon, 17 Aug 2009 15:55:48 -0400 debhelper (7.3.13) unstable; urgency=low [ Bernd Zeimetz ] * python_distutils.pm: Support debhelper backports. To allow backports of debhelper we don't pass --install-layout=deb to 'setup.py install` for those Python versions where the option is ignored by distutils/setuptools. Thanks to Julian Andres Klode for the bug report. Closes: #539324 -- Joey Hess Fri, 14 Aug 2009 20:10:57 -0400 debhelper (7.3.12) unstable; urgency=low * dh: Allow creation of new sequences (such as to handle a patch target for quilt), by adding an add_command function to the sequence addon interface. See #540124. -- Joey Hess Thu, 06 Aug 2009 11:08:53 -0400 debhelper (7.3.11) unstable; urgency=low * perl_build: Fix Build check to honor source directory setting. -- Joey Hess Wed, 05 Aug 2009 13:52:34 -0400 debhelper (7.3.10) unstable; urgency=low * perl_build: Avoid failing if forced to be used in dh_auto_clean when Build does not exist (ie due to being run twice in a row). Closes: #539848 * dh_builddeb: Fix man page typo. Closes: #539976 * dh_installdeb: In udeb mode, support the menutest and isinstallable maintainer scripts. Closes: #540079 Thanks, Colin Watson. -- Joey Hess Wed, 05 Aug 2009 11:03:01 -0400 debhelper (7.3.9) unstable; urgency=low * cmake: Avoid forcing rpath off as this can break some test suites. It gets stripped by cmake at install time. Closes: #538977 -- Joey Hess Sat, 01 Aug 2009 15:59:07 -0400 debhelper (7.3.8) unstable; urgency=low * Fix t/override_target to use ./run. Closes: #538315 -- Joey Hess Sat, 25 Jul 2009 00:37:45 +0200 debhelper (7.3.7) unstable; urgency=low * First upload of buildsystems support to unstable. Summary: Adds --buildsystem (modular, OO buildsystem classes), --sourcedirectory, --builddirectory, and support for cmake and ant. -- Joey Hess Fri, 24 Jul 2009 12:07:47 +0200 debhelper (7.3.6) experimental; urgency=low * perl_makemaker: Re-add fix for #496157, lost in rewrite. -- Joey Hess Thu, 23 Jul 2009 18:17:45 +0200 debhelper (7.3.5) experimental; urgency=low [ Bernd Zeimetz ] * python_distutils buildsystem: Build for all supported Python versions that are installed. Ensure that correct shebangs are created by using `python' first during build and install. Closes: #520834 Also build with python*-dbg if the package build-depends on them. -- Joey Hess Mon, 20 Jul 2009 20:30:22 +0200 debhelper (7.3.4) experimental; urgency=low * Merged debhelper 7.2.24. -- Joey Hess Wed, 15 Jul 2009 09:50:37 -0400 debhelper (7.3.3) experimental; urgency=low * Add ant buildsystem support. Closes: #537021 * Merged debhelper 7.2.22. -- Joey Hess Tue, 14 Jul 2009 17:16:28 -0400 debhelper (7.3.2) experimental; urgency=low * Merged debhelper 7.2.21. -- Joey Hess Wed, 08 Jul 2009 21:23:48 -0400 debhelper (7.3.1) experimental; urgency=low * Merged debhelper 7.2.20. -- Joey Hess Thu, 02 Jul 2009 12:28:55 -0400 debhelper (7.3.0) experimental; urgency=low * Modular object oriented dh_auto_* buildsystem support, contributed by Modestas Vainius - dh_auto_* --sourcedirectory can now be used to specify a source directory if sources and/or the whole buildsystem lives elsewhere than the top level directory. Closes: #530597 - dh_auto_* --builddirectory can now be used to specify a build directory to use for out of source building, for build systems that support it. Closes: #480577 - dh_auto_* --buildsystem can now be used to override the autodetected build system, or force use of a third-party class. - dh_auto_* --list can be used to list available and selected build systems. - Adds support for cmake. - For the perl_build build system, Build is used consistently instead of falling back to using the generated Makefile. Closes: #534332 - Historical dh_auto_* behavior should be preserved despite these large changes.. * Move two more command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). * Make dh not complain about unknown, command-specific options passed to it, and further suppress warnings about such options it passes on to debhelper commands. This was attempted incompletely before in version 7.2.17. -- Joey Hess Wed, 01 Jul 2009 15:31:20 -0400 debhelper (7.2.24) unstable; urgency=low * dh_install: Add test suite covering the last 5 bugs. -- Joey Hess Wed, 15 Jul 2009 09:42:18 -0400 debhelper (7.2.23) unstable; urgency=low * dh_install: Fix support for the case where debian/tmp is explicitly specified in filename paths despite being searched by default. Closes: #537140 -- Joey Hess Wed, 15 Jul 2009 09:24:19 -0400 debhelper (7.2.22) unstable; urgency=low * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo is used. Perl was not being greedy enough and the 'foo' was not stripped from the destination directory in this unusual case. Closes: #537017 -- Joey Hess Tue, 14 Jul 2009 17:08:25 -0400 debhelper (7.2.21) unstable; urgency=low * Add a versioned dep on perl-base, to get a version that supports GetOptionsFromArray. Closes: #536310 -- Joey Hess Wed, 08 Jul 2009 21:08:45 -0400 debhelper (7.2.20) unstable; urgency=low * dh_install: Fix installation of entire top-level directory from debian/tmp. Closes: #535367 -- Joey Hess Thu, 02 Jul 2009 12:17:42 -0400 debhelper (7.2.19) unstable; urgency=low * dh_install: Handle correctly the case where a glob expands to a dangling symlink, installing the dangling link as requested. Closes: #534565 * dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused it to put files inside a debian/tmp directory in the package build directory, now that prefix is stripped. (See #534565) -- Joey Hess Tue, 30 Jun 2009 12:56:52 -0400 debhelper (7.2.18) unstable; urgency=low * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps prints a confusing warning if it does not. Closes: #534226 * dh_auto_install: Pass --install-layout=deb to setup.py to support python 2.6. Closes: #534620 -- Joey Hess Mon, 29 Jun 2009 15:35:40 -0400 debhelper (7.2.17) unstable; urgency=low * Allow command-specific options to be passed to commands via dh without causing other commands to emit a getopt warning or deprecation message. * dh_installinfo: No longer inserts install-info calls into maintainer scripts, as that is now triggerized. Adds a dependency via misc:Depends to handle partial upgrades. Note that while dh_installinfo already required that info files had a INFO-DIR-SECTION, the new system also requires they have START-INFO-DIR-ENTRY and END-INFO-DIR-ENTRY for proper registration. I assume there will be some mass bug filing for any packages that do not have that. Closes: #534639, #357434 -- Joey Hess Fri, 26 Jun 2009 09:02:51 -0400 debhelper (7.2.16) unstable; urgency=low * dh_gconf: Add missed half of postrm fragment removal. Closes: #531035 -- Joey Hess Thu, 11 Jun 2009 12:50:33 -0400 debhelper (7.2.15) unstable; urgency=low * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries. (Stephane Glondu) Closes: #527272, #532701 * dh_compress: Avoid compressing .svg and .sgvz files, since these might be used as images on a html page, and also to avoid needing to special case the .svgz extension when compressing svg. Closes: #530253 * dh_scrollkeeper: Now a deprecated no-op. Closes: #530806 * dh_gconf: Remove postrm fragment that handled schema migration from /etc to /usr. Closes: #531035 -- Joey Hess Wed, 10 Jun 2009 17:14:07 -0400 debhelper (7.2.14) unstable; urgency=low * dh: Avoid writing log after override_dh_clean is run. Closes: #529228 -- Joey Hess Mon, 18 May 2009 12:49:32 -0400 debhelper (7.2.13) unstable; urgency=low * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. Closes: #528235 -- Joey Hess Thu, 14 May 2009 15:21:21 -0400 debhelper (7.2.12) unstable; urgency=low * dh_auto_configure: Revert --skipdeps change Closes: #528647, reopens: #528235 -- Joey Hess Thu, 14 May 2009 14:15:26 -0400 debhelper (7.2.11) unstable; urgency=low * dh: Support --with addon,addon,... Closes: #528178 * dh_auto_configure: Add --skipdeps when running Makefile.PL, to prevent Module::Install from trying to download dependencies. Closes: #528235 * Support debian/foo.os files to suppliment previous debian/foo.arch file support. Closes: #494914 (Thanks, Aurelien Jarno) -- Joey Hess Tue, 12 May 2009 14:52:18 -0400 debhelper (7.2.10) unstable; urgency=low * Close COMPAT_IN filehandle. Closes: #527464 * dh_auto_configure: Clarify man page re adding configure parameters. Closes: #527256 * dh_auto_configure: Pass packlist=0 when running Makefile.PL, in case it is a Build.PL passthru, to avoid it creating the .packlist file. Closes: #527990 -- Joey Hess Sun, 10 May 2009 13:07:08 -0400 debhelper (7.2.9) unstable; urgency=low * dh_fixperms: Ensure lintian overrides are mode 644. (Patch from #459548) * dh_fixperms: Fix permissions of OCaml .cmxs files. Closes: #526221 * dh: Add --without to allow disabling sequence addons (particularly useful to disable the default python-support addon). -- Joey Hess Mon, 04 May 2009 14:46:53 -0400 debhelper (7.2.8) unstable; urgency=low * dh_desktop: Now a deprecated no-op, since desktop-file-utils uses triggers. Closes: #523474 (also Closes: #521960, #407701 as no longer applicable) * Move dh sequence documentation to PROGRAMMING. -- Joey Hess Mon, 20 Apr 2009 16:15:32 -0400 debhelper (7.2.7) unstable; urgency=low * Fix calling the same helper for separate packages in the override of dh binary-indep/binary-arch. Closes: #520567 * Add --remaining-packages option (Modestas Vainius) Closes: #520615 * Pass -L UTF-8 to po4a to work around bug #520942 * dh_icons: ignore gnome and hicolor themes (will be handled by triggers). Closes: #521181 -- Joey Hess Fri, 27 Mar 2009 14:15:29 -0400 debhelper (7.2.6) unstable; urgency=low * Examples files updated to add dh_bugfiles, remove obsolete dh_python. * dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck. Closes: #519374 -- Joey Hess Sun, 15 Mar 2009 17:54:48 -0400 debhelper (7.2.5) unstable; urgency=low * Set MODULEBUILDRC=/dev/null when running perl Build scripts to avoid ~/.modulebuildrc influencing the build. Closes: #517423 * dh_installmenus: Revert removal of update-menus calls. Closes: #518919 Menu refuses to add unconfigured packages to the menu, and thus omits packages when triggered, unfortunately. I hope its behavior will change. -- Joey Hess Mon, 09 Mar 2009 16:20:41 -0400 debhelper (7.2.4) unstable; urgency=low * dh_makeshlibs: Fix --add-udeb, for real. Closes: #518706 -- Joey Hess Sun, 08 Mar 2009 13:14:30 -0400 debhelper (7.2.3) unstable; urgency=low * dh_installmenus: Now that a triggers capable menu and dpkg are in stable, menu does not need to be explicitly run in maintainer scripts, except for packages with menu-methods files. (See #473467) * dh_installdocs: No longer add maintainer script code to call doc-base, as it supports triggers in stable. * dh_bugfiles: New program, contributed by Modestas Vainius. Closes: #326874 * dh: Override LC_ALL, not LANG. re-Closes: #517617 * dh_installchangelogs: Support -X to exclude automatic installation of specific upstream changelogs. re-Closes: #490937 * Compat level 4 is now deprecated. * dh_makeshlibs: Re-add --add-udeb support. Closes: #518655 * dh_shlibdeps: Remove --add-udeb switch (was accidentally added here). -- Joey Hess Sat, 07 Mar 2009 14:52:20 -0500 debhelper (7.2.2) unstable; urgency=low * dh_installmodules: Give files in /etc/modprobe.d a .conf syntax, as required by new module-init-tools. * dh_installmodules: Add preinst and postinst code to handle cleanly renaming the modprobe.d files on upgrade. * Two updates to conffile moving code from wiki: - Support case where the conffile name is a substring of another conffile's name. - Support case where dpkg-query says the file is obsolete. -- Joey Hess Wed, 04 Mar 2009 19:37:33 -0500 debhelper (7.2.1) experimental; urgency=low * Merged debhelper 7.0.52. -- Joey Hess Sat, 28 Feb 2009 20:01:22 -0500 debhelper (7.2.0) experimental; urgency=low * Merged debhelper 7.0.50. * dh: Fix typo. Closes: #509754 * debhelper.pod: Fix typo. Closes: #510180 * dh_gconf: Support mandatory settings. Closes: #513923 * Improve error messages when child commands fail. * Depend on dpkg-dev 1.14.19, the first to support Package-Type fields in dpkg-gencontrol. * dh_gencontrol: No longer need to generate the udeb filename when calling dpkg-gencontrol. * dh_gencontrol: Do not need to tell dpkg-gencontol not to include the Homepage field in udebs (fixed in dpkg-dev 1.14.17). -- Joey Hess Thu, 26 Feb 2009 18:33:44 -0500 debhelper (7.1.1) experimental; urgency=low * dh_install(1): Order options alphabetically. Closes:# 503896 * Fix some docs that referred to --srcdir rather than --sourcedir. Closes: #504742 * Add Vcs-Browser field. Closes: #507804 * Ignore unknown options in DH_OPTIONS. Debhelper will always ignore such options, even when unknown command-line options are converted back to an error. This allows (ab)using DH_OPTIONS to pass command-specific options. (Note that getopt will warn about such unknown options. Eliminating this warning without reimplementing much of Getopt::Long wasn't practical.) -- Joey Hess Sun, 14 Dec 2008 23:19:27 -0500 debhelper (7.1.0) experimental; urgency=low * dh_installchangelogs: Fall back to looking for changelog files ending with ".txt". Closes: #498460 * dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg complaining about it when it's empty. Closes: #498666 * dh: Fix typo in example. Closes: #500836 * Allow individual debhelper programs to define their own special options by passing a hash to init(), which is later passed on the Getopt::Long. Closes: #370823 * Move many command-specific options to only be accepted by the command that uses them. Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles, --no-restart-on-upgrade, --no-start, --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb, --dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, --language, --until, --after, --before, --remaining, --with * If any third-party debhelper commands use any of the above options, they will be broken, and need to be changed to pass options to init(). * To avoid breaking rules files that pass options to commands that do not use them, debhelper will now only warn if it encounters an unknown option. This will be converted back to an error later. -- Joey Hess Wed, 10 Sep 2008 13:58:00 -0400 debhelper (7.0.52) unstable; urgency=low * dh: Fix make parsing to not be broken by locale settings. Closes: #517617 -- Joey Hess Sat, 28 Feb 2009 19:52:34 -0500 debhelper (7.0.51) unstable; urgency=low * dh: Man page typos. Closes: #517549, #517550 -- Joey Hess Sat, 28 Feb 2009 13:23:30 -0500 debhelper (7.0.50) unstable; urgency=low * This release is designed to be easily backportable to stable, to support the new style of rules file that I expect many packages will use. * dh: debian/rules override targets can change what is run for a specific debhelper command in a sequence. (Thanks Modestas Vainius for the improved makefile parser.) * dh: Redid all the examples to use override targets, since these eliminate all annoying boilerplate and are much easier to understand than the old method. * Remove rules.simple example, there's little need to use explicit targets with dh anymore. * dh: Support debian/rules calling make with -B, which is useful to avoid issues with phony implicit rules (see bug #509756). -- Joey Hess Fri, 27 Feb 2009 15:25:52 -0500 debhelper (7.0.17) unstable; urgency=low [ Per Olofsson ] * dh_auto_install: Fix man page, was referring to dh_auto_clean. [ Joey Hess ] * dh_gencontrol: Drop the Homepage field from udebs. Closes: #492719 * Typo. Closes: #493062 * dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX if the Makefile was generated by Module::Build::Compat. Closes: #496157 -- Joey Hess Fri, 22 Aug 2008 22:30:12 -0400 debhelper (7.0.16) unstable; urgency=low * dh: Avoid passing --with on to subcommands. Closes: #490886 * dh_installchangelogs: When searching for changelog in v7 mode, skip empty files. Closes: #490937 -- Joey Hess Sat, 19 Jul 2008 15:34:13 -0400 debhelper (7.0.15) unstable; urgency=low * dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918 -- Joey Hess Wed, 09 Jul 2008 16:16:11 -0400 debhelper (7.0.14) unstable; urgency=low * Load python-support sequence file first, to allow ones loaded later to disable it. -- Joey Hess Sat, 05 Jul 2008 08:23:32 -0400 debhelper (7.0.13) unstable; urgency=low * dh_auto_install: Rather than looking at the number of binary packages being acted on, look at the total number of binary packages in the source package when deciding whether to install to debian/package or debian/tmp. This avoids inconsistencies when building mixed arch all+any packages using the binary-indep and binary-arch targets. Closes: #487938 -- Joey Hess Wed, 25 Jun 2008 12:27:02 -0400 debhelper (7.0.12) unstable; urgency=medium * Correct docs about dh_install and debian/tmp in v7 mode. It first looks in the current directory, or whatever is configured with --srcdir. Then it always falls back to looking in debian/tmp. * Medium urgency to get this doc fix into testing. -- Joey Hess Wed, 25 Jun 2008 03:36:50 -0400 debhelper (7.0.11) unstable; urgency=low * dh: Man page fix. Closes: #485116 * Add stamp files to example rules targets. Closes: #486327 * Add a build dependency on file. The rules file now runs dh_strip and dh_shlibdeps, which both use it. (It could be changed not to, but it's good to have it run all the commands as a test.) Closes: #486439 * Typo fix. Closes: #486464 -- Joey Hess Mon, 16 Jun 2008 12:39:21 -0400 debhelper (7.0.10) unstable; urgency=low * dh_compress: Do not compress index.sgml files, as generated by gtk-doc. Closes: #484772 -- Joey Hess Fri, 06 Jun 2008 11:48:39 -0400 debhelper (7.0.9) unstable; urgency=low * rules.tiny: Typo fix. Closes: #479647 * dh_installinit: Add --restart-after-upgrade, which avoids stopping a daemon in the prerm, and instead restarts it in the postinst, keeping its downtime minimal. Since some daemons could break if files are upgraded while they're running, it's not the default. It might become the default in a future (v8) compatibility level. Closes: #471060 * dh: fix POD error. Closes: #480191 * dh: Typo fixes. Closes: #480200 * dh: Add remove_command to the sequence interface. * dh_auto_clean: setup.py clean can create pyc files. Remove. Closes: #481899 -- Joey Hess Mon, 19 May 2008 12:47:47 -0400 debhelper (7.0.8) unstable; urgency=low * dh: Add an interface that third-party packages providing debhelper commands can use to insert them into a command sequence. (See dh(1), "SEQUENCE ADDONS".) * dh: --with=foo can be used to include such third-party commands. So, for example, --with=cli could add the dh_cli* commands from cli-common. * Moved python-support special case out of dh and into a python-support sequence addon. --with=python-support is enabled by default to avoid breaking backwards compatibility. -- Joey Hess Sun, 04 May 2008 16:10:54 -0400 debhelper (7.0.7) unstable; urgency=low * dh_installxfonts: Fix precedence problem that exposes a new warning message in perl 5.10. -- Joey Hess Sun, 04 May 2008 13:43:41 -0400 debhelper (7.0.6) unstable; urgency=low * dh_auto_test: Correct Module::Build tests. -- Joey Hess Sat, 03 May 2008 12:58:50 -0400 debhelper (7.0.5) unstable; urgency=low * Convert copyright file to new format. * dh_test*: inhibit logging. Closes: #478958 -- Joey Hess Thu, 01 May 2008 19:52:00 -0400 debhelper (7.0.4) unstable; urgency=low * Fix underescaped $ in Makefile. Closes: #478475 * dh_auto_test: Run tests for Module::Build packages. (Florian Ragwitz) -- Joey Hess Wed, 30 Apr 2008 02:17:01 -0400 debhelper (7.0.3) unstable; urgency=low * dh: Fix man page typos. Closes: #477933 * Add missing $! to error message when the log can't be opened. * One problem with the log files is that if dh_clean is not the last command run, they will be left behind. This is a particular problem on build daemons that use real root. Especially if cdbs is used, since it runs dh_listpackages after clean, thereby leaving behind log files that only root can touch. Avoid this particular special case by inhibiting logging by dh_listpackages. -- Joey Hess Tue, 29 Apr 2008 01:40:03 -0400 debhelper (7.0.2) unstable; urgency=low * dh: Optimise the case where the binary-arch or binary-indep sequence is run and there are no packages of that type. * dh_auto_configure: Set PERL_MM_USE_DEFAULT when configuring MakeMaker packages to avoid interactive prompts. * dh_auto_*: Also support packages using Module::Build. * dh_auto_*: Fix some calls to setup.py. Now tested and working with python packages. * dh_install: Find all possible cases of "changelog" and "changes", rather than just looking for some predefined common cases. -- Joey Hess Thu, 24 Apr 2008 21:55:49 -0400 debhelper (7.0.1) unstable; urgency=low * I lied, one more v7 change slipped in.. * dh_installchangelogs: In v7 mode, if no upstream changelog is specified, and the package is not native, guess at a few common changelog filenames. -- Joey Hess Thu, 24 Apr 2008 00:16:19 -0400 debhelper (7.0.0) unstable; urgency=low * dh: New program that runs a series of debhelper commands in a sequence. This can be used to construct very short rules files (as short as 3 lines), while still exposing the full power of debhelper when it's needed. * dh_auto_configure: New program, automates running ./configure, Makefile.PL, and python distutils. Calls them with exactly the same options as cdbs does by default, and allows adding/overriding options. * dh_auto_build: New program, automates building the package by either running make or using setup.py. (Support for cmake and other build systems planned but not yet implemented.) * dh_auto_test: New program, automates running make test or make check if the Makefile has such a target. * dh_auto_clean: New program, automates running make clean (or distclean, or realclean), or using setup.py to clean up. * dh_auto_install: New program, automates running make install, or using setup.py to install. Supports the PREFIX=/usr special case needed by MakeMaker Makefiles. (Support for cmake and other build systems planned but not yet implemented.) * New v7 mode, which only has three changes from v6, and is the new recommended default, especially when using dh. * dh_install: In v7 mode, if --sourcedir is not specified, first look for files in debian/tmp, and then will look in the current directory. This allows dh_install to interoperate with dh_auto_install without needing any special parameters. * dh_clean: In v7 mode, read debian/clean and delete all files listed therein. * dh_clean: In v7 mode, automatically delete *-stamp files. * Add a Makefile and simplify this package's own rules file using all the new toys. * dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not necessarily a core dump.) Closes: #477391 * dh_prep: New program, does the same as dh_clean -k (which will be deprecated later). -- Joey Hess Wed, 23 Apr 2008 23:14:57 -0400 debhelper (6.0.12) unstable; urgency=low * dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for completeness, support .icon files. This matches the set of extensions supported by gtk-update-icon-cache. Closes: #448094 -- Joey Hess Sat, 19 Apr 2008 16:43:31 -0400 debhelper (6.0.11) unstable; urgency=medium * dh_installman: man --recode transparently uncompresses compressed pages. So when saving the output back, save it to a non-compressed filename (and delete the original, compressed file). Closes: #470913 -- Joey Hess Tue, 01 Apr 2008 18:31:12 -0400 debhelper (6.0.10) unstable; urgency=low * dh_perl: Remove empty directories created by MakeMaker. -- Joey Hess Tue, 25 Mar 2008 14:11:57 -0400 debhelper (6.0.9) unstable; urgency=low * dh_installman: Don't recode symlinks. Closes: #471196 -- Joey Hess Sun, 16 Mar 2008 13:53:39 -0400 debhelper (6.0.8) unstable; urgency=low * dh_installman: Convert all man pages in the build directory to utf-8, not just those installed by the program. -- Joey Hess Mon, 10 Mar 2008 18:40:25 -0400 debhelper (6.0.7) unstable; urgency=low * dh_lintian: Finally added this since linda is gone and there's only lintian to worry about supporting. Closes: #109642, #166320, #206765 (Thanks to Steve M. Robbins for the initial implementation.) -- Joey Hess Thu, 06 Mar 2008 13:55:46 -0500 debhelper (6.0.6) unstable; urgency=low * dh_compress: Pass -n to gzip to yield more reproducible file contents. The time stamp information need not be contained in the .gz file since the time stamp is preserved when compressing and decompressing. Closes: #467100 * The order of dependencies generated by debhelper has been completely random (hash key order), so sort it. Closes: #468959 -- Joey Hess Wed, 05 Mar 2008 21:35:21 -0500 debhelper (6.0.5) unstable; urgency=low * dh_installman: Recode all man pages to utf-8 on installation. Closes: #462937 (Colin Watson) * Depend on a new enough version of man-db. -- Joey Hess Mon, 28 Jan 2008 16:43:10 -0500 debhelper (6.0.4) unstable; urgency=low * dh_strip: Improve the idempotency fix put in for #380314. * dh_strip: The -k flag didn't work (--keep did). Fix. * dh_shlibdeps: Add emul to exclude list. -- Joey Hess Sat, 26 Jan 2008 18:32:27 -0500 debhelper (6.0.3) unstable; urgency=low * dh_link: -X can be used to avoid it modifying symlinks to be compliant with policy. Closes: #461392 * dh_shlibdeps: Rather than skipping everything in /usr/lib/debug, which can include debug libraries that dpkg-shlibdeps should look at, only skip the subdirectories of it that contain separate debugging symbols. (Hardcoding the names of those directories is not the best implementation, but it will do for now.) Closes: #461339 -- Joey Hess Sun, 20 Jan 2008 15:27:59 -0500 debhelper (6.0.2) unstable; urgency=low * Revert slightly broken refactoring of some exclude code. Closes: #460340, #460351 -- Joey Hess Sat, 12 Jan 2008 12:31:15 -0500 debhelper (6.0.1) unstable; urgency=low * dh_installdocs/examples: Don't unnecessarily use the exclude code path. * dh_install{,docs,examples}: Avoid infinite recursion when told to install a directory ending with "/." (slashdot effect?) when exclusion is enabled. Emulate the behavior of cp in this case. Closes: #253234 * dh_install: Fix #459426 here too. -- Joey Hess Fri, 11 Jan 2008 14:15:56 -0500 debhelper (6.0.0) unstable; urgency=low * dh_gencontrol: Stop passing -isp, it's the default now. Closes: #458114 * dh_shlibdeps: Update documentation for -L and -l. dpkg-shlibdeps is now much smarter, and these options are almost never needed. Closes: #459226 * dh_shlibdeps: If a relative path is specified in -l, don't prepend the pwd to it, instead just prepend a slash to make it absolute. dpkg-shlibdeps has changed how it used LD_LIBRARY_PATH, so making it point into the package build directory won't work. * dh_shlibdeps: Change "-L pkg" to cause "-Sdebian/pkg" to be passed to dpkg-shlibdeps. The old behavior of passing -L to dpkg-shlibdeps didn't affect where it looked for symbols files. Closes: #459224 * Depend on dpkg-dev 1.14.15, the first to support dpkg-shlibdeps -S. * dh_installdocs, dh_installexamples: Support files with spaces in exclude mode. Closes: #459426 * debhelper v6 mode is finalised and is the new recommended compatibility level. -- Joey Hess Tue, 08 Jan 2008 17:12:36 -0500 debhelper (5.0.63) unstable; urgency=low * dh_installdocs: Tighten doc-base document id parsing to only accept the characters that the doc-base manual allows in the id. Closes: #445541 -- Joey Hess Sat, 22 Dec 2007 22:54:51 -0500 debhelper (5.0.62) unstable; urgency=low * Remove execute bit from desktop files in /usr/share/applications. Closes: #452337 * Fix man page names of translated debhelper(7) man pages. Patch from Frédéric Bothamy. Closes: 453051 * dh_makeshlibs: Use new -I flag to specify symbol files, necessary to properly support includes. Closes: #452717 * Increase dpkg-dev dependency to 1.14.12 to ensure that dh_makeshlibs isn't used with an old dpkg-gensymbols that doesn't support -I. -- Joey Hess Thu, 29 Nov 2007 12:04:59 -0500 debhelper (5.0.61) unstable; urgency=low * Man page fix re v4. Closes: #450608 * dh_makeshlibs: Support symbols files. Closes: #443978 Packages using this support should build-depend on dpkg-dev (>= 1.14.8). Symbols files can be downloaded from mole: http://qa.debian.org/cgi-bin/mole/seedsymbols -- Joey Hess Mon, 19 Nov 2007 14:27:57 -0500 debhelper (5.0.60) unstable; urgency=low * Debhelper is now developed in a git repository. * Reword paragraph about debian/compress files to perhaps be more clear about the debian/compress file. Closes: #448759 * dh_installdirs(1): Remove unnecessary caveat about slashes. * dh_icons: Now that GTK 2.12 has entered testing, use the much simpler to call update-icon-caches command. Thanks, Josselin Mouette. -- Joey Hess Fri, 02 Nov 2007 23:21:08 -0400 debhelper (5.0.59) unstable; urgency=low * dh_installdeb: Add support for dpkg triggers, by installing debian/package.triggers files. -- Joey Hess Mon, 22 Oct 2007 13:59:18 -0400 debhelper (5.0.58) unstable; urgency=low * dh_clean: append "/" to the temp dir name to avoid removing a file with the same name. Closes: #445638 -- Joey Hess Fri, 19 Oct 2007 21:25:50 -0400 debhelper (5.0.57) unstable; urgency=low * Add --ignore option. This is intended to ease dealing with upstream tarballs that contain debian directories, by allowing debhelper config files in those directories to be ignored, since there's generally no good way to delete them out of the upstream tarball, and they can easily get in the way if upstream is using debian/ differently than the Debian maintainer. -- Joey Hess Sun, 30 Sep 2007 13:42:09 -0400 debhelper (5.0.56) unstable; urgency=low * dh_installmodules: Since modutils is gone, stop supporting debian/*.modutils files. Warn about such files. Closes: #443127 -- Joey Hess Tue, 18 Sep 2007 18:16:13 -0400 debhelper (5.0.55) unstable; urgency=low * dh_desktop: Only generate calls to update-desktop-database for desktop files with MimeType fields. Patch from Emmet Hikory. Closes: #427831 * dh_strip: Don't run objcopy if the output file already exists. Closes: #380314 * dh_strip: Check that --dbg-package lists the name of a real package. Closes: #442480 -- Joey Hess Sun, 16 Sep 2007 19:50:08 -0400 debhelper (5.0.54) unstable; urgency=low * dh_strip: Man page reference to policy section on DEB_BUILD_OPTIONS. Closes: #437337 * dh_link: Skip self-links. Closes: #438572 * Don't use - in front of make clean in example rules files. * Typo. Closes: #441272 -- Joey Hess Sat, 08 Sep 2007 21:52:40 -0400 debhelper (5.0.53) unstable; urgency=low * dh_icons: Check for index.theme files before updating the cache. Closes: #432824 -- Joey Hess Fri, 13 Jul 2007 14:51:00 -0400 debhelper (5.0.52) unstable; urgency=low * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach. Closes: #432321 -- Joey Hess Mon, 09 Jul 2007 11:26:18 -0400 debhelper (5.0.51) unstable; urgency=low * dh_icons: New program to update Freedesktop icon caches. Thanks to Josselin Mouette, Ross Burton, Jordi Mallach, and Loïc Minier. Closes: #329460 * Note that as a transitional measure, dh_icons will currently only update existing caches, and not create and new caches. Once everything is updating the icon caches, this will be changed. See #329460 for the full plan. * Remove possibly confusing (though strictly accurate) sentence from dh_installdirs.1. Closes: #429318 * dh_gencontrol: Fix man page typo. Closes: #431232 -- Joey Hess Sun, 08 Jul 2007 18:16:21 -0400 debhelper (5.0.50) unstable; urgency=low * dh_installwm: If a path is not given, assume the file is in usr/bin, since usr/X11R6/bin now points to there. * Update urls to web page. * Add some checks for attempts to act on packages not defined in the control file. (Thanks Wakko) * Use dpkg-query to retrieve conffile info in udev rules upgrade code rather than parsing status directly. (Thanks Guillem) -- Joey Hess Thu, 31 May 2007 13:14:06 -0400 debhelper (5.0.49) unstable; urgency=low * dh_installwm: Fix several stupid bugs, including: - man page handling was supposed to be v6 only and was not - typo in alternatives call - use the basename of the wm to get the man page name Closes: #420158 * dh_installwm: Also make the code to find the man page more robust and fall back to not registering a man page if it is not found. -- Joey Hess Fri, 20 Apr 2007 13:43:35 -0400 debhelper (5.0.48) unstable; urgency=low * Remove use of #SECTION# from dh_installinfo postinst snippet that was accidentally re-added in 5.0.46 due to a corrupt svn checkout. Closes: #419849 -- Joey Hess Wed, 18 Apr 2007 13:24:58 -0400 debhelper (5.0.47) unstable; urgency=low * Fix absurd typo. How did I test for an hour and miss that? Closes: #419612 -- Joey Hess Mon, 16 Apr 2007 18:20:20 -0400 debhelper (5.0.46) unstable; urgency=low * Fix a typo in postinst-udev. -- Joey Hess Mon, 16 Apr 2007 12:39:41 -0400 debhelper (5.0.45) unstable; urgency=low * dh_installudev: Install udev rules directly into /etc/udev/rules.d/, not using the symlinks. MD has agreed that this is more appropriate for most packages. * That fixes the longstanding bug that the symlink was only made on brand new installs of the package, rather than on upgrade to the first version that includes the udev rules file. Closes: #359614 * This avoids the need to run udevcontrol reload_rules, since inotify will see the file has changed. Closes: #414537 * dh_installudev: Add preinst and postinst code to handle cleanly moving the rules file to the new location on upgrade. * This would be a good time for the many packages that manage rules files w/o using dh_installudev to begin to use it.. * Do script fragment reversal only in v6, since it can break certain third party programs such as dh_installtex. Closes: #419060 -- Joey Hess Fri, 13 Apr 2007 12:34:10 -0400 debhelper (5.0.44) unstable; urgency=low * dh_installudev: Don't fail if the link already somehow exists on initial package install. Closes: #415717 * prerm and postrm scripts are now generated in a reverse order than preinst and postinst scripts. For example, if a package uses dh_pysupport before dh_installinit, the prerm will first stop the init script and then remove the python files. * Introducing beginning of v6 mode. * dh_installwm: In v6 mode, install a slave manpage link for x-window-manager.1.gz. Done in v6 mode because some window managers probably work around this longstanding debhelper bug by registering the slave on their own. This bug was only fixable once programs moved out of /usr/X11R6. Closes: #85963 * dh_builddeb: In v6 mode, fix bug in DH_ALWAYS_EXCLUDE handling, to work the same as all the other code in debhelper. This could only be fixed in v6 mode because packages may potentially legitimately rely on the old buggy behavior. Closes: #242834 * dh_installman: In v6 mode, overwrite existing man pages. Closes: #288250 * Add dh_installifupdown. Please consider using this if you have /etc/network/if-up.d, etc files. Closes: #217552 -- Joey Hess Mon, 09 Apr 2007 15:18:22 -0400 debhelper (5.0.43) unstable; urgency=low [ Valery Perrin ] * Correct typo in french translation [ Joey Hess ] * Typo. Closes: #400571 * dh_fixperms: Change a chmod +x to chmod a+x, to avoid the umask influencing it. * Looks like Package-Type might get into dpkg. Support it w/o the XB- too. * dh_installudev: Fix postrm to not fail if the udev symlink is missing. Closes: #406921, #381940 * dh_fixperms: Make all files in /usr/include 644, not only .h files. Closes: #404785 * Man page improvements. Closes: #406707 * dh_installdocs: In v5 mode, now ignore empty files even if they're hidden away inside a subdirectory. The code missed this before. See #200905 * dh_installudev: Support debian/udev files. Closes: #381854 * dh_installudev: Treat --priority value as a string so that leading zeros can be used (also so that a leading "z" that is not "z60" can be specified). Closes: #381851 * Misc minor changes. -- Joey Hess Sun, 21 Jan 2007 12:44:02 -0500 debhelper (5.0.42) unstable; urgency=low [ Valery Perrin ] * Update french translation with recent changes in dh_link and dh_installinfo [ Joey Hess ] * Patch from Simon Paillard to convert French manpages from utf-8 to ISO-8859-15. Closes: #397953 -- Joey Hess Sun, 12 Nov 2006 17:32:23 -0500 debhelper (5.0.41) unstable; urgency=low [ Joey Hess ] * dh_installchangelogs man page typo. Closes: #393155 [ Valery Perrin ] * Encoding french translation from charset ISO-8859-1 to UTF-8 * Update french translation with recent change in dh_installchangelogs [ Joey Hess ] * Tighten python-support and python-central dependencies of debhelper, in an IMHO rather futile attempt to deal with derived distributions. Closes: #395495 * Correct some incorrect instances of "v4 only" in docs. Closes: #381536 * dh_installinfo: Put the section madness to bed by not passing any section information to install-info. Current install-info parses INFO-DIR-SECTION on its own if that's not specified. Closes: #337215 -- Joey Hess Tue, 7 Nov 2006 17:04:47 -0500 debhelper (5.0.40) unstable; urgency=medium [ Valery Perrin ] * Update french translation with recent change in dh_python [ Joey Hess ] * Tighten conflict with python-central. Closes: #391463 -- Joey Hess Fri, 6 Oct 2006 14:21:28 -0400 debhelper (5.0.39) unstable; urgency=low * dh_python: Also be a no-op if there's a Python-Version control file field. -- Joey Hess Tue, 3 Oct 2006 13:02:24 -0400 debhelper (5.0.38) unstable; urgency=low [ Valery Perrin ] * Update french translation with recent change in dh_installmodules [ Joey Hess] * ACK last three NMUs with thanks to Raphael Hertzog for making the best of a difficult situation. * Revert all dh_python changes. Closes: #381389, #378604 * Conflict with python-support <= 0.5.2 and python-central <= 0.5.4. * Make dh_python do nothing if debian/pycompat is found. The new versions of dh_pysupport or dh_pycentral will take care of everything dh_python used to do in this situation. * dh_python is now deprecated. Closes: #358392, #253582, #189474 * move po4a to Build-Depends as it's run in clean. * Add size test, which fails on any debhelper program of more than 150 lines (excluding POD). This is not a joke, and 100 lines would be better. * Add size test exception for dh_python, since it's deprecated. -- Joey Hess Sun, 1 Oct 2006 13:07:40 -0400 debhelper (5.0.37.3) unstable; urgency=low * Non-maintainer upload. * Update of dh_python - when building for a non-standard Python version, generate more reasonable Depends like "python (>= X.Y) | pythonX.Y" Closes: #375576 - fix handling of private extensions. Closes: #375948 - fix parsing of XS-Python-Version, it didn't work if only fixed versions were listed in XS-Python-Version. - fix use of uninitialized value. Closes: #374776 - fix typos in POD documentation. Closes: #375936 -- Raphael Hertzog Mon, 10 Jul 2006 13:20:06 +0200 debhelper (5.0.37.2) unstable; urgency=low * Non-maintainer upload. * Update of dh_python - vastly refactored, easier to understand, and the difference between old policy and new policy is easier to grasp - it supports an -X option which can be used to not scan some files - uses debian/pyversions as reference source of information for dependencies but also parse the XS-Python-Version header as fallback. - ${python:Versions}'s default value is XS-Python-Version's value instead of "all" when the package doesn't depend on a specific python version. Closes: #373853 - always generate ${python:Provides} and leave the responsibility to the maintainer to not use ${python:Provides} if he doesn't want the provides. - uses debian/pycompat or DH_PYCOMPAT as reference field to run in new policy mode. The presence of XS-Python-Version will also trigger the new policy mode (this is for short-term compatibility, it may be removed in the not too-distant future). DH_PYCOMPAT=1 is the default mode and is compatible to the old policy. DH_PYCOMPAT=2 is the new mode and is compatible with the new policy. * Use "grep ^Version:" instead of "grep Version:" on the output of dpkg-parsechangelog since the above changelog entry matched "Version:" and thus made the build fail. -- Raphael Hertzog Sat, 17 Jun 2006 20:44:29 +0200 debhelper (5.0.37.1) unstable; urgency=low * Non-maintainer upload. * Integrate the new dh_python implementing the new Python policy. Closes: #370833 -- Raphael Hertzog Mon, 12 Jun 2006 08:58:22 +0200 debhelper (5.0.37) unstable; urgency=low * dh_installmodules: depmod -a is no longer run during boot, so if a module package is installed for a kernel other than the running kernel, just running depmod -a in the postinst is no longer sufficient. Instead, run depmod -a -F /boot/System.map- The kernel version is guessed at based on the path to the modules in the package. Closes: #301424 * dh_installxfonts: In postrm, run the deregistraton code even on upgrade, in case an upgrade involves moving fonts around (or removing or renaming fonts). Closes: #372686 -- Joey Hess Sun, 11 Jun 2006 21:17:38 -0400 debhelper (5.0.36) unstable; urgency=low [ Valery Perrin ] * Update french translation with recent change in dh_installxfonts [ Joey Hess ] * Remove old alternate dependency on fileutils. Closes: #370011 * Patch from Guillem Jover to make --same-arch handling code support the new form of architecture wildcarding which allows use of things like "linux-any" and "any-i386" in the Architecture field. Closes: #371082 * Needs dpkg-dev 1.13.13 for dpkg-architecture -s support needed by above, but already depends on that. -- Joey Hess Fri, 9 Jun 2006 14:57:19 -0400 debhelper (5.0.35) unstable; urgency=low * dh_installman: When --language is used, be smarter about stripping language codes from man page filenames. Only strip things that look like codes that match the specified languages. Closes: #366645 * dh_installxfonts: /etc/X11/fonts/X11R7 is deprecated, back to looking in old location, and not passing --x11r7-layout to update-fonts-alias and update-fonts-scale (but still to update-fonts-dir). Closes: #366234 -- Joey Hess Wed, 10 May 2006 20:09:00 -0400 debhelper (5.0.34) unstable; urgency=low * dh_installcatalogs: Make sure that /etc/sgml exists. Closes: #364946 -- Joey Hess Thu, 27 Apr 2006 12:07:56 -0400 debhelper (5.0.33) unstable; urgency=low [ Valery Perrin ] * Update french translation with recent change in dh_installxfonts [ Joey Hess ] * dh_installxfonts: Patch from Theppitak Karoonboonyanan to fix an instance of /etc/X11/fonts/ that was missed before. Closes: #364530 -- Joey Hess Sun, 23 Apr 2006 22:37:54 -0400 debhelper (5.0.32) unstable; urgency=low * dh_installudev: Include rules.d directory so symlink can be made even before udev is installed. Closes: #363307 -- Joey Hess Tue, 18 Apr 2006 10:13:54 -0400 debhelper (5.0.31) unstable; urgency=low [ Valery Perrin ] * Update french translation with recent changes in dh_installxfonts, dh_link and dh_compress manpages * Delete -f option in po4a command line. Bug in po4a has been corrected in new version (0.24.1). * Change build-depends for po4a. New version (0.24.1). * Add code for removing empty "lang" directories into man/ when cleaning. [ Joey Hess ] * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ensure they use the right new directory. Closes: #362820 * dh_installxfonts: also, alias files have moved from /etc/X11/fonts/* to /etc/X11/fonts/X11R7/*, update call to update-fonts-alias and the man page accordingly; packages containing alias files will need to switch to the new directory on their own. * dh_installudev: correct documentation for --name. Closes: #363028 * Fix broken directory removal code. -- Joey Hess Mon, 17 Apr 2006 16:12:41 -0400 debhelper (5.0.30) unstable; urgency=low * Convert the "I have no packages to build" error into a warning. Am I really the first person to run into the case of a source package that builds an arch all package and an single-arch package? In this case, the binary-arch target needs to use -s and do nothing when run on some other arch, and debhelper will now support this. -- Joey Hess Fri, 14 Apr 2006 00:35:55 +0200 debhelper (5.0.29) unstable; urgency=low * dh_installxfonts: Random hack to deal with X font dirs moving to /usr/share/fonts/X11/ -- look there for fonts as well as in the old location, although the old location probably won't be seen by X anymore. * dh_installxfonts: Generate misc:Depends on new xfonts-utils. * dh_compress: compress pcm fonts under usr/share/fonts/X11/ * dh_link: change example that used X11R6 directory. -- Joey Hess Thu, 13 Apr 2006 10:29:29 +0200 debhelper (5.0.28) unstable; urgency=low * dh_makeshlibs: Fix udeb package name regexp. Closes: #361677 -- Joey Hess Sun, 9 Apr 2006 13:05:50 -0400 debhelper (5.0.27) unstable; urgency=low [ Joey Hess ] * Typo. Closes: #358904 * dh_install: swap two paras in man page for clarity. Closes: #359182 * dh_installman: die with an error if a man page read for so lines fails Closes: #359020 [ Valery Perrin ] * Update pot file and french translation with recent changes in dh_installdirs and dh_movefiles manpages -- Joey Hess Thu, 30 Mar 2006 15:22:12 -0500 debhelper (5.0.26) unstable; urgency=high * dh_installinit: Fix badly generated code in maintscripts that used || exit 0 instead of the intended || exit $? due to a bad shell expansion and caused invoke-rc.d errors to be ignored. Closes: #337664 Note: This has been broken since version 4.2.12 and has affected many packages. -- Joey Hess Wed, 22 Mar 2006 19:33:38 -0500 debhelper (5.0.25) unstable; urgency=low * dh_installdebconf: For udebs, misc:Depends will now contain cdebconf-udeb. -- Joey Hess Wed, 15 Mar 2006 16:13:05 -0500 debhelper (5.0.24) unstable; urgency=low [ Joey Hess ] * Add dh_installudev by Marco d'Itri. [ vperrin forgot to add this to the changelog when committing ] * Update pot file and french translation with recent changes in the dh_installdebconf manpage * Add -f option to force .pot file re-building. This is in waiting a patch, correcting a bug in po4a_0.23.1 * Add --rm-backups in clean: Otherwise ll.po~ are included in the source package. (see debhelper_5.0.22.tar.gz) -- Joey Hess Thu, 23 Feb 2006 11:40:22 -0500 debhelper (5.0.23) unstable; urgency=low * dh_strip: remove binutils build-dep lines since stable has a new enough version. Closes: #350607 * dh_installdebconf: drop all support for old-style translated debconf templates files via debconf-mergetemplate (keep a warning if any are found, for now). Allows dropping debhelper's dependency on debconf-utils. Closes: #331796 -- Joey Hess Mon, 20 Feb 2006 16:42:30 -0500 debhelper (5.0.22) unstable; urgency=low * dh_makeshlibs: add support for adding udeb: lines to shlibs file via --add-udeb parameter. Closes: #345471 * dh_shlibdeps: pass -tudeb to dpkg-shlibdeps for udebs. Closes: #345472 * Depends on dpkg-dev 1.13.13 for dh_shlibdeps change. -- Joey Hess Sat, 28 Jan 2006 13:04:53 -0500 debhelper (5.0.21) unstable; urgency=low * dh_installman: correct mistake that broke translated man page installation Closes: #349995 -- Joey Hess Thu, 26 Jan 2006 12:32:44 -0500 debhelper (5.0.20) unstable; urgency=low * Minor bug fix from last release. -- Joey Hess Mon, 23 Jan 2006 20:29:10 -0500 debhelper (5.0.19) unstable; urgency=low * dh_installman: add support for --language option to override man page language guessing. Closes: #193221 -- Joey Hess Mon, 23 Jan 2006 18:52:00 -0500 debhelper (5.0.18) unstable; urgency=low * Improved po4a cleaning. Closes: #348521 * Reverted change in 4.1.9, so generation of EXCLUDE_FIND escapes "." to "\\.", which turns into "\." after being run through the shell, and prevents find from treating -X.svn as a regexp that matches files such as foo/svn.vim. (It's safe to do this now that all uses of EXCLUDE_FIND are via complex_doit(), which was not the case of dh_clean when this change was originally made.) Closes: #349070 -- Joey Hess Fri, 20 Jan 2006 17:09:31 -0500 debhelper (5.0.17) unstable; urgency=low * dh_python: Temporarily revert change in 5.0.13 to make use of python-support for packages providing private modules or python-only modules, since python policy hasn't been updated for this yet. Closes: #347758 -- Joey Hess Mon, 16 Jan 2006 17:39:20 -0500 debhelper (5.0.16) unstable; urgency=low * Fix dangling markup in dh_installinit pod. Closes: #348073 * Updated French translation from Valéry Perrin. Closes: #348074 -- Joey Hess Sun, 15 Jan 2006 17:29:27 -0500 debhelper (5.0.15) unstable; urgency=low * Fix ghastly option parsing error in last release that broke --noscripts (-n was ok). Thanks, Marc Haber. Closes: #347577 -- Joey Hess Wed, 11 Jan 2006 12:38:41 -0500 debhelper (5.0.14) unstable; urgency=low * dh_installinit: If run with -o, do the inverse of -n and only set up maintainer script snippets, w/o installing any files. Useful for those edge cases where the init script is provided by upstream and not easily installed by dh_installinit but where it's worth letting it manage the maintainer scripts anyway. Closes: #140881, #184980 * -o might be added for other similar commands later if there is any reason to. And yeah, it means that -no is close to a no-op.. -- Joey Hess Sun, 8 Jan 2006 17:21:52 -0500 debhelper (5.0.13) unstable; urgency=low [ Joey Hess ] * debhelper svn moved to alioth * debhelper(7): document previous dh_install v5 change re wildcarding. * dh_link: add special case handling for paths to a directory containing the link. Closes: #346405 * dh_link: add special case handling for link to / [ Josselin Mouette ] * dh_python: make use of python-support for packages providing private modules or python-only modules. This should greatly reduce the number of packages needing to transition together with python. * postinst-python: don't build the .pyo files, they aren't even used! * dh_gconf: add support for debian/package.gconf-defaults, to provide defaults for a package without patching the schemas. -- Joey Hess Sat, 7 Jan 2006 23:34:26 -0500 debhelper (5.0.12) unstable; urgency=low * dh_installdocs: document that -X affects doc-base file installation. Closes: #345291 -- Joey Hess Fri, 30 Dec 2005 14:27:14 -0500 debhelper (5.0.11) unstable; urgency=low * French translation update. Closes: #344133 -- Joey Hess Tue, 20 Dec 2005 14:40:25 -0500 debhelper (5.0.10) unstable; urgency=low * dh_installdocs: Fix bug introduced by empty file skipping that prevented errors for nonexistent files. Closes: #342729 -- Joey Hess Fri, 9 Dec 2005 18:05:15 -0500 debhelper (5.0.9) unstable; urgency=low * dh_installmodules: always run depmod, since if module-init-tools but not modutils is installed, it will not get run by update-modules. Closes: #339658 -- Joey Hess Thu, 8 Dec 2005 13:04:11 -0500 debhelper (5.0.8) unstable; urgency=low * Man page type fixes (yes, more, nice to know people read the man pages). Closes: #341289 * dh_installdocs: Make -X also exclude matching doc-base files from being installed. Closes: #342033 -- Joey Hess Mon, 5 Dec 2005 14:31:23 -0500 debhelper (5.0.7) unstable; urgency=low * Patch from Valéry Perrin to update French translation, and also update the po4a stuff. Closes: #338713 * Fix a bad regexp in -s handling code that breaks if an architecture name, such as i386-uclibc is the hyphenated version of a different arch. Closes: #338555 -- Joey Hess Sun, 13 Nov 2005 13:28:13 -0500 debhelper (5.0.6) unstable; urgency=low * Pass --name in debhelper.pod pod2man run. Closes: #338349 -- Joey Hess Wed, 9 Nov 2005 16:08:27 -0500 debhelper (5.0.5) unstable; urgency=low * Create Dh_Version.pm before running syntax test. Closes: #338337 -- Joey Hess Wed, 9 Nov 2005 15:41:06 -0500 debhelper (5.0.4) unstable; urgency=low * Remove hardcoded paths to update-modules and gconf-schemas in various script fragments. * dh_clean: Patch from Matej Vela to clean up autom4te.cache directories in subdiretories of the source tree and do it all in one enormous, evil, and fast find expression. Closes: #338193 -- Joey Hess Tue, 8 Nov 2005 16:16:56 -0500 debhelper (5.0.3) unstable; urgency=low * Remove dh_shlibs from binary-indep section of debian/rules. * Add t/syntax to make sure all dh_* commands and the libraries syntax check ok. -- Joey Hess Mon, 7 Nov 2005 15:18:12 -0500 debhelper (5.0.2) unstable; urgency=low * Sometimes it's a good idea to edit more files than just the changelog before releasing. -- Joey Hess Thu, 3 Nov 2005 11:54:46 -0500 debhelper (5.0.1) unstable; urgency=low * dh_installinfo: Escape section with \Q \E. Closes: #337215 -- Joey Hess Thu, 3 Nov 2005 11:04:21 -0500 debhelper (5.0.0) unstable; urgency=low * debhelper v5 mode is finalised and the new recommended compatibility level. Unless your package uses dh_strip --dbg-package, switching to v5 is 99.999% unlikely to change anything in a package, and it allows adding comments to all your debhelper config files, so I recommend making the switch as soon as this version reaches testing. * debhelper.1: Explicitly document that docs describe latest compat level and changes from earlier levels are concentrated in the "Debhelper compatibility levels" section of debhelper.1. Closes: #336906 * Deprecate v3. * dh_install: Add package name to missing files error. Closes: #336908 -- Joey Hess Tue, 1 Nov 2005 18:54:29 -0500 debhelper (4.9.15) unstable; urgency=low * Patches from Ghe Rivero to fix outdated paths in French and Spanish translations of dh_installmenus(1). Closes: #335314 * add.fr update. Closes: #335727 -- Joey Hess Tue, 25 Oct 2005 19:51:54 -0400 debhelper (4.9.14) unstable; urgency=low * dh_installmanpages: Remove X11 man page special case; X man pages are ok in standard man dirs. * French mn page translation update. Closes: #335178, #334765 -- Joey Hess Sat, 22 Oct 2005 13:41:09 -0400 debhelper (4.9.13) unstable; urgency=low * dh_strip: Man page typo fix. Closes: #332747 -- Joey Hess Sat, 8 Oct 2005 12:31:22 -0400 debhelper (4.9.12) unstable; urgency=low * dh_installdeb: Don't autogenerate conffiles for udebs. Let's ignore conffiles (and shlibs) files for udebs too. Closes: #331237 -- Joey Hess Sun, 2 Oct 2005 12:00:22 -0400 debhelper (4.9.11) unstable; urgency=low * Patch from Valéry Perrin to update the Spanish translation. Closes: #329132 -- Joey Hess Tue, 27 Sep 2005 10:26:07 -0400 debhelper (4.9.10) unstable; urgency=low * Patch from Valéry Perrin to use po4a for localised manpages. Thanks! Closes: #328791 -- Joey Hess Thu, 22 Sep 2005 23:11:12 +0200 debhelper (4.9.9) unstable; urgency=low * dh_shlibdeps: Avoid a use strict warning in some cases if LD_LIBRARY_PATH is not set. * ACK NMU. Closes: #327209 -- Joey Hess Wed, 7 Sep 2005 15:32:53 -0400 debhelper (4.9.8.1) unstable; urgency=low * NMU with maintainer approval. * dh_gconf: delegate schema registration the gconf-schemas script, which moves schemas to /var/lib/gconf, and require gconf2 2.10.1-2, where it can be found. Closes: #327209 -- Josselin Mouette Wed, 21 Sep 2005 23:39:01 +0200 debhelper (4.9.8) unstable; urgency=low * Spelling patch from Kumar Appaiah. Closes: #324892 -- Joey Hess Fri, 26 Aug 2005 22:12:41 -0400 debhelper (4.9.7) unstable; urgency=low * dh_installdocs: Fix stupid and horrible typo. Closes: #325098 -- Joey Hess Fri, 26 Aug 2005 09:20:47 -0400 debhelper (4.9.6) unstable; urgency=low * dh_installdocs: Install symlinks to in -x mode, same as in non exclude mode. Closes: #324161 -- Joey Hess Wed, 24 Aug 2005 16:20:02 -0400 debhelper (4.9.5) unstable; urgency=low * dh_install: in v5 mode, error out if there are wildcards in the file list and the wildcards expand to nothing. Done only for v5 as this is a behavior change. Closes: #249815 * dh_usrlocal: generate prerm scripts that do not remove directories in /usr/local, but only subdirectories thereof, in accordance with policy. Closes: #319181 -- Joey Hess Wed, 20 Jul 2005 10:08:05 -0400 debhelper (4.9.4) unstable; urgency=low * dh_clean: switch to using complex_doit for the evil find command and quoting everything explicitly rather than the doit approach used before. This way all uses of EXCLUDE_FIND will use complex_doit, which is necessary for sanity. * Dh_Lib.pm: Make COMPLEX_DOIT properly escape wildcards for use with complex_doit. Before they were unescaped, which could lead to subtle breakage. -- Joey Hess Tue, 19 Jul 2005 12:47:30 -0400 debhelper (4.9.3) unstable; urgency=high * Fix typo in postrm-modules fragment. Closes: #316069 Recommend any dh_installmodules users rebuild ASAP. -- Joey Hess Tue, 28 Jun 2005 17:41:51 -0400 debhelper (4.9.2) unstable; urgency=low * Fix typo in dh_install example. Closes: #314964 * Fix deprecation message. Closes: #315517 -- Joey Hess Mon, 20 Jun 2005 16:17:05 -0400 debhelper (4.9.1) unstable; urgency=low * Fix typo in dh_strip. -- Joey Hess Mon, 13 Jun 2005 20:32:12 -0400 debhelper (4.9.0) unstable; urgency=low * Begin work on compatibility level 5. The set of changes in this mode is still being determined, and will be until debhelper version 5.0 is released, so use at your own risk. * dh_strip: In v5, make --dbg-package specify a single debugging package that gets the debugging symbols from the other packages acted on. Closes: #230588 * In v5, ignore comments in config files. Only comments at the start of lines are ignored. Closes: #206422 * In v5, also ignore empty lines in config files. Closes: #212162 * In v5, empty files are skipped by dh_installdocs. * Use v5 to build debhelper. * Add deprecation warnings for debhelper v1 and v2. * Document getpackages in PROGRAMMING. * Add another test-case for dh_link. * dh_python: Minimal fix from Joss for -V to make it search the right site-packages directories. Closes: #312661 * Make compat() cache the expensive bits, since we run it more and more, including twice per config file line now.. * Add a "run" program to source tree to make local testing easier and simplify the rules file. * Man page typo fixes. Closes: #305806, #305816 * dh_installmenu: menus moved to /usr/share/menu. Closes: #228618 Anyone with a binary executable menu file is SOL but there are none in debian currently. * Removed old versioned build deps for stuff that shipped in sarge or earlier, mostly to shut up linda and lintian's stupid messages. -- Joey Hess Thu, 9 Jun 2005 10:01:20 -0400 debhelper (4.2.36) unstable; urgency=low * Spanish translation update for dh_installdebconf(1). * YA man page typo fix. Closes: #308182 -- Joey Hess Sun, 8 May 2005 13:02:22 -0400 debhelper (4.2.35) unstable; urgency=low * Man page typo fixes. Closes: #305809, #305804, #305815, #305810 Closes: #305812, #305814, #305819, #305818, #305817, #305822 -- Joey Hess Fri, 22 Apr 2005 11:27:55 -0400 debhelper (4.2.34) unstable; urgency=low * The infinite number of monkeys release. * dh_md5sums: don't crash if PWD contains an apostrophe. Closes: #305226 -- Joey Hess Wed, 20 Apr 2005 21:06:43 -0400 debhelper (4.2.33) unstable; urgency=low * Update Spanish translation of dh_clean man page. Closes: #303052 * dh_installmodules autoscripts: Now that return code 3 is allocated by update-modules to indicate /etc/modules.conf is not automatically generated, we can ignore that return code since it's not a condition that should fail an installation. Closes: #165400 * dh_md5sums: Fix exclusion of conffiles. Thanks, Damir Dzeko (note: this was broken in version 4.1.22) -- Joey Hess Sat, 9 Apr 2005 17:27:12 -0400 debhelper (4.2.32) unstable; urgency=low * Patch from Fabio Tranchitella to add support for #DEBHELPER# substitutions in config files, although nothing in debhelper itself uses such substitutions, third-party addons may. Closes: #301657 * Factor out a debhelper_script_subst from dh_installdeb and dh_installdebconf. -- Joey Hess Sun, 27 Mar 2005 11:29:01 -0500 debhelper (4.2.31) unstable; urgency=low * Updated dh_installmime Spanish translation. * Spelling fix. Closes: #293158 * Patch from Matthias to split out a package_arch and export it in Dh_Lib. Closes: #295383 -- Joey Hess Wed, 16 Feb 2005 13:47:29 -0500 debhelper (4.2.30) unstable; urgency=low * dh_installmime: Patch from Loïc Minier to add support for installing "sharedmimeinfo" files and calling update-mime-database. Closes: #255719 * Modified patch to not hardcode pathnames. * Modified other autoscripts so there are no hardcoded pathnames at all any more. -- Joey Hess Tue, 4 Jan 2005 18:44:11 -0500 debhelper (4.2.29) unstable; urgency=low * dh_installdocs Spanish manpage update * dh_installlogcheck: change permissions of logcheck rulefiles from 600 to 644, at request of logcheck maintainer. Closes: #288357 * dh_installlogcheck: fix indentation -- Joey Hess Wed, 15 Dec 2004 08:53:37 -0500 debhelper (4.2.28) unstable; urgency=low * dh_python: Add 2.4 to python_allversions. Closes: #285608 -- Joey Hess Tue, 14 Dec 2004 13:08:56 -0500 debhelper (4.2.27) unstable; urgency=low * dh_desktop: Fix underescaping of *.desktop in call to find. Closes: #284832 -- Joey Hess Thu, 9 Dec 2004 14:32:41 -0500 debhelper (4.2.26) unstable; urgency=low * dh_makeshlibs spanish translation update * Add example to dh_installdocs man page. Closes: #283857 * Clarify dh_python's documentation of -V and error if the version is unknown. Closes: #282924 -- Joey Hess Wed, 8 Dec 2004 14:44:44 -0500 debhelper (4.2.25) unstable; urgency=low * dh_shlibdeps: Only set LD_LIBRARY_PATH when calling dpkg-shlibdeps. Closes: #283413 -- Joey Hess Mon, 29 Nov 2004 13:21:05 -0500 debhelper (4.2.24) unstable; urgency=low * Spanish man page updates. * Improve the documentation of dh_makeshlibs behavior in v4 mode. Closes: #280676 -- Joey Hess Sat, 30 Oct 2004 18:52:00 -0400 debhelper (4.2.23) unstable; urgency=low * Fix typo introduced last release. Closes: #278727 -- Joey Hess Thu, 28 Oct 2004 20:51:05 -0400 debhelper (4.2.22) unstable; urgency=low * dh_desktop Spanish man page from Ruben Porras. * dh_desktop: reindent * dh_desktop: only register files in /usr/share/applications with update-desktop-database. Closes: #278353 -- Joey Hess Sat, 16 Oct 2004 13:42:29 -0400 debhelper (4.2.21) unstable; urgency=low * Add dh_desktop, from Ross Burton. Closes: #275454 -- Joey Hess Tue, 12 Oct 2004 14:31:07 -0400 debhelper (4.2.20) unstable; urgency=HIGH * dpkg-cross is fixed in unstable, version the conflict. Closes: #265777 -- Joey Hess Wed, 25 Aug 2004 08:05:42 -0400 debhelper (4.2.19) unstable; urgency=HIGH * Conflict with dpkg-cross since it breaks dh_strip. -- Joey Hess Fri, 13 Aug 2004 21:50:12 -0300 debhelper (4.2.18) unstable; urgency=low * Add dh_shlibdeps see also. Closes: #261367 * Update dh_gconf man page for new schema location. Closes: #264378 * debhelper.7 man page typo fix. Closes: #265603 -- Joey Hess Fri, 13 Aug 2004 19:16:51 -0300 debhelper (4.2.17) unstable; urgency=low * Spanish man page updates from Ruben Porras. Closes: #261516 -- Joey Hess Mon, 26 Jul 2004 21:41:37 -0400 debhelper (4.2.16) unstable; urgency=low * dh_gconf: fix glob escaping in find for schemas. Closes: #260488 -- Joey Hess Tue, 20 Jul 2004 17:20:21 -0400 debhelper (4.2.15) unstable; urgency=low * dh_gconf: deal with problems if /etc/gconf/schemas doesn't exist any more (#258901) -- Joey Hess Mon, 12 Jul 2004 11:52:45 -0400 debhelper (4.2.14) unstable; urgency=low * Make dh_gconf postinst more portable. * Strip epoch when generating udeb filenames. Closes: #258864 -- Joey Hess Sat, 10 Jul 2004 11:15:34 -0400 debhelper (4.2.13) unstable; urgency=low * Spanish man page updates from Ruben Porras. Closes: #247382 * dh_gconf: gconf schemas moved to /usr/share/gconf/schemas. Relocate schemas from /etc/gconf/schemas. (Josselin Mouette) * dh_gconf: kill gconfd-2 so that the newly installed schemas are available straight away. (Josselin Mouette) * dh_gconf: fix bashism in restart of gconfd-2 * dh_gconf: fix inaccuracy in man page; gconfd-2 is HUPPed, not killed. * dh_scrollkeeper: stop adding scrollkeeper to misc:Depends, since the postinst will not run it if it's not installed, and a single run after it's installed is sufficient to find all documents. Closes: #256745 * dh_fixperms: make .ali files mode 444 to prevent recompilation by GNAT. For speed, only scan for .ali files in usr/lib/ada. Closes: #245211 * dh_python: check to make sure compileall.py is available before running it in the postinst. Closes: #253112 * dh_installmodules: install debian/package.modprobe into etc/modprobe.d/ for module-init-tools. These files can sometimes need to differ from the etc/modutils/ files. Closes: #204336, #234495 * dh_installmanpages is now deprecated. * Add a test case for bug #244157, and fixed the inverted ok() parameters in the others, and added a few new tests. * dh_link: applied GOTO Masanori's patch to fix conversion of existing relative symlinks between top level directories. Closes: #244157 * Warn if debian/compat is empty. -- Joey Hess Tue, 6 Jul 2004 12:52:30 -0400 debhelper (4.2.12) unstable; urgency=low * dh_installinit: Added --error-handler option. Based on work by Thom May. Closes: #209090 -- Joey Hess Mon, 28 Jun 2004 19:49:15 -0400 debhelper (4.2.11) unstable; urgency=low * dh_installmodules: Look for .ko files too. Closes: #248624 * dh_fixperms: fix permissions of .h files. Closes: #252492 -- Joey Hess Thu, 13 May 2004 11:25:42 -0300 debhelper (4.2.10) unstable; urgency=low * dh_strip: if an .a file is not a binary file, do not try to strip it. This deals with linker scripts used on the Hurd. Closes: #246366 -- Joey Hess Wed, 28 Apr 2004 14:36:39 -0400 debhelper (4.2.9) unstable; urgency=low * dh_installinfo: escape '&' characters in INFO-DIR-SECTION when calling sed. Also support \1 etc for completeness. Closes: #246301 -- Joey Hess Wed, 28 Apr 2004 14:06:16 -0400 debhelper (4.2.8) unstable; urgency=low * Spanish translation of dh_installppp from Ruben Porras. Closes: #240844 * dh_fixperms: Make executable files in /usr/games. Closes: #243404 -- Joey Hess Mon, 12 Apr 2004 18:31:18 -0400 debhelper (4.2.7) unstable; urgency=low * Add support for cron.hourly. Closes: #240733 -- Joey Hess Sun, 28 Mar 2004 22:14:42 -0500 debhelper (4.2.6) unstable; urgency=low * Bump dh_strip's recommended bintuils dep to current. Closes: #237304 -- Joey Hess Sat, 27 Mar 2004 20:04:19 -0500 debhelper (4.2.5) unstable; urgency=low * Spanish man page updates by Ruben Possas and Rudy Godoy. -- Joey Hess Wed, 24 Mar 2004 15:08:54 -0500 debhelper (4.2.4) unstable; urgency=low * dh_installdocs: ignore .EX files as produced by dh-make. * dh_movefiles: if the file cannot be found, do not go ahead and try to move it anyway, as this can produce unpredictable behavior with globs passed in from the shell. See bug #234105 -- Joey Hess Fri, 20 Feb 2004 10:43:33 -0500 debhelper (4.2.3) unstable; urgency=low * dh_movefiles: use xargs -0 to safely remove files with whitespace, etc. Patch from Yann Dirson. Closes: #233226 -- Joey Hess Wed, 18 Feb 2004 18:57:05 -0500 debhelper (4.2.2) unstable; urgency=low * dh_shlibdeps: Turn on for udebs. It's often wrong (and ignored by d-i), but occasionally right and necessary. -- Joey Hess Thu, 12 Feb 2004 13:36:29 -0500 debhelper (4.2.1) unstable; urgency=low * dh_installxfonts(1): fix link to policy. Closes: #231918 * dh_scrollkeeper: patch from Christian Marillat Closes: #231703 - Remove DTD changes since docbook-xml not supports xml catalogs. - Bump scrollkeeper dep to 0.3.14-5. * dh_installinfo: remove info stuff on update as well as remove. Policy is unclear/wrong. Closes: #231937 -- Joey Hess Mon, 9 Feb 2004 18:20:40 -0500 debhelper (4.2.0) unstable; urgency=low * Added udeb support, as pioneered by di-packages-build. Understands "XC-Package-Type: udeb" in debian/control. See debhelper(1) for details. * Dh_Lib.pm: add and export is_udeb and udeb_filename * dh_builddeb: name udebs with proper extension * dh_gencontrol: pass -n and filename to dpkg-gencontrol * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, dh_installexamples, dh_installman, dh_installmanpages: skip udebs * dh_shlibdeps: skip udebs. This may be temporary. * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, or prerms for udebs. Do not substitute #DEBHELPER# tokens in postinst scripts for udebs. * dh_installdebconf: skip config script for udebs, still do templates -- Joey Hess Sun, 8 Feb 2004 22:51:57 -0500 debhelper (4.1.90) unstable; urgency=low * dh_strip: Add note to man page that the detached debugging symbols options mean the package must build-depend on a new enough version of binutils. Closes: #231382 * dh_installdebconf: The debconf dependency has changed to include "| debconf-2.0". Closes: #230622 -- Joey Hess Sat, 7 Feb 2004 15:10:10 -0500 debhelper (4.1.89) unstable; urgency=low * dh_scrollkeeper: Make postinst /dev/null stdout of which test. -- Joey Hess Fri, 23 Jan 2004 16:00:21 -0500 debhelper (4.1.88) unstable; urgency=low * dh_strip: Fix a unquoted string in regexp in the dbg symbols code. Closes: #228272 -- Joey Hess Sat, 17 Jan 2004 20:13:32 -0500 debhelper (4.1.87) unstable; urgency=low * dh_gconf: Add proper parens around the package version in the misc:Depends setting. -- Joey Hess Fri, 16 Jan 2004 12:53:43 -0500 debhelper (4.1.86) unstable; urgency=low * dh_gconf: Fix man page typos, thanks Ruben Porras. Closes: #228076 * dh_gconf: Spanish man page from Ruben Porras. Closes: #228075 -- Joey Hess Fri, 16 Jan 2004 12:43:58 -0500 debhelper (4.1.85) unstable; urgency=low * dh_install: add missing parens to the $installed regexp. Closes: #227963 * dh_install: improve wording of --list-missing messages -- Joey Hess Thu, 15 Jan 2004 22:45:42 -0500 debhelper (4.1.84) unstable; urgency=low * Added dh_gconf command from Ross Burton. Closes: #180882 * dh_scrollkeeper: Make postinst fragment test for scrollkeeper-update. Closes: #225337 * Copyright update. * Include full text of the GPL in the source package, because goodness knows, I need another copy of that in subversion.. -- Joey Hess Sun, 11 Jan 2004 14:14:15 -0500 debhelper (4.1.83) unstable; urgency=low * Clarify dh_install's autodest behavior with wildcards. Closes: #224707 -- Joey Hess Sun, 21 Dec 2003 12:18:37 -0500 debhelper (4.1.82) unstable; urgency=low * Add remove guard to prerm-info. Closes: #223617 * Remove #INITPARMS# from call to update-rc.d in postrm-init. Closes: #224090 -- Joey Hess Tue, 16 Dec 2003 16:33:19 -0500 debhelper (4.1.81) unstable; urgency=low * Removed the no upstream changelog for debian packages test. Even though it has personally saved me many times, debhelper is not intended to check packages for mistakes, and apparently it makes sense for some "native" packages to have a non-Debian changelog. Closes: #216099 * If a native package has an upstream changelog, call the debian/changelog changelog.Debian. * postinst-menu-method: always chmod menu-method executable even if update-menus is not. Closes: #220576 * dh_installmenu: do not ship menu-methods executable. -- Joey Hess Sun, 30 Nov 2003 13:16:14 -0500 debhelper (4.1.80) unstable; urgency=low * Add the Spanish manpages I missed last time. Closes: #218718 * dh_installman: support compressed man pages when finding .so links. Closes: #218136 -- Joey Hess Thu, 6 Nov 2003 16:15:23 -0500 debhelper (4.1.79) unstable; urgency=low * dh_strip: typo. Closes: #218745 * Updated Spanish man page translations for: debhelper dh_installcron dh_installinit dh_installlogrotate dh_installman dh_installmodules dh_installpam dh_install dh_movefiles dh_strip Closes: #218718 -- Joey Hess Sun, 2 Nov 2003 15:26:07 -0500 debhelper (4.1.78) unstable; urgency=low * dh_installcatalogs: Fixed to create dir in tmpdir. Closes: #218237 -- Joey Hess Sun, 2 Nov 2003 15:26:02 -0500 debhelper (4.1.77) unstable; urgency=low * Remove the "L" from reference to menufile(5). Closes: #216042 -- Joey Hess Thu, 16 Oct 2003 13:33:12 -0400 debhelper (4.1.76) unstable; urgency=low * Patch from Andrew Suffield to make dh_strip support saving the debugging symbols with a --keep-debug flag and dh_shlibdeps skip /usr/lib/debug. Thanks! Closes: #215670 * Add --dbg-package flag to dh_strip, to list packages that have associated -dbg packages. dh_strip will then move the debug symbols over to the associated -dbg packages. -- Joey Hess Tue, 14 Oct 2003 14:18:06 -0400 debhelper (4.1.75) unstable; urgency=low * dh_install: add --fail-missing option. Closes: #120026 * Fix misspelling in prerm-sgmlcatalog. Closes: #215189 -- Joey Hess Fri, 10 Oct 2003 22:12:59 -0400 debhelper (4.1.74) unstable; urgency=low * Only list dh_installman once in example rules.indep. Closes: #211567 * Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131 -- Joey Hess Sun, 21 Sep 2003 18:56:54 -0400 debhelper (4.1.73) unstable; urgency=low * dh_installcatalogs: in prerm on upgrade, call update-catalog on the advice of Adam DiCarlo. Closes: #209131 -- Joey Hess Sun, 7 Sep 2003 21:43:31 -0400 debhelper (4.1.72) unstable; urgency=low * Switch from build-depends-indep to just build-depends. * dh_installman: match .so links with whitespace after the filename Closes: #208753 -- Joey Hess Fri, 5 Sep 2003 13:59:12 -0400 debhelper (4.1.71) unstable; urgency=low * Typo. Closes: #207999 * Typo, typo. Closes: #208171 :-) -- Joey Hess Mon, 1 Sep 2003 08:24:13 -0400 debhelper (4.1.70) unstable; urgency=low * Complete Spanish translation of all man pages thanks to Rubén Porras Campo, Rudy Godoy, and the rest of the Spanish translation team. Closes: #199261 -- Joey Hess Mon, 25 Aug 2003 19:45:45 -0400 debhelper (4.1.69) unstable; urgency=low * dh_installppp: correct filenames on man page. Closes: #206893 * dh_installinit: man page typo fix and enhancement. Closes: #206891 -- Joey Hess Sat, 23 Aug 2003 14:54:59 -0400 debhelper (4.1.68) unstable; urgency=low * Remove duplicate packages from DOPACKAGES after argument processing. Closes: #112950 * dh_compress: deal with links pointing to links pointing to compressed files, no matter what order find returns them. Closes: #204169 * dh_installmodules, dh_installpam, dh_installcron, dh_installinit, dh_installogrotate: add --name= option, that can be used to specify the name to use for the file(s) installed by these commands. For example, dh_installcron --name=foo will install debian/package.foo.cron.daily to etc/cron.daily/foo. Closes: #138202, #101003, #68545, #148844 (Thanks to Thomas Hood for connecting these bug reports.) * dh_installinit: deprecated --init-script option in favor of the above. * Add dh_installppp. Closes: #43403 -- Joey Hess Fri, 22 Aug 2003 15:27:36 -0400 debhelper (4.1.67) unstable; urgency=low * dh_python: Another patch, for pythonX.Y-foo packages. * dh_link: Improve error message if link destination is a directory. Closes: #206689 -- Joey Hess Fri, 22 Aug 2003 12:48:19 -0400 debhelper (4.1.66) unstable; urgency=low * dh_link: rm -f every time, ln -f is not good enough if the link target is an existing directory (aka, ln sucks). Closes: #206245 * dh_clean: honor -X for debian/tmp removal. Closes: #199952 more or less. -- Joey Hess Tue, 19 Aug 2003 19:52:53 -0400 debhelper (4.1.65) unstable; urgency=low * Converted several chown 0.0 to chown 0:0 for POSIX 200112. * dh_python: patch from Josselin to support packages only shipping binary (.so) modules, and removal of any already byte-compiled .py[co] found. -- Joey Hess Sun, 17 Aug 2003 21:11:35 -0400 debhelper (4.1.64) unstable; urgency=low * dh_python: Add a -V flag to choose the python version modules in a package use. Patch from Josselin, of course. -- Joey Hess Wed, 13 Aug 2003 11:48:22 -0400 debhelper (4.1.63) unstable; urgency=low * dh_python: patch from Josselin to fix generated depends. Closes: #204717 * dh_pythn: also stylistic and tab damage fixes -- Joey Hess Mon, 11 Aug 2003 15:33:16 -0400 debhelper (4.1.62) unstable; urgency=low * Fix a bug in quoted section parsing that put the quotes in the parsed out section number. Closes: #204731 -- Joey Hess Sat, 9 Aug 2003 22:25:23 -0400 debhelper (4.1.61) unstable; urgency=low * dh_makeshlibs: only scan files matching *.so.* and *.so, not *.so*. Closes: #204559 -- Joey Hess Fri, 8 Aug 2003 17:08:00 -0400 debhelper (4.1.60) unstable; urgency=low * dh_python: support python ver 2.3. Closes: #204556 -- Joey Hess Fri, 8 Aug 2003 11:59:34 -0400 debhelper (4.1.59) unstable; urgency=low * dh_installman: support .TH lines with quotes. Closes: #204527 -- Joey Hess Thu, 7 Aug 2003 20:39:36 -0400 debhelper (4.1.58) unstable; urgency=low * Typo, Closes: #203907 * dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286 -- Joey Hess Thu, 7 Aug 2003 15:47:06 -0400 debhelper (4.1.57) unstable; urgency=low * dh_install: Add LIMITATIONS section and other changes to clarify renaming. Closes: #203548 -- Joey Hess Thu, 31 Jul 2003 13:51:01 -0400 debhelper (4.1.56) unstable; urgency=low * Several man pae typo fixes by Ruben Porras. Closes: #202819 * Now in a subversion repository, some minor changes for that. * dh_link test should expect results in debian/debhelper, not debian/tmp. -- Joey Hess Mon, 28 Jul 2003 15:36:45 -0400 debhelper (4.1.55) unstable; urgency=low * dh_strip: do not strip files multiple times. -- Joey Hess Tue, 22 Jul 2003 17:04:49 -0400 debhelper (4.1.54) unstable; urgency=low * dh_scrollkeeper: fix postrm to not run if scrollkeeper is not present -- Joey Hess Sat, 19 Jul 2003 16:57:30 +0200 debhelper (4.1.53) unstable; urgency=low * dh_scrollkeeper: fixed some overenthusiastic quoting. Closes: #201810 -- Joey Hess Fri, 18 Jul 2003 09:45:23 +0200 debhelper (4.1.52) unstable; urgency=low * dh_clean: Clean the *.debhelper temp files on a per-package basis, in case dh_clean is run on one package at a time. * Removed the debian/substvars removal code entirely. It was only there to deal with half-built trees built with debhelper << 3.0.30 -- Joey Hess Sun, 6 Jul 2003 20:28:27 -0400 debhelper (4.1.51) unstable; urgency=low * dh_installchangelogs: Install debian/NEWS as NEWS.Debian, even for native packages. This doesn't follow the lead of the changelog for native packages for the reasons discussed in bug #192089 -- Joey Hess Fri, 4 Jul 2003 00:34:24 -0400 debhelper (4.1.50) unstable; urgency=low * dh_clean: make -X work for debian/substvars file. -- Joey Hess Thu, 3 Jul 2003 22:05:32 -0400 debhelper (4.1.49) unstable; urgency=low * dh_installman: Don't require trailing whitespace after the section number in the TH line. -- Joey Hess Thu, 3 Jul 2003 14:08:41 -0400 debhelper (4.1.48) unstable; urgency=low * dh_python typo fix Closes: #197679 * dh_link: don't complain if tmp dir does not exist yet when doing pre-link scan. -- Joey Hess Thu, 19 Jun 2003 19:51:13 -0400 debhelper (4.1.47) unstable; urgency=low * dh_install: recalculate automatic $dest each time through the glob loop. It might change if there are multiple wildcards Closes: #196344 -- Joey Hess Mon, 16 Jun 2003 13:35:27 -0400 debhelper (4.1.46) unstable; urgency=low * Added dh_scrollkeeper, by Ross Burton. * Added dh_userlocal, by Andrew Stribblehill. (With root.root special case added by me.) * Added dh_installlogcheck, by Jon Middleton. Closes: #184021 * Add aph's name to copyright file too. -- Joey Hess Thu, 12 Jun 2003 10:01:28 -0400 debhelper (4.1.45) unstable; urgency=low * Typo fixes from Adam Garside. * dh_python: don't bother terminating the regexp, 2.2.3c1 for example. Closes: #194531 -- Joey Hess Sat, 24 May 2003 11:55:32 -0400 debhelper (4.1.44) unstable; urgency=low * dh_python: allow for a + at the end of the python version, as in the python in stable, version 2.1.3+. -- Joey Hess Tue, 20 May 2003 17:50:16 -0400 debhelper (4.1.43) unstable; urgency=low * dh_python: Honour -n flag. Closes: #192804 -- Joey Hess Sat, 10 May 2003 13:00:12 -0400 debhelper (4.1.42) unstable; urgency=medium * Fix stupid typo in dh_movefiles. Closes: #188833 -- Joey Hess Sun, 13 Apr 2003 11:44:22 -0400 debhelper (4.1.41) unstable; urgency=low * dh_movefiles: Do not pass --remove-files to tar, since that makes it break hard links (see #188663). -- Joey Hess Sat, 12 Apr 2003 17:11:28 -0400 debhelper (4.1.40) unstable; urgency=low * Fix build with 077 umask. Closes: #187757 * Allow colons between multiple items in DH_ALWAYS_EXCLUDE. -- Joey Hess Sun, 6 Apr 2003 14:30:48 -0400 debhelper (4.1.39) unstable; urgency=low * Add calls to dh_installcatalogs to example rules files. Closes: #186819 -- Joey Hess Mon, 31 Mar 2003 11:52:03 -0500 debhelper (4.1.38) unstable; urgency=low * Fixed dh_installcatalog's references to itself on man page. Closes: #184411 * dh_installdebconf: Set umask to sane before running po2debconf or debconf-mergetemplates -- Joey Hess Sun, 23 Mar 2003 21:17:09 -0800 debhelper (4.1.37) unstable; urgency=low * dh_installmenu: Refer to menufile(5) instead of 5L so as not to confuse pod2man. Closes: #184013 -- Joey Hess Sat, 8 Mar 2003 18:37:14 -0500 debhelper (4.1.36) unstable; urgency=low * Rename debhelper.1 to debhelper.7. * Typo, Closes: #183267 -- Joey Hess Tue, 4 Mar 2003 14:27:45 -0500 debhelper (4.1.34) unstable; urgency=low * Removed vegistal substvars stuff from dh_inistallinit. * Update debhelper(1). -- Joey Hess Mon, 24 Feb 2003 19:34:44 -0500 debhelper (4.1.33) unstable; urgency=low * wiggy didn't take my hint about making update-modules send warnings to stderr, so its overly verbose stdout is now directed to /dev/null to prevent conflicts with debconf. Closes: #150804 * dh_fixperms: only skip examples directories which in a parent of usr/share/doc, not in a deeper tree. Closes: #152602 * dh_compress: stop even looking at usr/doc -- Joey Hess Sat, 22 Feb 2003 14:45:32 -0500 debhelper (4.1.32) unstable; urgency=low * dh_md5sums: note that it's used by debsums. Closes: #181521 * Make addsubstvars() escape the value of the variable before passing it to the shell. Closes: #178524 * Fixed escape_shell()'s escaping of a few things. -- Joey Hess Tue, 18 Feb 2003 19:01:45 -0500 debhelper (4.1.31) unstable; urgency=low * Added dh_installcatalogs, for sgml (and later xml) catalogs. By Adam DiCarlo. Closes: #90025 -- Joey Hess Wed, 12 Feb 2003 11:26:24 -0500 debhelper (4.1.30) unstable; urgency=low * Turned dh_undocumented into a no-op, as policy does not want undocumented.7 links anymore. -- Joey Hess Mon, 3 Feb 2003 16:34:13 -0500 debhelper (4.1.29) unstable; urgency=low * List binary-common in .PHONY in rules.multi2. Closes: #173278 * Cleaned up error message if python is not installed. Closes: #173524 * dh_python: Bug fix from Josselin Mouette for case of building an arch indep python package depending on a arch dependent package. However, I used GetPackages() rather than add yet another control file parser. Untested. -- Joey Hess Wed, 18 Dec 2002 21:20:41 -0500 debhelper (4.1.28) unstable; urgency=low * Fix dh_install to install empty directories even if it is excluding some files from installation. -- Joey Hess Thu, 12 Dec 2002 14:39:30 -0500 debhelper (4.1.27) unstable; urgency=low * Fixed dh_python ordering in example rules files. Closes: #172283 * Make python postinst fragment only run python if it is installed, useful for packages that include python modules but do not depend on python. -- Joey Hess Mon, 9 Dec 2002 21:53:08 -0500 debhelper (4.1.26) unstable; urgency=low * dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass extra params to dpkg-deb. Closes: #170330 -- Joey Hess Sun, 24 Nov 2002 11:14:36 -0500 debhelper (4.1.25) unstable; urgency=low * Added a dh_python command, by Josselin Mouette . -- Joey Hess Thu, 21 Nov 2002 00:55:35 -0500 debhelper (4.1.24) unstable; urgency=low * Various minor changes based on suggestions by luca. -- Joey Hess Thu, 21 Nov 2002 00:13:52 -0500 debhelper (4.1.23) unstable; urgency=low * Still run potodebconf after warning about templates.ll files. -- Joey Hess Fri, 15 Nov 2002 15:33:31 -0500 debhelper (4.1.22) unstable; urgency=low * dh_install: Support autodest with non-debian/tmp sourcedirs. Closes: #169138 * dh_install: Support implicit "." sourcedir and --list-missing. (Also supports ./foo file specs and --list-missing.) Closes: #168751 * dh_md5sums: Don't glob. Closes: #169135 -- Joey Hess Fri, 15 Nov 2002 13:12:24 -0500 debhelper (4.1.21) unstable; urgency=low * Make dh_install --list-missing honor -X excludes. Closes: #168739 * As a special case, if --sourcedir is not set (so is "."), make --list-missing look only at what is in debian/tmp. This is gross, but people have come to depend on that behavior, and that combination has no other sane meaning. Closes: #168751 -- Joey Hess Thu, 14 Nov 2002 10:56:21 -0500 debhelper (4.1.20) unstable; urgency=low * typo in dh_shlibdeps(1), Closes: #167421 * dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441 -- Joey Hess Tue, 12 Nov 2002 17:56:32 -0500 debhelper (4.1.19) unstable; urgency=low * Added note to dh_installdebconf(1) about postinst sourcing debconf confmodule. (Cf #106070) * Added an example to dh_install(1). Closes: #166402 -- Joey Hess Sun, 27 Oct 2002 20:26:02 -0500 debhelper (4.1.18) unstable; urgency=low * Use dpkg-architecture instead of dpkg --print-architecture (again?) See #164863 * typo fix Closes: #164958 The rest seems clear enough from context, so omitted. -- Joey Hess Wed, 16 Oct 2002 20:47:43 -0400 debhelper (4.1.17) unstable; urgency=low * dh_installinit: added --no-start for rcS type scripts. Closes: #136502 -- Joey Hess Fri, 11 Oct 2002 13:58:22 -0400 debhelper (4.1.16) unstable; urgency=low * Depend on po-debconf, and I hope I can drop the debconf-utils dep soon. Closes: #163569 * Removed debconf-utils build-dep. Have no idea why that was there. * dh_installman: Don't use extended section as section name for translated man pages, use only the numeric section as is done for regular man pages. Closes: #163534 -- Joey Hess Mon, 7 Oct 2002 11:49:37 -0400 debhelper (4.1.15) unstable; urgency=low * dh_compress: Exclude .css files, to prevent broken links from html files, and since they are generally small, and since this matches existing practice. Closes: #163303 -- Joey Hess Sat, 5 Oct 2002 15:04:44 -0400 debhelper (4.1.14) unstable; urgency=low * dh_fixperms: Make sure .pm files are 0644. Closes: #163418 -- Joey Hess Sat, 5 Oct 2002 14:03:52 -0400 debhelper (4.1.13) unstable; urgency=low * dh_installdebconf: Support po-debconf debian/po directories. Closes: #163128 -- Joey Hess Wed, 2 Oct 2002 23:41:51 -0400 debhelper (4.1.12) unstable; urgency=low * The "reverse hangover" release. * dh_strip: better documentation, removed extraneous "item" from SYNOPSIS. Closes: #162493 * dh_strip: detect and don't strip debug/*.so files. * Note that 4.1.11 changelog entry was incorrect, dh_perl worked fine without that change, but the new behavior is less likely to break things if dpkg-gencontrol changes. * Various improvements to debhelper(1). -- Joey Hess Fri, 27 Sep 2002 19:37:19 -0400 debhelper (4.1.11) unstable; urgency=low * Make addsubstvars remove old instances of line before adding new. This will make dh_perl get deps right for packages that have perl modules and XS in them. -- Joey Hess Sun, 22 Sep 2002 11:27:08 -0400 debhelper (4.1.10) unstable; urgency=low * Depend on coreutils | fileutils. Closes: #161452 -- Joey Hess Thu, 19 Sep 2002 11:21:19 -0400 debhelper (4.1.9) unstable; urgency=low * Fixed over-escaping of period when generating EXCLUDE_FIND. Closes: #159155 -- Joey Hess Mon, 16 Sep 2002 13:41:05 -0400 debhelper (4.1.8) unstable; urgency=low * Use invoke-rc.d always now that it is in policy. Fall back to old behavior if invoke-rc.d is not present, so versioned deps on sysvinit are not needed. -- Joey Hess Sun, 15 Sep 2002 20:07:41 -0400 debhelper (4.1.7) unstable; urgency=low * dh_builddeb(1): It's --filename, not --name. Closes: #160151 -- Joey Hess Sun, 8 Sep 2002 20:05:07 -0400 debhelper (4.1.6) unstable; urgency=low * Clarified dh_perl man page. Closes: #159332 -- Joey Hess Tue, 3 Sep 2002 12:27:08 -0400 debhelper (4.1.5) unstable; urgency=low * Fixed excessive escaping around terms in DH_EXCLUDE_FIND. Closes: #159155 -- Joey Hess Sun, 1 Sep 2002 19:20:32 -0400 debhelper (4.1.4) unstable; urgency=low * Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl Closes: #156243 -- Joey Hess Sat, 17 Aug 2002 23:05:45 -0400 debhelper (4.1.3) unstable; urgency=low * dh_installinit: Always start daemon on upgraded even if --no-restart-on-upgrade is given; since the daemon is not stopped with that parameter starting it again is a no-op, unless the daemon was not running for some reason. This makes transitions to using the flag easier. Closes: #90976 and sorry it took me so long to verify you were right. -- Joey Hess Sun, 4 Aug 2002 18:52:12 -0400 debhelper (4.1.2) unstable; urgency=low * Typo, Closes: #155323 -- Joey Hess Sat, 3 Aug 2002 12:17:11 -0400 debhelper (4.1.1) unstable; urgency=low * Added a -L flag to dh_shlibdeps that is a nice alternative to providing a shlibs.local. -- Joey Hess Thu, 25 Jul 2002 19:15:09 -0400 debhelper (4.1.0) unstable; urgency=low * Remove /usr/doc manglement code from postinst and prerm. Do not use this version of debhelper for woody backports! * Removed dh_installxaw. -- Joey Hess Sun, 21 Jul 2002 15:26:10 -0400 debhelper (4.0.19) unstable; urgency=low * Make dh_installchangelogs install debian/NEWS files as well, as NEWS.Debian. Make dh_compress always compress them. The idea is to make these files be in a machine parsable form, like the debian changelog, but only put newsworthy info into them. Automated tools can then display new news on upgrade. It is hoped that if this catches on it will reduce the abuse of debconf notes. See discussion on debian-devel for details. -- Joey Hess Sun, 14 Jul 2002 23:09:24 -0400 debhelper (4.0.18) unstable; urgency=low * Removed a seemingly useless -dDepends in dh_shlibdeps's call to dpkg-shalibdeps; this allows for stuff like dh_shlibdeps -- -dRecommends Closes: #152117 * Added a --list-missing parameter to dh_install, which calc may find useful. -- Joey Hess Sun, 7 Jul 2002 22:44:01 -0400 debhelper (4.0.17) unstable; urgency=low * In dh_install, don't limit to -type f when doing the find due to -X. This makes it properly install symlinks, cf my rpm bug. -- Joey Hess Fri, 5 Jul 2002 22:58:03 -0400 debhelper (4.0.16) unstable; urgency=low * Patch from doogie to make dh_movefiles support -X. Closes: #150978 * Pound home in dh_installman's man page that yet, it really does do the right thing. Closes: #150644 -- Joey Hess Thu, 4 Jul 2002 22:28:53 -0400 debhelper (4.0.15) unstable; urgency=low * Stupid, evil typo. * Fixed the tests clint didn't show me. -- Joey Hess Thu, 20 Jun 2002 20:57:06 -0400 debhelper (4.0.14) unstable; urgency=low * In script fragments, use more posix tests, no -a or -o, no parens. Closes: #150403 -- Joey Hess Thu, 20 Jun 2002 20:39:55 -0400 debhelper (4.0.13) unstable; urgency=low * Added --mainpackage= option, of use in some kernel modules packages. * dh_gencontrol only needs to pass -p to dpkg-gencontrol if there is more than one package in debian/control. This makes it a bit more flexible in some cases. -- Joey Hess Wed, 19 Jun 2002 19:44:12 -0400 debhelper (4.0.12) unstable; urgency=low * Fixed debconf-utils dependency. -- Joey Hess Sat, 15 Jun 2002 20:20:21 -0400 debhelper (4.0.11) unstable; urgency=low * dh_compress: always compress .pcf files in /usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy. -- Joey Hess Sat, 1 Jun 2002 18:08:50 -0400 debhelper (4.0.10) unstable; urgency=low * Consistently use the which command instead of command -v or hardcoded paths in autoscripts. Neither is in posix, but which is in debianutils, so will always be available. command -v is not available in zsh. Closes: #148172 -- Joey Hess Sun, 26 May 2002 00:54:33 -0400 debhelper (4.0.9) unstable; urgency=low * dh_install: glob relative to --sourcedir. Closes: #147908 * Documented what globbing is allowed. -- Joey Hess Thu, 23 May 2002 12:28:30 -0400 debhelper (4.0.8) unstable; urgency=low * Don't leak regex characters from -X when generating DH_EXCLUDE_FIND. -- Joey Hess Wed, 22 May 2002 21:03:38 -0400 debhelper (4.0.7) unstable; urgency=low * dh_strip: If a file is an ELF shared binary, does not have a .so.* in its name, stirp it as a ELF binary. It seems that GNUstep has files of this sort. See bug #35733 (not sufficient to close all of it). -- Joey Hess Wed, 22 May 2002 20:40:09 -0400 debhelper (4.0.6) unstable; urgency=low * Make dh_clean remove autom4te.cache. -- Joey Hess Wed, 22 May 2002 14:08:33 -0400 debhelper (4.0.5) unstable; urgency=low * Removing perl warning message. -- Joey Hess Sun, 19 May 2002 01:04:16 -0400 debhelper (4.0.4) unstable; urgency=low * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directories from processing by any command that takes a -X option, and dh_builddeb will also go in and rm -rf any that still sneak into the build tree. * dh_install: A patch from Eric Dorland adds support for --sourcedir, which allows debian/package.files files to be moved over to debian/package.install, and just work. Closes: #146847 * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. Means debhelper has to depend on debconf-utils 1.1.1. -- Joey Hess Sat, 18 May 2002 21:38:03 -0400 debhelper (4.0.3) unstable; urgency=low * Corrects misbuild with CVS dirs in deb. Closes: #146576 -- Joey Hess Fri, 17 May 2002 15:38:26 -0400 debhelper (4.0.2) unstable; urgency=low * dh_install: delay globbing until after destinations have been found. Closes: #143234 -- Joey Hess Tue, 16 Apr 2002 21:25:32 -0400 debhelper (4.0.1) unstable; urgency=low * dh_installdebconf: allow parameters after -- to go to debconf-mergetemplate. * dh_installman: don't whine about zero-length man pages in .so conversion. * Forgot to export filedoublearray, Closes: #142784 -- Joey Hess Fri, 12 Apr 2002 23:22:15 -0400 debhelper (4.0.0) unstable; urgency=low * dh_movefiles has long been a sore point in debhelper. Inherited from debstd, its interface and implementation suck, and I have maintained it while never really deigning to use it. Now there is a remplacment: dh_install, which ... - copies files, doesn't move them. Closes: #75360, #82649 - doesn't have that whole annoying debian/package.files vs. debian/files mess, as it uses debian/install. - supports copying empty subdirs. Closes: #133037 - doesn't use tar, thus no error reporting problems. Closes: #112538 - files are listed relative to the pwd, debian/tmp need not be used at all, so no globbing issues. Closes: #100404 - supports -X. Closes: #116902 - the whole concept of moving files out of a directory is gone, so this bug doesn't really apply. Closes: #120026 - This is exactly what Bill Allombert asked for in #117383, even though I designed it seemingly independently. Thank you Bill! Closes: #117383 * Made debhelper's debian/rules a lot simpler by means of the above. * Updated example rules file to use dh_install. Also some reordering and other minor changes. * dh_movefiles is lightly deprecated, and when you run into its bugs and bad design, you are encouraged to just use dh_install instead. * dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039 * dh_fixperms: in v4 only, make all files in etc/init.d executable (of course there's -X ..) * dh_link: in v4 only, finds existing, non-policy-conformant symlinks and corrects them. This has the side effect of making dh_link idempotent. * Added a -h/--help option. This seems very obvious, but it never occurred to me before.. * use v4 for building debhelper itself * v4 mode is done, you may now use it without fear of it changing. (This idea of this upload is to get v4 into woody so people won't run into many issues backporting from sarge to woody later on. Packages targeted for woody should continue to use whatever compatibility level they are using.) -- Joey Hess Thu, 11 Apr 2002 17:28:57 -0400 debhelper (3.4.14) unstable; urgency=low * Fixed an uninitialized value warning, Closes: #141729 -- Joey Hess Mon, 8 Apr 2002 11:45:02 -0400 debhelper (3.4.13) unstable; urgency=low * Typo, Closes: #139176 * Fixed dh_md5sums conffile excluding/including. -- Joey Hess Wed, 20 Mar 2002 11:25:36 -0500 debhelper (3.4.12) unstable; urgency=low * Fix to #99169 was accidentally reverted in 3.0.42; reinstated. -- Joey Hess Sat, 16 Mar 2002 23:31:46 -0500 debhelper (3.4.11) unstable; urgency=low * Fixed dh_installdocs and dh_installexamples to support multiple -X's. -- Joey Hess Thu, 28 Feb 2002 13:02:35 -0500 debhelper (3.4.10) unstable; urgency=low * Fixed dh_movefiles. Closes: #135479, #135459 -- Joey Hess Sun, 24 Feb 2002 12:25:32 -0500 debhelper (3.4.9) unstable; urgency=low * dh_movefiles: Allow for deeper --sourcedir. Closes: #131363 -- Joey Hess Wed, 20 Feb 2002 16:37:43 -0500 debhelper (3.4.8) unstable; urgency=low * Thanks to Benjamin Drieu , dh_installdocs -X now works. I had to modify his patch to use cp --parents, since -P spews warnings now. Also, I made it continue to use cp -a if nothing is excluded, which is both faster, and means this patch is less likely to break anything if it turns out to be buggy. Also, stylistic changes. Closes: #40649 * Implemented -X for dh_installexamples as well. * dh_clean -X substvars will also work now. Closes: #66890 -- Joey Hess Sun, 17 Feb 2002 12:26:37 -0500 debhelper (3.4.7) unstable; urgency=low * dh_perl: don't gripe if there is no substvar file. Closes: #133140 -- Joey Hess Sat, 9 Feb 2002 17:37:32 -0500 debhelper (3.4.6) unstable; urgency=low * Typo, Closes: #132454 * Ignore leading/trailing whitespace in DH_OPTIONS, Closes: #132645 -- Joey Hess Tue, 5 Feb 2002 17:33:57 -0500 debhelper (3.4.5) unstable; urgency=low * dh_installxfonts: separate multiple commands with \n so sed doesn't get upset. Closes: #131322 -- Joey Hess Tue, 29 Jan 2002 18:58:58 -0500 debhelper (3.4.4) unstable; urgency=low * Introduced the debian/compat file. This is the new, preferred way to say what debhelper compatibility level your package uses. It has the big advantage of being available to debhelper when you run it at the command line, as well as in debian/rules. * A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d. This is in v4 for testing, but I may well roll it back into v3 (and earlier) once woody is released and I don't have to worry about breaking things (and, presumably, once invoke-rc.d enters policy). * Some debhelper commands will now build up a new substvars variable, ${misc:Depends}, based on things they know your package needs to depend on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to that dep list, and dh_installxfonts adds a dep on xutils. This variable should make it easier to keep track of what your package needs to depends on, supplementing the ${shlibs:Depends} and ${perl:Depends} substvars. Hmm, this appears to be based loosely on an idea by Masato Taruishi , filtered through a long period of mulling it over. Closes: #76352 * Use the addsubstvar function I wrote for the above in dh_perl too. -- Joey Hess Sat, 26 Jan 2002 23:30:51 -0500 debhelper (3.4.3) unstable; urgency=low * Improved dh_installxfonts some more: - Better indenting of generated code. - Better ordering of generated code (minor fix). -- Joey Hess Sat, 26 Jan 2002 23:09:59 -0500 debhelper (3.4.2) unstable; urgency=low * dh_installman: more documentation about the .TH line. Closes: #129205 * dh_installxfonts: - Packages that use this should depend on xutils. See man page. - However, if you really want to, you can skip the dep, and the postinst will avoid running program that aren't available. Closes: #131053 - Use update-fonts-dir instead of handling encodings ourselves. Yay! - Pass only the last component of the directory name to update-fonts-*, since that's what they prefer now. - Other changes, should fully comply with Debian X font policy now. -- Joey Hess Tue, 15 Jan 2002 12:17:43 -0500 debhelper (3.4.1) unstable; urgency=low * Fixed programmer's documentation of DOINDEP and DOARCH, Closes: #128546 * Fixed dh_builddeb SYNOPSIS, Closes: #128548 -- Joey Hess Thu, 10 Jan 2002 13:49:37 -0500 debhelper (3.4.0) unstable; urgency=low * Began work on v4 support (and thus the large version number jump), and it is only for the very brave right now since I will unhesitatingly break compatibility in v4 mode as I'm developing it. Currently, updating to v4 mode will only make dh_makeshlibs -V generate shared library deps that omit the debian part of the version number. The reasoning behind this change is that the debian revision should not typically break binary compatibility, that existing use of -V is causing too tight versioned deps, and that if you do need to include the debian revision for some reason, you can always write it out by hand. Closes: #101497 * dh_testversion is deprecated -- use build deps instead. A warning message is now output when it runs. Currently used by: 381 packages. * dh_installxaw is deprecated -- xaw-wrappers in no longer in the distribution. A warning message is now output when it runs. Currently used by: 3 packages (bugs filed). * Added references to menufile in dh_installmenu man page. Closes: #127978 (dh_make is not a part of debhelper, if you want it changed, file a bug on dh-make.) -- Joey Hess Sat, 5 Jan 2002 22:45:09 -0500 debhelper (3.0.54) unstable; urgency=low * Added a version to the perl build dep, Closes: #126677 -- Joey Hess Thu, 27 Dec 2001 20:39:46 -0500 debhelper (3.0.53) unstable; urgency=low * dh_strip: run file using a safe pipe open, that will not expose any weird characters in filenames to a shell. Closes: #126491 * fixed dh_testdir man page -- Joey Hess Wed, 26 Dec 2001 21:15:42 -0500 debhelper (3.0.52) unstable; urgency=low * Typo, Closes: #122679 * Export dirname from Dh_Lib, and related cleanup, Closes: #125770 * Document dirname, basename in PROGRAMMING -- Joey Hess Thu, 6 Dec 2001 11:58:52 -0500 debhelper (3.0.51) unstable; urgency=low * Man page cleanups, Closes: #119335 -- Joey Hess Sat, 17 Nov 2001 21:04:15 -0500 debhelper (3.0.50) unstable; urgency=low * dh_undocumented: check for existing uncompressed man pages. Closes: #87972 * Optimized dh_installdeb conffile finding. Closes: #119035 * dh_installdeb: changed the #!/bin/sh -e to set -e on a new line. Whether this additional bloat is worth it to make it easier for people to sh -x a script by hand is debatable either way, I guess. Closes: #119046 * Added a check for duplicated package stanzas in debian/control, Closes: #118805 -- Joey Hess Sat, 17 Nov 2001 14:00:54 -0500 debhelper (3.0.49) unstable; urgency=low * More informative error, Closes: #118767 -- Joey Hess Thu, 8 Nov 2001 18:12:11 -0500 debhelper (3.0.48) unstable; urgency=low * Added .zip and .jar to list of things to compress (Closes: #115735), and modified docs (Closes: #115733). -- Joey Hess Mon, 15 Oct 2001 19:01:43 -0400 debhelper (3.0.47) unstable; urgency=low * dh_installman: documented translated man page support, and made it work properly. It was not stripping the language part from the installed filenames. -- Joey Hess Tue, 9 Oct 2001 15:16:18 -0400 debhelper (3.0.46) unstable; urgency=low * Typo, Closes: #114135 -- Joey Hess Thu, 4 Oct 2001 19:39:34 -0400 debhelper (3.0.45) unstable; urgency=low * dh_installxfonts: Do not specify /usr/sbin/ paths; that should be in the path and dpkg enforces it. Closes: #112385 -- Joey Hess Sun, 16 Sep 2001 18:48:59 -0400 debhelper (3.0.44) unstable; urgency=low * Added dh_strip to rules.multi2, and removed .TODO.swp. Closes: #110418 -- Joey Hess Tue, 28 Aug 2001 15:22:41 -0400 debhelper (3.0.43) unstable; urgency=low * dh_perl: made it use doit commands so -v mode works. Yeah, uglier. Closes: #92826 Also some indentation fixes. -- Joey Hess Fri, 24 Aug 2001 15:34:55 -0400 debhelper (3.0.42) unstable; urgency=low * dh_movefiles: Typo, Closes: #106532 * Use -x to test for existence of init scripts, rather then -e since we'll be running them, Closes: #109692 * dh_clean: remove debian/*.debhelper. No need to name files specifically; any file matching that is a debhelper temp file. Closes: #106514, #85520 -- Joey Hess Thu, 23 Aug 2001 15:47:35 -0400 debhelper (3.0.40) unstable; urgency=low * Typo, Closes: #104405 -- Joey Hess Wed, 11 Jul 2001 22:57:41 -0400 debhelper (3.0.39) unstable; urgency=low * dh_compress: Don't compress .bz2 files, Closes: #102935 -- Joey Hess Sat, 30 Jun 2001 20:39:17 -0400 debhelper (3.0.38) unstable; urgency=low * fixed doc bog, Closes: #102130 -- Joey Hess Sun, 24 Jun 2001 21:08:15 -0400 debhelper (3.0.37) unstable; urgency=low * Spellpatch, Closes: #101553 -- Joey Hess Wed, 20 Jun 2001 22:03:57 -0400 debhelper (3.0.36) unstable; urgency=low * Whoops, I forgot to revert dh_perl too. Closes: #101477 -- Joey Hess Tue, 19 Jun 2001 14:10:24 -0400 debhelper (3.0.35) unstable; urgency=low * Revert change of 3.0.30. This broke too much stuff. Maybe I'll change it in debhelper v4.. -- Joey Hess Mon, 18 Jun 2001 13:56:35 -0400 debhelper (3.0.34) unstable; urgency=low * Unimportant spelling fix. Closes: #100666 -- Joey Hess Thu, 14 Jun 2001 12:30:28 -0400 debhelper (3.0.33) unstable; urgency=low * dh_gencontrol: Work around very strange hurd semantics which allow "" to be an empty file. Closes: #100542 -- Joey Hess Mon, 11 Jun 2001 18:15:19 -0400 debhelper (3.0.32) unstable; urgency=low * Check that update-modules is present before running it, since modutils is not essential. Closes: #100430 -- Joey Hess Sun, 10 Jun 2001 15:13:51 -0400 debhelper (3.0.31) unstable; urgency=low * Remove dh_testversion from example rules file, Closes: #99901 -- Joey Hess Thu, 7 Jun 2001 20:24:39 -0400 debhelper (3.0.30) unstable; urgency=low * dh_gencontrol: Added a documented interface for specifying substvars data in a file. Substvars data may be put in debian/package.substvars. (Those files used to be used by debhelper for automatically generated data, but it uses a different internal filename now). It will be merged with any automatically determined substvars data. See bug #98819 * I want to stress that no one should ever rely in internal, undocumented debhelper workings. Just because debhelper uses a certain name for some internally used file does not mean that you should feel free to modify that file to your own ends in a debian package. If you do use it, don't be at all surprised when it breaks. If you find that debhelper is lacking a documented interface for something that you need, ask for it! (debhelper's undocumented, internal use only files should now all be prefixed with ".debhelper") -- Joey Hess Sun, 3 Jun 2001 16:37:33 -0400 debhelper (3.0.29) unstable; urgency=low * Added -X flag to dh_makeshlibs, for packages with wacky plugins that look just like shared libs, but are not. -- Joey Hess Fri, 1 Jun 2001 14:27:06 -0400 debhelper (3.0.28) unstable; urgency=low * dh_clean: clean up temp files used by earlier versions of debhelper. Closes: #99169 -- Joey Hess Wed, 30 May 2001 16:24:09 -0400 debhelper (3.0.27) unstable; urgency=low * Fixed issues with extended parameters to dh_gencontrol including spaces and quotes. This was some historical cruft that deals with splitting up the string specified by -u, and it should not have applied to the set of options after --. Now that it's fixed, any and all programs that support a -- and options after it, do not require any special quoting of the succeeding options. Quote just like you would in whatever program those options go to. So, for example, dh_gencontrol -Vblah:Depends='foo, bar (>= 1.2)' will work just as you would hope. This fix does NOT apply to -u; don't use -u if you must do something complex. Closes: #89311 * Made escape_shell output a lot better. -- Joey Hess Tue, 29 May 2001 17:54:19 -0400 debhelper (3.0.26) unstable; urgency=low * Always include package name in maintainer script fragment filenames and generated shlibs files (except for in DH_COMPAT=1 mode). This is a purely cosmetic change, and if it breaks anything, you were using an undocumented interface. Closes: #95387 -- Joey Hess Thu, 24 May 2001 16:31:46 -0400 debhelper (3.0.25) unstable; urgency=low * dh_makeshlins: append to LD_LIBRARY_PATH at start, not each time through loop. Closes: #98598 -- Joey Hess Thu, 24 May 2001 14:16:50 -0400 debhelper (3.0.24) unstable; urgency=low * Missing semi-colon. * Call dh_shlibdeps as part of build process, as simple guard against this (dh_* should be called, really). -- Joey Hess Tue, 15 May 2001 10:27:34 -0400 debhelper (3.0.23) unstable; urgency=low * dh_shlibdeps: the -l switch now just adds to LD_LIBRARY_PATH, if it is already set. Newer fakeroot sets it, and clobbering their settings breaks things since they LD_PRELOAD a library that is specified in the LD_LIBRARY_PATH. (blah) Closes: #97494 -- Joey Hess Mon, 14 May 2001 22:32:23 -0400 debhelper (3.0.22) unstable; urgency=low * dh_installinfo: doc enhancement, Closes: #97515 * dh_md5sums: don't fail if pwd has spaces in it (must be scraping the bottom of the bug barrel here). Closes: #97404 -- Joey Hess Mon, 14 May 2001 21:22:47 -0400 debhelper (3.0.21) unstable; urgency=low * Corrected bashism (echo -e, DAMNIT), in rules file that resulted in a corrupted Dh_Version.pm. Closes: #97236 -- Joey Hess Sat, 12 May 2001 12:21:40 -0400 debhelper (3.0.20) unstable; urgency=low * Modified the postrm fragment for dh_installxfonts to not try to delete any files. The responsibility for doing so devolves onto update-fonts-* (which don't yet, but will). See bug #94752 -- Joey Hess Fri, 11 May 2001 13:30:43 -0400 debhelper (3.0.19) unstable; urgency=low * Now uses html2text rather than lynx for converting html changelogs. The program generates better results, and won't annoy the people who were oddly annoyed at having to install lynx. Instead, it will annoy a whole other set of people, I'm sure. Closes: #93747 -- Joey Hess Mon, 7 May 2001 21:23:46 -0400 debhelper (3.0.18) unstable; urgency=low * dh_perl: updates from bod: - Provide minimum version for arch-indep module dependencies (perl-policy 1,18, section 3.4.1). - Always update substvars, even if Perl:Depends is empty. -- Joey Hess Sat, 21 Apr 2001 15:13:15 -0700 debhelper (3.0.17) unstable; urgency=low * dh_shlibdeps: document that -l accepts multiple dirs, and make multiple dirs absolute properly, not just the first. -- Joey Hess Mon, 16 Apr 2001 23:20:30 -0700 debhelper (3.0.16) unstable; urgency=low * Documented -isp, Closes: #93983 -- Joey Hess Sat, 14 Apr 2001 19:16:47 -0700 debhelper (3.0.15) unstable; urgency=low * Typo, Closes: #92407 -- Joey Hess Tue, 3 Apr 2001 12:15:02 -0700 debhelper (3.0.14) unstable; urgency=low * dh_strip: ensure that the file _ends_ with `.a'. Closes: #90647 -- Joey Hess Wed, 21 Mar 2001 20:21:11 -0800 debhelper (3.0.13) unstable; urgency=low * dh_makeshlibs: more support for nasty soname formats, Closes: #90520 -- Joey Hess Wed, 21 Mar 2001 15:00:42 -0800 debhelper (3.0.12) unstable; urgency=low * Applied a patch from Anton Zinoviev to pass -e to mkfontdir. Closes: #89418 -- Joey Hess Fri, 16 Mar 2001 21:03:29 -0800 debhelper (3.0.11) unstable; urgency=low * dh_makeshlibs: don't follow links to .so files. Instead, we will look for *.so* files. This should work for the variously broken db3, liballeg, and it will fix the problem with console-tools-dev, which contained (arguably broken) absolute symlinks to real files, which were followed. Closes: #85483 -- Joey Hess Wed, 14 Mar 2001 14:55:58 -0800 debhelper (3.0.10) unstable; urgency=medium * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code. Arrgh. All packages built with the old code (that is, all daemon packages built with debhelper 3.0.9!) are broken. Closes: #89472 -- Joey Hess Tue, 13 Mar 2001 06:10:03 -0500 debhelper (3.0.9) unstable; urgency=low * Modified to use dpkg-architecture instead of dpkg --print-architecture. I hate this, and wish it wasn't necessary to make cross compiles for the hurd work. Closes: #88494 * Now depends on debconf-utils for debconf-mergetemplates. Closes: #87321 * Continues to depend on lynx for html changelog conversions. Yes, these and packages with translated debconf templates are rather rare, but it makes more sense for debhelper to consistently depend on all utilities it uses internally rather than force people to keep their dependencies up to date with debhelper internals. If I decide tomorrow that w3m is the better program to use to format html changelogs, I can make the change and packages don't need to update their build dependencies. Closes: #88464, #77743 * Test for init scripts before running them, since they are conffiles and the admin may have removed them for some reason, and policy wants us to deal with that gracefully. * dh_makeshlibs: now uses objdump, should be more accurate. Closes: #88426 * Wildcards have been supported for a while, Closes: #54197 * dh_installdocs and dh_link have been able to make doc-dir symlinks for a while, Closes: #51225 -- Joey Hess Sun, 4 Mar 2001 15:48:45 -0800 debhelper (3.0.8) unstable; urgency=low * dh_perl update -- Joey Hess Sat, 24 Feb 2001 23:31:31 -0800 debhelper (3.0.7) unstable; urgency=low * dh_makeshlibs: only generate call to ldconfig if it really looks like a given *.so* file is indeed a shared library. -- Joey Hess Fri, 23 Feb 2001 14:38:50 -0800 debhelper (3.0.6) unstable; urgency=low * Corrected some uninitialized value stuff in dh_suidregister (actually quite a bad bug). * dh_installman: fixed variable scoping error, so file conversions should work now. -- Joey Hess Fri, 16 Feb 2001 14:15:02 -0800 debhelper (3.0.5) unstable; urgency=low * Updated dh_perl to a new version for the new perl organization and policy. The -k flag has been done away with, as the new perl packages don't make packlist files. * Fixed some bugs in the new dh_perl and updated it to my current debhelper coding standards. * Use dh_perl to generate debhelper's own deps. * Version number increase to meet perl policy. -- Joey Hess Tue, 13 Feb 2001 09:07:48 -0800 debhelper (3.0.1) unstable; urgency=low * Build-depends on perl-5.6, since it uses 2 argument pod2man. * Cleanups of debhelper.1 creation process. -- Joey Hess Mon, 12 Feb 2001 16:12:59 -0800 debhelper (3.0.0) unstable; urgency=low * Added dh_installman, a new program that replaces dh_installmanpages. It is not DWIM. You tell it what to install and it figures out where based on .TH section field and filename extension. I recommend everyone begin using it, since this is much better then dh_installmanpages's evilness. I've been meaning to do this for a very long time.. Closes: #38673, #53964, #64297, #16933, #17061, #54059, #54373, #61816 * dh_installmanpages remains in the package for backwards compatibility, but is mildly deprecated. * dh_testversion is deprecated; use build dependencies instead. * dh_suidregister: re-enabled. Aj thinks that requiring people to stop using it is unacceptable. Who am I to disagree with a rc bug report? Closes: #84910 It is still deprecated, and it will still whine at you if you use it. I appreciate the job everyone has been doing at switching to statoverrides.. * Since dh_debstd requires dh_installmanpages (where do you think the latter's evil interface came from?), I have removed it. It was a nice thought-toy, but nobody really used it, right? * Since the from-debstd document walks the maintainer through running dh_debstd to get a list of debhelper commands, and since that document has really outlives its usefulness, I removed it too. Use dh-make instead. * dh_installman installs only into /usr/share/man, not the X11R6 directory. Policy says "files must not be installed into `/usr/X11R6/bin/', `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for the package to operate properly", and I really doubt a man page being in /usr/share/man is going to break many programs. Closes: #81853 (I hope the bug submitter doesn't care that dh_installmanpages still puts stuff in the X11R6/man directory.) * dh_undocumented now the same too now. * dh_installinit: installs debian/package.default files as /etc/default/ files. * Updated to current perl coding standards (use strict, lower-case variable names, pod man pages). * Since with the fixing of the man page installer issue, my checklist for debhelper v3 is complete, I pronounce debhelper v3 done! Revved the version number appropriately (a large jump; v3 changes less than I had planned). Note that I have no plans for a v4 at this time. :-) * Testing: I have used this new version of debhelper to build a large number of my own packages, and it seems to work. But this release touches every file in this package, so be careful out there.. -- Joey Hess Thu, 8 Feb 2001 14:29:58 -0800 debhelper (2.2.21) unstable; urgency=low * Fixed a stupid typo in dh_suidregister, Closes: #85110 -- Joey Hess Tue, 6 Feb 2001 13:29:57 -0800 debhelper (2.2.20) unstable; urgency=low * dh_installinit -r: stop init script in prerm on package removal, Closes: #84974 -- Joey Hess Mon, 5 Feb 2001 10:06:31 -0800 debhelper (2.2.19) unstable; urgency=low * dh_shlibdeps -l can handle relative paths now. Patch from Colin Watson , Closes: #84408 -- Joey Hess Thu, 1 Feb 2001 13:35:39 -0800 debhelper (2.2.18) unstable; urgency=medium * Added a suggests to debconf-utils, Closes: #83643 I may change this to a dependency at some point in the future, since one debconf command needs the package to work. -- Joey Hess Tue, 30 Jan 2001 22:39:54 -0800 debhelper (2.2.17) unstable; urgency=medium * dh_installdebconf: marge in templates with a .ll_LL extension, they were previously ignored. -- Joey Hess Mon, 29 Jan 2001 13:05:21 -0800 debhelper (2.2.16) unstable; urgency=medium * Bah, reverted that last change. It isn't useful because dpkg-buildpackage reads the real control file and gets confused. -- Joey Hess Sun, 28 Jan 2001 01:47:46 -0800 debhelper (2.2.15) unstable; urgency=medium * Added the ability to make debhelper read a different file than debian/control as the control file. This is very useful for various and sundry things, all Evil, most involving kernel packages. -- Joey Hess Wed, 24 Jan 2001 17:33:46 -0800 debhelper (2.2.14) unstable; urgency=medium * Corrected globbing issue with dh_movefiles in v3 mode. Closes: #81431 -- Joey Hess Sun, 21 Jan 2001 18:33:59 -0800 debhelper (2.2.13) unstable; urgency=medium * Fixed a man page typo, Closes: #82371: * Added note to dh_strip man page, Closes: #82220 -- Joey Hess Mon, 15 Jan 2001 20:38:53 -0800 debhelper (2.2.12) unstable; urgency=medium * suidmanager is obsolete now, and so is dh_suidmanager. Instead, packages that contain suid binaries should include the binaries suid in the .deb, and dpkg-statoverride can override this. If this is done to a program that previously used suidmanager, though, you need to conflict with suidmanager (<< 0.50). * Made dh_suidmanager check to see if it would have done anything before. If so, it states that it is obsolete, and refer users to the man page, which now explains the situation, and then aborts the build. If it would have done nothing before, it just outputs a warning that it is an obsolete program. -- Joey Hess Wed, 10 Jan 2001 13:17:50 -0800 debhelper (2.2.11) unstable; urgency=medium * Fixed dh_installwm. Oops. Closes: #81124 -- Joey Hess Wed, 3 Jan 2001 10:18:38 -0800 debhelper (2.2.10) unstable; urgency=low * dh_shlibdeps: re-enabled -l flag, it's needed again. Closes: #80560 -- Joey Hess Tue, 26 Dec 2000 22:05:30 -0800 debhelper (2.2.9) unstable; urgency=low * Fixed perl warning, Closes: #80242 -- Joey Hess Thu, 21 Dec 2000 14:43:11 -0800 debhelper (2.2.8) unstable; urgency=medium * dh_installwm: Moved update-alternatives --remove call to prerm, Closes: #80209 * ALso guarded all update-alternatives --remove calls. -- Joey Hess Thu, 21 Dec 2000 11:33:30 -0800 debhelper (2.2.7) unstable; urgency=low * Spelling patch. -- Joey Hess Sun, 3 Dec 2000 17:12:15 -0800 debhelper (2.2.6) unstable; urgency=low * typo: Closes, #78567 -- Joey Hess Sat, 2 Dec 2000 14:27:31 -0800 debhelper (2.2.5) unstable; urgency=low * Oops, it was not expanding wildcard when it should. -- Joey Hess Wed, 29 Nov 2000 20:59:33 -0800 debhelper (2.2.4) unstable; urgency=low * dh_movefiles: added error message on file not found -- Joey Hess Wed, 29 Nov 2000 20:25:52 -0800 debhelper (2.2.3) unstable; urgency=low * If DH_COMPAT=3 is set, the following happens: - Various debian/foo files like debian/docs, debian/examples, etc, begin to support filename globbing. use \* to escape the wildcards of course. I doubt this will bite anyone (Debian doesn't seem to contain files with "*" or "?" in their names..), but it is guarded by v3 just to be sure. Closes: #34120, #37694, #39846, #46249 -- Joey Hess Mon, 27 Nov 2000 20:43:26 -0800 debhelper (2.2.2) unstable; urgency=low * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so". Closes: #78139 -- Joey Hess Mon, 27 Nov 2000 12:21:53 -0800 debhelper (2.2.1) unstable; urgency=low * Reverted the change to make debian/README be treated as README.Debian, after I learned people use it for eg, documenting the source package itself. Closes: #34628, since it seems this is not such an "incredibly minor" change after all. Never underestimate the annoyance of backwards-compatibility. -- Joey Hess Mon, 27 Nov 2000 12:01:52 -0800 debhelper (2.2.0) unstable; urgency=low * DH_COMPAT=3 now enables the following new features which I can't just turn on by default for fear of breaking backwards compatibility: - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 Patch from Masato Taruishi (modified). If you use this, be sure dh_makeshlibs runs before dh_installdeb; many old rules files have the ordering backwards. - dh_installdeb now causes all files in /etc to be registered as conffiles. - debian/README is now supported: it is treated exactly like debian/README.Debian. Either file is installed as README.Debian in non-native packages, and now as just README in native packages. Closes: #34628 * This is really only the start of the changes for v3, so use with caution.. * dh_du has finally been removed. It has been deprecated for ages, and a grep of the archive shows that nothing is using it except biss-awt and scsh. I filed bugs on both almost exactly a year ago. Those bugs should now be raised to severity important.. * --number option (to dh_installemacsen) is removed. It has been deprecated for a while and nothing uses it. Use --priority instead. -- Joey Hess Sun, 26 Nov 2000 17:51:58 -0800 debhelper (2.1.28) unstable; urgency=low * Ok, fine, I'll make debhelper depend on lynx for the one or two packages that have html changelogs. But you'll be sorry... Closes: #77604 -- Joey Hess Tue, 21 Nov 2000 15:13:39 -0800 debhelper (2.1.27) unstable; urgency=low * Typo, Closes: #77441 -- Joey Hess Sun, 19 Nov 2000 13:23:30 -0800 debhelper (2.1.26) unstable; urgency=low * Completed the fix from the last version. -- Joey Hess Wed, 15 Nov 2000 20:39:25 -0800 debhelper (2.1.25) unstable; urgency=low * Ok, I tihnk we have a db3 fix that will really work now. -- Joey Hess Sun, 12 Nov 2000 13:29:59 -0800 debhelper (2.1.24) unstable; urgency=low * I retract 2.1.23, the hack doesn't help make dpkg-shlibdeps work; db3 is broken upstream. -- Joey Hess Sun, 12 Nov 2000 13:29:57 -0800 debhelper (2.1.23) unstable; urgency=low * dh_makeshlibs: Also scan files named "*.so*", not just "*.so.*", but only if they are files. This should make it more usable with rather stupidly broken libraries like db3, which do not encode the major version in their filenames. However, it cannot guess the major version of such libraries, so -m must be used. -- Joey Hess Sat, 11 Nov 2000 17:24:58 -0800 debhelper (2.1.22) unstable; urgency=low * Fixed dh_perl to work with perl 5.6, Closes: #76508 -- Joey Hess Tue, 7 Nov 2000 15:56:54 -0800 debhelper (2.1.21) unstable; urgency=low * dh_movefiles: no longer does the symlink ordering hack, as this is supported by dpkg itself now. Added a dependency on dpkg-dev >= 1.7.0 to make sure this doesn't break anything. * While I'm updating for dpkg 1.7.0, I removed the -ldirectory hack from dh_shlibdeps; dpkg-shlibdeps has its own much more brutal hack to make this work. The switch is ignored now for backwards compatibility. * dh_suidregister will be deprecated soon -- dpkg-statoverride is a much better way. -- Joey Hess Mon, 6 Nov 2000 15:14:49 -0800 debhelper (2.1.20) unstable; urgency=low * dh_suidregister: do not unregister on purge, since it will have already been unregistered then, and a warning will result. -- Joey Hess Sun, 5 Nov 2000 17:02:50 -0800 debhelper (2.1.19) unstable; urgency=low * dh_builddeb: Ok, it is cosmetic, but it annoyed me. -- Joey Hess Sun, 5 Nov 2000 16:20:46 -0800 debhelper (2.1.18) unstable; urgency=low * dh_builddeb: added a --filename option to specify the output filename. This is intended to be used when building .udebs for the debian installer. -- Joey Hess Sat, 28 Oct 2000 11:41:20 -0700 debhelper (2.1.17) unstable; urgency=low * dh_movefiles.1: well I thought it was quite obvious why it always used debian/tmp, but it's a faq. Added some explanation. By the way, since there now exists a documented way to use dh_movefiles that does not have problems with empty directories that get left behind and so on, I think this Closes: #17111, #51985 -- Joey Hess Fri, 27 Oct 2000 23:07:42 -0700 debhelper (2.1.16) unstable; urgency=low * dh_movefiles: fixed a regexp quoting problem with --sourcedir. Closes: #75434 * Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those in: . debhelper (2.1.14-0.1) unstable; urgency=low . * Non-maintainer upload (thanks Joey). * dh_installchangelogs, dh_installdocs: allow dangling symlinks for $TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages). Closes: #53381 . -- Brendan O'Dea Fri, 20 Oct 2000 18:11:59 +1100 . I also added some documentation to debhelper.1 about this, and removed the TODO entry about it. -- Joey Hess Mon, 23 Oct 2000 15:14:49 -0700 debhelper (2.1.15) unstable; urgency=low * dh_installwm: patched a path in some backwards compatibility code. Closes: #75283 -- Joey Hess Mon, 23 Oct 2000 10:13:44 -0700 debhelper (2.1.14) unstable; urgency=low * Rats, the previous change makes duplicate lines be created in the shlibs file, and lintian complains. Added some hackery that should prevent that. Closes: #73052 -- Joey Hess Tue, 3 Oct 2000 12:32:22 -0700 debhelper (2.1.13) unstable; urgency=low * Typo, Closes: #72932 * dh_makeshlibs: follow symlinks to files when looking for files that are shared libraries. This allows it to catch files like "liballeg-3.9.33.so" that are not in the *.so.* form it looks for, but that doe have links to them that are in the right form. Closes: #72938 -- Joey Hess Sun, 1 Oct 2000 18:23:48 -0700 debhelper (2.1.12) unstable; urgency=low * Rebuild to remove cvs junk, Closes: #72610 -- Joey Hess Wed, 27 Sep 2000 12:39:06 -0700 debhelper (2.1.11) unstable; urgency=low * dh_installmanpages: don't install files that start with .#* -- these are CVS files.. -- Joey Hess Thu, 21 Sep 2000 11:58:52 -0700 debhelper (2.1.10) unstable; urgency=low * Modified to allow no spaces between control file field name and value (this appears to be logal). -- Joey Hess Tue, 19 Sep 2000 23:13:17 -0700 debhelper (2.1.9) unstable; urgency=low * dh_installmodules: corrected the code added to maintainer scripts so it does not call depmod -a. update-modules (which it always called)_ handles calling depmod if doing so is appropriate. Packages built with proir versions probably have issues on systems with non-modular kernels, and should be rebuilt. Closes: #71841 -- Joey Hess Sun, 17 Sep 2000 14:40:45 -0700 debhelper (2.1.8) unstable; urgency=low * Fixed a stupid typo. Closes: #69750 -- Joey Hess Tue, 22 Aug 2000 15:14:48 -0700 debhelper (2.1.7) unstable; urgency=low * debian/package.filename.arch is now checked for first, before debian/package.filename. Closes: #69453 * Added a section to debhelper(1) about files in debian/ used by debhelper, which documents this. Removed scattered references to debian/filename from all over the man pages. -- Joey Hess Sun, 20 Aug 2000 18:06:52 -0700 debhelper (2.1.6) unstable; urgency=low * dh_strip: now knows about the DEB_BUILD_OPTIONS=nostrip thing. -- Joey Hess Sun, 20 Aug 2000 16:28:31 -0700 debhelper (2.1.5) unstable; urgency=low * dh_installxfonts: corrected a problem during package removal that was silently neglecting to remove the fonts.dir/alias files. -- Joey Hess Thu, 17 Aug 2000 00:44:25 -0700 debhelper (2.1.4) unstable; urgency=low * Whoops, I forgot to add v3 to cvs, so it was missing from a few versions. -- Joey Hess Fri, 4 Aug 2000 14:27:46 -0700 debhelper (2.1.3) unstable; urgency=low * dh_shlibdeps: if it sets LD_LIBRARY_PATH, it now prints out a line showing it is doing that when in verbose mode. * examples/rules.multi: don't use DH_OPTIONS hack. It's too confusing. rules.multi2 still uses it, but it has comments explaining the caveats of the hack. -- Joey Hess Fri, 21 Jul 2000 13:53:02 -0700 debhelper (2.1.2) unstable; urgency=low * Minor man page updates as Overfiend struggles with debhelperizing X 4.0. -- Joey Hess Fri, 21 Jul 2000 00:25:32 -0700 debhelper (2.1.1) unstable; urgency=low * Never refer to root, always uid/gid "0". Closes: #67508 -- Joey Hess Thu, 20 Jul 2000 16:56:24 -0700 debhelper (2.1.0) unstable; urgency=low * I started work on debhelper v2 over a year ago, with a long list of changes I hoped to get in that broke backwards compatibility. That development stalled after only the most important change was made, although I did get out over 100 releases in the debhelper 2.0.x tree. In the meantime, lots of packages have switched to using v2, despite my warnings that doing so leaves packages open to being broken without notice until v2 is complete. * Therefore, I am calling v2 complete, as it is. Future non-compatible changes will happen in v3, which will be started soon. This means that by using debhelper v2, one major thing changes: debhelper uses debian/ as the temporary directory for *all* packages; debian/tmp is no longer used to build binary packages out of. This is very useful for multi-binary packages, and I reccommend everyone switch to v2. * Updated example rules files to use v2 by default. * Updated all documentation to assume that v2 is being used. * Added a few notes for people still using v1. * Moved all of the README into debhelper(1). -- Joey Hess Tue, 18 Jul 2000 15:48:41 -0700 debhelper (2.0.104) unstable; urgency=low * Put dh_installogrotate in the examples, Closes: #66986 -- Joey Hess Mon, 10 Jul 2000 16:16:37 -0700 debhelper (2.0.103) unstable; urgency=low * Added dh_installlogrotate. Yuck, 3 l's, but I want to folow my standard.. -- Joey Hess Sun, 9 Jul 2000 00:51:03 -0700 debhelper (2.0.102) unstable; urgency=low * Documented the full list of extra files dh_clean deletes, since people are for some reason adverse to using -v to find it. Closes: #66883 -- Joey Hess Fri, 7 Jul 2000 12:40:43 -0700 debhelper (2.0.101) unstable; urgency=low * Killed the fixlinks stuff, since there are no longer any symlinks in the source package. -- Joey Hess Wed, 5 Jul 2000 19:14:10 -0700 debhelper (2.0.100) unstable; urgency=low * Modified all postinst script fragments to only run when called with "configure". I looked at the other possibilities, and I don't think any of the supported stuff should be called if the postinst is called for error unwinds. Closes: #66673 * Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670 -- Joey Hess Wed, 5 Jul 2000 17:02:40 -0700 debhelper (2.0.99) unstable; urgency=low * dh_installmodules will now install modules even if etc/modutils already exists (wasn't because of a logic error). Closes: #66289 * dh_movefiles now uses debian/movelist, rather than just movelist. This is to fix an unlikely edge case involving a symlinked debian directory. Closes: #66278 -- Joey Hess Mon, 26 Jun 2000 14:24:12 -0700 debhelper (2.0.98) unstable; urgency=low * dh_installdebconf: Automatically merge localized template files. If you use this feature, you should build-depend on debconf-utils to get debconf-mergetemplate. -- Joey Hess Fri, 19 May 2000 14:24:24 -0700 debhelper (2.0.97) unstable; urgency=low * dh_installinfo: changed test to see if an info file is the head file to just skip files that end in -\d+. -- Joey Hess Thu, 11 May 2000 14:11:04 -0700 debhelper (2.0.96) unstable; urgency=low * dh_installmodules: still add depmod -a calls if run on a package that has no debian/modules file, but does contain modules. -- Joey Hess Thu, 4 May 2000 15:32:42 -0700 debhelper (2.0.95) unstable; urgency=low * Fixes for perl 5.6. * Spelling fixes. -- Joey Hess Mon, 1 May 2000 13:35:11 -0700 debhelper (2.0.94) unstable; urgency=low * examples/rules.multi2: binary-indep and binary-arch targets need to depend on the build and install targets. -- Joey Hess Mon, 17 Apr 2000 15:09:26 -0700 debhelper (2.0.93) unstable; urgency=low * Patch from Pedro Guerreiro to make install-docs only be called on configure and remove/upgrade. Closes: #62513 -- Joey Hess Sun, 16 Apr 2000 19:05:52 -0700 debhelper (2.0.92) unstable; urgency=low * Detect changelog parse failures and use a better error message. Closes: #62058 -- Joey Hess Sat, 8 Apr 2000 20:02:16 -0700 debhelper (2.0.91) unstable; urgency=low * Fixed a silly typo in dh_installmanpages, Closes: #60727 -- Joey Hess Sat, 18 Mar 2000 23:23:01 -0800 debhelper (2.0.90) unstable; urgency=low * Fixed dh_testversion; broken in last release. -- Joey Hess Sat, 4 Mar 2000 13:16:58 -0800 debhelper (2.0.89) unstable; urgency=low * Patch from Jorgen `forcer' Schaefer (much modified)to make dh_installwm use new window manager registration method, update-alternatives. Closes: #52156, #34684 (latter bug is obsolete) * Fixed $dh{flavor} to be upper-case. * Deprecated dh_installemavcsen --number; use --priority instead. Also, the option parser requires the parameter be a number now. And, dh_installwm now accepts --priority, and window manager packages should start using it. * dh_installwm now behaves like a proper debhelper command, and reads debian/.wm too. This is a small behavior change; filenames specified on the command line no longer apply to all packages it acts on. I can't believe this program existed for 2 years with such a glaring problem; I guess most people don't need ot register 5 wm's in 3 sub-packages. Anyway, it can handle such things now. :-) * Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change. -- Joey Hess Thu, 2 Mar 2000 11:39:56 -0800 debhelper (2.0.88) unstable; urgency=low * Copyright update: files in the examples directory are public domain. -- Joey Hess Mon, 7 Feb 2000 23:16:39 -0800 debhelper (2.0.87) unstable; urgency=low * Documented that lynx is used to convert html changelogs. Closes: #54055 -- Joey Hess Mon, 7 Feb 2000 16:01:19 -0800 debhelper (2.0.86) unstable; urgency=low * dh_testroot: don't call init(), so it may be run even if it's not in the right place. Closes: #55065 -- Joey Hess Thu, 13 Jan 2000 21:40:21 -0800 debhelper (2.0.85) unstable; urgency=low * Downgraded fileutils dependency just a bit for the Hurd folks. Closes: #54620 -- Joey Hess Mon, 10 Jan 2000 16:41:29 -0800 debhelper (2.0.84) unstable; urgency=low * Make all examples rules files executable. * Copyright date updates. -- Joey Hess Thu, 6 Jan 2000 15:10:55 -0800 debhelper (2.0.83) unstable; urgency=low * Depend on the current unstable fileutils, because I have to use chown --no-dereference. I'm not sure when it started working, but it didn't work in slink. -- Joey Hess Wed, 5 Jan 2000 14:22:26 -0800 debhelper (2.0.82) unstable; urgency=low * Added dh_installmime calls to examples, Closes: #54056 -- Joey Hess Tue, 4 Jan 2000 09:35:19 -0800 debhelper (2.0.81) unstable; urgency=low * dh_installxaw: Patch from Josip Rodin to update to fhs paths, Closes: #53029 -- Joey Hess Mon, 20 Dec 1999 12:21:34 -0800 debhelper (2.0.80) unstable; urgency=low * Type fix, Closes: #52652 -- Joey Hess Mon, 13 Dec 1999 13:47:48 -0800 debhelper (2.0.79) unstable; urgency=low * Corrected misspellings, Closes: #52013 -- Joey Hess Mon, 6 Dec 1999 13:46:18 -0800 debhelper (2.0.78) unstable; urgency=low * dh_fixperms: chown symlinks as well as normal files. Closes: #51169. -- Joey Hess Wed, 1 Dec 1999 13:34:06 -0800 debhelper (2.0.77) unstable; urgency=low * dh_suidregister: Fixed a rather esoteric bug: If a file had multiple hard links, and was suid, suidregister detected all the hard links as files that need to be registered. It looped, registering the first link, and then removing its suid bit. This messed up the registration of the other had links, since their permissions were now changed, leading to unpredictable results. The fix is to just not remove suid bits until all files have been registered. -- Joey Hess Tue, 30 Nov 1999 00:26:42 -0800 debhelper (2.0.76) unstable; urgency=low * dh_installmanpages: - Added support for translated man pages, with a patch from Kis Gergely . Closes: #51268 - Fixed the undefined value problem in Kis's patch. - This also Closes: #37092 come to think of it. * dh_shlibdeps, dh_shlibdeps.1: - Added -X option, which makes it not examine some files. This is useful in rare cases. Closes: #51100 - Always pass "-dDepends" before the list of files, which makes it easier to specify other -d parameters in the uparams, and doesn't otherwise change the result at all. * doc/TODO: - dh_installdebfiles is no longer a part of debhelper. This affects exactly one package in unstable, biss-awt, which has had a bug filed against it for 200+ days now asking that it stop using the program. dh_installdebfiles has been deprecated for nearly 2 years now.. * This changelog was automatically generated from CVS commit information. Fear makechangelog. -- Joey Hess Sun, 28 Nov 1999 21:59:00 -0800 debhelper (2.0.75) unstable; urgency=low * Fixed typo in dh_installmenu.1, Closes: #51332 -- Joey Hess Sat, 27 Nov 1999 20:40:15 -0800 debhelper (2.0.74) unstable; urgency=low * dh_suidregister: Die with understandable error message if asked to act on files that don't exist. * dh_installchangelogs: to comply with policy, if it's told to act on a html changelog, it installs it as changelog.html.gz and dumps a plain text version to changelog.gz. The dumping is done with lynx. (Closes: #51099) * Dh_Getopt.pm: Modified it so any options specified after -- are added to U_PARAMS. This means that instead of passing '-u"something nasty"' to dh_gencontrol and the like, you can pass '-- something nasty' without fiddling to get the quoting right, etc. -- Joey Hess Tue, 23 Nov 1999 11:36:15 -0800 debhelper (2.0.73) unstable; urgency=low * Actually, debhelper build-depends on perl-5.005. -- Joey Hess Mon, 22 Nov 1999 21:43:55 -0800 debhelper (2.0.72) unstable; urgency=low * Corrected slash substitution problem in dh_installwm. -- Joey Hess Mon, 22 Nov 1999 21:43:47 -0800 debhelper (2.0.71) unstable; urgency=low * Oh, the build dependencies include all of debhelper's regular dependencies as well, since it builds using itself. -- Joey Hess Fri, 5 Nov 1999 14:14:26 -0800 debhelper (2.0.70) unstable; urgency=low * Added build dependencies to this package. That was easy; it just uses perl5 for regression testing, the rest of its build-deps are things in base. * dh_version.1: Added note that this program is quickly becoming obsolete. * doc/README, doc/from-debstd: Added reminders that if you use debhelper, you need to add debhelper to your Build-Depends line. -- Joey Hess Thu, 4 Nov 1999 21:24:37 -0800 debhelper (2.0.69) unstable; urgency=low * dh_shlibdeps: added -l option, which lets you specify a path that LD_LIBRARY_PATH is then set to when dpkg-shlibdeps is run. This should make it easier for library packages that also build binary packages to be built with correct dependencies. Closes: #36751 * In honor of Burn all GIFs Day (hi Don!), I added alternative image formats .png, .jpg (and .jpeg) to the list of extensions dh_compress does not compress. Closes: #41733 * Also, made all extensions dh_compress skips be looked at case insensitively. * dh_movefiles: force owner and group of installed files to be root. Closes: #46039 * Closes: #42650, #47175 -- they've been fixed forever. -- Joey Hess Thu, 4 Nov 1999 15:05:59 -0800 debhelper (2.0.68) unstable; urgency=low * dh_installxfonts: Patch from Anthony Wong to fix directory searching. Closes: #48931 -- Joey Hess Mon, 1 Nov 1999 14:46:04 -0800 debhelper (2.0.67) unstable; urgency=low * dh_installdebconf: Modified to use new confmodule debconf library. -- Joey Hess Fri, 29 Oct 1999 15:24:47 -0700 debhelper (2.0.66) unstable; urgency=low * Fixed some problems with dh_installxfonts font dirs. -- Joey Hess Thu, 28 Oct 1999 00:46:43 -0700 debhelper (2.0.65) unstable; urgency=low * dh_builddeb: -u can be passed to this command now, followed by any extra parameters you want to pass to dpkg-deb (Closes: #48394) -- Joey Hess Tue, 26 Oct 1999 10:14:57 -0700 debhelper (2.0.64) unstable; urgency=low * Corrected a path name in dh_installxfonts. Closes: #48315 -- Joey Hess Mon, 25 Oct 1999 14:24:03 -0700 debhelper (2.0.63) unstable; urgency=low * Removed install-stamp cruft in all example rules files. Closes: #47175 -- Joey Hess Tue, 12 Oct 1999 14:23:09 -0700 debhelper (2.0.62) unstable; urgency=low * Fixed problem with dh_installemacsen options not working, patch from Rafael Laboissiere , Closes: #47738 * Added new dh_installxfonts script by Changwoo Ryu . Closes: #46684 I made some changes, though: - I rewrote lots of this script to be more my style of perl. - I removed all the verbosity from the postinst script fragment, since that is a clear violation of policy. - I made the postinst fail if the mkfontdir, etc commands fail, because this really makes more sense. Consider idempotency. - I moved the test to see if the font dir is really a directory into the dh_ script and out of the snippet. If the maintainer plays tricks on us, mkfontdir will blow up satisfactorily anyway. - So, the snippet is 9 lines long now, down from 20-some. - I realize this isn't following the recommendations made in Brando^Hen's font policy. I'll fight it out with him. :-) - In postrm fragment, used rmdir -p to remove as many parent directories as I can. - s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g -- Joey Hess Sun, 24 Oct 1999 15:30:53 -0700 debhelper (2.0.61) unstable; urgency=low * Clarified rules.multi2 comment. Closes: #46828 -- Joey Hess Sat, 9 Oct 1999 18:21:02 -0700 debhelper (2.0.60) unstable; urgency=low * dh_compress: After compressing an executable, changes the file mode to 644. Executable .gz files are silly. Closes: #46383 -- Joey Hess Wed, 6 Oct 1999 13:05:14 -0700 debhelper (2.0.59) unstable; urgency=low * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink, leaves it alone, assuming that the maintainer knows what they're doing and is probably linking to the doc dir of another package. (Closes: #46183) -- Joey Hess Mon, 4 Oct 1999 16:27:28 -0700 debhelper (2.0.58) unstable; urgency=low * Dh_Lib.pm: fixed bug in xargs() that made boundary words be skipped. -- Joey Hess Sun, 3 Oct 1999 18:55:29 -0700 debhelper (2.0.57) unstable; urgency=low * Added note to man pages of commands that use autoscript to note they are not idempotent. -- Joey Hess Fri, 1 Oct 1999 13:18:20 -0700 debhelper (2.0.56) unstable; urgency=low * Fiddlesticks. The neat make trick I was using in rules.multi2 failed if you try to build binary-indep and binary-arch targets in the same make run. Make tries to be too smart. Modified the file so it will work, though it's now uglier. Closes: 46287 * examples/*: It's important that one -not- use a install-stamp target. Install should run every time binary-* calls it. Otherwise if a binary-* target is called twice by hand, you get duplicate entries in the maintainer script fragment files. Closes: #46313 -- Joey Hess Thu, 30 Sep 1999 12:01:40 -0700 debhelper (2.0.55) unstable; urgency=low * Fixed quoting problem in examples/rules.multi (Closes: #46254) -- Joey Hess Wed, 29 Sep 1999 12:06:59 -0700 debhelper (2.0.54) unstable; urgency=low * Enhanced debconf support -- the database is now cleaned up on package purge. * Broke all debconf support off into a dh_installdebconf script. This seems conceptually a little cleaner. -- Joey Hess Tue, 28 Sep 1999 16:12:53 -0700 debhelper (2.0.53) unstable; urgency=low * Minor changes to rules.multi2. -- Joey Hess Mon, 27 Sep 1999 13:57:17 -0700 debhelper (2.0.52) unstable; urgency=low * dh_movefiles: if the wildcards in the filelist expand to nothing, don't do anything, rather than crashing. -- Joey Hess Thu, 23 Sep 1999 15:18:00 -0700 debhelper (2.0.51) unstable; urgency=low * dh_installdocs: create the compatibility symlink before calling install-docs. I'm told this is better in some cases. (Closes: #45608) * examples/rules.multi2: clarified what you have to comment/uncomment. -- Joey Hess Mon, 20 Sep 1999 12:43:09 -0700 debhelper (2.0.50) unstable; urgency=medium * Oops. Fixed dh_shlibdeps so it actually generates dependencies, broke in last version. -- Joey Hess Sat, 18 Sep 1999 19:00:10 -0700 debhelper (2.0.49) unstable; urgency=low * dh_shlibdeps: detect statically linked binaries and don't pass them to dpkg-shlibdeps. * dh_installdeb: debconf support. -- Joey Hess Fri, 17 Sep 1999 00:28:59 -0700 debhelper (2.0.48) unstable; urgency=low * 4 whole days without a debhelper upload! Can't let that happen. Let's see.. * dh_installperl.1: explain what you have to put in your control file for the dependencies to be generated. -- Joey Hess Thu, 16 Sep 1999 21:15:05 -0700 debhelper (2.0.47) unstable; urgency=low * dh_undocumented: installs links for X11 man pages to the undocumented.7 page in /usr/share/man. (Closes: #44909) -- Joey Hess Sun, 12 Sep 1999 13:12:34 -0700 debhelper (2.0.46) unstable; urgency=low * dh_installemacsen: the script fragments it generates now test for the existence of emacs-package-install/remove before calling them. Though a strict reading of the emacsen policy indicates that such a test shouldn't be needed, there may be edge cases (cf bug 44924), where it is. -- Joey Hess Sun, 12 Sep 1999 12:54:37 -0700 debhelper (2.0.45) unstable; urgency=low * dh_installdocs.1: clarified how the doc-id is determined. Closes: #44864 * dh_makeshlibs: will now overwrite existing debian/tmp/DEBIAN/shlibs files, instead of erroring out. (Closes: #44828) -- Joey Hess Sat, 11 Sep 1999 13:15:33 -0700 debhelper (2.0.44) unstable; urgency=low * dh_compress: fixed #ARGV bug (again) Closes: #44853 -- Joey Hess Sat, 11 Sep 1999 13:04:15 -0700 debhelper (2.0.43) unstable; urgency=low * Corrected example rules files, which had some messed up targets. -- Joey Hess Thu, 9 Sep 1999 11:22:09 -0700 debhelper (2.0.42) unstable; urgency=low * dh_installinfo: failed pretty miserably if the info file's section contained '/' characters. Doesn't now. -- Joey Hess Mon, 6 Sep 1999 16:33:13 -0700 debhelper (2.0.41) unstable; urgency=low * dh_installinfo: use FHS info dir. I wonder how I missed that.. -- Joey Hess Mon, 6 Sep 1999 13:22:08 -0700 debhelper (2.0.40) unstable; urgency=low * FHS compliance. Patch from Johnie Ingram . For the most part, this was a straight-forward substitution, dh_installmanpages needed a non-obvious change though. * Closes: #42489, #42587, #41732. * dh_installdocs: Adds code to postinst and prerm as specified in http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html, to make /usr/doc/ a compatibility symlink to /usr/share/doc/. Note that currently if something exists in /usr/doc/ when the postinst is run, it will silently not make the symlink. I'm considering more intelligent handing of this case. * Note that if you build a package with this version of debhelper, it will use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to modify other files in your package that reference the old locations. -- Joey Hess Sun, 5 Sep 1999 21:06:11 -0700 debhelper (2.0.30) unstable; urgency=low * It turns out it's possible to set up make variables that are specific to a single target of a Makefile. This works tremendously well with DH_OPTIONS: no need to put "-i" or "-pfoo" after every debhelper command anymore. * debhelper.1: mentioned above technique. * examples/rules.multi: use the above method to get rid of -i's and -a's. * examples/rules.multi2: new file, example of a multi-binary package that works for arch-indep and arch-dependant packages, and also allows building of single binary packages independently, via binary- targets. It accomplishes all this using only one list of debhelper commands. * examples/*: removed source and diff targets. They've been obsolete for 2 years -- or is it 3? No need for a nice error message on failure anymore. -- Joey Hess Fri, 3 Sep 1999 11:28:24 -0700 debhelper (2.0.29) unstable; urgency=low * dh_shlibdeps: Fixed quoting problem that made it fail on weird file names. Patch from Devin Carraway , Closes: #44016 -- Joey Hess Thu, 2 Sep 1999 13:40:37 -0700 debhelper (2.0.28) unstable; urgency=low * Oops, dh_installpam was omitted from the package. Added back. Closes: #43652 -- Joey Hess Fri, 27 Aug 1999 19:16:38 -0700 debhelper (2.0.27) unstable; urgency=low * No user visible changes. Modified the package to interface better with my new local build system, which auto-updates the home page when a new debhelper is built. -- Joey Hess Thu, 26 Aug 1999 23:20:40 -0700 debhelper (2.0.25) unstable; urgency=low * Corrected debian/fixlinks to make the correct debian/* symlinks needed for building debhelper. * Fixed rules file to create and populate examples and docs dirs. Oops. -- Joey Hess Wed, 25 Aug 1999 19:46:08 -0700 debhelper (2.0.24) unstable; urgency=low * dh_installdocs: Handle trailing whitespace after Document: name. Closes: #43148. -- Joey Hess Wed, 18 Aug 1999 10:23:17 -0700 debhelper (2.0.23) unstable; urgency=low * Fixed makefile commit target. * Misc changes to make CVS dirs not be copies into package. -- Joey Hess Mon, 16 Aug 1999 22:43:39 -0700 debhelper (2.0.22) unstable; urgency=low * Checked all of debhelper into CVS. * Removed Test.pm (we have perl 5.005 now) * Skip CVS dir when running tests. * Since CVS is so brain dead about symlinks, added a debian/fixlinks script. Modified debian/rules to make sure it's run if any of the symlinks are missing. Also, made Makefile a short file that sources debian/rules so it's always available. -- Joey Hess Mon, 16 Aug 1999 22:35:12 -0700 debhelper (2.0.21) unstable; urgency=low * Wow. It turns out dh_installdocs has been doing it wrong and doc-base files have the doc-id inside them. Applied and modified a patch from Peter Moulder to make it use those id's instead of coming up with it's own. (Closes: #42650) -- Joey Hess Sun, 8 Aug 1999 10:24:10 -0700 debhelper (2.0.20) unstable; urgency=low * dh_perl: Patch from Raphael Hertzog to allow specification on the command line of alternate paths to search for perl modules. (Closes: #42171) -- Joey Hess Fri, 30 Jul 1999 09:42:08 -0700 debhelper (2.0.19) unstable; urgency=low * dh_installinfo: fixed bug if a info file had no section. -- Joey Hess Thu, 29 Jul 1999 11:41:11 -0700 debhelper (2.0.18) unstable; urgency=low * dh_installxaw: fixed multiple stanza problem, for real this time (patch misapplied last time). (Closes: #41862) -- Joey Hess Mon, 26 Jul 1999 13:00:09 -0700 debhelper (2.0.17) unstable; urgency=low * dh_clean: compat() wasn't exported. -- Joey Hess Wed, 21 Jul 1999 12:49:52 -0700 debhelper (2.0.16) unstable; urgency=low * Dh_lib.pm: when looking for debhelper files in debian/, test with -f, not with -e, because it might fail if you're building a package named, say, 'docs', with a temp dir of debian/docs. I don't anticipate this ever happening, but it pays to be safe. -- Joey Hess Tue, 20 Jul 1999 21:00:04 -0700 debhelper (2.0.15) unstable; urgency=low * dh_clean: only force-remove debian/tmp if in v2 mode. In v1 mode, we shouldn't remove it because we may only be acting on a single package. (Closes: #41689) -- Joey Hess Tue, 20 Jul 1999 19:00:15 -0700 debhelper (2.0.14) unstable; urgency=low * Moved /usr/lib/debhelper to /usr/share/debhelper for FHS compliance (#41174). If you used Dh_lib or something in another package, be sure to update your "use" line and declare an appropriate dependency. (Closes: #41174) * dh_installxaw: Patch from Josip Rodin to fix multiple-stanza xaw file support. (Closes: #41173) -- Joey Hess Mon, 12 Jul 1999 11:49:57 -0700 debhelper (2.0.13) unstable; urgency=low * dh_fixperms: FHS fixes (#41058) -- Joey Hess Fri, 9 Jul 1999 13:07:49 -0700 debhelper (2.0.12) unstable; urgency=low * dh_installinfo: fixed #SECTION# substitution. -- Joey Hess Wed, 7 Jul 1999 17:51:59 -0700 debhelper (2.0.11) unstable; urgency=low * At long, long last, dh_installinfo is written. It takes a simple list of info files and figures out the rest for you. (Closes: #15717) -- Joey Hess Wed, 7 Jul 1999 17:04:48 -0700 debhelper (2.0.10) unstable; urgency=low * dh_compress: compress changelog.html files. (Closes: #40626) * dh_installchangelogs: installs a link from changelog.html.gz to changelog.gz, because I think it's important that upstream changelogs always be accessible at that name. * dh_compress: removed the usr/share/X11R6/man bit. Note part of FHS. -- Joey Hess Wed, 7 Jul 1999 10:46:03 -0700 debhelper (2.0.09) unstable; urgency=low * dh_compress: added some FHS support. Though debhelper doesn't put stuff there (and won't until people come up with a general transition strategy or decide to not have a clean transition), dh_compress now compresses various files in /usr/share/{man,doc,info}. (Closes: #40892) -- Joey Hess Wed, 7 Jul 1999 09:55:03 -0700 debhelper (2.0.08) unstable; urgency=low * dh_*: redirect cd output to /den/null, because CD can actually output things if CDPATH is set. -- Joey Hess Tue, 6 Jul 1999 10:14:00 -0700 debhelper (2.0.07) unstable; urgency=low * Added dh_perl calls to example rules files. -- Joey Hess Sun, 4 Jul 1999 15:57:51 -0700 debhelper (2.0.06) unstable; urgency=low * Now depends on perl5 | perl, I'll kill the | perl bit later on, but it seems to make sense for the transition. -- Joey Hess Sun, 4 Jul 1999 10:56:03 -0700 debhelper (2.0.05) unstable; urgency=low * dh_clean: clean debian/tmp even if v2 is being used. If you're using dh_movefiles, stuff may well be left in there, and it needs to be cleaned up. -- Joey Hess Sat, 3 Jul 1999 13:23:46 -0700 debhelper (2.0.04) unstable; urgency=low * Patch from Raphael Hertzog to make dh_perl support a -d flag that makes it add a dependency on the appropriate perl-XXX-base package. Few packages will really need this. (Closes: #40631) -- Joey Hess Fri, 2 Jul 1999 11:22:00 -0700 debhelper (2.0.03) unstable; urgency=low * Depend on file >= 2.23-1, because dh_perl uses file -b, introduced at that version. (Closes: #40589) -- Joey Hess Thu, 1 Jul 1999 14:41:12 -0700 debhelper (2.0.02) unstable; urgency=low * If you're going to use v2, it's recommended you call "dh_testversion 2". Added a note about that to doc/v2. * Dh_Lib.pm compat: if a version that is greater than the highest supported compatibility level is specified, abort with an error. Perhaps there will be a debhelper v3 some day... -- Joey Hess Thu, 1 Jul 1999 14:08:14 -0700 debhelper (2.0.01) unstable; urgency=low * Actually include doc/v2 this time round. -- Joey Hess Thu, 1 Jul 1999 14:01:55 -0700 debhelper (2.0.00) unstable; urgency=low * Don't let the version number fool you. Debhelper v2 is here, but just barely. That's what all the zero's mean. :-) * If DH_COMPAT=2, then debian/ will be used for the temporary build directory for all packages. debian/tmp is no more! (Well, except dh_movefiles still uses it.) * debhelper.1: documented this. * Dh_lib.pm: added compat(), pass in a number, it returns true if the current compatibility level is equal to that number. * doc/PROGRAMMING: documented that. * debhelper itself now builds using DH_COMPAT=2. * dh_debstd forces DH_COMPAT=1, because it needs to stay compatible with debstd after all. -- Joey Hess Thu, 1 Jul 1999 13:37:58 -0700 debhelper (1.9.00) unstable; urgency=low * This is a release of debhelper in preparation for debhelper v2. * doc/v2: added, documented status of v2 changes. * README: mention doc/v2 * debhelper.1: documented DH_COMPAT * examples/*: added DH_COMAPT=1 to top of rules files -- Joey Hess Thu, 1 Jul 1999 13:16:41 -0700 debhelper (1.2.83) unstable; urgency=medium * dh_perl: fixed substvars typo. Urgency medium since a lot of people will be using this script RSN. -- Joey Hess Thu, 1 Jul 1999 11:44:05 -0700 debhelper (1.2.82) unstable; urgency=low * dh_installinit: applied patch from Yann Dirson to make it look for init.d scripts matching the --init-script parameter. This is only useful if, like Yann, you have packages that need to install more than 1 init script. -- Joey Hess Fri, 25 Jun 1999 11:38:05 -0700 debhelper (1.2.81) unstable; urgency=low * dh_link: fixed bug #40159 and added a regression test for it. It was failing if it was given absolute filenames. -- Joey Hess Fri, 25 Jun 1999 10:12:44 -0700 debhelper (1.2.80) unstable; urgency=low * Changed perl version detection. * Changed call to find. -- Joey Hess Thu, 24 Jun 1999 16:48:53 -0700 debhelper (1.2.79) unstable; urgency=low * Added dh_perl by Raphael Hertzog . dh_perl handles finding dependencies of perl scripts, plus deleting those annoying .packlist files. * I don't think dh_perl is going to be useful until the new version of perl comes out. -- Joey Hess Thu, 24 Jun 1999 14:47:55 -0700 debhelper (1.2.78) unstable; urgency=low * Really include dh_installpam. -- Joey Hess Tue, 15 Jun 1999 09:00:36 -0700 debhelper (1.2.77) unstable; urgency=low * dh_installpam: new program by Sean * Wrote man page for same. -- Joey Hess Fri, 11 Jun 1999 13:08:04 -0700 debhelper (1.2.76) unstable; urgency=low * dh_fixperms: Do not use chmod/chown -R at all anymore, instead it uses the (slower) find then chown method. Necessary because the -R methods will happily attempt to chown a dangling symlink, which makes them fail. (Closes: #38911) -- Joey Hess Mon, 7 Jun 1999 20:20:01 -0700 debhelper (1.2.75) unstable; urgency=low * dh_installemacsen: fixed perms of install, remove scripts. (closes: #39082) -- Joey Hess Mon, 7 Jun 1999 14:42:12 -0700 debhelper (1.2.74) unstable; urgency=low * dh_installmanpages: recognizes gzipped man pages and installs them. This is an experimental change, one problem is if your man page isn't already gzip-9'd, it will be in violation of policy. (closes: #38673) * The previous fix to dh_installemacsen was actually quite necessary - the x bit was being set! -- Joey Hess Thu, 3 Jun 1999 15:14:27 -0700 debhelper (1.2.73) unstable; urgency=low * dh_installemacsen: make sure files are installed mode 0644. Not strictly necessary since dh_fixperms fixes them if you have a wacky umask, but oh well. (Closes: 38900) -- Joey Hess Thu, 3 Jun 1999 14:50:42 -0700 debhelper (1.2.72) unstable; urgency=low * dh_installemacsen: use debian/package.emacsen-startup, not debian/package.emacsen-init. The former has always been documented to work on the man page (closes: #38898). -- Joey Hess Thu, 3 Jun 1999 14:16:57 -0700 debhelper (1.2.71) unstable; urgency=low * Fixed a typo (closes: #38881) -- Joey Hess Thu, 3 Jun 1999 13:23:23 -0700 debhelper (1.2.70) unstable; urgency=low * dh_installmanpages: Properly quoted metacharacters in $dir in regexp. (#38263). -- Joey Hess Tue, 25 May 1999 14:12:30 -0700 debhelper (1.2.69) unstable; urgency=low * Don't include Test.pm in the binary package. -- Joey Hess Sun, 23 May 1999 19:29:27 -0700 debhelper (1.2.68) unstable; urgency=low * doc/README: updated example of using #DEBHELPER# in a perl script, with help from Julian Gilbey. * dh_link: generate absolute symlinks where appropriate. The links generated before were wrong sometimes (#37774) * Started writing a regression test suite for debhelper. Currently covers only the above bugfix and a few more dh_link tests. * Tossed Test.pm into the package (for regression tests) until we get perl 5.005 which contains that package. That file is licenced the same as perl. * dh_installchangelogs: force all installed files to be owned by root (#37655). -- Joey Hess Sun, 16 May 1999 17:18:44 -0700 debhelper (1.2.67) unstable; urgency=low * dh_installmodules: fixed type that made the program not work. -- Joey Hess Wed, 12 May 1999 00:25:05 -0700 debhelper (1.2.66) unstable; urgency=low * examples/rules.multi: dh_shlibdeps must be run before dh_gencontrol (#37346) -- Joey Hess Sun, 9 May 1999 14:03:05 -0700 debhelper (1.2.65) unstable; urgency=low * Added to docs. -- Joey Hess Thu, 6 May 1999 21:46:03 -0700 debhelper (1.2.64) unstable; urgency=low * dh_installmime: new command (#37093, #32684). -- Joey Hess Mon, 3 May 1999 13:37:34 -0700 debhelper (1.2.63) unstable; urgency=low * dh_installxaw: updated to work with xaw-wrappers 0.90 and above. It actually has to partially parse the xaw-wrappers config files now. -- Joey Hess Sun, 2 May 1999 19:13:34 -0700 debhelper (1.2.62) unstable; urgency=low * dh_installemacsen: added support for site-start files. Added --flavor and --number to control details of installation. (#36832) -- Joey Hess Sun, 2 May 1999 15:31:58 -0700 debhelper (1.2.61) unstable; urgency=low * dh_md5sums.1: dh_md5sums is not deprecated, AFAIK, but the manpage has somehow been modified to say it was at version 1.2.45. -- Joey Hess Mon, 26 Apr 1999 19:54:04 -0700 debhelper (1.2.60) unstable; urgency=low * dh_installexamples.1: recycled docs fix. -- Joey Hess Mon, 26 Apr 1999 17:19:07 -0700 debhelper (1.2.59) unstable; urgency=low * dh_builddeb: added --destdir option, which lets you tell it where to put the generated .deb's. Default is .. of course. -- Joey Hess Thu, 22 Apr 1999 22:02:01 -0700 debhelper (1.2.58) unstable; urgency=low * autoscripts/postinst-suid: use /#FILE# in elif test (#36297). -- Joey Hess Sun, 18 Apr 1999 22:33:52 -0700 debhelper (1.2.57) unstable; urgency=low * examples/*: killed trailing spaces after diff: target -- Joey Hess Mon, 12 Apr 1999 22:02:32 -0700 debhelper (1.2.56) unstable; urgency=low * dh_suidregister: make the chown/chmod only happen if the file actually exists. This is useful if you have conffiles that have permissions and may be deleted. (#35845) -- Joey Hess Sat, 10 Apr 1999 13:35:23 -0700 debhelper (1.2.55) unstable; urgency=low * Various man page enhancements. * dh_md5sums: supports -X to make it skip including files in the md5sums (#35819). -- Joey Hess Fri, 9 Apr 1999 18:21:58 -0700 debhelper (1.2.54) unstable; urgency=low * dh_installinit.1: man page fixups (#34160). * *.1: the date of each man page is now automatically updated when debhelper is built to be the last modification time of the man page. -- Joey Hess Thu, 8 Apr 1999 20:28:00 -0700 debhelper (1.2.53) unstable; urgency=low * dh_compress: leave .taz and .tgz files alone. Previously trying to compress such files caused gzip to fail and the whole command to fail. Probably fixes #35677. Actually, it now skips files with a whole range of odd suffixes that gzip refuses to compress, including "_z" and "-gz". * dh_compress.1: updated docs to reflect this, and to give the new suggested starting point if you want to write your own debian/compress file. -- Joey Hess Wed, 7 Apr 1999 02:20:14 -0700 debhelper (1.2.52) unstable; urgency=low * dh_installmodules: new program, closes #32546. -- Joey Hess Thu, 1 Apr 1999 17:25:37 -0800 debhelper (1.2.51) unstable; urgency=low * Another very minor typo fix. -- Joey Hess Thu, 1 Apr 1999 14:04:02 -0800 debhelper (1.2.50) unstable; urgency=low * Very minor typo fix. -- Joey Hess Fri, 26 Mar 1999 17:27:01 -0800 debhelper (1.2.49) unstable; urgency=low * dh_fixperms: if called with -X, was attempting to change permissions of even symlinks. This could have even caused it to follow the symlinks and modify files on the build system in some cases. Ignores them now. (#35102) -- Joey Hess Wed, 24 Mar 1999 13:21:49 -0800 debhelper (1.2.48) unstable; urgency=low * dh_fixperms.1: improved documentation. (#34968) -- Joey Hess Tue, 23 Mar 1999 19:11:01 -0800 debhelper (1.2.47) unstable; urgency=low * doc/README: updated the example of including debhelper shell script fragments inside a perl program -- the old method didn't work with shell variables properly (#34850). -- Joey Hess Sun, 21 Mar 1999 13:25:33 -0800 debhelper (1.2.46) unstable; urgency=low * doc/README: pointer to maint-guide. -- Joey Hess Thu, 18 Mar 1999 21:04:57 -0800 debhelper (1.2.45) unstable; urgency=low * dh_installwm.1: fixed two errors (#34534, #34535) * debhelper.1: list all other debhelper commands with synopses (automatically generated by build process). -- Joey Hess Sun, 14 Mar 1999 11:33:39 -0800 debhelper (1.2.44) unstable; urgency=medium * dh_fixperms: has been mostly broken when used with -X, corrected this. -- Joey Hess Sat, 13 Mar 1999 17:25:59 -0800 debhelper (1.2.43) unstable; urgency=low * dh_compress.1: man page fixes (Closes: #33858). * dh_compress: now it can handle compressing arbitrary numbers of files, spawning gzip multiple times like xargs does, if necessary. (Closes: #33860) * Dh_Lib.pm: added xargs() command. -- Joey Hess Tue, 9 Mar 1999 14:57:09 -0800 debhelper (1.2.42) unstable; urgency=low * dh_m5sums: don't generate bogus md5sums file if the package contains no files. Yes, someone found a legitimate reason to do that. -- Joey Hess Thu, 25 Feb 1999 00:03:47 -0800 debhelper (1.2.41) unstable; urgency=low * README: minor typo fix. -- Joey Hess Sat, 20 Feb 1999 23:30:00 -0800 debhelper (1.2.40) unstable; urgency=low * Let's just say 1.2.39 is not a good version of debhelper to use and leave it at that. :-) -- Joey Hess Sat, 20 Feb 1999 22:55:27 -0800 debhelper (1.2.39) unstable; urgency=low * dh_installcron: install files in cron.d with correct perms. -- Joey Hess Sat, 20 Feb 1999 22:28:38 -0800 debhelper (1.2.38) unstable; urgency=low * dh_clean: don't try to delete directories named "core". -- Joey Hess Sat, 20 Feb 1999 19:13:40 -0800 debhelper (1.2.37) unstable; urgency=low * dh_installdocs: Patch from Jim Pick , fixes regexp error (Closes: #33431). * dh_installxaw: new program by Daniel Martin , handles xaw-wrappers integration. * dh_installxaw.1: wrote man page. -- Joey Hess Thu, 18 Feb 1999 17:32:53 -0800 debhelper (1.2.36) unstable; urgency=low * dh_compress.1: Fixed typo in man page. (Closes: #33364) * autoscripts/postinst-menu-method: fixed typo. (Closes: #33376) -- Joey Hess Sun, 14 Feb 1999 13:45:18 -0800 debhelper (1.2.35) unstable; urgency=low * Dh_Lib.pm filearray(): Deal with multiple spaces and spaces at the beginning of lines in files. (closes: #33161) -- Joey Hess Tue, 9 Feb 1999 21:01:07 -0800 debhelper (1.2.34) unstable; urgency=low * dh_clean: added -d flag (also --dirs-only) that will make it clean only tmp dirs. (closes: #30807) * dh_installdocs: to support packages that need multiple doc-base files, will now look for debian/.doc-base.. * dh_compress: removed warning message (harmless). -- Joey Hess Sat, 6 Feb 1999 17:48:33 -0800 debhelper (1.2.33) unstable; urgency=low * dh_compress: verbose_print() cd's. * dh_compress: clear the hash of hard links when we loop - was making dh_compress fail on multi-binary packages that had hardlinks. Thanks to Craig Small for spotting this. -- Joey Hess Thu, 4 Feb 1999 20:19:37 -0800 debhelper (1.2.32) unstable; urgency=low * dh_suidmanager: if it cannot determine the user name or group name from the uid or gid, it will pass the uid or gid to suidmanager. This should probably never happen, but it's good to be safe. -- Joey Hess Thu, 4 Feb 1999 16:00:35 -0800 debhelper (1.2.31) unstable; urgency=low * dh_installinit.1: minor typo fix (closes: #32753) -- Joey Hess Tue, 2 Feb 1999 14:32:46 -0800 debhelper (1.2.30) unstable; urgency=low * dh_fixperms: cut down the number of chmod commands that are executed from 3 to 1, no change in functionality. -- Joey Hess Mon, 1 Feb 1999 17:05:29 -0800 debhelper (1.2.29) unstable; urgency=high * Do not include bogus chsh, chfn, passwd links in debhelper binary! These were accidentally left in after dh_link testing I did as I was working on the last version of debhelper. -- Joey Hess Mon, 25 Jan 1999 20:26:46 -0800 debhelper (1.2.28) unstable; urgency=low * dh_link: fixed bug that prevent multiple links to the same source from being made. (#23255) -- Joey Hess Sun, 24 Jan 1999 19:46:33 -0800 debhelper (1.2.27) unstable; urgency=low * autoscripts/*menu*: "test", not "text"! -- Joey Hess Tue, 19 Jan 1999 15:18:52 -0800 debhelper (1.2.26) unstable; urgency=low * dh_installdocs: use prerm-doc-base script fragment. Was using postrm-doc-base, for some weird reason. -- Joey Hess Mon, 18 Jan 1999 13:36:40 -0800 debhelper (1.2.25) unstable; urgency=low * autoscripts/*menu*: It turns out that "command" is like test -w, it will still return true if update-menus is not executable. This can legitimately happen if you are upgrading the menu package, and it makes postinsts that use command fail. Reverted to using test -x. Packages built with debhelper >= 1.2.21 that use menus should be rebuilt. -- Joey Hess Sat, 16 Jan 1999 13:47:16 -0800 debhelper (1.2.24) unstable; urgency=low * dh_fixperms: linux 2.1.x and 2.2.x differ from earlier versions in that they do not clear the suid bit on a file when the owner of that file changes. It seems that fakeroot behaves the same as linux 2.1 here. I was relying on the old behavior to get rid of suid and sgid bits on files. Since this no longer happens implicitly, I've changed to clearing the bits explicitly. * There's also a small behavior change involved here. Before, dh_fixperms did not clear suid permissions on files that were already owned by root. Now it does. * dh_fixperms.1: cleaned up the docs to mention that those bits are cleared. -- Joey Hess Fri, 15 Jan 1999 16:54:44 -0800 debhelper (1.2.23) unstable; urgency=low * autoscripts/postrm-wm: use "=", not "==" (#31727). -- Joey Hess Mon, 11 Jan 1999 13:35:00 -0800 debhelper (1.2.22) unstable; urgency=low * Reversed change in last version; don't clobber mode (#31628). -- Joey Hess Fri, 8 Jan 1999 15:01:25 -0800 debhelper (1.2.21) unstable; urgency=low * dh_installdocs: Added doc-base support, if debian/.doc-base exists, it will be installed as a doc-base control file. If you use this, you probably want to add "dh_testversion 1.2.21" to the rules file to make sure your package is built with a new enough debhelper. * dh_installdocs: now supports -n to make it not modify postinst/prerm. * dh_suidregister: turned off leading 0/1 in permissions settings, until suidregister actually supports it. * autoscripts/*: instead of "text -x", use "command -v" to see if various binaries exist. This gets rid of lots of hard-coded paths. -- Joey Hess Wed, 30 Dec 1998 22:50:04 -0500 debhelper (1.2.20) unstable; urgency=low * dh_compress: handle the hard link stuff properly, it was broken. Also faster now. -- Joey Hess Wed, 23 Dec 1998 19:53:03 -0500 debhelper (1.2.19) unstable; urgency=low * dh_listpackages: new command. Takes the standard options taken by other debhelper commands, and just outputs a list of the binary packages a debhelper command would act on. Added because of bug #30626, and because of wn's truly ugly use of debhelper internals to get the same info (and because it's just 4 lines of code ;-). * dh_compress: is now smart about compressing files that are hardlinks. When possible, will only compress one file, delete the hardlinks, and re-make hardlinks to the compressed file, saving some disk space. -- Joey Hess Fri, 18 Dec 1998 22:26:41 -0500 debhelper (1.2.18) unstable; urgency=medium * dh_fixperms: was not fixing permissions of files in usr/doc/ to 644, this has been broken since version 1.2.3. -- Joey Hess Sun, 6 Dec 1998 23:35:35 -0800 debhelper (1.2.17) unstable; urgency=low * dh_makeshlibs: relaxed regexp to find library name and number a little so it will work on libraries with a major but no minor version in their filename (examples of such: libtcl8.0.so.1, libBLT-unoff.so.1) * dh_movefiles: added --sourcedir option to make it move files out of some directory besides debian/tmp (#30221) -- Joey Hess Fri, 4 Dec 1998 13:56:57 -0800 debhelper (1.2.16) unstable; urgency=low * dh_installchangelogs: now detects html changelogs and installs them as changelog.html.gz, to comply with latest policy (which I disagree with BTW). * manpages: updated policy version numbers. * dh_installdocs: behavior change: all docs are now installed mode 644. I have looked and it doesn't seem this will actually affect any packages in debian. This is useful only if you want to use dh_installdocs and not dh_fixperms, and that's the only time this behavior change will have any effect, either. (#30118) -- Joey Hess Thu, 3 Dec 1998 23:31:56 -0800 debhelper (1.2.15) unstable; urgency=low * Just a re-upload, last upload failed for some obscure reason. -- Joey Hess Sun, 29 Nov 1998 13:07:44 -0800 debhelper (1.2.14) unstable; urgency=low * Really fixed #29762 this time. This also fixes #30025, which asked that dh_makeshlibs come before dh_shlibdeps, so the files it generates can also be used as a shlibs.local file, which will be used by dh_shlibdeps. -- Joey Hess Thu, 29 Oct 1998 04:00:14 -0800 debhelper (1.2.13) unstable; urgency=low * Spelling and typo fixes. -- Joey Hess Wed, 25 Nov 1998 15:23:55 -0800 debhelper (1.2.12) unstable; urgency=low * examples/*: moved dh_makeshlibs call to before dh_installdeb call. (#29762). This is just so if you replace dh_makeshlibs with something that generates debian/shlibs, it still gets installed properly. * dh_suidregister: use names instead of uid's and gid's, at request of suidregister maintainer (#29802). -- Joey Hess Sat, 21 Nov 1998 13:13:10 -0800 debhelper (1.2.11) unstable; urgency=low * dh_movefiles: if given absolute filenames to move (note that that is *wrong*), it will move relative files anyway. Related to bug #29761. * dh_link: made relative links work right. (I hope!) -- Joey Hess Fri, 20 Nov 1998 20:21:51 -0800 debhelper (1.2.10) unstable; urgency=low * examples/*: added dh_link calls to example rules files. -- Joey Hess Fri, 20 Nov 1998 15:43:07 -0800 debhelper (1.2.9) unstable; urgency=low * Added dh_link, which generates policy compliant symlinks in binary packages, painlessly. -- Joey Hess Thu, 19 Nov 1998 18:43:36 -0800 debhelper (1.2.8) unstable; urgency=low * Suggest dh-make (#29376). -- Joey Hess Wed, 18 Nov 1998 02:29:47 -0800 debhelper (1.2.7) unstable; urgency=low * dh_movefiles: Fixed another bug. -- Joey Hess Mon, 16 Nov 1998 12:53:05 -0800 debhelper (1.2.6) unstable; urgency=low * dh_movefiles: fixed non-integer comparison (#29476) -- Joey Hess Sun, 15 Nov 1998 13:03:09 -0800 debhelper (1.2.5) unstable; urgency=low * The perl conversion is complete. . * dh_compress: perlized (yay, perl has readlink, no more ls -l | awk garbage!) * dh_lib, dh_getopt.pl: deleted, nothing uses them anymore. * debian/rules: don't install above 2 files. * doc/PROGRAMMING: removed all documentation of the old shell library interface. -- Joey Hess Fri, 13 Nov 1998 15:36:57 -0800 debhelper (1.2.4) unstable; urgency=low * dh_debstd, dh_movefiles: perlized. * dh_debstd: fixed -c option. * dh_installinit: fixed minor perl -w warning. * Only 1 shell script remains! (But it's a doozy..) -- Joey Hess Fri, 13 Nov 1998 13:29:39 -0800 debhelper (1.2.3) unstable; urgency=low * dh_fixperms, dh_installdebfiles, dh_installdeb: perlized * dh_suidregister: perlized, with help from Che_Fox (and Tom Christianson, indirectly..). * dh_suidregister: include leading 0 (or 1 for sticky, etc) in file permissions. * Only 3 more to go and it'll be 100% perl. * Made $dh{EXCLUDE_FIND} available to perl scripts. -- Joey Hess Tue, 10 Nov 1998 15:47:43 -0800 debhelper (1.2.2) unstable; urgency=low * dh_du, dh_shlibdeps, dh_undocumented: rewrite in perl. * dh_undocumented: shortened the symlink used for section 7 undocumented man pages, since it can link to undocumented.7.gz in the same directory. -- Joey Hess Tue, 10 Nov 1998 13:40:22 -0800 debhelper (1.2.1) unstable; urgency=low * dh_strip, dh_installinit: rewrite in perl. -- Joey Hess Mon, 9 Nov 1998 20:04:12 -0800 debhelper (1.2.0) unstable; urgency=low * A new unstable dist means I'm back to converting more of debhelper to perl.. Since 1.1 has actually stabilized, I've upped this to 1.2. * dh_md5sums: rewritten in perl, for large speed gain under some circumstances (old version called perl sometimes, once per package.) * dh_installmenu, dh_installemacsen, dh_installwm: perlized. * Dh_Lib.pm: made autoscript() really work. -- Joey Hess Mon, 9 Nov 1998 13:04:16 -0800 debhelper (1.1.24) unstable; urgency=low * dh_suidregister: remove suid/sgid bits from all files registered. The reason is this: if you're using suidmanager, and you want a file that ships suid to never be suid on your system, shipping it suid in the .deb will create a window where it is suid before suidmanager fixes it's permissions. This change should be transparent to users and developers. -- Joey Hess Tue, 27 Oct 1998 18:19:48 -0800 debhelper (1.1.23) unstable; urgency=low * dh_clean: At the suggestion of James Troup now deletes files named *.P in .deps/ subdirectories. They are generated by automake. -- Joey Hess Sat, 24 Oct 1998 15:14:53 -0700 debhelper (1.1.22) unstable; urgency=low * dh_fixperms: quoting fix from Roderick Schertler * Added support for register-window-manager command which will be in a new (as yet unreleased) xbase. Now a new dh_installwm program handles registration of a window manager and the necessary modifications to postinst and postrm. It's safe to go ahead and start using this for your window manager packages, just note that it won't do anything until the new xbase is out, and that due to the design of register-window-manager, if your wm is installed before a xbase that supports register-window-manager is installed, the window manager will never be registered. (#20971) -- Joey Hess Wed, 14 Oct 1998 23:08:04 -0700 debhelper (1.1.21) unstable; urgency=low * Added install to .PHONY target of example rules files. -- Joey Hess Sun, 11 Oct 1998 22:36:10 -0700 debhelper (1.1.20) unstable; urgency=low * Added a --same-arch flag, that is useful in the rare case when you have a package that builds only for 1 architecture, as part of a multi-part, multi-architecture source package. (Ie, netscape-dmotif). * Modified dh_installinit -r so it does start the daemon on the initial install (#26680). -- Joey Hess Fri, 2 Oct 1998 15:55:13 -0700 debhelper (1.1.19) unstable; urgency=low * dh_installmanpages: look at basename of man pacges specified on command line to skip, for backwards compatibility. -- Joey Hess Thu, 10 Sep 1998 11:31:42 -0700 debhelper (1.1.18) unstable; urgency=low * dh_installemacsen: substitute package name for #PACKAGE# when setting up postinst and prerm (#26560). -- Joey Hess Tue, 8 Sep 1998 14:24:30 -0700 debhelper (1.1.17) unstable; urgency=low * dh_strip: on Richard Braakman's advice, strip the .comment and .note sections of shared libraries. * Added DH_OPTIONS environment variable - anything in it will be treated as additional command line arguments by all debhelper commands. This in useful in some situations, for example, if you need to pass -p to all debhelper commands that will be run. If you use DH_OPTIONS, be sure to use dh_testversion 1.1.17 - older debhelpers will ignore it and do things you don't want them to. * Made -N properly exclude packages when no -i, -a, or -p flags are present. It didn't before, which was a bug. -- Joey Hess Mon, 7 Sep 1998 17:33:19 -0700 debhelper (1.1.16) unstable; urgency=low * dh_fixperms: remove execute bits from static libraries as well as shared libraries. (#26414) -- Joey Hess Fri, 4 Sep 1998 14:46:37 -0700 debhelper (1.1.15) unstable; urgency=medium * dh_installmanpages: the new perl version had a nasty habit of installing .so.x library files as man pages. Fixed. * dh_installmanpages: the code to exclude searching for man pages in debian/tmp directories was broken. Fixed. -- Joey Hess Mon, 31 Aug 1998 00:05:17 -0700 debhelper (1.1.14) unstable; urgency=low * Debhelper now has a web page at http://kitenet.net/programs/debhelper/ * Added code to debian/rules to update the web page when I release new debhelpers. * dh_compress: since version 0.88 or so, dh_compress has bombed out if a debian/compress file returned an error code. This was actually unintentional - in fact, the debian/compress example in the man page will fail this way if usr/info or usr/X11R6 is not present. Corrected the program to not fail. (#26214) -- Joey Hess Sun, 30 Aug 1998 22:15:44 -0700 debhelper (1.1.13) unstable; urgency=low * dh_installmanpages: rewritten in perl. Allows me to fix bug #26221 (long symlink problem after .so conversion), and is about twice as fast. -- Joey Hess Sat, 29 Aug 1998 22:06:06 -0700 debhelper (1.1.12) unstable; urgency=low * dh_installdocs: forgot to pass package name to isnative(). Any native debian package that had a debian/TODO would have it installed with the wrong name, and debhelper would warn of undefined values for some packages. Fixed. -- Joey Hess Thu, 27 Aug 1998 12:35:42 -0700 debhelper (1.1.11) unstable; urgency=low * dh_installchangelogs: added -k flag, that will make it install a symlink to the original name of the upstream changelog. -- Joey Hess Thu, 20 Aug 1998 15:40:40 -0700 debhelper (1.1.10) unstable; urgency=low * It's come to my attention that a few packages use filename globbing in debian/{docs,examples,whatever} files and expect that to work. It used to work before the perl conversion, but it was never _documented_, or intended to work. If you use this in your packages, they are broken and need fixing (and will refuse to build with current versions of debhelper). I apologize for the inconvenience. * dh_clean: fixed a bug, introduced in version 1.1.8, where it didn't remove debian/files properly. * dh_shlibdeps, dh_testdir, dh_testroot, dh_testversion: converted to perl. * Encode the version of debhelper in a separate file, so dh_testversion doesn't have to be generated when a new version of debhelper is built. * Removed bogus menu file. -- Joey Hess Mon, 17 Aug 1998 14:15:17 -0700 debhelper (1.1.9) unstable; urgency=low * dh_fixperms: has been removing the +x bits of all doc/*/examples/* files since version 0.97 or so. Fixed. -- Joey Hess Sun, 16 Aug 1998 17:11:48 -0700 debhelper (1.1.8) unstable; urgency=low * Dh_Lib.pm: made U_PARAMS an array of parameters. * Dh_Lib.pm: fixed bug in the escaping code, numbers don't need to be escaped. Also, no longer escape "-". * dh_clean, dh_gencontrol, dh_installcron: converted to perl. * dh_gencontrol.1, dh_gencontrol: the man page had said that --update-rcd-params was equivalent to -u for this program. You should really use --dpkg-gencontrol-params. -- Joey Hess Fri, 14 Aug 1998 14:07:35 -0700 debhelper (1.1.7) unstable; urgency=low * examples/rules.multi: moved dh_movefiles into the install section. * doc/README: Added a note explaining why above change was necessary. * Dh_Lib.pm: escape_shell(): now escapes the full range of special characters recognized by bash (and ksh). Thanks to Branden Robinson for looking that up. -- Joey Hess Tue, 11 Aug 1998 23:32:05 -0700 debhelper (1.1.6) unstable; urgency=low * dh_movefiles: don't die on symlinks (#25642). (Hope I got the fix right this time..) -- Joey Hess Tue, 11 Aug 1998 20:11:13 -0700 debhelper (1.1.5) unstable; urgency=low * dh_builddeb, dh_installchangelogs: converted to perl. * dh_installdirs: converted to perl, getting rid of nasty chdir en-route. * dh_installdirs: now you can use absolute directory names too if you prefer. * doc/PROGRAMMING: updated to cover new perl modules. * Dh_Lib.pm: doit(): when printing out commands that have run, escape metacharacters in the output. I probably don't escape out all the characters I should, but this is just a convenience to the user anyway. * dh_installdebfiles: it's been broken forever, I fixed it. Obviously nobody uses it anymore, which is good, since it's deprecated :-) -- Joey Hess Tue, 11 Aug 1998 15:23:34 -0700 debhelper (1.1.4) unstable; urgency=low * dh_movefiles: fixed bug introduced in 1.1.1 where it would fail in some cases if you tried to move a broken symlink. * dh_installdocs: was only operating on the first package. * dh_installexamples: rewritten in perl. * Dh_Lib.pm: all multiple package operations were broken. * Dh_Lib.pm: implemented complex_doit() and autoscript(). * Made all perl code work with use strict and -w (well, except dh_getopt.pl, but that's a hack that'll go away one day). * I didn't realize, but rewriting dh_installdocs in perl fixed bug #24686 (blank lines in debian/docs file problem), although this same problem applies to other debhelper programs... like dh_installexamples, which had the same bug fixed when I rewrote it in perl just now. * Dh_Lib.pm: accidentally didn't check DH_VERBOSE if commands were not passed any switches. * Dh_Getopt.pm: --noscripts was broken. -- Joey Hess Tue, 11 Aug 1998 12:44:04 -0700 debhelper (1.1.3) unstable; urgency=low * dh_md5sums: -x was broken since version 1.1.1 - fixed. * Dh_Lib.pm: removed get_arch_indep_packages() function that hasn't been used at all for a long while. * Added Dh_Lib.pm, a translation of dh_lib into perl. * dh_getopt.pl: moved most of it into new Dh_Getopt.pm module, rewriting large chunks in the process. * dh_installdocs: completely rewritten in perl. Now it's faster and it can install many oddly named files it died on before. * dh_installdocs: fixed a bug that installed TODO files mode 655 in native debian packages. -- Joey Hess Mon, 10 Aug 1998 15:01:15 -0700 debhelper (1.1.2) unstable; urgency=low * dh_strip: added -X to specify files to not strip (#25590). * Added dh_installemacsen, for automatic registration with emacsen-common (#21401). * Preliminary thoughts in TODO about converting entire debhelper programs to perl programs. -- Joey Hess Mon, 10 Aug 1998 13:35:17 -0700 debhelper (1.1.1) unstable; urgency=low * dh_movefiles: try to move all files specified, and only then bomb out if some of the file could not be found. Makes it easier for some packages that don't always have the same files in them. * dh_compress: any parameters passed to it on the command line specify additional files to be compressed in the first package acted on. * dh_compress: recognize standard -A parameter. -- Joey Hess Sat, 8 Aug 1998 22:48:01 -0700 debhelper (1.1.0) unstable; urgency=low * New unstable branch of debhelper. * TODO: list all current bugs, in order I plan to tackle them. * Added debhelper.1 man page, which groups all the debhelper options that are common to all commands in once place so I can add new options w/o updating 27 man pages. * dh_*.1: updated all debhelper man pages to refer to debhelper(1) where appropriate. Also corrected a host of little errors. * doc/README: moved a lot of this file into debhelper.1. * dh_*: -N option now excludes a package from the list of packages the programs act on. (#25247) -- Joey Hess Sat, 8 Aug 1998 17:49:56 -0700 debhelper (1.0) stable unstable; urgency=low * 1.0 at last! * This release is not really intended for stable. I throw a copy into stable-updates because I want it to be available as an upgrade for people using debian 2.0 (the current version in debian 2.0 has no critical bugs, but this version is of course a lot nicer), and I plan to start work on a new branch of debhelper that will fix many wishlist bug reports, and of course introduce many new bugs, and which will go into unstable only. -- Joey Hess Sat, 8 Aug 1998 17:33:20 -0700 debhelper (0.99.4) unstable; urgency=low * dh_debstd: only warn about scripts that actually lack #DEBHELPER#. (#25514) -- Joey Hess Fri, 7 Aug 1998 12:06:28 -0700 debhelper (0.99.3) unstable; urgency=low * dh_movefiles: Fixed a over-eager sanity check introduced in the last version. -- Joey Hess Mon, 3 Aug 1998 18:31:45 -0700 debhelper (0.99.2) unstable; urgency=low * dh_movefiles: allow passing of files to move on the command line. Only rarely does this make sense. (#25197) -- Joey Hess Thu, 30 Jul 1998 10:38:34 -0700 debhelper (0.99.1) unstable; urgency=low * dh_installcron: now supports /etc/cron.d (#25112). -- Joey Hess Mon, 27 Jul 1998 20:18:47 -0700 debhelper (0.99) unstable; urgency=low * !!!! WARNING: Debhelper (specifically dh_compress) is broken with !!!! libtricks. Use fakeroot instead until this is fixed. * dh_compress: applied patch from Herbert Xu to make it not fail if there are no candidates for compression (#24654). * Removed a whole debhelper-0.96 tree that had crept into the source package by accident. * Is version 1.0 next? -- Joey Hess Thu, 16 Jul 1998 10:03:21 -0700 debhelper (0.98) unstable; urgency=low * Dh_Lib.pm: isnative: pass -l to dpkg-parsechangelog, to support odd packages with multiple different debian changelogs. * doc/PROGRAMMING: cleaned up the docs on DH_EXCLUDE_FIND. -- Joey Hess Mon, 6 Jul 1998 12:45:13 -0700 debhelper (0.97) unstable; urgency=low * doc/from-debstd: fixed a typo. * examples/*: install-stamp no longer depends on phony build target; now install-stamp depends on build-stamp instead (#24234). * dh_fixperms: applied patch from Herbert Xu to fix bad uses of the find command, so it should now work on packages with files with spaces in them (#22005). It's also much cleaner. Thanks, Herbert! * dh_getopt.pl, doc/PROGRAMMING: added DH_EXCLUDE_FIND, to make the above fix work. -- Joey Hess Sun, 5 Jul 1998 18:09:25 -0700 debhelper (0.96) unstable; urgency=low * dh_movefiles: fixed serious breakage introduced in the last version. * dh_movefiles: really order all symlinks last. * some minor reorganization of the source tree. -- Joey Hess Sun, 28 Jun 1998 21:53:45 -0700 debhelper (0.95) unstable; urgency=low * dh_movefiles: move even very strangely named files. (#23775) Unfortunately, I had to use a temporary file. Oh well.. -- Joey Hess Mon, 22 Jun 1998 17:16:17 -0700 debhelper (0.94) unstable; urgency=low * dh_md5sums: fixed so it handles spaces and other odd characters in filenames correctly. (#23046, #23700, #22010) * As a side effect, got rid of the nasty temporary file dh_md5sums used before. -- Joey Hess Mon, 22 Jun 1998 16:14:42 -0700 debhelper (0.93) unstable; urgency=low * Depend on file, since several dh_*'s use it. -- Joey Hess Fri, 19 Jun 1998 21:43:51 -0700 debhelper (0.92) unstable; urgency=low * dh_gencontrol: pass -isp to dpkg-gencontrol to make it include section and priority info in the .deb file. Back in Jan 1998, this came up, and a consensus was reached on debian-devel that it was a good thing for -isp to be used. -- Joey Hess Fri, 19 Jun 1998 16:15:24 -0700 debhelper (0.91) unstable; urgency=low * dh_installdocs: support debian/.{README.Debian,TODO} -- Joey Hess Wed, 17 Jun 1998 19:09:35 -0700 debhelper (0.90) unstable; urgency=low * I'd like to thank Len Pikulski and Igor Grobman at nothinbut.net for providing me with free internet access on a moment's notice, so I could get this package to you after hacking on it all over New England for the past week. Thanks, guys! . * Added dh_debstd, which mimics the functionality of the debstd command. It's not a complete nor an exact copy, and it's not so much intended to be used in a debian/rules file, as it is to be run by hand when you are converting a package from debstd to debhelper. "dh_debstd -v" will output the sequence of debhelper commands that approximate what debstd would do in the same situation. * dh_debstd is completely untested, I don't have the source to any packages that use debstd available. Once this is tested, I plan to release debhelper 1.0! * Added a from-debstd document that gives a recipe to convert from debstd to debhelper. * dh_fixperms: can now use -X to exclude files from having their permissions changed. * dh_testroot: test for uid == 0, instead of username == root, because some people enjoy changing root's name. * dh_installinit: handle debian/init.d as well as debian/init files, for backwards compatibility with debstd. Unlike with debstd, the two files are treated identically. * dh_lib, PROGRAMMING: added "warning" function. * Minor man page fixes. * dh_compress: don't bomb out if usr/doc/ is empty. (#23054) * dh_compress, dh_installdirs: always cd into $TMP and back out, even if --no-act is on. (#23054) -- Joey Hess Mon, 1 Jun 1998 21:57:45 -0400 debhelper (0.88) unstable; urgency=low * I had many hours on a train to hack on debhelper... enjoy! * dh_compress: always pass -f to gzip, to force compression. * dh_compress: added -X switch, to make it easy to specify files to exclude, without all the bother of a debian/compress script. You can use -X multiple times, too. * PROGRAMMING, dh_getopt.pl: DH_EXCLUDE is now a variable set by the --exclude (-X) switch. -x now sets DH_INCLUDE_CONFFILES. -- Joey Hess Sun, 17 May 1998 11:26:09 -0700 debhelper (0.87) unstable; urgency=low * dh_strip: strip .comment and .note, not comment and note, when stripping elf binaries. This makes for smaller output files. This has always been broken in debhelper before! (#22395) -- Joey Hess Wed, 13 May 1998 11:54:29 -0700 debhelper (0.86) unstable; urgency=low * dh_compress: don't try to re-compress *.gz files. Eliminates warning messages in some cases, shouldn't actually change the result at all. -- Joey Hess Mon, 27 Apr 1998 15:21:33 -0700 debhelper (0.85) unstable; urgency=low * Moved a few things around that were broken by Che's patch: - dh_installdirs should go in install target. - dh_clean should not run in binary targets. * This is just a quick fix to make it work, I'm not happy with it. I'm going to discuss my problems with it with Che, and either make a new version fixing them, or revert to 0.83. * So be warned that the example rules files are not currently in good shape if you're starting a new package. -- Joey Hess Sat, 18 Apr 1998 23:30:38 -0700 debhelper (0.84) unstable; urgency=low * Applied Che_Fox'x patches to example rules files, which makes them use an install target internally to move things into place in debian/tmp. -- Joey Hess Thu, 9 Apr 1998 12:08:45 -0700 debhelper (0.83) unstable; urgency=low * Generate symlinks in build stage of debian/rules. cvs cannot create them properly. Note that version 0.80 and 0.81 could not build some packages because of missing symlinks. -- Joey Hess Tue, 31 Mar 1998 19:27:29 -0800 debhelper (0.81) unstable; urgency=low * dh_movefiles: empty $tomove (#20495). -- Joey Hess Tue, 31 Mar 1998 15:36:32 -0800 debhelper (0.80) unstable; urgency=low * Moved under cvs (so I can fork a stable and an unstable version). * dh_movefiles: first move real files, then move symlinks. (#18220) Thanks to Bdale Garbee and Adam Heath for help on the implementation. * dh_installchangelogs: use debian/package.changelog files if they exist rather than debian/changelog. It appears some people do need per-package changelogs. * dh_gencontrol: if debian/package.changelogs files exist, use them. * Above 2 changes close #20442. -- Joey Hess Mon, 30 Mar 1998 20:54:26 -0800 debhelper (0.78) frozen unstable; urgency=low * More spelling fixes from Christian T. Steigies. (I ignored the spelling fixes to the changelog, though - too many, and a changelog isn't meant to be changed after the fact :-) * dh_fixperms: remove execute bits from .la files generated by libtool. -- Joey Hess Mon, 30 Mar 1998 12:44:42 -0800 debhelper (0.77) frozen unstable; urgency=low * Fixed a nasty bug in dh_makeshlibs when it was called with -V, but with no version string after the -V. -- Joey Hess Sun, 29 Mar 1998 16:08:27 -0800 debhelper (0.76) frozen unstable; urgency=low * I intended version 0.75 to make it in before the freeze, and it did not. This is just to get it into frozen. There are no changes except bug fixes. -- Joey Hess Thu, 26 Mar 1998 12:25:47 -0800 debhelper (0.75) unstable; urgency=low * Actually exit if there is an unknown option on the command line (oooops!) * Fix .so file conversion to actually work (#19933). -- Joey Hess Thu, 19 Mar 1998 11:54:58 -0800 debhelper (0.74) unstable; urgency=low * dh_installmanpages: convert .so links to symlinks at last (#19829). * dh_installmanpages.1: documented that no, dh_installmanpages never installs symlink man pages from the source package (#19831). * dh_installmanpages: minor speedups * PROGRAMMING: numerous spelling fixes, thanks to Christian T. Steigies. Life is too short for me to spell check my technical documentation, but I always welcome corrections! -- Joey Hess Tue, 17 Mar 1998 22:09:07 -0800 debhelper (0.73) unstable; urgency=low * Fixed typo in dh_suidregister.1 -- Joey Hess Thu, 12 Mar 1998 16:30:27 -0800 debhelper (0.72) unstable; urgency=low * Applied patch from Yann Dirson to add a --init-script parameter to dh_installinit. (#19227) * Documented this new switch. -- Joey Hess Mon, 9 Mar 1998 17:12:04 -0800 debhelper (0.71) unstable; urgency=low * dh_makeshlibs: -V flag was broken: if just -V was specified, dh_makeshlibs would die. Corrected this. * Dh_Lib.pm: removed warning if the arguments passed to a debhelper command do not apply to the main package. It's been long enough so I'm 100% sure no packages use the old behavior. -- Joey Hess Mon, 9 Mar 1998 11:46:59 -0800 debhelper (0.70) unstable; urgency=low * Dh_Lib.pm: autoscript(): no longer add the modification date to the comments surrounding debhelper-added code. I don't think this date was gaining us anything, so let's remove it and save some disk space. -- Joey Hess Sun, 8 Mar 1998 21:15:13 -0800 debhelper (0.69) unstable; urgency=low * Refer to suidregister (8), not (1). Bug #19149. * Removed junk file from debian/ dir. -- Joey Hess Sun, 8 Mar 1998 13:04:36 -0800 debhelper (0.68) unstable; urgency=low * Document that README.debian files are installed as README.Debian (#19089). -- Joey Hess Fri, 6 Mar 1998 17:48:32 -0800 debhelper (0.67) unstable; urgency=low * Added PROGRAMMING document that describes the interface of dh_lib, to aid others in writing and understanding debhelper programs. -- Joey Hess Fri, 6 Mar 1998 12:45:08 -0800 debhelper (0.66) unstable; urgency=low * README, dh_testversion.1, dh_movefiles.1: more doc fixes. * dh_movefiles: don't check for package names to see if files are being moved from one package back into itself, instead, check tmp dir names. If you use this behavior, you should use "dh_testversion 0.66". -- Joey Hess Mon, 2 Mar 1998 17:50:29 -0800 debhelper (0.65) unstable; urgency=low * dh_installdocs.1, dh_movefiles.1: clarified documentation for Che. -- Joey Hess Mon, 2 Mar 1998 17:20:39 -0800 debhelper (0.64) unstable; urgency=low * Removed some junk (a whole old debhelper source tree!) that had gotten into the source package by accident. -- Joey Hess Mon, 23 Feb 1998 20:23:34 -0800 debhelper (0.63) unstable; urgency=low * Removed some debugging output from dh_installmanpages. * du_du: no longer does anything, because it has been decided on debian-policy that du control files are bad. * examples/*: removed dh_du calls. * debian/rules: removed dh_du call. * Modified dh_gencontrol, dh_makeshlibs, and dh_md5sums to generate files with the correct permissions even if the umask is set to unusual values. (#18283) -- Joey Hess Mon, 16 Feb 1998 23:34:36 -0800 debhelper (0.62) unstable; urgency=low * dh_installmanpages: if the man page filename ends in 'x', install it in /usr/X11R6/man/. * TODO: expanded descriptions of stuff, in the hope someone else will get inspired to implement some of it. * Also added all wishlist bugs to the TODO. -- Joey Hess Thu, 12 Feb 1998 22:38:53 -0800 debhelper (0.61) unstable; urgency=low * dh_installmanpages: Add / to end of egrep -v regexp, fixes it so debian/icewm.1 can be found. -- Joey Hess Wed, 11 Feb 1998 09:09:28 -0800 debhelper (0.60) unstable; urgency=low * dh_fixperms: make all files readable and writable by owner (policy 3.3.8 paragraph 2). Lintian found lots of bugs that will be fixed by this change. -- Joey Hess Mon, 9 Feb 1998 12:26:13 -0800 debhelper (0.59) unstable; urgency=low * Added DH_NO_ACT and --no-act, which make debhelper commands run without actually doing anything. (Combine with -v to see what the command would have done.) (#17598) -- Joey Hess Sun, 1 Feb 1998 14:51:08 -0800 debhelper (0.58) unstable; urgency=low * Fixed bug #17597 - DH_VERBOSE wasn't always taking effect. -- Joey Hess Wed, 28 Jan 1998 17:18:17 -0500 debhelper (0.57) unstable; urgency=low * Depend on perl 5.004 or greater (for Getopt::Long). -- Joey Hess Sat, 17 Jan 1998 02:12:06 -0500 debhelper (0.56) unstable; urgency=low * dh_compress: Applied patch from Yann Dirson , to make it not abort of one of the find's fails. -- Joey Hess Thu, 15 Jan 1998 19:16:48 -0500 debhelper (0.55) unstable; urgency=low * dh_clean: delete substvarsfiles properly again (broken in 0.53). #17077 * Added call to dh_movefiles, and a commented out call to dh_testversion, to some of the sample rules files. #17076 -- Joey Hess Wed, 14 Jan 1998 12:48:43 -0500 debhelper (0.54) unstable; urgency=low * Dh_Lib.pm: no longer call getopt(1) to parse options. I wrote my own argument processor in perl. * Added long versions of all arguments. TODO: document them. * All parameters may now be passed values that include whitespace (ie, dh_installinit -u"defaults 10") * Now depends on perl (needs Getopt::Long). -- Joey Hess Sat, 10 Jan 1998 15:44:09 -0500 debhelper (0.53) unstable; urgency=low * dh_installmanpages: ignore all man pages installed into debian/tmp type directories. (#16933) * dh_*: set up alternative name for files like debian/dirs; you may now use debian/.dirs too, for consistency. (#16934) * dh_installdocs: if a debian/package.copyright file exists, use it in preference to debian/copyright, so subpackages with varying copyrights are supported. (#16935) * Added dh_movefiles, which moves files out of debian/tmp into subpackages. (#16932) -- Joey Hess Sat, 10 Jan 1998 11:30:12 -0500 debhelper (0.52) unstable; urgency=low * dh_compress: compress file belongs in debian/. It was looking in ./ This has been broken since version 0.30. -- Joey Hess Tue, 6 Jan 1998 14:08:31 -0500 debhelper (0.51) unstable; urgency=low * dh_fixperms: make shared libraries non-executable, in accordance with policy. (#16644) * dh_makeshlibs: introduced a -V flag, which allows you to specify explicit version requirements in the shlibs file. * dh_{installdirs,installdocs,installexamples,suidregister,undocumented}: Added a -A flag, which makes any files/directories specified on the command line apply to ALL packages acted on. * Updated Standards-Version to latest. -- Joey Hess Mon, 5 Jan 1998 16:15:01 -0500 debhelper (0.50) unstable; urgency=low * dh_makeshlibs: added -m parameter, which can force the major number of the shared library if it is guessed incorrectly. * Added dh_testversion to let your package depend on a certain version of debhelper to build. * dh_{installdirs,installdocs,installexamples,suidregieter,undocumented}: behavior modification - any files/directories specified on the command line now apply to the first package acted on. This may not be the first package listed in debian/control, if you use -p to make it act on a given package, or -i or -a. * If you take advantage of the above new behavior, I suggest you add "dh_testversion 0.50" to your debian/rules. * Display a warning message in cases where the above behavior is triggered, and debhelper's behavior has altered. * I have grepped debian's source packages, and I'm quite sure this is not going to affect any packages currently in debian. * Dh_Lib.pm: isnative() now caches its return value, which should optimize away several more calls to dpkg-parsechangelog. * README: explain a way to embed debhelper generated shell script into a perl script. * dh_installinit: A hack to work around the problem in getopt(1) that led to bug report #16229: Any text specified on the command line that is not a flag will be presumed to be part of the -u flag. Yuck. -- Joey Hess Sat, 3 Jan 1998 14:36:15 -0500 debhelper (0.37) unstable; urgency=low * dh_du: Fixed hardcoded debian/tmp. * This change got lost by accident, redid it: Optimized out most of the slowdown caused by using dpkg-parsechangelog - now it's only called by 2 dh_* programs. -- Joey Hess Sun, 28 Dec 1997 20:45:22 -0500 debhelper (0.36) unstable; urgency=low * dh_undocumented: exit with an error message if the man page specified does not have a section. -- Joey Hess Sat, 27 Dec 1997 14:14:04 -0500 debhelper (0.35) unstable; urgency=low * Dh_Lib.pm: use dpkg-parsechangelog instead of parsing it by hand. This makes a package build slower (by about 30 seconds, on average), so I might remove it or optimize it if too many people yell at me. :-) * dh_undocumented.1: note that it really links to undocumented.7.gz. -- Joey Hess Mon, 22 Dec 1997 22:19:39 -0500 debhelper (0.34) unstable; urgency=low * Fixed typo #16215. -- Joey Hess Mon, 22 Dec 1997 14:41:46 -0500 debhelper (0.33) unstable; urgency=low * examples/*: use prefix, instead of PREFIX, because autoconf uses that. Also, use `pwd`/debian/tmp, instead of debian/tmp. * Always substitute #DEBHELPER# in maintainer scripts, even if it expands to nothing, for neatness and to save a few bytes. #15863 * dh_clean: added -k parameter to not delete debian/files. #15789 * examples/*: use dh_clean -k in the binary targets of all rules files, for safety. -- Joey Hess Thu, 11 Dec 1997 19:05:41 -0500 debhelper (0.32) unstable; urgency=low * Split dh_installdebfiles into 3 programs (dh_installdeb, dh_shlibdeps, and dh_gencontrol). dh_installdebfiles still works, but is deprecated. * Added an examples/rules.indep file. * examples/rules.multi: changed dh_du -a to dh_du -i in binary-indep section. -- Joey Hess Wed, 10 Dec 1997 19:53:13 -0500 debhelper (0.31) unstable; urgency=low * Fixed man page typos #15685. -- Joey Hess Sat, 6 Dec 1997 21:44:58 -0500 debhelper (0.30) unstable; urgency=low * dh_md5sumes, dh_installdirs, dh_compress: fixed assorted cd bugs. -- Joey Hess Fri, 5 Dec 1997 15:08:36 -0500 debhelper (0.29) unstable; urgency=low * Dh_Lib.pm: don't expand text passed to doit() a second time. This fixes #15624, and hopefully doesn't break anything else. * A side effect of this (of interest only to the debhelper programmer) is that doit() can no longer handle complex commands now. (ie, pipes, `;', `&', etc separating multiple commands, or redirection) * dh_makeshlibs, dh_md5sums, dh_installdebfiles, dh_du, dh_clean, dh_installdirs: don't pass complex commands to doit(). -- Joey Hess Thu, 4 Dec 1997 13:56:14 -0500 debhelper (0.28) unstable; urgency=low * dh_makeshlibs: fixes type that caused the program to crash (#15536). -- Joey Hess Wed, 3 Dec 1997 13:22:48 -0500 debhelper (0.27) unstable; urgency=low * README: fixed typos (one serious). * Ran ispell on all the documentation. -- Joey Hess Sun, 30 Nov 1997 18:48:20 -0500 debhelper (0.26) unstable; urgency=low * dh_installdirs: Do not create usr/doc/$PACKAGE directory. Bug #15498 * README: documented that $PACKAGE can be used in the arguments to some of the dh_* programs (#15497). * dh_du.1: no, this is not really the dh_md5sums man page (#15499). -- Joey Hess Sun, 30 Nov 1997 13:01:40 -0500 debhelper (0.25) unstable; urgency=low * dh_compress: was not reading debian/compress file - fixed. * examples/*: moved dh_clean call to after make clean is run. -- Joey Hess Tue, 25 Nov 1997 15:43:58 -0500 debhelper (0.24) unstable; urgency=low * dh_clean: no longer clean up empty (0 byte) files (#15240). -- Joey Hess Tue, 25 Nov 1997 14:29:37 -0500 debhelper (0.23) unstable; urgency=low * Now depends on fileutils (>= 3.16-4), because with any earlier version of fileutils, install -p will not work (#14680) -- Joey Hess Wed, 19 Nov 1997 23:59:43 -0500 debhelper (0.22) unstable; urgency=low * dh_installdocs: Install README.debian as README.Debian (of course, README.Debian is installed with the same name..) -- Joey Hess Tue, 18 Nov 1997 01:23:53 -0500 debhelper (0.21) unstable; urgency=low * dh_installinit: on removal, fixed how update-rc.d is called. -- Joey Hess Sat, 15 Nov 1997 20:43:14 -0500 debhelper (0.20) unstable; urgency=low * Added dh_installinit, which installs an init.d script, and edits the postinst, postrm, etc. -- Joey Hess Fri, 14 Nov 1997 00:45:53 -0500 debhelper (0.19) unstable; urgency=low * dh_installmenu.1: menufile is in section 5, not 1. -- Joey Hess Wed, 12 Nov 1997 19:54:48 -0500 debhelper (0.18) unstable; urgency=low * examples/*: added source, diff targets that just print an error. * dh_clean: clean up more files - *.orig, *.rej, *.bak, .*.orig, .*.rej, .SUMS, TAGS, and empty files. * Dh_Lib.pm: doit(): use eval on parameters, instead of directly running them. This lets me clean up several nasty areas where I had to echo the commands once, and then run them separately. -- Joey Hess Mon, 10 Nov 1997 19:48:36 -0500 debhelper (0.17) unstable; urgency=low * Added dh_installdirs, automatically creates subdirectories (for compatibility with debstd's debian/dirs file. * Dh_Lib.pm: fixed problem with -P flag. -- Joey Hess Fri, 7 Nov 1997 16:07:11 -0500 debhelper (0.16) unstable; urgency=low * dh_compress: always compress changelog and upstream changelog, no matter what their size (#14604) (policy 5.8) -- Joey Hess Thu, 6 Nov 1997 19:50:36 -0500 debhelper (0.15) unstable; urgency=low * README: documented what temporary directories are used by default for installing package files into. * dh_*: added -P flag, to let a different package build directory be specified. -- Joey Hess Thu, 6 Nov 1997 15:51:22 -0500 debhelper (0.14) unstable; urgency=low * dh_fixperms: leave permissions on files in /usr/doc/packages/examples unchanged. * Install examples/rules* executable. -- Joey Hess Mon, 27 Oct 1997 12:42:33 -0500 debhelper (0.13) unstable; urgency=low * Added dh_makeshlibs, automatically generates a shlibs file. -- Joey Hess Fri, 24 Oct 1997 20:33:14 -0400 debhelper (0.12) unstable; urgency=low * Fixed misspelling of dh_md5sums in examples rules files and README. (#13990) Thanks, Adrian. -- Joey Hess Fri, 24 Oct 1997 14:35:30 -0400 debhelper (0.11) unstable; urgency=low * dh_md5sums: behavior modification: do not generate md5sums for conffiles. (Thanks to Charles Briscoe-Smith ) #14048. * dh_md5sums: can generate conffile md5sums with -x parameter. * Added a "converting from debstd" section to the README. * Added dh_du, generates a DEBIAN/du file with disk usage stats (#14048). -- Joey Hess Tue, 21 Oct 1997 13:17:28 -0400 debhelper (0.10) unstable; urgency=medium * dh_installdebfiles: fixed *bad* bug that messed up the names of all files installed into DEBIAN/ for multiple binary packages. * dh_md5sums: fixed another serious bug if dh_md5sums was used for multiple binary packages. * If you have made any multiple binary packages using debhelper, you should rebuild them with this version. * dh_md5sums: show cd commands in verbose mode. -- Joey Hess Mon, 20 Oct 1997 14:44:30 -0400 debhelper (0.9) unstable; urgency=low * Added dh_suidregister, interfaces to to the suidmanager package. * dh_installdebfiles: fixed typo on man page. -- Joey Hess Sat, 18 Oct 1997 20:55:39 -0400 debhelper (0.8) unstable; urgency=low * Added dh_md5sum, generates a md5sums file. * dh_clean: fixed to echo all commands when verbose mode is on. -- Joey Hess Fri, 17 Oct 1997 14:18:26 -0400 debhelper (0.7) unstable; urgency=low * Sped up some things by removing unnecesary for loops. * dh_installdocs: behavior modifcation: if there is a debian/TODO, it is named like a debian/changelog file: if the package is a debian native package, it is installed as TODO. If the package is not a native package, it is installed as TODO.Debian. * dh_installdocs: handle debian/README.Debian as well as debian/README.debian. * Added dh_undocumented program, which can set up undocumented.7 symlinks. * Moved dh_installdebfiles to come after dh_fixperms in the example rules files. (dh_installdebfiles makes sure it installs things with the proper permissions, and this reorganization makes the file a bit more flexable in a few situations.) -- Joey Hess Mon, 13 Oct 1997 20:08:05 -0400 debhelper (0.6) unstable; urgency=low * Got rid of bashisms - this package should work now if /bin/sh is ash. -- Joey Hess Fri, 10 Oct 1997 15:24:40 -0400 debhelper (0.5) unstable; urgency=low * Added dh_installcron to install cron jobs. -- Joey Hess Tue, 30 Sep 1997 19:37:41 -0400 debhelper (0.4) unstable; urgency=low * Added dh_strip to strip binaries and libraries. * Fixed several man pages. -- Joey Hess Sun, 28 Sep 1997 20:46:32 -0400 debhelper (0.3) unstable; urgency=low * Added support for automatic generation of debian install scripts to dh_installmenu and dh_installdebfiles and dh_clean. * Removed some pointless uses of cat. -- Joey Hess Fri, 26 Sep 1997 21:52:53 -0400 debhelper (0.2) unstable; urgency=low * Moved out of unstable, it still has rough edges and incomplete bits, but is ready for general use. * Added man pages for all commands. * Multiple binary package support. * Support for specifying exactly what set of binary packages to act on, by group (arch or noarch), and by package name. * dh_clean: allow specification of additional files to remove as parameters. * dh_compress: fixed it to not compress doc/package/copyright * dh_installmanpage: allow listing of man pages that should not be auto-installed as parameters. * dh_installdebfiles: make sure all installed files have proper ownerships and permissions. * dh_installdebfiles: only pass ELF files to dpkg-shlibdeps, and pass .so files. * Added a README. * dh_compress: changed behavior - debian/compress script is now run inside the package build directory it is to act on. * Added dh_lib symlink in debian/ so the debhelper apps used in this package's debian/rules always use the most up-to-date db_lib. * Changed dh_cleantmp commands in the examples rules files to dh_clean. -- Joey Hess Tue, 23 Sep 1997 12:26:12 -0400 debhelper (0.1) experimental; urgency=low * First release. This is a snapshot of my work so far, and it not yet ready to replace debstd. -- Joey Hess Mon, 22 Sep 1997 15:01:25 -0400