Format: 1.8 Date: Wed, 12 Sep 2018 11:44:37 +0200 Source: debhelper Binary: debhelper dh-systemd Architecture: source Version: 11.3.2ubuntu1~ubuntu16.04.1 Distribution: xenial Urgency: high Maintainer: Ubuntu Developers Changed-By: Donk donk Description: debhelper - helper programs for debian/rules dh-systemd - debhelper add-on to handle systemd unit files - transitional pack Closes: 35733 415396 446856 491027 513521 566861 568033 570935 593382 597105 597342 616070 626685 650129 653640 709384 752521 761024 761272 764730 768791 769840 770281 776853 795253 795432 800043 805878 812248 813266 813686 814285 814856 816332 824221 830208 837528 839655 840913 841746 843163 843813 844077 844602 847138 851071 851207 851744 851962 852211 852520 853881 856688 857028 857306 858467 858834 860091 861627 861852 862003 862049 862844 863387 863447 863456 863887 863961 865363 865707 865708 865869 865982 866405 866570 866619 866713 867246 867846 867866 867881 868169 868204 868584 868649 868674 869697 869780 870201 870339 870768 870892 870905 872007 872274 872510 872745 873043 873831 875586 876453 876486 876689 877357 877989 878325 878427 878460 878888 878911 879478 879643 879658 879667 879727 879762 880480 880840 881190 881658 882083 882626 883635 884152 884205 884556 884574 885998 886037 886038 886108 886127 886279 886518 887727 888251 888294 888974 890373 890736 891187 891546 892586 893160 894226 894227 894228 894229 894510 894549 894573 894666 894835 894895 895011 895044 895174 895181 895196 895286 896464 897026 897083 897569 897937 897949 898161 898347 899125 899248 Launchpad-Bugs-Fixed: 184156 1206234 1554979 1623256 1691078 1707880 1765851 1766102 Changes: debhelper (11.3.2ubuntu1~ubuntu16.04.1) xenial; urgency=medium . * No-change backport to xenial . debhelper (11.3.2ubuntu1) cosmic; urgency=medium . * Merge from Debian testing. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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 imcomplete fix. (Closes: #899248) . 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) . 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: 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. . debhelper (11.2.1ubuntu1) cosmic; urgency=medium . * Merge from Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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. . 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. . debhelper (11.1.6ubuntu1) bionic; urgency=medium . * Merge from Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . debhelper (11.1.6) unstable; urgency=medium . * Dh_Lib: 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. Prevently 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 xfons in multiple fonts directories. (Closes: #894227) * Dh_Lib: 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: Make Dh_Lib loadable again without a debian/control being present. This makes the autopkgtests work again. . debhelper (11.1.5ubuntu1) bionic; urgency=low . * Merge from Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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. . 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: 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: Add an experimental feature to determine the requested compat level from the Build-Depends field. . debhelper (11.1.4ubuntu1) bionic; urgency=medium . * Merge with Debian unstable; remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . debhelper (11.1.4) unstable; urgency=medium . * qmake.pm/qmake4.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: 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. . debhelper (11.1.3ubuntu1) bionic; urgency=medium . * Merge with Debian unstable; remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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) . debhelper (11.1.2ubuntu1) bionic; urgency=medium . * Merge with Debian testing; remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . debhelper (11.1.2) unstable; urgency=medium . * dh: Fix non-sense error about a missing "startpoint object method". . 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) . 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) . debhelper (11ubuntu1) bionic; urgency=medium . * Merge with Debian; remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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 parapraphs. . [ Translations ] * Update Portuguese translation (Américo Monteiro) (Closes: #883635) * Update German translation (Chris Leick) (Closes: #884205) . debhelper (10.10.9ubuntu1) bionic; urgency=medium . * Merge from current Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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". . debhelper (10.10.8ubuntu1) bionic; urgency=medium . * Merge from current Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . debhelper (10.10.8) unstable; urgency=medium . [ Niels Thykier ] * Document that compat 11 is now in its open beta phase. * Dh_Getopt: 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. . debhelper (10.10.7ubuntu2) bionic; urgency=medium . * Revert e5fce9b0a40357f9ed54426f2e04495b1442e8f1, breaking libguestfs dh_install usr/lib/*-*/ regex . debhelper (10.10.7ubuntu1) bionic; urgency=medium . * Merge from current Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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: Ensure that $dh{U_PARAMS} is always defined as a list. Thanks to Adrian Bunk for the bug report. . 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: 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) . debhelper (10.10.5ubuntu1) bionic; urgency=medium . * Merge from current Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Mirror udeb code in dh_builddeb to allow us to alter file extension. + Set dbgsym Package-Type to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . debhelper (10.10.5) unstable; urgency=medium . * meson.pm: Add missing import of generated_file that broke cross building. * Dh_Lib: Fix regression where an empty line before the source paragraph in d/control would cause parse error. (Closes: #879762) . debhelper (10.10.4ubuntu1) bionic; urgency=medium . * Merge from current Debian unstable. Remaining changes: - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Mirror udeb code in dh_builddeb to allow us to alter file extension. + Set dbgsym Package-Type to ddeb to get correct debian/files output. - dh_installchangelogs: Do not install upstream changelog in compat level 7 and higher to avoid pointlessly bloating installed packages. . 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 Suggets 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) . 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 familarity 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. . debhelper (10.10.2) unstable; urgency=medium . * Dh_Lib: 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. . 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. . 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". . 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) . 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: Open compat 12. * dh_clean: Defer making -k an error until compat 12. * Dh_Getopt: Defer making -s an error until compat 12. * dh_installinit: Defer making --no-restart-on-upgrade an error until compat 12. * Dh_Lib: 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: 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) . 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 gratious 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) . debhelper (10.8) unstable; urgency=medium . [ Niels Thykier ] * Dh_Lib: 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) . debhelper (10.7.2ubuntu2) artful; urgency=high . * Define U_PARAMS correctly in dh_builddeb, and don't try to use it when it isn't defined. . debhelper (10.7.2ubuntu1) artful; urgency=low . * Merge from Debian unstable. Remaining changes: - dh_installchangelogs: Do not install upstream changelog in compat level 7. This floods packages with huge upstream changelogs which are unnecessary on an installed system. - Restore maintainer ability to override ddeb compression - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Mirror udeb code in dh_builddeb to allow us to alter file extension. + Set dbgsym Package-Type to ddeb to get correct debian/files output. + Depend on dpkg-dev (>= 1.18.23ubuntu3) so the above works correctly. . debhelper (10.7.2) unstable; urgency=medium . * Dh_Lib: 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) . debhelper (10.7.1) unstable; urgency=medium . * Dh_Lib: 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 . 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: Introduce a print_and_complex_doit. * Buildsystem: Introduce a complex_doit_in_builddir, which is needed by gradle-debian-helper. * Dh_Lib: 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: 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: Avoid forking 2 to 7 subprocesses for adding an autosnippet when helper tools use a subroutine rather then a sed snippet. * Dh_Lib: 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: Reduce the use of shell and external commands for generating the final maintscripts. * Dh_Lib: 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: 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) . debhelper (10.6.4ubuntu1) artful; urgency=low . * Merge from Debian unstable. Remaining changes: - dh_installchangelogs: Do not install upstream changelog in compat level 7. This floods packages with huge upstream changelogs which are unnecessary on an installed system. - Restore maintainer ability to override ddeb compression - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Mirror udeb code in dh_builddeb to allow us to alter file extension. + Set dbgsym Package-Type to ddeb to get correct debian/files output. + Depend on dpkg-dev (>= 1.18.23ubuntu3) so the above works correctly. * Drop cherry-picks included in new release: - Dh_Lib: When passing -a/-i only, and there are no arch/indep packages, exit. This was accidentally removed when optimising a common case. (regression introduced by commit 91b064a0baea0ef37937bce56e5b080ac5a52595, see Debian #863961.) - Revert commit 80c955221e83327efb984845f59648678c729978 from upstream. This causes empty override_...-{arch,indep} targets to skip the command completely instead of just for the arch or indep build. (See Debian #863887) - dh_install: Pass --exclude/-X to dh_missing. (See Debian #863447) . [ 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). . [ Sven Joachim, Niels Thykier ] * 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. . 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. . 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. . 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. . debhelper (10.6.1) unstable; urgency=medium . * Makefile: Enable running some tasks in parallel to better utilize multiple cores. * Dh_Lib: 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) . debhelper (10.6) unstable; urgency=medium . * dh_installinfo: Use "xargs" so it works even if there are "a lot" of info files. * Dh_Lib: 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: Stop setting PERL_USE_UNSAFE_INC in compat 11. * perl_build.pm: Stop passing -I. to perl in compat 11. * perl_makemaker.pm: Ditto. . 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: 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: 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 unnecssary 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. . debhelper (10.5) unstable; urgency=medium . * Upload to unstable. (Closes: #865363) . [ Niels Thykier ] * dh_installman: Remove unncessary "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 noot create package build directories (except if one of them happens to be the default "destdir" for dh_auto_install). . [ Iain Lane ] * Dh_Lib: 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: Provide a more detailed error message when there are no buildable packages caused by architecture restrictions. (Closes: #858467) * Dh_Lib: Split package_arch($package) into three distinct functions. . debhelper (10.4ubuntu3) artful; urgency=medium . * Dh_Lib: When passing -a/-i only, and there are no arch/indep packages, exit. This was accidentally removed when optimising a common case. (regression introduced by commit 91b064a0baea0ef37937bce56e5b080ac5a52595, see Debian #863961.) . debhelper (10.4ubuntu2) artful; urgency=medium . * Revert commit 80c955221e83327efb984845f59648678c729978 from upstream. This causes empty override_...-{arch,indep} targets to skip the command completely instead of just for the arch or indep build. (See Debian #863887) * dh_install: Pass --exclude/-X to dh_missing. (See Debian #863447) . debhelper (10.4ubuntu1) artful; urgency=medium . * Merge from Debian unstable. Remaining changes: - dh_installchangelogs: Do not install upstream changelog in compat level 7. This floods packages with huge upstream changelogs which are unnecessary on an installed system. - Restore maintainer ability to override ddeb compression - Generate ddebs from debhelper instead of pkg-create-dbgsym + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + Mirror udeb code in dh_builddeb to allow us to alter file extension. + Set dbgsym Package-Type to ddeb to get correct debian/files output. + Depend on dpkg-dev (>= 1.18.23ubuntu3) so the above works correctly. . 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) . 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) . debhelper (10.2.5ubuntu3) artful; urgency=medium . * Restore maintainer ability to override ddeb compression (LP: #1691078) . debhelper (10.2.5ubuntu2) artful; urgency=medium . * Generate ddebs from debhelper instead of pkg-create-dbgsym (LP: #1623256) - Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. - Revert the revert that disabled debhelper's attempts to do dbgsyms. - Mirror udeb code in dh_builddeb to allow us to alter file extension. - Set dbgsym Package-Type to ddeb to get correct debian/files output. - Depend on dpkg-dev (>= 1.18.23ubuntu3) so the above works correctly. . debhelper (10.2.5ubuntu1) artful; urgency=medium . * Merge from Debian unstable. Remaining changes: - dh_installchangelogs: Do not install upstream changelog in compat level 7. This floods packages with huge upstream changelogs which are unnecessary on an installed system. - dh_strip: Revert commit f1a803456 to disable ddebs generation by default. This first needs adjustments in Launchpad and ddebs.u.c., and dropping pkg-create-dbgsym. . debhelper (10.2.5) unstable; urgency=medium . [ Translations ] * Add Japanese translation (Hideki Yamane) (Closes: #852520) . 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) . 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) . debhelper (10.2.2ubuntu1) zesty; urgency=medium . * Merge from Debian unstable. Remaining changes: - dh_installchangelogs: Do not install upstream changelog in compat level 7. This floods packages with huge upstream changelogs which are unnecessary on an installed system. - dh_strip: Revert commit f1a803456 to disable ddebs generation by default. This first needs adjustments in Launchpad and ddebs.u.c., and dropping pkg-create-dbgsym. Checksums-Sha1: 9eb5a475fd0b3336c12bb3cbe02c69d8f47f4cc9 1836 debhelper_11.3.2ubuntu1~ubuntu16.04.1.dsc d2b60764c2f8fd14cfc0c04ba851b6bdf8f50050 466584 debhelper_11.3.2ubuntu1~ubuntu16.04.1.tar.xz Checksums-Sha256: bc44823219fa7504a7cc028d86f558177ff52668ca6c2c132cfa493908648456 1836 debhelper_11.3.2ubuntu1~ubuntu16.04.1.dsc 1a34d22e20e022d97c845304f731cef6699cd790d3ea8d592b6b2272e32d547b 466584 debhelper_11.3.2ubuntu1~ubuntu16.04.1.tar.xz Files: 73a49fb8e7109cd9111e9aee8353108b 1836 devel optional debhelper_11.3.2ubuntu1~ubuntu16.04.1.dsc 735e448859d68c75883cf33e7b9516f7 466584 devel optional debhelper_11.3.2ubuntu1~ubuntu16.04.1.tar.xz Original-Maintainer: Debhelper Maintainers