-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 30 Aug 2017 20:12:47 +0000 Source: debhelper Binary: debhelper dh-systemd Architecture: source all Version: 10.7.2~bpo9+1 Distribution: stretch-backports Urgency: medium Maintainer: Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org> Changed-By: W. Martin Borgert <debacle@debian.org> Description: debhelper - helper programs for debian/rules dh-systemd - debhelper add-on to handle systemd unit files - transitional pack Closes: 415396 616070 761024 770281 795253 800043 812248 813266 837528 844077 844602 847138 853881 856688 857028 858467 860091 861627 861852 862003 862049 862844 863387 863447 863456 863887 863961 865363 865707 865708 865869 865982 866405 866570 866713 867246 867846 867866 867881 868169 868204 868584 868649 868674 869697 869780 870339 873633 Changes: debhelper (10.7.2~bpo9+1) stretch-backports; urgency=medium . * Non-maintainer upload on behalf of maintainer: Rebuild for stretch-backports (Closes: #873633). . 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.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/<pkg>/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 <mode>" 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/<LANG>/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.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) Checksums-Sha1: fc578df7e74757f9fded79da4319e6a6e42ed499 1793 debhelper_10.7.2~bpo9+1.dsc 9bb0ea0d2f0b583ff621b9f736374b257fe28785 416000 debhelper_10.7.2~bpo9+1.tar.xz 4b73f90766355a5aa41a5cccb94b334b53b2429e 977238 debhelper_10.7.2~bpo9+1_all.deb 85db97160508c129cd6cd6e2d2d39217b2d1abf0 5251 debhelper_10.7.2~bpo9+1_amd64.buildinfo 2e795b9f64250f3ba491860dd0b79b7799006ca6 106226 dh-systemd_10.7.2~bpo9+1_all.deb Checksums-Sha256: 6c10bcd0f18ca034035bcaf506b9ccd1e70db729b570631baf6cd29aff46acec 1793 debhelper_10.7.2~bpo9+1.dsc 187d2a47906a4d31a9df64033aaa00eeb65c76534c2f624d4985e959be3d2912 416000 debhelper_10.7.2~bpo9+1.tar.xz 5818bdc3b83449943c68c8f9d9f8c9892a35b6d80b3a739a40a8be08555b4d83 977238 debhelper_10.7.2~bpo9+1_all.deb 97bb13541ada05103bac3dc988185ce3b468cdee00cb70ea0bd07f97f46f8d37 5251 debhelper_10.7.2~bpo9+1_amd64.buildinfo 8ca37a0686b6be6cfb24b26c820c7d2b429831aed55d857c9822b1c66b525f5c 106226 dh-systemd_10.7.2~bpo9+1_all.deb Files: d9b499a3477a3c6167e44d93d4d64ff3 1793 devel optional debhelper_10.7.2~bpo9+1.dsc 1275908a487335afe70966bf1c8ec628 416000 devel optional debhelper_10.7.2~bpo9+1.tar.xz aaaa762e8b67965e94f26f34c8fd8ffb 977238 devel optional debhelper_10.7.2~bpo9+1_all.deb 2470f90831b80aa25ff6d10cf617b93f 5251 devel optional debhelper_10.7.2~bpo9+1_amd64.buildinfo d0c8f0dea325e1c3890fc9a00b72cd65 106226 oldlibs extra dh-systemd_10.7.2~bpo9+1_all.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEftHeo0XZoKEY1KdA4+Chwoa5Y+oFAlmnL5cACgkQ4+Chwoa5 Y+qP/g/+PZUuACVoe9vB5bbY6ObCKPJpWM7K6bzS+NJfejxWescWfzhUpJJaS63u 3zGZmg4VoLjAihslgghRV83XN4+VgVaDUKTaE7iyAaPkHHDlVDlYemK9qfppp3Bs 4L7q8+gT9PcC/tNNxL110JHwPvfWHNES6peLObEfyvCF8VFJe4WiBmYwNjjFzyS0 IAkmUXCqYNX8k1ZnEATpY1naj0x/ZDIaK81Jw007m2AndVmpZMwGSehQMWKKvaXJ xdxk1C+znfYjYudQoNjIAwl4Bf248EQej1pdAJZ20H7dmx5dJmwF4puh5Z7Uv2kl U8A/M5RORNOR0EbOt9naZ6jL+OKqL4DCAdW5L3CsOgdkaUhStmweOdPLKJX4B7Wr /Qj9DK5Yf2bsReKxm//TDNcdrdlvBHhWjG2+uH+hbiZ1+aOtUdbiJdXWCFU5ewIU qjyuXMgLrPpgzt2vwSO+Vt6raERRJMCNuZYDm7ejQJwux2QRX2CLYX0+rv5GmcFQ /uU6XyTY9HLUz/4zGsDAEEJmhYjW+hVVfvbqyK5sJJ8/I2ECck8uCTBmGxW3wfFd 96po+haBVbteRp6Yj0IC6LtfhxPUkN0BuxjICVqDjh2pUZHTuC+xXixyjMj4MjxN YDNDWPgIbwnyog1J+ev9xlzHCSMH3fJxcwbe+fKscNCGVf+5MO4= =8f/U -----END PGP SIGNATURE-----