diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-init-tmpfiles debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-init-tmpfiles --- debhelper-13.6ubuntu1/autoscripts/postinst-init-tmpfiles 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-init-tmpfiles 2023-08-28 11:25:23.000000000 +0000 @@ -1,7 +1,5 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then - # In case this system is running systemd, we need to ensure that all - # necessary tmpfiles (if any) are created before starting. - if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ] ; then - systemd-tmpfiles --create #TMPFILES# >/dev/null || true + if [ -x "$(command -v systemd-tmpfiles)" ]; then + systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# || true fi fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-menu debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-menu --- debhelper-13.6ubuntu1/autoscripts/postinst-menu 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-menu 2023-08-28 11:25:23.000000000 +0000 @@ -1,3 +1,3 @@ -if [ "$1" = "configure" ] && [ -x "`command -v update-menus`" ]; then +if [ "$1" = "configure" ] && [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-menu-method debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-menu-method --- debhelper-13.6ubuntu1/autoscripts/postinst-menu-method 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-menu-method 2023-08-28 11:25:23.000000000 +0000 @@ -1,7 +1,7 @@ inst=/etc/menu-methods/#PACKAGE# if [ -f $inst ]; then chmod a+x $inst - if [ -x "`command -v update-menus`" ]; then + if [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus fi fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-systemd-dont-enable debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-dont-enable --- debhelper-13.6ubuntu1/autoscripts/postinst-systemd-dont-enable 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-dont-enable 2023-08-28 11:25:23.000000000 +0000 @@ -1,6 +1,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if deb-systemd-helper debian-installed #UNITFILE#; then - # This will only remove masks created by d-s-h on package removal. + # The following line should be removed in trixie or trixie+1 deb-systemd-helper unmask #UNITFILE# >/dev/null || true if deb-systemd-helper --quiet was-enabled #UNITFILE#; then diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-systemd-enable debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-enable --- debhelper-13.6ubuntu1/autoscripts/postinst-systemd-enable 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-enable 2023-08-28 11:25:23.000000000 +0000 @@ -1,5 +1,5 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then - # This will only remove masks created by d-s-h on package removal. + # The following line should be removed in trixie or trixie+1 deb-systemd-helper unmask #UNITFILE# >/dev/null || true # was-enabled defaults to true, so new installations run enable. diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-systemd-user-dont-enable debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-user-dont-enable --- debhelper-13.6ubuntu1/autoscripts/postinst-systemd-user-dont-enable 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-user-dont-enable 2023-08-28 11:25:23.000000000 +0000 @@ -1,7 +1,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -z "${DPKG_ROOT:-}" ]; then if deb-systemd-helper --user debian-installed #UNITFILE# ; then - # This will only remove masks created by d-s-h on package removal. + # The following line should be removed in trixie or trixie+1 deb-systemd-helper --user unmask #UNITFILE# >/dev/null || true if deb-systemd-helper --quiet --user was-enabled #UNITFILE# ; then diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-systemd-user-enable debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-user-enable --- debhelper-13.6ubuntu1/autoscripts/postinst-systemd-user-enable 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-systemd-user-enable 2023-08-28 11:25:23.000000000 +0000 @@ -1,6 +1,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -z "${DPKG_ROOT:-}" ] ; then - # This will only remove masks created by d-s-h on package removal. + # The following line should be removed in trixie or trixie+1 deb-systemd-helper --user unmask #UNITFILE# >/dev/null || true # was-enabled defaults to true, so new installations run enable. diff -Nru debhelper-13.6ubuntu1/autoscripts/postinst-sysusers debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-sysusers --- debhelper-13.6ubuntu1/autoscripts/postinst-sysusers 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postinst-sysusers 2023-08-28 11:25:23.000000000 +0000 @@ -1,5 +1,3 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then - if [ -z "${DPKG_ROOT:-}" ] ; then - systemd-sysusers #CONFILE_BASENAME# - fi + systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} #CONFILE_BASENAME# fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postrm-init debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-init --- debhelper-13.6ubuntu1/autoscripts/postrm-init 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-init 2023-08-28 11:25:23.000000000 +0000 @@ -1,3 +1,6 @@ +if [ "$1" = "remove" ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then + chmod -x "/etc/init.d/#SCRIPT#" >/dev/null || true +fi if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then update-rc.d #SCRIPT# remove >/dev/null fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postrm-menu debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-menu --- debhelper-13.6ubuntu1/autoscripts/postrm-menu 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-menu 2023-08-28 11:25:23.000000000 +0000 @@ -1 +1 @@ -if [ -x "`command -v update-menus`" ]; then update-menus ; fi +if [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus ; fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postrm-menu-method debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-menu-method --- debhelper-13.6ubuntu1/autoscripts/postrm-menu-method 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-menu-method 2023-08-28 11:25:23.000000000 +0000 @@ -1,3 +1,3 @@ inst=/etc/menu-methods/#PACKAGE# if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi -if [ -x "`command -v update-menus`" ]; then update-menus ; fi +if [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus ; fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postrm-systemd debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-systemd --- debhelper-13.6ubuntu1/autoscripts/postrm-systemd 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-systemd 2023-08-28 11:25:23.000000000 +0000 @@ -1,12 +1,5 @@ -if [ "$1" = "remove" ]; then - if [ -x "/usr/bin/deb-systemd-helper" ]; then - deb-systemd-helper mask #UNITFILES# >/dev/null || true - fi -fi - if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge #UNITFILES# >/dev/null || true - deb-systemd-helper unmask #UNITFILES# >/dev/null || true fi fi diff -Nru debhelper-13.6ubuntu1/autoscripts/postrm-systemd-user debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-systemd-user --- debhelper-13.6ubuntu1/autoscripts/postrm-systemd-user 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/postrm-systemd-user 2023-08-28 11:25:23.000000000 +0000 @@ -1,12 +1,5 @@ -if [ "$1" = "remove" ]; then - if [ -z "${DPKG_ROOT:-}" ] && [ -x "/usr/bin/deb-systemd-helper" ] ; then - deb-systemd-helper --user mask #UNITFILES# >/dev/null || true - fi -fi - if [ "$1" = "purge" ]; then if [ -z "${DPKG_ROOT:-}" ] && [ -x "/usr/bin/deb-systemd-helper" ] ; then deb-systemd-helper --user purge #UNITFILES# >/dev/null || true - deb-systemd-helper --user unmask #UNITFILES# >/dev/null || true fi fi diff -Nru debhelper-13.6ubuntu1/autoscripts/preinst-init-chmod debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/preinst-init-chmod --- debhelper-13.6ubuntu1/autoscripts/preinst-init-chmod 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/autoscripts/preinst-init-chmod 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,3 @@ +if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/#SCRIPT#" ] ; then + chmod +x "/etc/init.d/#SCRIPT#" >/dev/null || true +fi diff -Nru debhelper-13.6ubuntu1/CONTRIBUTING.md debhelper-13.11.6ubuntu1~ppa~jammy/CONTRIBUTING.md --- debhelper-13.6ubuntu1/CONTRIBUTING.md 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/CONTRIBUTING.md 2023-08-28 11:25:23.000000000 +0000 @@ -69,7 +69,7 @@ costs. * Helpers / tools should generally *do the right thing* by default - (subject to backwards compatibility). If most people neeed some + (subject to backwards compatibility). If most people need some particular option to make the tool work for them, then the default should be changed (again, subject to backwards compatibility). diff -Nru debhelper-13.6ubuntu1/debhelper-compat-upgrade-checklist.pod debhelper-13.11.6ubuntu1~ppa~jammy/debhelper-compat-upgrade-checklist.pod --- debhelper-13.6ubuntu1/debhelper-compat-upgrade-checklist.pod 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debhelper-compat-upgrade-checklist.pod 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,780 @@ +=encoding UTF-8 + +=head1 NAME + +debhelper-compat-upgrade-checklist - Upgrade checklist for supported debhelper compat levels + +=head1 SYNOPSIS + +This document is an upgrade checklist of all the supported debhelper compat levels. It also +lists all the support debhelper compat levels. + +Information about how to declare the compat level is in L. + +If you are upgrading from a (now) obsolete compat level, then please refer to +L. + +=head1 DESCRIPTION + +=head2 Upgrade checklist for supported compatibility levels + +These are the available compatibility levels: + +=over 4 + +=item v15 + +This compatibility level is still open for development; use with caution. + +Changes from v14 are: + +=over 8 + +=item - + +The B tool no longer defaults to B<< --destdir=debian/I >> +for source packages only producing a single binary. If this behaviour is wanted, +the package should explicitly activate the B dh addon (e.g., by adding +B to B) or pass B<--destdir> to +B. + +The rationale for this change is to avoid "surprises" when adding a second binary package +later. Previously, debhelper would silently change behaviour often resulting in empty +binary packages being uploaded to the archive by mistake. With the new behaviour, +the B addon will detect the mismatch and warn the maintainer of what is +about to happen. + +=back + +=item v14 + +This compatibility level is still open for development; use with caution. + +Changes from v13 are: + +=over 8 + +=item - + +The B buildsystem now passes +B<-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON> to L to avoid some +reproducibility issues. + +=item - + +The tool B is now included in the default sequence. This +helper tool will process systemd sysusers files. + +=item - + +Use of the B command in override and hook targets now causes +an error. The B command has been a no-op for years and was +removed in debhelper 13.4. + +=item - + +The B sequencer will warn if the B addon is implicitly activated to +warn maintainers of the pending compat 15 change in B. + +Maintainers are urged to either explicitly activate the B addon to +preserve the existing behaviour (e.g., by adding B to +Build-Depends), or explicitly passing B<--destdir> to B if used and +then passing B<--without single-binary> to B (the latter to silence the warning). + +The rationale for this change is to avoid "surprises" when adding a second binary package +later. Previously, debhelper would silently change behaviour often resulting in empty +binary packages being uploaded to the archive by mistake. With the new behaviour, +the B addon will detect the mismatch and warn the maintainer of what is +about to happen. + +=item - + +The B tool will now be run after B rather than after +B in the default B sequence. + +=item - + +The B tool will now install PAM configuration files under +F<< /usr/lib/pam.d/I >> instead of F<< /etc/pam.d/I >>. + +Please consider using the "rm_conffile" feature from +L to ensure the proper removal of previous PAM files. + +=item - + +The B and B build systems now use B and +B, respectively, instead of B and B +in the L call. Any override of B that +passes extra parameters to the upstream build system should be reviewed. + +=item - + +The B build system passes B<< -DBUILD_TESTING:BOOL=OFF >> to B +if B contains B thus disabling CTest. + +=back + +=item v13 + +This is the recommended mode of operation. + +Changes from v12 are: + +=over 8 + +=item - + +The B build system now uses B instead of +B when running the test suite. Any override of +B that passes extra parameters to upstream test runner +should be reviewed as B is not command line compatible +with B. + +=item - + +All debhelper like tools based on the official debhelper library +(including B and the official B tools) no longer accepts +abbreviated command parameters. At the same time, B now +optimizes out calls to redundant B helpers even when passed +long command line options. + +=item - + +The ELF related debhelper tools (B, B, +B, B) are now only run for arch dependent +packages by default (i.e. they are excluded from B<*-indep> targets +and are passed B<-a> by default). If you need them for B<*-indep> +targets, you can add an explicit Build-Depends on +B. + +=item - + +The third-party B build system (from B +package) now runs the upstream-provided test suite automatically. To +suppress such behavior, override B. + +=item - + +The B tool now aborts if it sees conflicting +definitions of a manpage. This typically happens if the upstream +build system is installing a compressed version and the package lists +an uncompressed version of the manpage in F<< +debian/I.manpages >>. Often the easiest fix is to remove the +manpage from F<< debian/I.manpages >> (assuming both versions +are identical). + +=item - + +The B helpers now reset the environment variables B +and common B variable. Please see description of the +environment variables in L for how this is handled. + +I + +=item - + +The B command will now error if an override or hook target for an +obsolete command are present in F +(e.g. B). + +=item - + +The B command will now default to B<--fail-missing>. This +can be reverted to a non-fatal warning by explicitly passing +B<--list-missing> like it was in compat 12. + +If you do not want the warning either, please omit the call to +B. If you use the B command sequencer, then you can +do this by inserting an empty override target in the +F file of the relevant package. As an example: + + # Disable dh_missing + override_dh_missing: + +=item - + +The B command sequencer now runs B in the +default sequence. The B takes over handling of +tmpfiles.d configuration files. Related functionality in +B is now disabled. + +Note that B responds to +F<< debian/I.tmpfiles >> where B used +a name without the trailing "s". + +=item - + +Many B tools now support limited variable expansion via the +B<${foo}> syntax. In many cases, this can be used to reference paths +that contain either spaces or L values. While +this can reduce the need for L in some cases, it is B +a replacement L in general. If you need filtering, +renaming, etc., the package will still need L. + +Please see L for syntax and +available substitution variables. To B tool writers, substitution +expansion occurs as a part of the B and B +functions. + +=item - + +The B command sequencer will now skip all hook and override targets +for B, B and B when B +lists the relevant B / B options. + +Any package relying on these targets to always be run should instead +move relevant logic out of those targets. E.g. non-test related +packaging code from B would have to be moved to +B or B. + +=item - + +The B buildsystem now passes B<-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> +to L to speed up automatic installation process. If for some reason +you need previous behavior, override the flag: + + dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ... + +=back + +=item v12 + +Changes from v11 are: + +=over 8 + +=item - + +The B tool now generates shlibs files with versioned +dependency by default. This means that B<-VUpstream-Version> +(a.k.a. B<-V>) is now the default. + +If an unversioned dependency in the shlibs file is wanted, this can be +obtained by passing B<-VNone> instead. However, please see +L for the caveat of unversioned dependencies. + +=item - + +The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) instead. + +=item - + +Invoking B now causes an error instead of a deprecation +warning. + +=item - + +The B<--no-restart-on-upgrade> option in B has been removed. +Please use the new name B<--no-stop-on-upgrade> + +=item - + +There was a bug in the B (and similar) functions from +L that made them spawn a shell in one +particular circumstance. This bug is now removed and will cause +helpers that rely on the bug to fail with a "command not found"-error. + +=item - + +The B<--list-missing> and B<--fail-missing> in B has been +removed. Please use B and its corresponding options, +which can also see the files installed by other helpers. + +=item - + +The B helper no longer installs configuration for +the upstart init system. Instead, it will abort the build if it +finds an old upstart configuration file. The error is there to +remind the package maintainer to ensure the proper removal of the +conffiles shipped in previous versions of the package (if any). + +=item - + +The B tool will do basic validation of some +L commands and will error out if the +commands appear to be invalid. + +=item - + +The B tool will now default to B<--list-missing>. + +=item - + +The B tool will now only pass libraries to L +if the ELF binary has a SONAME (containing ".so"). + +=item - + +The B tool no longer compresses examples (i.e. anything installed +in F</examples>>.) + +=item - + +The standard sequence in B now includes B and +B by default. This makes the B and +B sequences obsolete and they will now fail with an +error. If you want to skip these commands, then please insert an +empty override target for them in F +(e.g. I) + +=item - + +The build systems B and B no longer explicitly set +the B<--libexecdir> variable and thus relies on the build system +default - which should be B (per FHS 3.0, adopted in +Debian Policy 4.1.5). + +If a particular upstream package does not use the correct default, the +parameter can often be passed manually via L. E.g. +via the following example: + + override_dh_auto_configure: + dh_auto_configure -- --libexecdir=/usr/libexec + +Note the B<--> before the B<--libexecdir> parameter. + +=item - + +B: + +The B tool would no longer installs the maintainer provided +F file as it was deemed unnecessary. However, the +B from dpkg/1.20 made the file relevant again and +B now installs it again in compat levels 12+. + +=item - + +The B tool no longer relies on B for +handling systemd services that have a sysvinit alternative. Both tools +must now be used in such a case to ensure the service is properly started +under both sysvinit and systemd. + +If you have an override for B (e.g. to call it with +B<--no-start>) then you will probably need one for +B as well now. + +This change makes B inject a I for +B<< init-system-helpers (>= 1.54~) >>. Please ensure that the package +lists B<${misc:Pre-Depends}> in its B field before +upgrading to compat 12. + +=item - + +The third-party B tool (from B package) now defaults on +honoring B variable for source installation in -dev +packages and not only during the building process. Please set +B to false to revert to the previous behaviour. See +B for details and examples. + +=item - + +B is now included in the B standard +sequence by default. + +=item - + +The B buildsystem is now removed. Please use the +third-party build system B instead. + +=back + +=item v11 + +This mode is discouraged. + +The compat 11 is discouraged for new packages as it suffers from +feature interaction between L and L +causing services to not run correctly in some cases. Please consider +using compatibility mode 10 or 12 instead. More details about the +issue are available in Debian#887904 and +L. + +Changes from v10 are: + +=over 8 + +=item - + +B no longer installs F or F files, +nor generates maintainer scripts for those files. Please use the new +B helper. + +=item - + +The B and B helpers have been +replaced by the new B helper. For the same reason, +the B sequence for B has also been removed. If you need +to disable the B helper tool, please use an empty +override target. + +Please note that the B tool has a slightly +different behaviour in some cases (e.g. when using the B<--name> +parameter). + +=item - + +B no longer creates debian/I directories +unless explicitly requested (or it has to create a subdirectory in +it). + +The vast majority of all packages will be unaffected by this change. + +=item - + +The B buildsystem now passes B to L. Derivative buildsystems +(e.g. B or B) are unaffected by this change. + +=item - + +The B buildsystem now passes B<--runstatedir=/run> to +F<./configure>. + +=item - + +The B buildsystem now passes +B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to L. + +=item - + +B will now prefer detecting the language from the +path name rather than the extension. + +=item - + +B will now only create the destination +directory it needs. Previously, it would create the package build +directory for all packages. This will not affect packages that only +build with debhelper commands, but it may expose bugs in commands not +included in debhelper. + +=item - + +The helpers B, B, B, +and B now error out if their config has a pattern that +does not match anything or reference a path that does not exist. + +Known exceptions include building with the B profile, where the +above tools will silently permit failed matches where the patterns +are used to specify documentation. + +=item - + +The helpers B, B, B, +and B now accept the parameter B<--sourcedir> with same +meaning as B. Furthermore, they now also fall back to +F like B. + +Migration note: A bug in debhelper 11 up to 11.1.5 made +B incorrectly ignore B<--sourcedir>. + +=item - + +The B and B build systems no longer pass +B<-I.> to perl. Packages that still need this behaviour can emulate +it by using the B environment variable. E.g. by adding +B in their debian/rules file (or similar). + +=item - + +The B environment variable is no longer set by +B or any of the B tools. It was added as a temporary +work around to avoid a lot of packages failing to build at the same +time. + +Note this item will eventually become obsolete as upstream intends +to drop support for the B environment variable. +When perl drops support for it, then this variable will be removed +retroactively from existing compat levels as well. + +=item - + +The B helper will now exit with an error if objdump +returns a non-zero exit from analysing a given file. + +=item - + +The B and B tools may now install +I of the documentation in a different path to comply with the +recommendation from Debian policy §12.3 (since version 3.9.7). + +Note that if a given source package only contains a single binary +package in F or none of the packages are I<-doc> +packages, then this change is not relevant for that source package and +you can skip to the next change. + +By default, these tools will now attempt to determine a "main package +for the documentation" (called a I from here on) for +every I<-doc> package. If they find such a I, they +will now install the documentation into the path F<< +/usr/share/doc/I >> in the given doc package. +I.e. the path can change but the documentation is still shipped in the +I<-doc> package. + +The B<--doc-main-package> option can be used when the auto-detection +is insufficient or to reset the path to its previous value if there is +a reason to diverge from Debian policy recommendation. + +Some documentation will not be affected by this change. These +exceptions include the copyright file, changelog files, README.Debian, +etc. These files will still be installed in the path F<< +/usr/share/doc/I >>. + +=item - + +The B and B tools no longer uses filename +patterns to determine which files to process. Instead, they open the +file and look for an ELF header to determine if a given file is an +shared object or an ELF executable. + +This change may cause the tools to process more files than previously. + +=back + +=item v10 + +Changes from v9 are: + +=over 8 + +=item - + +B will no longer installs a file named debian/I +as an init script. + +=item - + +B will error out if it detects links created with +--link-doc between packages of architecture "all" and non-"all" as it +breaks binNMUs. + +=item - + +B no longer installs a maintainer-provided +debian/I.shlibs file. This is now done by B +instead. + +=item - + +B refuses to create a broken package if no man page +can be found (required to register for the x-window-manager alternative). + +=item - + +Debhelper will default to B<--parallel> for all buildsystems that +support parallel building. This can be disabled by using either +B<--no-parallel> or passing B<--max-parallel> with a value of 1. + +=item - + +The B command will not accept any of the deprecated "manual +sequence control" parameters (B<--before>, B<--after>, etc.). Please +use override targets instead. + +B: B no longer +accepts any of these since debhelper/12.4. + +=item - + +The B command will no longer use log files to track which commands +have been run. The B command I keeps track of whether it +already ran the "build" sequence and skip it if it did. + +The main effects of this are: + +=over 4 + +=item - + +With this, it is now easier to debug the I or/and I +sequences because they can now trivially be re-run (without having to +do a full "clean and rebuild" cycle) + +=item - + +The main caveat is that B now only keeps track of what happened +in a single override target. When all the calls to a given B +command happens in the same override target everything will work as +before. + +Example of where it can go wrong: + + override_dh_foo: + dh_foo -pmy-pkg + + override_dh_bar: + dh_bar + dh_foo --remaining + +In this case, the call to B will I include +I, since B was run in a separate override +target. This issue is not limited to B<--remaining>, but also includes +B<-a>, B<-i>, etc. + +=back + +=item - + +The B command now shell-escapes the lines in the +F config file. This was the original intent but it did +not work properly and packages have begun to rely on the incomplete +shell escaping (e.g. quoting file names). + +=item - + +The B command now defaults to +B<--restart-after-upgrade>. For packages needing the previous +behaviour, please use B<--no-restart-after-upgrade>. + +=item - + +The B sequence is now enabled by default. Please pass +B<--without autoreconf> to B if this is not desirable for a given +package + +=item - + +The B sequence is now enabled by default. Please pass +B<--without systemd> to B if this is not desirable for a given +package. + +=item - + +B: B no longer creates the package build +directory when skipping running debhelper commands. This will not +affect packages that only build with debhelper commands, but it may +expose bugs in commands not included in debhelper. + +This compatibility feature had a bug since its inception in +debhelper/9.20130516 that made it fail to apply in compat 9 and +earlier. As there has been no reports of issues caused by this bug in +those ~5 years, this item have been removed rather than fixed. + +=back + +=item v9 + +Changes from v8 are: + +=over 8 + +=item - + +Multiarch support. In particular, B passes +multiarch directories to autoconf in --libdir and --libexecdir. + +=item - + +dh is aware of the usual dependencies between targets in debian/rules. +So, "dh binary" will run any build, build-arch, build-indep, install, +etc targets that exist in the rules file. There's no need to define an +explicit binary target with explicit dependencies on the other targets. + +=item - + +B compresses debugging symbol files to reduce the installed +size of -dbg packages. + +=item - + +B does not include the source package name +in --libexecdir when using autoconf. + +=item - + +B does not default to enabling --with=python-support + +(Obsolete: As the B tool was removed from Debian +stretch. Since debhelper/10.3, B no longer enables this sequence +add-on regardless of compat level) + +=item - + +All of the BI<*> debhelper programs and B set +environment variables listed by B, unless +they are already set. + +=item - + +B passes B CFLAGS, CPPFLAGS, and +LDFLAGS to perl F and F + +=item - + +B puts separated debug symbols in a location based on their +build-id. + +=item - + +Executable debhelper config files are run and their output used as the +configuration. + +=back + +This mode is deprecated. + +=item v8 + +Changes from v7 are: + +=over 8 + +=item - + +Commands will fail rather than warning when they are passed unknown options. + +=item - + +B will run B on all shared libraries that it +generates shlibs files for. So B<-X> can be used to exclude libraries. +Also, libraries in unusual locations that B would not +have processed before will be passed to it, a behavior change that +can cause some packages to fail to build. + +=item - + +B requires the sequence to run be specified as the first parameter, and +any switches come after it. Ie, use "B", not "B". + +=item - + +BI<*> prefer to use Perl's B in preference to F. + +=back + +This mode is deprecated. + +=item v7 + +This mode is deprecated. + +This is the lowest supported compatibility level. + +If you are upgrading from an earlier compatibility level, please +review L. + +=back + +=head1 SEE ALSO + +=over 4 + +=item L + +Upgrading from a (now) obsolete compatibility level? This document covers the +upgrade checklist up to the earliest supported level. + +=item L + +General information about the debhelper framework. This document also covers +how to declare your chosen debhelper compat level. + +=back + +=head1 AUTHORS + +Niels Thykier + +Joey Hess + +=cut diff -Nru debhelper-13.6ubuntu1/debhelper-obsolete-compat.pod debhelper-13.11.6ubuntu1~ppa~jammy/debhelper-obsolete-compat.pod --- debhelper-13.6ubuntu1/debhelper-obsolete-compat.pod 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debhelper-obsolete-compat.pod 2023-08-28 11:25:23.000000000 +0000 @@ -18,69 +18,63 @@ =over 4 -=item v1 - -This is the original debhelper compatibility level, and so it is the default -one. In this mode, debhelper will use F as the package tree -directory for the first binary package listed in the control file, while using -debian/I for all other packages listed in the F file. - -This mode is deprecated. - -=item v2 +=item v7 -In this mode, debhelper will consistently use debian/I -as the package tree directory for every package that is built. +This is the lowest supported compatibility level. -This mode is deprecated. +Changes from v6 are: -=item v3 +=over 8 -This mode works like v2, with the following additions: +=item - -=over 8 +B, will fall back to looking for files in F if it doesn't +find them in the current directory (or wherever you tell it look using +B<--sourcedir>). This allows B to interoperate with B, +which installs to F, without needing any special parameters. =item - -Debhelper config files support globbing via B<*> and B, when appropriate. To -turn this off and use those characters raw, just prefix with a backslash. +B will read F and delete files listed there. =item - -B makes the F and F scripts call B. +B will delete toplevel F<*-stamp> files. =item - -Every file in F is automatically flagged as a conffile by B. +B will guess at what file is the upstream changelog if +none is specified. =back -This mode is deprecated. - -=item v4 +=item v6 -Changes from v3 are: +Changes from v5 are: =over 8 =item - -B will not include the Debian part of the version number in -the generated dependency line in the shlibs file. +Commands that generate maintainer script fragments will order the +fragments in reverse order for the F and F scripts. =item - -You are encouraged to put the new B<${misc:Depends}> into F to -supplement the B<${shlibs:Depends}> field. +B will install a slave manpage link for F, +if it sees the man page in F in the package build +directory. =item - -B will make all files in F directories and in F -executable. +B did not previously delete everything matching +B, if it was set to a list of things to exclude, such as +B. Now it does. =item - -B will correct existing links to conform with policy. +B allows overwriting existing man pages in the package build +directory. In previous compatibility levels it silently refuses to do this. =back @@ -111,67 +105,73 @@ =back -=item v6 +=item v4 -Changes from v5 are: +Changes from v3 are: =over 8 =item - -Commands that generate maintainer script fragments will order the -fragments in reverse order for the F and F scripts. +B will not include the Debian part of the version number in +the generated dependency line in the shlibs file. =item - -B will install a slave manpage link for F, -if it sees the man page in F in the package build -directory. +You are encouraged to put the new B<${misc:Depends}> into F to +supplement the B<${shlibs:Depends}> field. =item - -B did not previously delete everything matching -B, if it was set to a list of things to exclude, such as -B. Now it does. +B will make all files in F directories and in F +executable. =item - -B allows overwriting existing man pages in the package build -directory. In previous compatibility levels it silently refuses to do this. +B will correct existing links to conform with policy. =back This mode is deprecated. -=item v7 - -This is the lowest supported compatibility level. +=item v3 -Changes from v6 are: +This mode works like v2, with the following additions: =over 8 =item - -B, will fall back to looking for files in F if it doesn't -find them in the current directory (or wherever you tell it look using -B<--sourcedir>). This allows B to interoperate with B, -which installs to F, without needing any special parameters. +Debhelper config files support globbing via B<*> and B, when appropriate. To +turn this off and use those characters raw, just prefix with a backslash. =item - -B will read F and delete files listed there. +B makes the F and F scripts call B. =item - -B will delete toplevel F<*-stamp> files. +Every file in F is automatically flagged as a conffile by B. -=item - +=back -B will guess at what file is the upstream changelog if -none is specified. +This mode is deprecated. -=back +=item v2 + +In this mode, debhelper will consistently use debian/I +as the package tree directory for every package that is built. + +This mode is deprecated. + +=item v1 + +This is the original debhelper compatibility level, and so it is the default +one. In this mode, debhelper will use F as the package tree +directory for the first binary package listed in the control file, while using +debian/I for all other packages listed in the F file. + +This mode is deprecated. =back diff -Nru debhelper-13.6ubuntu1/debhelper.pod debhelper-13.11.6ubuntu1~ppa~jammy/debhelper.pod --- debhelper-13.6ubuntu1/debhelper.pod 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debhelper.pod 2023-08-28 11:25:23.000000000 +0000 @@ -274,7 +274,10 @@ =item B<-v>, B<--verbose> -Verbose mode: show all commands that modify the package build directory. +Verbose mode: show commands that modify the package build directory. + +Note that verbose mode may also output other "internal" commands that do not +directly affect the package build directory. =item B<--no-act> @@ -432,8 +435,8 @@ =item B<--reload-all-buildenv-variables> -By default, L will compute several environment (e.g. by using -L) and cache them to avoid having all B +By default, L will compute several environment variables (e.g. by +using L) and cache them to avoid having all B tool recompute them. When passing this option, the concrete B tool will ignore @@ -475,7 +478,7 @@ From time to time, major non-backwards-compatible changes need to be made to debhelper, to keep it clean and well-designed as needs change and its author gains more experience. To prevent such major changes from breaking -existing packages, the concept of debhelper compatibility levels was +existing packages, the concept of debhelper compatibility levels was introduced. You must tell debhelper which compatibility level it should use, and it modifies its behavior in various ways. @@ -493,12 +496,11 @@ Note that debhelper does not provide debhelper-compat for experimental or beta compatibility levels; packages experimenting with those compatibility levels -should use F or B. +should use F (or, if only for selected commands, B). Prior versions of debhelper required specifying the compatibility level in the file F, and current debhelper still supports this for backward -compatibility, though a package may not specify a compatibility level via -multiple methods at once. To use this method, F should contain +compatibility. To use this method, the F file should contain the compatibility level as a single number, and no other content. If you specify the compatibility level by this method, your package will also need a versioned build dependency on a version of the debhelper package equal to (or @@ -508,6 +510,18 @@ Build-Depends: debhelper (>= #RECOMMENDED_COMPAT#~) +Note that you must use either the build-dependency on debhelper-compat or +the F file. Whenever possible, the debhelper-compat +build-dependency is recommended. + +If needed be, the B environment variable can be used to override +the compat level for a given command. The feature is mostly useful for +either temporarily upgrading a few commands to a new compat level or +keeping a few commands on a lower compat level. The feature is best used +sparingly as it effectively introduces special-cases into the +F file that may be surprising to maintainers or reviewers +(or, in the long term, to yourself). + Unless otherwise indicated, all debhelper documentation assumes that you are using the most recent compatibility level, and in most cases does not indicate if the behavior is different in an earlier compatibility level, so @@ -517,726 +531,8 @@ =head2 Supported compatibility levels -These are the available compatibility levels: - -=over 4 - -=item v7 - -This mode is deprecated. - -This is the lowest supported compatibility level. - -If you are upgrading from an earlier compatibility level, please -review L. - -=item v8 - -Changes from v7 are: - -=over 8 - -=item - - -Commands will fail rather than warning when they are passed unknown options. - -=item - - -B will run B on all shared libraries that it -generates shlibs files for. So B<-X> can be used to exclude libraries. -Also, libraries in unusual locations that B would not -have processed before will be passed to it, a behavior change that -can cause some packages to fail to build. - -=item - - -B requires the sequence to run be specified as the first parameter, and -any switches come after it. Ie, use "B", not "B". - -=item - - -BI<*> prefer to use Perl's B in preference to F. - -=back - -This mode is deprecated. - -=item v9 - -Changes from v8 are: - -=over 8 - -=item - - -Multiarch support. In particular, B passes -multiarch directories to autoconf in --libdir and --libexecdir. - -=item - - -dh is aware of the usual dependencies between targets in debian/rules. -So, "dh binary" will run any build, build-arch, build-indep, install, -etc targets that exist in the rules file. There's no need to define an -explicit binary target with explicit dependencies on the other targets. - -=item - - -B compresses debugging symbol files to reduce the installed -size of -dbg packages. - -=item - - -B does not include the source package name -in --libexecdir when using autoconf. - -=item - - -B does not default to enabling --with=python-support - -(Obsolete: As the B tool was removed from Debian -stretch. Since debhelper/10.3, B no longer enables this sequence -add-on regardless of compat level) - -=item - - -All of the BI<*> debhelper programs and B set -environment variables listed by B, unless -they are already set. - -=item - - -B passes B CFLAGS, CPPFLAGS, and -LDFLAGS to perl F and F - -=item - - -B puts separated debug symbols in a location based on their -build-id. - -=item - - -Executable debhelper config files are run and their output used as the -configuration. - -=back - -This mode is deprecated. - -=item v10 - -Changes from v9 are: - -=over 8 - -=item - - -B will no longer install a file named debian/I -as an init script. - -=item - - -B will error out if it detects links created with ---link-doc between packages of architecture "all" and non-"all" as it -breaks binNMUs. - -=item - - -B no longer installs a maintainer-provided -debian/I.shlibs file. This is now done by B -instead. - -=item - - -B refuses to create a broken package if no man page -can be found (required to register for the x-window-manager alternative). - -=item - - -Debhelper will default to B<--parallel> for all buildsystems that -support parallel building. This can be disabled by using either -B<--no-parallel> or passing B<--max-parallel> with a value of 1. - -=item - - -The B command will not accept any of the deprecated "manual -sequence control" parameters (B<--before>, B<--after>, etc.). Please -use override targets instead. - -B: B no longer -accepts any of these since debhelper/12.4. - -=item - - -The B command will no longer use log files to track which commands -have been run. The B command I keeps track of whether it -already ran the "build" sequence and skip it if it did. - -The main effects of this are: - -=over 4 - -=item - - -With this, it is now easier to debug the I or/and I -sequences because they can now trivially be re-run (without having to -do a full "clean and rebuild" cycle) - -=item - - -The main caveat is that B now only keeps track of what happened -in a single override target. When all the calls to a given B -command happens in the same override target everything will work as -before. - -Example of where it can go wrong: - - override_dh_foo: - dh_foo -pmy-pkg - - override_dh_bar: - dh_bar - dh_foo --remaining - -In this case, the call to B will I include -I, since B was run in a separate override -target. This issue is not limited to B<--remaining>, but also includes -B<-a>, B<-i>, etc. - -=back - -=item - - -The B command now shell-escapes the lines in the -F config file. This was the original intent but it did -not work properly and packages have begun to rely on the incomplete -shell escaping (e.g. quoting file names). - -=item - - -The B command now defaults to -B<--restart-after-upgrade>. For packages needing the previous -behaviour, please use B<--no-restart-after-upgrade>. - -=item - - -The B sequence is now enabled by default. Please pass -B<--without autoreconf> to B if this is not desirable for a given -package - -=item - - -The B sequence is now enabled by default. Please pass -B<--without systemd> to B if this is not desirable for a given -package. - -=item - - -B: B no longer creates the package build -directory when skipping running debhelper commands. This will not -affect packages that only build with debhelper commands, but it may -expose bugs in commands not included in debhelper. - -This compatibility feature had a bug since its inception in -debhelper/9.20130516 that made it fail to apply in compat 9 and -earlier. As there has been no reports of issues caused by this bug in -those ~5 years, this item have been removed rather than fixed. - -=back - -=item v11 - -This mode is discouraged. - -The compat 11 is discouraged for new packages as it suffers from -feature interaction between L and L -causing services to not run correctly in some cases. Please consider -using compatibility mode 10 or 12 instead. More details about the -issue are available in Debian#887904 and -L. - -Changes from v10 are: - -=over 8 - -=item - - -B no longer installs F or F files, -nor generates maintainer scripts for those files. Please use the new -B helper. - -=item - - -The B and B helpers have been -replaced by the new B helper. For the same reason, -the B sequence for B has also been removed. If you need -to disable the B helper tool, please use an empty -override target. - -Please note that the B tool has a slightly -different behaviour in some cases (e.g. when using the B<--name> -parameter). - -=item - - -B no longer creates debian/I directories -unless explicitly requested (or it has to create a subdirectory in -it). - -The vast majority of all packages will be unaffected by this change. - -=item - - -The B buildsystem now passes B to L. Derivative buildsystems -(e.g. B or B) are unaffected by this change. - -=item - - -The B buildsystem now passes B<--runstatedir=/run> to -F<./configure>. - -=item - - -The B buildsystem now passes -B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> to L. - -=item - - -B will now prefer detecting the language from the -path name rather than the extension. - -=item - - -B will now only create the destination -directory it needs. Previously, it would create the package build -directory for all packages. This will not affect packages that only -build with debhelper commands, but it may expose bugs in commands not -included in debhelper. - -=item - - -The helpers B, B, B, -and B now error out if their config has a pattern that -does not match anything or reference a path that does not exist. - -Known exceptions include building with the B profile, where the -above tools will silently permit failed matches where the patterns -are used to specify documentation. - -=item - - -The helpers B, B, B, -and B now accept the parameter B<--sourcedir> with same -meaning as B. Furthermore, they now also fall back to -F like B. - -Migration note: A bug in debhelper 11 up to 11.1.5 made -B incorrectly ignore B<--sourcedir>. - -=item - - -The B and B build systems no longer pass -B<-I.> to perl. Packages that still need this behaviour can emulate -it by using the B environment variable. E.g. by adding -B in their debian/rules file (or similar). - -=item - - -The B environment variable is no longer set by -B or any of the B tools. It was added as a temporary -work around to avoid a lot of packages failing to build at the same -time. - -Note this item will eventually become obsolete as upstream intends -to drop support for the B environment variable. -When perl drops support for it, then this variable will be removed -retroactively from existing compat levels as well. - -=item - - -The B helper will now exit with an error if objdump -returns a non-zero exit from analysing a given file. - -=item - - -The B and B tools may now install -I of the documentation in a different path to comply with the -recommendation from Debian policy §12.3 (since version 3.9.7). - -Note that if a given source package only contains a single binary -package in F or none of the packages are I<-doc> -packages, then this change is not relevant for that source package and -you can skip to the next change. - -By default, these tools will now attempt to determine a "main package -for the documentation" (called a I from here on) for -every I<-doc> package. If they find such a I, they -will now install the documentation into the path F<< -/usr/share/doc/I >> in the given doc package. -I.e. the path can change but the documentation is still shipped in the -I<-doc> package. - -The B<--doc-main-package> option can be used when the auto-detection -is insufficient or to reset the path to its previous value if there is -a reason to diverge from Debian policy recommendation. - -Some documentation will not be affected by this change. These -exceptions include the copyright file, changelog files, README.Debian, -etc. These files will still be installed in the path F<< -/usr/share/doc/I >>. - -=item - - -The B and B tools no longer uses filename -patterns to determine which files to process. Instead, they open the -file and look for an ELF header to determine if a given file is an -shared object or an ELF executable. - -This change may cause the tools to process more files than previously. - -=back - -=item v12 - -Changes from v11 are: - -=over 8 - -=item - - -The B tool now generates shlibs files with versioned -dependency by default. This means that B<-VUpstream-Version> -(a.k.a. B<-V>) is now the default. - -If an unversioned dependency in the shlibs file is wanted, this can be -obtained by passing B<-VNone> instead. However, please see -L for the caveat of unversioned dependencies. - -=item - - -The B<-s> (B<--same-arch>) option is removed. Please use B<-a> (B<--arch>) instead. - -=item - - -Invoking B now causes an error instead of a deprecation -warning. - -=item - - -The B<--no-restart-on-upgrade> option in B has been removed. -Please use the new name B<--no-stop-on-upgrade> - -=item - - -There was a bug in the B (and similar) functions from -L that made them spawn a shell in one -particular circumstance. This bug is now removed and will cause -helpers that rely on the bug to fail with a "command not found"-error. - -=item - - -The B<--list-missing> and B<--fail-missing> in B has been -removed. Please use B and its corresponding options, -which can also see the files installed by other helpers. - -=item - - -The B helper no longer installs configuration for -the upstart init system. Instead, it will abort the build if it -finds an old upstart configuration file. The error is there to -remind the package maintainer to ensure the proper removal of the -conffiles shipped in previous versions of the package (if any). - -=item - - -The B tool will do basic validation of some -L commands and will error out if the -commands appear to be invalid. - -=item - - -The B tool will now default to B<--list-missing>. - -=item - - -The B tool will now only pass libraries to L -if the ELF binary has a SONAME (containing ".so"). - -=item - - -The B tool no longer compresses examples (i.e. anything installed -in F</examples>>.) - -=item - - -The standard sequence in B now includes B and -B by default. This makes the B and -B sequences obsolete and they will now fail with an -error. If you want to skip these commands, then please insert an -empty override target for them in F -(e.g. I) - -=item - - -The build systems B and B no longer explicitly set -the B<--libexecdir> variable and thus relies on the build system -default - which should be B (per FHS 3.0, adopted in -Debian Policy 4.1.5). - -If a particular upstream package does not use the correct default, the -parameter can often be passed manually via L. E.g. -via the following example: - - override_dh_auto_configure: - dh_auto_configure -- --libexecdir=/usr/libexec - -Note the B<--> before the B<--libexecdir> parameter. - -=item - - -B: - -The B tool would no longer installs the maintainer provided -F file as it was deemed unnecessary. However, the -B from dpkg/1.20 made the file relevant again and -B now installs it again in compat levels 12+. - -=item - - -The B tool no longer relies on B for -handling systemd services that have a sysvinit alternative. Both tools -must now be used in such a case to ensure the service is properly started -under both sysvinit and systemd. - -If you have an override for B (e.g. to call it with -B<--no-start>) then you will probably need one for -B as well now. - -This change makes B inject a I for -B<< init-system-helpers (>= 1.54~) >>. Please ensure that the package -lists B<${misc:Pre-Depends}> in its B field before -upgrading to compat 12. - -=item - - -The third-party B tool (from B package) now defaults on -honoring B variable for source installation in -dev -packages and not only during the building process. Please set -B to false to revert to the previous behaviour. See -B for details and examples. - -=item - - -B is now included in the B standard -sequence by default. - -=item - - -The B buildsystem is now removed. Please use the -third-party build system B instead. - -=back - -=item v13 - -This is the recommended mode of operation. - -Changes from v12 are: - -=over 8 - -=item - - -The B build system now uses B instead of -B when running the test suite. Any override of -B that passes extra parameters to upstream test runner -should be reviewed as B is not command line compatible -with B. - -=item - - -All debhelper like tools based on the official debhelper library -(including B and the official B tools) no longer accepts -abbreviated command parameters. At the same time, B now -optimizes out calls to redundant B helpers even when passed -long command line options. - -=item - - -The ELF related debhelper tools (B, B, -B, B) are now only run for arch dependent -packages by default (i.e. they are excluded from B<*-indep> targets -and are passed B<-a> by default). If you need them for B<*-indep> -targets, you can add an explicit Build-Depends on -B. - -=item - - -The third-party B build system (from B -package) now runs the upstream-provided test suite automatically. To -suppress such behavior, override B. - -=item - - -The B tool now aborts if it sees conflicting -definitions of a manpage. This typically happens if the upstream -build system is installing a compressed version and the package lists -an uncompressed version of the manpage in F<< -debian/I.manpages >>. Often the easiest fix is to remove the -manpage from F<< debian/I.manpages >> (assuming both versions -are identical). - -=item - - -The B helpers now reset the environment variables B -and common B variable. Please see description of the -environment variables in L for how this is handled. - -I - -=item - - -The B command will now error if an override or hook target for an -obsolete command are present in F -(e.g. B). - -=item - - -The B command will now default to B<--fail-missing>. This -can be reverted to a non-fatal warning by explicitly passing -B<--list-missing> like it was in compat 12. - -If you do not want the warning either, please omit the call to -B. If you use the B command sequencer, then you can -do this by inserting an empty override target in the -F file of the relevant package. As an example: - - # Disable dh_missing - override_dh_missing: - -=item - - -The B command sequencer now runs B in the -default sequence. The B takes over handling of -tmpfiles.d configuration files. Related functionality in -B is now disabled. - -Note that B responds to -F<< debian/I.tmpfiles >> where B used -a name without the trailing "s". - -=item - - -Many B tools now support limited variable expansion via the -B<${foo}> syntax. In many cases, this can be used to reference paths -that contain either spaces or L values. While -this can reduce the need for L in some cases, it is B -a replacement L in general. If you need filtering, -renaming, etc., the package will still need L. - -Please see L for syntax and -available substitution variables. To B tool writers, substitution -expansion occurs as a part of the B and B -functions. - -=item - - -The B command sequencer will now skip all hook and override targets -for B, B and B when B -lists the relevant B / B options. - -Any package relying on these targets to always be run should instead -move relevant logic out of those targets. E.g. non-test related -packaging code from B would have to be moved to -B or B. - -=item - - -The B buildsystem now passes B<-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> -to L to speed up automatic installation process. If for some reason -you need previous behavior, override the flag: - - dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ... - -=back - -=item v14 - -This compatibility level is still open for development; use with caution. - -Changes from v13 are: - -=over 8 - -=item - - -The B buildsystem now passes B<-DCMAKE_SKIP_RPATH=ON> -and B<-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON> to L to avoid some reproducibility -issues. - -This can cause issues with running binaries directly from the build directories -as they might now require a manually set B. If you need to -override this change, we recommend that you try to pass the -B<-DCMAKE_SKIP_RPATH=OFF> option first to see if that fixes the problem (leaving -B at its new default). This should undo the need for -B and avoid the reproducibility issues on Linux, where B<$ORIGIN> -is supported by the runtime linkers. - -=item - - -The tool B is now included in the default sequence. It will -cause units to be automatically started on installation, restarted on upgrade and -stopped on removal for every systemd user instance running on the system. - -=item - - -Use of the B command in override and hook targets now causes -an error. The B command has been a no-op for years and was -removed in debhelper 13.4. - -=item - - -The B sequencer will warn if the B addon is implicitly activated to -warn maintainers of the pending compat 15 change in B. - -Maintainers are urged to either explicitly activate the B addon to -preserve the existing behaviour (e.g., by adding B to -Build-Depends), or explicitly passing B<--destdir> to B if used and -then passing B<--without single-binary> to B (the latter to silence the warning). - -The rationale for this change to avoid "surprises" when adding a second binary package -later. Previously, debhelper would silently change behaviour often resulting in empty -binary packages being uploaded to the archive by mistake. With the new behaviour, -the B addon will detect the mismatch and warn the maintainer of what is -about to happen. - -=back - -=item v15 - -This compatibility level is still open for development; use with caution. - -Changes from v14 are: - -=over 8 - -=item - - -The B tool no longer defaults to B<< --destdir=debian/I >> -for source packages only producing a single binary. If this behaviour is wanted, -the package should explicitly activate the B dh addon (e.g., by adding -B to B) or pass B<--destdir> to -B. - -The rationale for this change to avoid "surprises" when adding a second binary package -later. Previously, debhelper would silently change behaviour often resulting in empty -binary packages being uploaded to the archive by mistake. With the new behaviour, -the B addon will detect the mismatch and warn the maintainer of what is -about to happen. - -=back - -=back +The list of supported compatibility levels and the related upgrade check +list has moved to L. =head1 NOTES @@ -1386,17 +682,18 @@ =item B -Set to B<1> to enable verbose mode. Debhelper will output every command it -runs. Also enables verbose build logs for some build systems like autoconf. +Set to a non-empty value to enable verbose mode. Please see the B<-v> / B<--verbose> +option for details. =item B -Set to B<1> to enable quiet mode. Debhelper will not output commands calling +Set to a non-empty value to enable quiet mode. Debhelper will not output commands calling the upstream build system nor will dh print which subcommands are called and depending on the upstream build system might make that more quiet, too. This makes it easier to spot important messages but makes the output quite useless as buildd log. -Ignored if DH_VERBOSE is also set. + +Ignored if DH_VERBOSE is also set or B<-v> / B<--verbose> is passed. =item B @@ -1499,7 +796,7 @@ the package maintainer need these features, they should look disabling the relevant feature directly (e.g. by overriding the concrete tools). -=item B +=item B This is a dpkg specific environment variable (see e.g. L). The debhelper tool suite silently ignores it. @@ -1566,9 +863,19 @@ This value effects tools I L, which I it is working with documentation. +=item B + +I + +This value will cause L to act as if it +had been passed the B<--no-trim> option, forcing it to forgo removing +older entries from changelogs. + =item B, B -I This value causes debhelper to skip the generation of automatically @@ -1594,7 +901,9 @@ This is subject to the upstream and the debhelper build system supporting such features. -This value affects most B tools. +This value affects most B tools directly. For commands +provided by the debhelper package, it also causes the tools to act like +the B environment variable was non-empty. =back @@ -1608,6 +917,10 @@ =over 4 +=item L + +List of supported compat levels and an upgrade checklist for each of them. + =item F A set of example F files that use debhelper. diff -Nru debhelper-13.6ubuntu1/debian/changelog debhelper-13.11.6ubuntu1~ppa~jammy/debian/changelog --- debhelper-13.6ubuntu1/debian/changelog 2022-02-07 15:59:07.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/changelog 2023-10-21 23:48:37.000000000 +0000 @@ -1,11881 +1,5 @@ -debhelper (13.6ubuntu1) jammy; urgency=medium +debhelper (13.11.6ubuntu1~ppa~jammy) jammy; urgency=medium - * Merge from Debian unstable (LP: #1960248). Remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - - 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - dh_strip: For a static archive, test if any .text sections are non- - empty. Warn on empty archives. - - objcopy/strip changed in 2.36.1, not keeping file attributes of the - original file. Work around that in dh_strip to write to a temporary file - and cat'ing this to the original file to keep the original attributes. - - Imply '' profile if not set on package type udeb. - - dh_strip: Set a unique build-id before stripping files. - - Allow dh_strip to be larger for the tests - * Add awk dependency implied by empty .text section check - * Fix restart behaviour of packages marked either - - no-stop-on-upgrade or --no-restart-after-upgrade (LP: #1959054) + * Initial release. - -- Dave Jones Mon, 07 Feb 2022 15:59:07 +0000 - -debhelper (13.6) unstable; urgency=medium - - [ Niels Thykier ] - * dh_assistant: Avoid creating `debian/.debhelper` when the - which-build-system sub command is invoked. Thanks to - Jelmer Vernooij for spotting that bug. - * dh_assistant: Add new active-compat-level command, which - outputs information about which compat level is declared - and active. It also tells how the compat level was - declared. - * Dh_Lib.pm: Add new function, get_non_binnmu_date_epoch, - only needed for dh_strip_nondeterminism. - * dh_installcron: Add support for `cron.yearly` packaging - file. Thanks to Martin-Éric Racine for the suggestion. - (Closes: #1000363) - * Dh_Lib.pm: Remove support for compat 5 and 6. - * debhelper.pod,debhelper-obsolete-compat.pod: Update to - reflect the new status for compat 5 and 6. - - [ Guillem Jover ] - * dh: Add missing _ in execute_after example in POD. - - [ Sandro Tosi ] - * dh_compress: Exclude .woff and .woff2 by default. - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) - (Closes: #1000719) - - -- Niels Thykier Mon, 20 Dec 2021 12:55:03 +0000 - -debhelper (13.5.2ubuntu1) jammy; urgency=medium - - * Merge with Debian; remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - + 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - dh_strip: For a static archive, test if any .text sections are non-empty. - Warn on empty archives. - - objcopy/strip changed in 2.36.1, not keeping file attributes of the - original file. Work around that in dh_strip to write to a temporary - file and cat'ing this to the original file to keep the original - attributes. - - Imply '' profile if not set on package type udeb. - * dh_strip: Set a unique build-id before stripping files. - - -- Matthias Klose Fri, 12 Nov 2021 16:34:26 +0100 - -debhelper (13.5.2) unstable; urgency=medium - - [ Niels Thykier ] - * dh_installsystemd: Revert change to deploy systemd files into - usr/lib/systemd. (Closes: #993316, #993759) - * dh_installinit: Ditto. - * dh_systemd_enable: Ditto. - * dh_systemd_start: Ditto. - * SequencerUtil.pm: Remove duplicate "-a" option to some commands. - Thanks to Christoph Berg for reporting the issue. - (Closes: #971761) - * dh_installdeb: Revert the change to rewrite `rm_conffiles` into - `remove-on-upgrade` due to it causing bugs in non-trivial cases. - (Closes: #994919) - - [ Christoph Berg ] - * dh_installtmpfiles: Add missing option name in POD documentation. - - -- Niels Thykier Thu, 23 Sep 2021 16:44:25 +0000 - -debhelper (13.5.1) unstable; urgency=medium - - [ Paul Wise ] - * cmake.pm: make it possible to override dh provided ctest arguments - - [ Niels Thykier ] - * cmake.pm: Add missing import which broke cmake related builds. - Thanks to Boyuan Yang for reporting the issue. - (Closes: #993345) - - -- Niels Thykier Tue, 31 Aug 2021 05:43:35 +0000 - -debhelper (13.5) unstable; urgency=medium - - * dh_installdeb: Install debian/conffiles in compat 12+ again - (undoing the compat 12 change saying dh_installdeb would ignore - this file). The file can now be using for the activating the - `remove-on-upgrade` feature from dpkg 1.20. - * dh_installdeb: Automatically rewrite `rm_conffiles` into the - new `remove-on-upgrade` feature from dpkg when possible. - * cmake.pm: Pass `ARGS+=--verbose` to make when running tests - in the cmake+make variant except when "terse" is in - DEB_BUILD_OPTIONS. Thanks to Paul Wise for the suggestion. - (Closes: #992623) - * python_support.pm: Remove obsolete dh addon. It did nothing - but warn and nothing used it anymore. - * dh: Document debhelper provided dh addon sequences. - * single_binary.pm: New dh addon ("single-binary") that explicitly - activates the "single binary" work flow, where dh_auto_install - uses debian/ as default --destdir when there is only a - single binary package. It will error out if used in a - source package building multiple binary packages. - * dh: Activate "single-binary" addon by default in compat levels - up to and including compat 14 when the source package only lists - one binary package in debian/control. In compat 14, emit a warning - when this happens implicitly requesting users to explicitly enable - or disable the addon for single binary source packages to avoid - surprises in compat 15. - * dh_auto_install: In compat 15, remove special-case default for - --destdir for single binary source packages. If the previous - default is desired, please use the "single-binary" dh addon or - explicitly pass --destdir to dh_auto_install. - (Closes: #971432) - * debian/control: Provide dh-sequence-single-binary. - * debhelper.pod: Document the dh_auto_install will change behaviour - in compat 15 for single binary packages and dh will warning about - that in compat 14. - * dh_assistant: New tool for assisting third-party tools. At the - moment, it primarily supports introspection related features but - will hopefully be extended to support more use cases. - (Closes: #984900) - - -- Niels Thykier Mon, 30 Aug 2021 19:50:42 +0000 - -debhelper (13.4.1) unstable; urgency=medium - - [ Clint Adams ] - * autoscripts/*: Replace `which` with `command -v`. - - [ Simon McVittie ] - * dh_installsystemd: Only merge /lib/systemd/system into /usr - for now. (Closes: #992554) - * dh_systemd_enable: Ditto. - - [ Johannes Schauer Marin Rodrigues ] - * autoscripts/postinst-init-nostart: Call invoke-rc.d when - a non-empty DPKG_ROOT is used. (Closes: #992556) - - -- Niels Thykier Sat, 21 Aug 2021 09:01:00 +0000 - -debhelper (13.4+nmu1) unstable; urgency=high - - [ Sean Whitton ] - * Non-maintainer upload. - * Replace "use v5.28" with "use v5.24" in Dh_Lib.pm. - The change to "use v5.28" in 13.4 broke the test to distinguish 0755 - from "0755" in the reset_perm_and_owner function, breaking builds. - Thanks Adrian Bunk and Ansgar for help isolating the problem. - - [ Niels Thykier ] - * debian/changelog: Correct bug number in the 13.4 entry. - - -- Sean Whitton Tue, 17 Aug 2021 13:34:02 -0700 - -debhelper (13.4) unstable; urgency=medium - - [ Dimitri John Ledkov ] - * dh_dwz: run in parallel across packages. (Closes: !47) - - [ Andrej Shadura ] - * Dh_Buildsystems.pm: Add bmake and mkcmake as third-party - build systems. (Closes: !46) - - [ Guillem Jover ] - * Dh_Buildsystems.pm: Add golang as a third-party build - system. (Closes: #981106) - - [ Niels Thykier ] - * autoscripts/*: Add support for DPKG_ROOT in systemd, tmpusers, - sysusers and init related snippets. Based on an initial patch - from Helmut Grohne. (Closes: #983566) - * autoscripts/*: Reorder conditions in some scripts to avoid - doing a redundant stat call when a script parameter can decide - to skip it. - * dh_gconf: Remove the command as it does nothing. - (Closes: #908845) - * doc/TODO: Remove reference to dh_gconf. - * root_sequence.pm: Remove dh_gconf from root sequence and declare - it as obsolete (causing errors from compat 14 if still referenced - in hook targets). - * man/po4a/po4a.cfg: Remove dh_gconf from translations. - * AddonAPI.pm: The declare_command_obsolete command now accepts an - "$error_compat" parameter to enable addons to choose which compat - level that will trigger an error (though it must be minimum 13). - * doc/PROGRAMMING: Update docs to reflect API change. - * debhelper.pod: Document that referencing dh_gconf in hook targets - will cause an error in compat 14. - * dh_fixperms: Correct permissions of files beneath usr/libexec to - be executable. (Closes: #980325) - * dh_installtmpfiles: Only register tmpfiles ending with ".conf" as - tmpfiles in /usr/lib/tmpfiles.d and /etc/tmpfiles.d. This ensures - that dh_installtmpfiles gracefully copes with e.g. README files - provided by systemd upstream. (Closes: #986329) - * dh_installsystemd: Ditto (but only relevant in compat 12 or - earlier) - * cmake.pm: Pass -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF to cmake in - addition to -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON as the - former is intended to replace the latter. Thanks to Raul Tambre - for reporting the issue. (Closes: #988973) - * Dh_Lib.pm: Bump version requirement to v5.28 to reflect the actual - requirements (the code was using v5.28 features). Thanks to - Sérgio Basto for reporting the issue. - * dh_missing: Ditto. - * autoscripts/postinst-init,autoscripts/postinst-systemd-start: Use - "restart" instead of "start" when starting the services. This - ensures a smooth transition from --restart-after-upgrade to - --no-restart-after-upgrade in dh_installinit and dh_installsystemd. - Thanks to Ryan Tandy for reporting the issue. - (Closes: #989155) - * dh_installsystemd: Remove usage of autoscripts/postinst-systemd-restart - * dh_installinit: Remove usage of autoscripts/postinst-init-restart - * autoscripts/autoscripts/postinst-systemd-restart: Removed. - * autoscripts/postinst-init-restart: Removed - * dh_installsystemd: Prefer /usr/lib/systemd/ to /lib/systemd. - (Closes: #987989) - * dh_systemd_enable: Ditto. - * dh_systemd_start: Ditto. - * dh_installinit: Ditto. - * dh_installsystemd: Merge /lib/systemd into /usr/lib/systemd if both - are present in the package staging directory (preferring the latter - in case of conflicts). (Closes: #987989) - * dh_systemd_enable: Ditto. - - [ Dominic Hargreaves ] - * perl_build.pm,perl_makemaker.pm: Make debhelper use the same perl - as it runs under (via Perl's $^X variable) when invoking the - upstream build system. (Closes: !40, #966396) - - [ Axel Beckert ] - * Always generate unique doc-base file names based on package name and - document ID. (Closes: #980903) - - -- Niels Thykier Tue, 17 Aug 2021 16:32:34 +0000 - -debhelper (13.3.4ubuntu3) jammy; urgency=medium - - * No-change rebuild for the Jammy Jellyfish. - - -- Simon Quigley Wed, 27 Oct 2021 03:23:50 -0500 - -debhelper (13.3.4ubuntu2) impish; urgency=medium - - * objcopy/strip changed in 2.36.1, not keeping file attributes of the - original file. Work around that in dh_strip to write to a temporary - file, copying attributes, cat'ing this to the original file, copying - attributes again to keep the original attributes. LP: #1938886 - - -- Dimitri John Ledkov Wed, 04 Aug 2021 19:23:25 +0100 - -debhelper (13.3.4ubuntu1) hirsute; urgency=medium - - * Merge with Debian; remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - + 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - dh_strip: For a static archive, test if any .text sections are non-empty. - Warn on empty archives. - - objcopy/strip changed in 2.36.1, not keeping file attributes of the - original file. Work around that in dh_strip to write to a temporary - file and cat'ing this to the original file to keep the original - attributes. - - Imply '' profile if not set on package type udeb. - * dh_strip: Set a unique build-id before stripping files. - - -- Matthias Klose Fri, 19 Mar 2021 13:29:56 +0100 - -debhelper (13.3.4) unstable; urgency=medium - - [ Jakub Wilk ] - * debhelper.pod: Add missing space after ")" - - [ Translations ] - * Update French translation (Jean-Pierre Giraud) (Closes: #982675) - - -- Niels Thykier Sat, 06 Mar 2021 09:53:10 +0000 - -debhelper (13.3.3ubuntu3) hirsute; urgency=medium - - * Imply '' profile if not set on package type udeb. LP: - #1884836 - - -- Dimitri John Ledkov Sun, 21 Feb 2021 02:48:01 +0000 - -debhelper (13.3.3ubuntu2) hirsute; urgency=medium - - * objcopy/strip changed in 2.36.1, not keeping file attributes of the - original file. Work around that in dh_strip to write to a temporary - file and cat'ing this to the original file to keep the original attributes. - LP: #1915250. - The sequencer could also be changed to call dh_fixperms after calling - dh_strip, but that might introduces other issues. See #982457. - - -- Matthias Klose Tue, 16 Feb 2021 15:30:21 +0100 - -debhelper (13.3.3ubuntu1) hirsute; urgency=medium - - * Merge with Debian; remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - + 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - dh_strip: For a static archive, test if any .text sections are non-empty. - Warn on empty archives. - - -- Matthias Klose Sun, 07 Feb 2021 10:40:07 +0100 - -debhelper (13.3.3) unstable; urgency=medium - - [ Niels Thykier ] - * dh_installsysusers: Add systemd-sysusers as alternative provider - in the ${misc:Depends} dependency as that is the name used by - opensysusers. - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) (Closes: #981567) - - -- Niels Thykier Wed, 03 Feb 2021 19:43:32 +0000 - -debhelper (13.3.2) unstable; urgency=medium - - * Team upload. - - [ Niels Thykier ] - * cmake.pm: Correct parameter -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON - passed to cmake in compat 14+. Thanks to Raul Tambre for - reporting the issue. (Closes: #977255) - * dh_strip: Fix wording. Thanks to Chris Leick and Pfannenstein - Erik. - * debhelper.pod: Fix typos. Thanks to Chris Leick and - Pfannenstein Erik. - * dh_makeshlibs: Ditto. - * debian/control: Bump Standards-Versions to 4.5.1. No changes - required. - - [ Axel Beckert ] - * Extend dh_installdocs documentation on debian/$pkg.doc-base.* with - regards to when deduplication does not work and may cause - uninstallable packages. (Mitigates: #980903) - - [ Translations ] - * Update German translation (Pfannenstein Erik) (Closes: #979608) - - -- Axel Beckert Mon, 01 Feb 2021 00:53:24 +0100 - -debhelper (13.3.1ubuntu1) hirsute; urgency=medium - - * Merge with Debian; remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - + 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - dh_strip: For a static archive, test if any .text sections are non-empty. - Error on empty archives. - * Don't error on empty static archives, just give a warning. - - -- Matthias Klose Fri, 08 Jan 2021 11:56:36 +0100 - -debhelper (13.3.1) unstable; urgency=medium - - * d/control: Bump dependency on dwz to pull newer version of dwz - in buster-backports, which makes backporting easier. Thanks to - Anthony Fok for the patch and for backporting dwz. - - -- Niels Thykier Mon, 28 Dec 2020 16:52:01 +0000 - -debhelper (13.3ubuntu4) hirsute; urgency=medium - - * Fix the readelf call added in the last upload. LP: #1908708. - - -- Matthias Klose Fri, 18 Dec 2020 13:50:02 +0100 - -debhelper (13.3ubuntu3) hirsute; urgency=medium - - * dh_strip: For a static archive, test if any .text sections are non-empty. - - -- Matthias Klose Thu, 17 Dec 2020 21:42:35 +0100 - -debhelper (13.3ubuntu1) hirsute; urgency=low - - * Merge from Debian unstable. Remaining changes: - - Generate ddebs from debhelper instead of pkg-create-dbgsym: - + 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - * Dropped changes, useless since xenial+ releases: - + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. - This need to be added again if we backport to xenial and previous - releases. - - -- Gianfranco Costamagna Mon, 07 Dec 2020 14:53:28 +0100 - -debhelper (13.3) unstable; urgency=medium - - [ Niels Thykier ] - * dh_md5sums: When reading the conffiles file, ignore every line - except those starting with a slash "/". - * SequencerUtil.pm,dh_testroot: Let dh skip dh_testroot when - the builder supports Rules-Requires-Root and it is set to "no". - * Dh_Lib.pm: Provide a more helpful error message when - lintian-overrides config files are executable by mistake. - * dh_gencontrol: Discard the "Protected" field in dbgsym packages. - Thanks to Axel Beckert for reporting the issue. - (Closes: #976323) - * dh_installsysusers: New tool to install and integrate sysusers - into debian packaging. Thanks to Michael Biebl and Moritz - Muehlenhoff for feedback and initial testing. - (Closes: #962384) - * d/control: Remove transitional package for dh-systemd. Thanks - to Michael Biebl for poking reverse dependencies to migrate and - getting us ready to remove it. (Closes: #871312) - * cmake.pm: Pass VERBOSE=1 to make by default when building to - ensure that gmock builds are also verbose. Thanks to - Johannes Schauer for reporting the issue. (Closes: #973029) - * Dh_Lib.pm: Disable "unicode_strings" feature, which caused - issues with UTF-8 encoded files. Thanks to Sebastien Bacher - for reporting the issue. (Closes: #971362) - * dh_installinfo: Work around upstream installing the - usr/share/info/dir file. If seen, dh_installinfo will now - tag it as "installed" even though it is not installed. This - avoids promoting the installation of the file by dh_missing - only to have lintian tell people to remove it again. - (Closes: #971036) - - [ Michael Biebl ] - * autoscripts/postrm-systemd-reload-only: Run daemon-reload on - "remove" only. - - -- Niels Thykier Sun, 06 Dec 2020 20:11:53 +0000 - -debhelper (13.2.1ubuntu1) groovy; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Gianfranco Costamagna Sun, 13 Sep 2020 19:38:16 +0200 - -debhelper (13.2.1) unstable; urgency=medium - - [ Niels Thykier ] - * debian/changelog: Fix some typos in previous entries. - * Dh_Lib.pm,Dh_Buildsystems.pm: Properly clear buildflags with - --reload-all-buildenv-variables is passed. Thanks to - Harald Welte and Guillem Jover for reporting and debugging - the issue. (Closes: #966689) - * dh_missing: Improve message about related files found. Thanks - to Diego Escalante for reporting the issue. (Closes: #966834) - - [ Peter Pentchev ] - * dh_installalternatives: Correct order of values in the example for - Dependents links. (Closes: #966285) - - [ Chris Lamb ] - * dh_missing: Sort order of missing files to make output - deterministic. (Closes: #968187) - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) (Closes: #964784) - - -- Niels Thykier Sat, 12 Sep 2020 20:27:03 +0000 - -debhelper (13.2ubuntu1) groovy; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Gianfranco Costamagna Mon, 06 Jul 2020 08:57:15 +0200 - -debhelper (13.2) unstable; urgency=medium - - [ Niels Thykier ] - * dh_missing: Explicitly remind people that they should not - copy-waste multi-arch paths directly into debian/not-installed. - Instead, recommend the use of wildcards of ${DEB_HOST_MULTIARCH} - to replace the hardcoded value. - * d/changelog: Clarify what dh_installman change in 13.1 related to - #958343 was about. - * Dh_Lib.pm: Add support for raising compat deprecation warnings to - an error if there are pending removals. This currently triggers - for usage of compat 5 and 6. - * cmake.pm: Pass -DCMAKE_SKIP_RPATH=ON -DBUILD_RPATH_USE_ORIGIN=ON - to cmake in compat 14. This should fix some reproducibility - issues but may cause breakage if packages run binaries directly - from the build directory. Thanks to Timo Röhling for the - suggestion. (Closes: #962474) - * dh,dh_auto_*: Change the handling of XDG_RUNTIME_DIR in compat 13. - It is now only set to a writable directory for dh_auto_test but - set to a much shorter directory avoid issues with socket lengths. - In all other cases, the XDG_RUNTIME_DIR is now cleared. Thanks to - Simon McVittie for the report. (Closes: #961655) - * debhelper.pod: Document that --sourcedir clashes between dh_auto_* - and dh_missing (etc.). Thanks to Thorsten Glaser for reporting - the issue. (See #964230) - * PROGRAMMING: Minor improvements and clarifications to the API - documentation. - - [ Anel Husakovic ] - * debhelper.7: Fix typo/grammatical errors. - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) (Closes: #962568) - - -- Niels Thykier Sun, 05 Jul 2020 21:14:04 +0000 - -debhelper (13.1ubuntu1) groovy; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Gianfranco Costamagna Sat, 30 May 2020 07:15:23 +0200 - -debhelper (13.1) unstable; urgency=low - - [ Niels Thykier ] - * dh_installinitramfs: Remove misleading "in compat 12" as the - behaviour was unrelated to the compat level. - * dh_installinitramfs: Migrate to triggering update-initramfs - via activate-noawait trigger (replacing maintscript calls to - "update-initramfs -u", which had the same affect). - (Closes: #822730). - * dh_installman: Improve error messages and handling of broken - section numbers. Notably, the auto-detection no longer picks - section numbers that look suspiciously like a version number - (or a date). This can cause dh_installman to reject manpages - if it can no longer guess a suitable section for the manpage - Thanks to Paul Gevers for reporting the bug. - (Closes: #958343) - * Dh_Lib.pm: Support that Architecture (among other fields) can be - folded in d/control. Thanks to Thorsten Glaser for reporting - the issue. (Closes: #958987) - * SequencerUtil.pm: Fix use of uninitialized variable warning. - * Dh_Lib.pm: Properly error out on paragraphs missing the Package - field (rather than silently ignoring them). - * debian/rules: Fix call to gen-provides that seemed to work more - due to luck than by design. - * Dh_Lib.pm: Provide HIGHEST_STABLE_COMPAT_LEVEL, which reflects - the latest stable compat level. Thanks to Jelmer Vernooij - for the suggestion. - * Dh_Lib.pm: Respond to DH_DATAFILES environment variable in - addition to DH_AUTOSCRIPTS as a means to find data files. This - is mostly useful for testing purposes or to be "self-hosting". - The new DH_DATAFILES is more general than DH_AUTOSCRIPTS and - enable us to add new data file sources without inventing new - environment variables. - * Dh_Lib.pm: Require perl v5.24 (available in Debian oldstable) - to enable more modern features. - * Dh_Lib.pm: Fix a bug in variable substitution where ${Tab} - incorrectly expanded to "\b" rather than "\t". - * dh_installchangelogs: Loosely document which file names that - dh_installchangelogs uses as guesses for finding an upstream - changelog file. Thanks to Laurent Bigonville for suggesting - the change. (Closes: #933224) - * Dh_Lib.pm: When setting HOME or XDG_RUNTIME_DIR in compat 13, - use an absolute path. Thanks to Dmitry Shachnev for reporting - the issue. (Closes: #959731) - * dh_installsystemd: Copy the description for the - --no-stop-on-upgrade option from dh_installinit. - * dh_installsystemd: Have --no-start or --no-stop-on-upgrade - disable --restart-after-upgrade as the documentation says it - will. Thanks to Axel Beckert for reporting the issue. - (Closes: #959678) - * dh_installinit: Ditto. - * dh: Explicitly document that hook targets can cause - complications when they are made unconditional by a makefile - target and suggest alternatives. Thanks to Marcin Owsiany for - reporting this. (Closes: #645873) - * cmake.pm: Rollback -DCMAKE_AUTOGEN_VERBOSE=ON temporarily as it - trips bhlc due to a bug in cmake. Thanks to Nicolas - Braud-Santoni and "anoteng" for reporting the issue. - (Closes: #959494) - * dh_clean: Rephrase the description of dh_clean to avoid - confusion about when it is run. Thanks to Hugh McMaster for - the suggestion. (Closes: #960110) - * dh_missing: Update documentation to reflect that the - --fail-missing option is now the default in compat 13. - Thanks to Hugh McMaster and Christoph Berg for the report. - (Closes: #960107, #960697) - * dh: Filter out the root-sequence in "--list" output and reject - attempts to activate or deactivate the sequence as it is an - implementation detail. - * dh_installalternatives: New helper that can setup alternatives - (update-alternatives) based on a declarative format. Currently, - the format is converted to calls to update-alternatives, which - are inserted into the maintscripts of the package. Thanks to - David Engel and Fumitoshi UKAI for the original requests. - (Closes: #43720) - * dh_missing: Attempt to guess if missing files might be caused by - the packager installing the same file via a different path and - let them know of this. (Closes: #960781) - - [ Guillem Jover ] - * autoconf.pm: Pass --disable-option-checking to ./configure - scripts to avoid warnings about unknown options. - (Closes: #942813) - - [ Translations ] - * Fix typo in German translation. (Andreas Bombe) - - -- Niels Thykier Sun, 17 May 2020 17:07:30 +0000 - -debhelper (13ubuntu1) groovy; urgency=low - - [ Dimitri John Ledkov ] - * 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Jeremy Bicha Sun, 26 Apr 2020 16:38:25 -0400 - -debhelper (13) unstable; urgency=medium - - [ Niels Thykier ] - * debian/changelog: Fix typo of a bug number in the 12.10 - entry. Thanks to Andy Caldwell for reporting it. - * Dh_Lib.pm: Flag compat 9 as deprecated as announced in - https://lists.debian.org/debian-devel-announce/2020/02/msg00000.html - * dh_install: Remove trailing slashes from value to the --sourcedir - parameter. This avoids dh_install computing an incorrect directory - name. Thanks to Mihai Moldovan for reporting the issue. - (Closes: #955568) - * dh_missing: Ditto. - * SequencerUtil.pm/dh: Fix bug where the long forms of --builddirectory - and --sourcedirectory might be ignored by dh causing it to skip - dh_auto_* when it should not. This is in practice only a problem in - compat 13 as long form of arguments are not optimized in compat 12 or - earlier. - - [ Chris Leick ] - * debhelper.pod: Fix typos. - * dh_makeshlibs: Ditto. - * dh: Ditto. - - [ Helmut Grohne ] - * perl_makemaker.pm: Add missing import of "warning" function. - - -- Niels Thykier Wed, 15 Apr 2020 14:44:56 +0000 - -debhelper (12.10ubuntu1) focal; urgency=medium - - * Merge with Debian; remaining changes: - - -- Matthias Klose Fri, 27 Mar 2020 17:10:17 +0100 - -debhelper (12.10) unstable; urgency=medium - - [ Niels Thykier ] - * dh_installsystemd: Improve documentation about tmpfiles that - are now handled by dh_installtmpfiles in compat 13. - * dh_installtmpfiles: Prefer debian/package.tmpfiles over - debian/package.tmpfile, but accept the old path with a warning. - Thanks to Michael Biebl for suggesting the change. - * dh_strip: Automatically strip Link-Time Optimization (LTO) - symbols from static archives. The format is not stable between - compiler versions. Thanks to Matthias Klose for the - suggestion and for providing the exact options. - (Closes: #939656) - * dh: Tweak the command-skipping optimization to skip commands - in a few more cases when the command is known not to react to - command line options. - * dh,dh_installsytemd*: Work around broken NOOP promise caused by - dh_installsystemd* using nonstandard "package@" prefix for - pkgfiles. Thanks to Badreddin Aboubakr and Andy Caldwell for - reporting it. (Closes: #950723, #951820) - - [ Nicholas Guriev ] - * cmake: Verbose autogen rules. - * cmake: Skip install all dependency with compatibility level 13 and - above. - - [ Andy Caldwell ] - * dh_installsystemduser: Fix bug that prevented dh_installsystemduser - from installing parameterized services. (Closes: #951819) - - [ Translations ] - * Update German translation (Chris Leick) (Closes: #951917) - - -- Niels Thykier Tue, 24 Mar 2020 15:55:09 +0000 - -debhelper (12.9ubuntu1) focal; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Adam Conrad Tue, 04 Feb 2020 14:20:25 -0700 - -debhelper (12.9) unstable; urgency=medium - - [ Niels Thykier ] - * debhelper.7: Clarify how DH_OPTIONS works and that some - third-party tools may ignore it if they do not support - it. Thanks to Andrej Shadura for reporting the issue - over IRC. - * doc/PROGRAMMING: Introduce a section on the NOOP PROMISE - comment. - * dh: In compat 13, skip calls to hook and override targets - for dh_auto_test, dh_dwz and dh_strip. Thanks to - Mike Hommey for suggesting it. (Closes: #568897) - * Dh_Getopt.pm: Remove support for "--ignore". No package - uses it any more. For most parts, it has been replaced - by the "3.0 (quilt)" source format. - * debian/changelog: Clarify that substitutions change in - 12.8 only apply to the maintscript file (and not - maintainer scripts) for dh_installdeb. - * debhelper.7: Improve text in compat 13 section. - * autoconf.pm: Only consider "configure" as an autoconf - script if it is a file (and not a directory). Thanks to - Andrius Merkys for reporting the bug and providing a - patch. (Closes: #949396) - * debian/control: Bump Standards-Version to 4.5.0 - no - changes required. - * dh_shlibdeps: Pass "--" in front of filenames passed to - file(1). Thanks to Christoph Biedl for the suggestion. - (Closes: #949538) - * dh_strip: Ditto - * dh.1: Improve documentation for override targets and - include a section on the new hook target. - (Closes: #885994) - * Dh_Lib.pm: Make it possible to disable the command - logging by passing "inhibit_log => 1" to the init sub. - Furthermore, the logging is now only enabled when init - is called (and not disabled by that option or - inhibit_log()). This prevents Dh_Lib from triggering - a log write just by being loaded. - * dh: Refactor addon loading. As a side-effect, dh no - longer leaks as many functions into the scope of addons. - Addons depending on the previous behaviour may now fail - due to calls to undefined subroutines and will need to - be fixed. - * dh_installinitramfs.1: Correct the name of localized - versions of dh_installinitramfs so that man can find - them. - - [ Thorsten Glaser ] - * dh_auto_*: Make it possible to disable build systems by - passing --buildsystem=none. Previously this would - require overriding each and every dh_auto_* tool. - (Closes: #949635) - - -- Niels Thykier Mon, 27 Jan 2020 20:45:05 +0000 - -debhelper (12.8) unstable; urgency=medium - - [ Niels Thykier ] - * Dh_Lib.pm: Simplify internal logging of which commands - have been run. We are no longer interested in whether - it was an override target or not. - * dh: Support "execute_before_X" and "execute_after_X" - targets in debian/rules. This is useful for injecting - commands before or after the command "X" that dh runs. - Note this feature requires compat 10 or later due to - internal limitations in debhelper. Attempts to use - it in compat 9 will trigger an error. Thanks to - Christoph Berg for the suggestion. (Closes: #885994) - * dh: Detect and warn about override and hook targets - for known obsolete commands. In compat 13, this will - be an error instead of a warning. - * dh: Reset umask to 0022 as a consistent default value. - Thanks to Thorsten Glaser for the suggestion. - (Closes: #944691) - * dh_missing: The --fail-missing parameter is now default - in compat 13. Thanks to Mattia Rizzolo for the - suggestion. (Closes: #917368) - * dh_installtmpfiles: New command extracted from - dh_installsystem that will handle tmpfiles.d - configuration. Thanks to Michael Biebl for the - suggestion. (Closes: #944478) - * dh_installsystemd: In compat 13, this command will no - longer manage tmpfiles.d configuration. - * dh: Run dh_installtmpfiles by default in compat 13. - * Dh_Lib.pm: Emit "error" and "warning" with error and - warning messages. Thanks to Paul Wise for the - suggestion. (Closes: #906723) - * Dh_Lib.pm: Support colored output for warnings and - errors (enabled by default). The colors can be - controlled by setting DH_COLORS or DPKG_COLORS. The - latter will also affect dpkg-related tools. - Note: NO_COLOR is respected in the absence of - DH_COLORS and DPKG_COLORS. - * Dh_Lib.pm: Support substitution variables in files - handled by filearray and filedoublearray in compat 13. - This also applies to executable configuration files. - As the substitution occurs after splitting the files - into tokens, it can be used to include spaces in the - tokens (often file names). (Closes: #198507) - * dh_install: Support substitution configuration files. - * dh_clean: Ditto. - * dh_installcatalogs: Ditto. - * dh_installdeb: Ditto (debian/*.maintscripts only). - * dh_installdirs: Ditto. - * dh_installdocs: Ditto. - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_installwm: Ditto. - * dh_link: Ditto. - * dh_missing: Ditto. - * dh_ucf: Ditto. - * debian/rules: Remove override for dh_missing as the - --fail-missing parameter is default now. - - [ Helmut Grohne ] - * Warn about missing perl-xs-dev for perl_* buildsystems. - - -- Niels Thykier Sun, 19 Jan 2020 10:02:16 +0000 - -debhelper (12.7.3ubuntu1) focal; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Adam Conrad Tue, 07 Jan 2020 21:57:04 -0700 - -debhelper (12.7.3) unstable; urgency=medium - - [ Niels Thykier ] - * dh_perl: Use perl:any for perl module in addition to perl - programs. Thanks to Helmut Grohne and Niko Tyni for the - suggestion and analysis. (Closes: #946655) - * dh_gencontrol: Clear the "Built-Using" flag for dbgsym - packages. It is irrelevant as the original binary will - have the field plus the field can cause lintian warnings. - (Closes: #947506) - * lintian-overrides: Override no-dh-sequencer as it is a - false-positive that lintian cannot be expected to know. - - [ Debian Janitor ] - * Fix day-of-week for changelog entry 4.0.0. - - -- Niels Thykier Sun, 29 Dec 2019 17:59:47 +0000 - -debhelper (12.7.2) unstable; urgency=medium - - [ Niels Thykier ] - * dh: Skip conditional dh sequence addons in the clean target. - This avoids FTBFS with conditional addons where the - build-dependency is not satisfied. (Closes: #944225) - * meson.pm: Fix bug where dh_auto_test would break horribly - under compat 13 due to an uninitialized variable. Thanks to - Benjamin Jacobs for reporting the issue. (Closes: #945149) - * dh_installman: Fix non-deterministic behaviour when there - multiple definitions of the same manpage in a package. - In compat 13, this is resolved by aborting with an error. - In older compat levels, dh_installman will deterministically - pick a canonical version (via sort) along with emitting a - warning. Thanks to Colin Watson for reporting the issue. - (Closes: #943705) - * dh_auto_*: In compat 13+, reset HOME and XDG_* environment - variables. Some are cleared and some are set to a writable - directory that persist until dh_clean. Thanks to - Simon McVittie for reporting the issue. - (Closes: #942111) - * dh_auto_*: As a side-effect of the above, debhelper in compat - 13+ no longer trips a FTBFS in sbuild for meson packages when - ccache is installed but not configured/used explicitly. - Thanks to Simon McVittie for reporting the issue. - (Closes: #933799) - * d/control: Bump Standards-Versions to 4.4.1 - no changes - required. - - [ Andrius Merkys ] - * debhelper.pod: Document changes to the gradle third-party - build system in compat 13. - - [ Translations ] - * Update German translation (Chris Leick) (Closes: #943853) - - -- Niels Thykier Sat, 07 Dec 2019 17:44:32 +0000 - -debhelper (12.7.1ubuntu1) focal; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Adam Conrad Sat, 26 Oct 2019 09:52:12 -0600 - -debhelper (12.7.1) unstable; urgency=medium - - [ Colin Watson ] - * dh_installman: Correctly handle compressed manpages when - dh_installman uses man-recode. (Closes: #943376) - - -- Niels Thykier Sat, 26 Oct 2019 06:42:04 +0000 - -debhelper (12.7ubuntu1) focal; 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. - - dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Adam Conrad Thu, 24 Oct 2019 12:35:36 -0600 - -debhelper (12.7) unstable; urgency=medium - - [ Niels Thykier ] - * dh_installman: Avoid error message when man-db is not installed - (only occurs in debhelper's own build as man-db is a mandatory - dependency). - * dh_installman: Use man-recode(1) when available to massively - speed up re-encoding performance for any package with a non- - trivial amount of manpages. Thanks to Robert Luberda for - reporting the issue and Colin Watson for writing man-recode - (Closes: #933576) - * debhelper.pod: Actively discourage compat 11 as it has an - issue that causes services not to start correctly in all cases - (e.g. install, remove-but-not-purge, install again), which - cannot be fixed. - * dh_auto_*: Support a new --reload-all-buildenv-variables - option for resetting the cache (of e.g. dpkg-buildflags). - This is needed by e.g. parted which does two builds with - different CFLAGS. - * dh_makeshlibs: Suggest/Document that --no-add-udeb can be - relevant for some udebs where the shared library for the udeb - is embedded in a different package (e.g. the main udeb - package). Thanks to Nicolas Braud-Santoni for reporting the - issue. (Closes: #942454) - * meson.pm: Fix invalid call under compat 13. Thanks to - Jeremy Bicha for testing it. (Closes: #942690) - - [ Helmut Grohne ] - * cmake buildsystem: Fix CMAKE_SYSTEM_PROCESSOR for 32bit arms. - (Closes: #941245) - - [ Niko Tyni ] - * Basic support cross building XS modules: - + perl_makemaker: run Makefile.PL with host arch Config.pm - + perl_build: run Build.PL and Build with host arch Config.pm - + dh_perl: scan host arch include directories for Perl plugins - - -- Niels Thykier Sun, 20 Oct 2019 17:48:06 +0000 - -debhelper (12.6.1ubuntu2) eoan; urgency=medium - - * Remove /xxx and /man/ cruft from the previous merge to reduce delta noise. - - -- Adam Conrad Tue, 17 Sep 2019 06:57:56 -0600 - -debhelper (12.6.1ubuntu1) eoan; 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. - * dh_strip: Strip LTO sections unless --keep-lto is given. - - -- Matthias Klose Tue, 17 Sep 2019 11:23:57 +0200 - -debhelper (12.6.1) unstable; urgency=medium - - * Upload to unstable now that libdebhelper-perl has been through - the NEW queue. - - -- Niels Thykier Sun, 15 Sep 2019 10:08:53 +0000 - -debhelper (12.6) experimental; urgency=medium - - [ Niels Thykier ] - * dh_makeshlibs: Fix regression where versionless SONAMEs could - trigger a rejection of the "generated" shlibs file (despite - dh_makeshlibs not generating any "shlibs" files). - (Closes: #939635) - * dh_strip: Avoid impossible copy of .../debug/.dwz/ to itself - when a manual debug package contained ELF files and was - processed by dh_dwz before dh_strip. (Closes: #939164) - - [ Sven Joachim ] - * Split debhelper into debhelper (the tools) and libdebhelper-perl - (the Perl libraries). (Closes: #821130) - * d/rules: Call dh_missing --fail-missing to catch bugs where files - are not installed anywhere. - - -- Niels Thykier Sat, 14 Sep 2019 06:37:44 +0000 - -debhelper (12.5.4) unstable; urgency=medium - - * dh_installxfonts: Remove version in dependency on xfonts-utils - added to ${misc:Depends}. The version requirement has been - satisfied for the past 3-4 releases. - * dh_makeshlibs: Correct a control check that was only intended - for automatic udeb detection, which incorrectly also checked - when --add-udeb was passed. Thanks to Andreas Metzler for - reporting the issue. (Closes: #935577) - * dh: Fix bug where overrides for dh_dwz, dh_strip, dh_makeshlibs - or dh_shlibdeps could be triggered via binary-indep in compat - 12 and earlier. Thanks to Andreas Beckmann for reporting the - issue. (Closes: #935780) - - -- Niels Thykier Sun, 01 Sep 2019 07:23:05 +0000 - -debhelper (12.5.3) unstable; urgency=medium - - * Dh_Getopt.pm: Skip compat call if d/control cannot be found - and just assume that auto-abbreviation can be disabled in that - case. This avoids breaking options such as --help and --list. - (Closes: #935017) - * Dh_Lib.pm: Jump to hoops to only parse the Build-Dependency - field in dh without breaking dh's own --list or --help - parameter. This fixes a regression since 12.5 where dh's - --help and --list options were broken. - * dh_builddeb: Revert removal of --destdir for now. It is in - fact used to hardcode paths in some cases e.g. v4l2loopback's - debian/rules.modules. - * dh_makeshlibs: Disable auto-filtering of udeb libraries. It - cannot be implemented without violating the requirements for - the noudeb build-profile. - * dh_makeshlibs: Fix invalid error under the noudeb profile - where the absence of udeb content is expected rather than an - in issue. (Closes: #934999) - - -- Niels Thykier Mon, 19 Aug 2019 09:50:19 +0000 - -debhelper (12.5.2) unstable; urgency=medium - - * dh_makeshlibs: Fix regression in compat 10 and earlier where - dh_makeshlibs now failed on error. This safety check was - intended to be a compat 11 or later feature. - * dh: Ensure addon API functions return 1 to avoid gratuitous - breakage of addons due to perl's idiosyncrasy of requiring a - truth value at the end of modules. (See #935016) - - -- Niels Thykier Sun, 18 Aug 2019 07:36:20 +0000 - -debhelper (12.5.1) unstable; urgency=medium - - * dh_installdeb: Allow "+" to appear in token names as it is - a valid character for package names. - * dh_installdeb: Reject invalid token names passed to -D or - --define (in most cases). - * dh_makeshlibs: Fix bug in -X where it would no longer match - as expected. A regression since 12.5 - thanks to Aurelien - Jarno for reporting the issue over IRC. - - -- Niels Thykier Sat, 17 Aug 2019 15:09:07 +0000 - -debhelper (12.5) unstable; urgency=medium - - [ Niels Thykier ] - * dh_strip: Skip stripping of guile-2.2 files by skipping all - all files matching "/guile/.*\.go$". Thanks to Jeremy Bicha - and Rob Browning. (Closes: #907061) - * dh_auto_*: Officially adopt --sourcedir and --builddir as official - parameters. They have always worked since debhelper defaulted to - supporting auto-abbreviated parameters, so this is simply documenting - fait accompli for the most common abbreviation. - * dh_*: Disable auto-abbreviation of command line parameters in compat - 13. - * dh: Optimize out redundant helpers even when passed long options in - compat 13. - * dh_builddeb: Remove --destdir. It has never been useful as everyone - expects the debs to be placed in "..". - * Dh_Lib.pm: Add a hint to resolve the error caused by having the - compat level specified both as a build-dependency and in - debian/compat. Thanks to Alessandro Grassi for reporting the issue - on IRC. - * dh_makeshlibs: Fix bug where --no-add-udeb could trigger the - auto-detection code. (Closes: #934891) - * dh_makeshlibs: When using the auto-detection of udeb, automatically - exclude "udeb:" lines for libraries omitted from the udeb. At the - same time, verbosely fail if the udeb contains a library not present - in the deb (overridable with --add-udeb). (Closes: #934889) - * dh: Support making "dh-sequence-ADDON" Build-Depends relation - conditional on build-profiles (etc.). If the relation is ignored due - to the current build-profiles (etc.), then addon is silently skipped. - * dh: Support running addons in "arch-only" or "indep-only" mode by - adding "dh-sequence-ADDON" in Build-Depends-Arch or - Build-Depends-Indep (respectively). Not all addons support this and - will trigger an error at load time. Addon providers should ensure - that their package provide "dh-sequence-ADDON" and review the - doc/PROGRAMMING document (in the debhelper source) if they are - considering to make their addon compatible with these requirements. - (Closes: #836699) - * dh,elf_tools.pm: Extract the ELF related debhelper tools (dh_strip, - dh_dwz, dh_makeshlibs, dh_shlibdeps) into their own addon called - "elf-tools" enabled by the default. - * debian/control: Provide dh-sequence-elf-tools. - * dh: In compat 13, the "elf-tools" addon is considered an implicit - "arch-only" addon (i.e. they are only available in "-arch" sequences - and are always passed a "-a"). If you need the ELF tools for arch:all - packages, please add an explicit Builds-Depends on dh-sequence-elf-tools. - - [ Frank Schaefer ] - * dh_installmodules: Also look for compressed kernel modules - in addition to uncompressed kernel modules (gz, bz2 or xz). - - [ Adam Borowski ] - * d/s/lintian-overrides: Override lintian warning about debhelper - not using debhelper. - - -- Niels Thykier Sat, 17 Aug 2019 10:54:08 +0000 - -debhelper (12.4ubuntu1) eoan; 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. - - -- Adam Conrad Wed, 14 Aug 2019 23:13:50 -0600 - -debhelper (12.4) unstable; urgency=medium - - * dh: Retroactively remove support for manual dh sequence - operators (--until, --after, --before and --remaining). - This breaks about 8 source packages that still rely on this - feature and have not yet migrated away. (Closes: #932537) - Please see the debhelper bug for relevant bug numbers and - package names. - - -- Niels Thykier Mon, 12 Aug 2019 15:07:01 +0000 - -debhelper (12.3) unstable; urgency=medium - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) (Closes: #927394) - - [ Niels Thykier ] - * dh_installsystemduser: Fix bug that would neuter sorting of unit - files and make the resulting maintscripts unreproducible. Thanks - to Daniel Kahn Gillmor for reporting the bug. (Closes: #932646) - * dh_dwz: Remove the -q flag when calling dwz(1). It is - sufficiently silently with -q and aids with debugging for others. - (Closes: #933561, #931792) - * dh_dwz: Gracefully handle when dwz fails to create a multifile - but succeeds anyway by default. The previous behaviour of - insisting on a multifile can be obtained by explicitly passing - --dwz-multifile. (Closes: #933541) - * dh_dwz: Skip multifile generation for udeb packages. - (Closes: #933212) - * dh_makeshlibs: Attempt to automatically detect udeb packages - for a given (non-udeb) library package. In simple cases, it - can replace the need for an explicit --add-udeb parameter. - However, there are many cases where the auto-detection falls - short and --add-udeb is still needed (see dh_makeshlibs(1) - for details). Packagers are advised to verify the resulting - shlibs file before removing --add-udeb in an upload. - - -- Niels Thykier Tue, 06 Aug 2019 16:55:26 +0000 - -debhelper (12.2.3ubuntu1) eoan; 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. - - -- Adam Conrad Sat, 20 Jul 2019 01:26:58 -0600 - -debhelper (12.2.3) unstable; urgency=medium - - * dh_installinit: Revert "Fail with an error if --name is given but - there is no matching init script.". (Closes: #932073, - Reopens: #462389) - * Dh_Getopt.pm: Produce a better error message when -p is - ignored in an architecture constrained override (e.g. during an - architecture specific build and the -p argument refers to an - arch:all package). Thanks to Helmut Grohne for reporting the - issue. (Closes: #932262) - - -- Niels Thykier Fri, 19 Jul 2019 19:18:03 +0000 - -debhelper (12.2.2) unstable; urgency=medium - - * dh_shlibdeps: Remove regex anchor when parsing file(1) to avoid - regressions with setuid/setgid binaries. Thanks to James - Cowgill for reporting the issue. (Closes: #932240) - * dh_strip: Ditto. - - -- Niels Thykier Tue, 16 Jul 2019 21:03:38 +0000 - -debhelper (12.2.1) unstable; urgency=medium - - [ Dmitry Bogatov ] - * dh_installinit: Fix regression where dh_installinit bailed - out on --name if only one of the acted on packages had an - init script file. Thanks to Helmut Grohne for reporting - the issue. (Closes: #932073) - - -- Niels Thykier Tue, 16 Jul 2019 20:21:32 +0000 - -debhelper (12.2) unstable; urgency=medium - - [ Niels Thykier ] - * Dh_Lib.pm: Ensure the error function always triggers the same - exit code on termination. Previously, it depended on the - value of the last error (if any). - * Buildsystem/make: Fix regression where cross-flags were - passed in a non-cross build. (Closes: #925175) - * dh_perl: Fix code to prune (skip) /usr/share/doc which - never worked. - * doc/PROGRAMMING: Document that the environment variable - DH_AUTOSCRIPTDIR can be used for testing purposes to - shadow existing or test new autoscript snippets. Thanks - to Dmitry Bogatov for the suggestion. (Closes: #925281) - * dh_compress: Exclude .haddock and .hs files (as this is - customary for haskell packages). - * dh_installinfo: Update NOOP PROMISE to account for - dh_missing's needs. Thanks to Daniel Kahn Gillmor for - reporting the issue. (Closes: #930689) - * debhelper.pod: Document that debhelper will use - dpkg-buildflags for setting CFLAGS et al and that it is - recommended to rely on dpkg-buildflags's features for - extending the default. (Closes: #923626) - * dh_strip: Make dh_strip more robust with issues from - file(1). Thanks to Christoph Biedl for reporting the - issue. (Closes: #931995) - * dh_shlibdeps: Pass --brief to file(1) and anchor the - output parsing regex to avoid false-positive - misdetections. Thanks to Christoph Biedl for the - suggestion. (Closes: #931996) - * dh_strip: Ditto. - * dh_installman: Improve documentation to be more clear - about exactly which new features dh_installman got in - compat 11. Thanks to Laurent Bigonville for pointing - out the issue. (Closes: #912999) - * dh_strip: Pass --no-sandbox to file(1) when run under - fakeroot and file(1) appear to support the option. - Thanks to Christoph Biedl for requesting the feature. - (Closes: #932006) - * Dh_Lib.pm: Support substituting additional variables - into the generated maintainer scripts. These include - DEB_(BUILD|HOST|TARGET)_* and ENV.* which point to the - variables from dpkg-architecture(1) and variables from - the environment (respectively). - * dh_installdeb: Support additional substitution variables - on the commandline via -DTOKEN=VALUE to replace #TOKEN# - with VALUE. (Closes: #25235) - * d/control: Bump Standards-Version to 4.4.0 - no changes - required. - - [ Helmut Grohne ] - * Buildsystem/cmake: Fix CMAKE_SYSTEM_PROCESSOR for mips64el. - (Closes: #926815) - - [ Dmitry Bogatov ] - * dh_installinit: Fail with an error if --name is given but - there is no matching init script. Thanks to A Mennucc - for reporting the issue. (Closes: #462389) - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) (Closes: #886279) - - - -- Niels Thykier Sun, 14 Jul 2019 10:29:20 +0000 - -debhelper (12.1.1ubuntu1) eoan; 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. - - -- Adam Conrad Sat, 20 Apr 2019 17:22:06 -0600 - -debhelper (12.1.1) unstable; urgency=medium - - * dh_installinitramfs: Install hooks as executable rather than - plan files. Thanks to Thorsten Glaser for the report. - (Closes: #922990) - * dh_compress: Fix bug where examples where compressed when a - doc package shipped examples for another package. Thanks to - Christian Kastner for reporting this. (Closes: #922795) - - -- Niels Thykier Sat, 23 Feb 2019 13:24:47 +0000 - -debhelper (12.1) unstable; urgency=medium - - [ Xavier Guimard ] - * dh_fixperms: add .node in mode_0644_patterns. - - [ Sylvestre Ledru ] - * dh_strip: Print a warning when an ELF binary does not have a - build-id (or when dh_strip cannot find it). - - [ Niels Thykier ] - * Dh_Lib.pm: Strip leading and trailing whitespace from lines in - regular debhelper config files. Whitespace-only lines from - executable config files are now explicitly detected and triggers - a human readable error message early rather than warnings/errors - about uninitialized variables. Thanks to Ben Finney for the - suggestion and the initial patch. (Closes: #919853) - * meson.pm: Dump "meson-logs/testlog.txt" if testing fails with - an error. Thanks to Jeremy Bicha for the suggestion. - (Closes: #918066) - * dh_missing: Clarify the documentation about when -X with other - helpers can may dh_missing ignore paths that are not installed. - Thanks to Hilko Bengen for reporting the original documentation - was insufficient. (Closes: #917362) - * d/control: Bump Standards-Version to 4.3.0 - no changes required. - - [ Baptiste Jammet ] - * fr.po: Update French translation. (Closes: #921254) - - -- Niels Thykier Sun, 10 Feb 2019 20:33:53 +0000 - -debhelper (12ubuntu1) disco; urgency=medium - - * Merge from Debian Sid. 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. - - -- Simon Quigley Mon, 24 Dec 2018 14:29:23 -0600 - -debhelper (12) unstable; urgency=medium - - [ Niels Thykier ] - * Release debhelper/12 marking compat 12 as stable. - * dh: Special NOOP PROMISE of cli-options() to always allow skipping - the helper (as we know no option can make it change behaviour). - - [ Dmitry Shachnev ] - * dh_compress: Do not compress mkdocs search indices - (search_index.json). - - -- Niels Thykier Mon, 24 Dec 2018 13:47:55 +0000 - -debhelper (11.5.4) unstable; urgency=medium - - [ Niels Thykier ] - * Dh_Lib.pm: Reopen stdin to read from /dev/null in doit (and its sibling - functions) to prevent issues when stdin is open in write-only mode - (which is what nohup(1) does). Thanks to Julian Gilbey for reporting - the issue and providing a sample patch for it as well. - (Closes: #913663) - * fr.po: Add missing dash in "--parallel" in a translation. Thanks to - Christian Marillat for reporting the issue. (Closes: #915255) - * debhelper.7: Document that the "python-distutils" build system is - removed in compat 12. Thanks to Axel Beckert for reporting the - omission. (Closes: #915530) - - [ Luca Boccassi ] - * makefile.pm: revert passing V=0/1 to makefiles. Fixes FTBFS in apcupsd - (and possibly more). - (Closes: #914419) - - -- Niels Thykier Sat, 15 Dec 2018 19:18:47 +0000 - -debhelper (11.5.3ubuntu1) disco; 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. - - -- Matthias Klose Tue, 04 Dec 2018 12:21:52 +0100 - -debhelper (11.5.3) unstable; urgency=medium - - [ Helmut Grohne ] - * cmake.pm: Pass the usual CMAKE_SYSTEM_PROCESSOR for ppc64el - when cross compiling. (Closes: #913425) - - -- Niels Thykier Sat, 10 Nov 2018 21:42:12 +0000 - -debhelper (11.5.2) unstable; urgency=medium - - [ Luca Boccassi ] - * makefile.pm: Pass V=0 or V=1 to the make file depending on - whether "terse" is set in DEB_BUILD_OPTIONS. - - [ Niels Thykier ] - * dh_gconf: Mark dh_gconf as deprecated (see #908845). - * Dh_Lib.pm: Separate lowest non-deprecated compat level and - the lowest compat level we generate "debhelper-compat (= X)" - relations for. - * Dh_Lib.pm: Open compat level 13 as an experimental compat - level. - * meson.pm: In compat 13, run tests with "meson test" rather - than "ninja test". Thanks to Simon McVittie for the - suggestion. (Closes: #912560) - * dh: Correctly include dh_installsystemduser in the sequence - in compat 12. It was excluded due to an inverted boolean - meaning it was added in compat up to (and incl.) compat 11. - Thanks to Michael Biebl for reporting the issue. - (Closes: #913329) - * fr.po: Correct translations for dh_installman.1 which - incorrectly implied that dh_installman was deprecated. - Thanks to Laurent Bigonville for reporting the issue. - (Closes: #912978) - - [ Helmut Grohne ] - * cmake.pm: Pass QMAKE_EXECUTABLE when cross-building. - (Closes: #913415) - - - -- Niels Thykier Sat, 10 Nov 2018 19:51:25 +0000 - -debhelper (11.5.1) unstable; urgency=medium - - * dh_systemd_start: Fix bug introduced in debhelper/11.5 where - dh_systemd_start would fail to substitute a token in the - generated maintscript for maintainer scripts when using - "--restart-after-upgrade" (including when the option is - on by default). Thanks to Colin Watson for reporting the - bug. (Closes: #912420) - - -- Niels Thykier Wed, 31 Oct 2018 21:02:00 +0000 - -debhelper (11.5) unstable; urgency=medium - - [ Daniele Nicolodi ] - * dh_installsystemduser: New helper responsible for installing package - maintainer supplied systemd user instance units and to produce - postinst and postrm maintainer scripts code blocks to appropriately - enable, mask and disable units when the package is installed, - upgraded, or removed. (Closes: #764678) - - [ Niels Thykier ] - * dh_installsystemd.1: Improve the documentation for --name to make - it more clear that it also changes the name of the source files in - the debian directory. Thanks to Emel Hasdal for reporting the - issue and reviewing the change. (Closes: #899983) - - -- Niels Thykier Sun, 28 Oct 2018 16:07:01 +0000 - -debhelper (11.4.1) unstable; urgency=medium - - [ Niels Thykier ] - * debhelper.pod: Quote the value of INSTALL in description of - compat level 11. Thanks to Josh Triplett for the suggestion - (Closes: #908906) - * d/changelog: Fix typos in old entries. - * dh_strip: Remove empty /usr/lib/debug directories left over - by dh_dwz. Thanks to Ferenc Wágner for reporting the issue. - (Closes: #909303) - * dh: Disable optimization to skip tools based on command-line - parameters when dh is passed long options. Since debhelper - had implicit support for auto-abbreviation of long options - and people have started to rely on it, the optimization in - debhelper/11.4 caused regressions. The optimization is - still enabled for short options. (Closes: #909704) - - [ Josh Triplett ] - * debhelper.pod: Document how to declare the debhelper compat - level via the "debhelper-compat (= X)"-method. - (Closes: #908909) - * debhelper.pod: Document that we do not provide debhelper-compat - for experimental/beta versions of compat levels. - (Closes: #908907) - * doc/PROGRAMMING: Fix typos. - - -- Niels Thykier Sun, 30 Sep 2018 15:49:38 +0000 - -debhelper (11.4) unstable; urgency=medium - - [ Niels Thykier ] - * dh_dwz.1: Remove now obsolete note in manpage claiming that dh_dwz - was experimental. Since debhelper/11.3, dh_dwz was no longer - experimental. - * cmake.pm: Explicitly set CMAKE_INSTALL_LIBDIR on native builds. - This should not make any practical difference but aligns the - behaviour of native and cross builds. Thanks to Simon McVittie - for the suggestion. (Closes: #903042) - * autoconf.pm: Leave --libexecdir at upstream default (/usr/libexec) - in compat 12 and later. (Closes: #859724) - * meson.pm: Ditto. - * dh: Support implicitly loading addons via "dh-sequence-${name}" - relations in Build-Depends (which would imply "dh ... --with ${name}"). - Only simple relations in Build-Depends are considered at the moment. - * debian/control: Provide dh-sequence-dwz, dh-sequence-installinitramfs, - and dh-sequence-systemd, which enables packages to use the new - feature to implicitly autoload dh addons via Build-Depends. - * dh_md5sums: Rewrite handling of conffiles and excludes to better - support an arbitrary number of files that should be omitted from the - md5sums file. Previously, dh_md5sums could fail with the error: - """... "/bin/sh": Argument list too long at ...""" - (Closes: #864182) - * dh_installinit.1: Correct documentation which was inaccurate in relation - to which compat levels where dh_installinit still supported systemd - items and upstart jobs. Thanks to Theodore Y. Ts'o for bring up the - issue. - * dh_installdeb: In compat 12, ignore the maintainer provided conffiles. - It has not been useful since compat 3. - * Dh_Lib.pm: isnative() now also resets $dh{VERSION} as a side-effect when - using the cache to answer the request. This is mostly useful because - it enables the following optimization. - * Dh_Lib.pm: Have isnative() special-case debian/changelog to avoid - reparsing that file over and over in the same helper. - * dh_gconf: Explicitly declare the --priority parameter with the intention - to remove it from the default debhelper options. - * dh_installemacsen: Ditto. - * dh_installgsettings: Ditto. - * dh_installudev: Ditto. - * dh_installwm: Ditto. - * Dh_Getopt.pm: Remove --priority from the list of options supported by all - debhelper tools. The only external consumer was dh_installtex from - tex-common, which was fixed in 6.10. - * dh_installinit: In compat 12, pass --skip-systemd-native to update-rc.d - to make it ignore systemd services. - * dh_installsystemd: In compat 12, avoid relying on dh_installinit's - shell snippets for starting services. (Closes: #887904, #887900) - * dh_installinit: Drop unnecessary "systemctl daemon-reload" in - auto-generated postrm script. The systemd package has a trigger for - handling sysvinit scripts and dh_installsystemd handles the requirement - for native systemd unit files. - * dh_clean: Explicitly declare the -k/--keep parameter with the intention - to remove it from the default debhelper options. - * dh_installchangelogs: Ditto. - * dh_strip: Ditto. - * Dh_Getopt.pm: Remove -k/--keep from the list of options supported by all - debhelper tools. The only external consumer was dh_gtkmodules which is now - deprecated and a "noop" command. No consumers of dh_gtkmodules appear to - pass -k/--keep to dh_gtkmodules any longer. - * dh: Rewrite command line optimization logic to enable support for a new - NOOP PROMISE for command line options. This will make dh able to skip - helpers in some cases even when passed options. (Closes: #866581) - * dh_*: Add a NOOP PROMISE for command options where applicable. - * dh: Remove old compatibility code from compat 10 that never worked. - * Dh_Getopt.pm: Fix a bug that would make "-S" be interpreted as "-s" when - "-S" was not given an argument. - * debian/control: Bump Standards-Versions to 4.2.1 - no changes required. - * debhelper.pod: Declare compat 12 in beta testing. - - [ Juhani Numminen ] - * dh_installsystemd.1: Fix typo in manpage. - * dh_installinit.1: Ditto. - - [ Fabian Wolff ] - * dh_installdocs.1: Fix typo. - * dh_link.1: Ditto. - - [ Nicholas Guriev ] - * cmake.pm, autoconf.pm: honor QUIET setting (closes: #907738). - * Dh_Lib.pm: use terse build option to set QUIET setting (closes: #907595). - - [ Clément Hermann ] - * debhelper.pod: Document dh_golang's DH_GOLANG_EXCLUDES behaviour change - for compat 12 (closes: #908656) - - -- Niels Thykier Fri, 14 Sep 2018 20:56:55 +0000 - -debhelper (11.3.5) unstable; urgency=medium - - * Dh_Lib.pm: Introduce a new glob_expand error handler to - better emulate the old style glob code to fail when a - non-glob entry in the config file is missing. - * dh_installdocs: Use the new glob_expand error handler to - restore the behaviour to that of debhelper/10.5.1 and older. - Thanks to Christoph Berg for reporting the issue. - (Closes: #902355) - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * Dh_Lib.pm: Fix a bug where ending debian/control on (what - debhelper believed was) a comment line could cause debhelper - to omit the last package listed in the file. Thanks to - Santiago Vila for reporting the bug. (Closes: #902748) - - -- Niels Thykier Sat, 30 Jun 2018 11:52:51 +0000 - -debhelper (11.3.4) unstable; urgency=medium - - * Dh_Lib.pm: Fix bug that made the parser assign the wrong - value from the Build-Profiles field. Thanks to Sven Joachim - for reporting the bug. (Closes: #902268) - * debhelper.pod: Rewrite the compat 11 change on "main doc - packages" in an attempt to clarify what is happening in - compat 11. Thanks to Paul Gevers for pointing out some of - the confusing aspects. - - -- Niels Thykier Sun, 24 Jun 2018 09:46:35 +0000 - -debhelper (11.3.3) unstable; urgency=medium - - [ Niels Thykier ] - * d/control: Remove versioned Breaks on qt5-qmake as it - prevents others from backporting qt5 packages to - stable-backports. The Breaks was added to assist - cross-building in buster and it has already served that - purpose by now. - * Dh_Lib.pm: Provide a more helpful diagnostic message when - an executable config file fails and it does not have a - #!-line (and is not an ELF binary). Thanks to Nadav - Ruskin for the suggestion. (Closes: #902214) - * debhelper.pod: Make a dedicated subsection about executable - debhelper config files to make them more prominent. Thanks - to Nadav Ruskin for the suggestion. (Closes: #901715) - * Dh_Lib.pm: Avoid forking a shell when running executable - debhelper config files. - * Dh_Lib.pm: Validate package names according the rules for - Debian packages. Thanks to Raphael Geissert and Tim - Düsterhus for the suggestion. (Closes: #567178) - * Dh_Lib.pm: Rewrite deb822 parser to validate d/control - more strictly. Particularly, debhelper no longer permits - the same field twice in a stanza. Thanks to Tim Düsterhus - for the suggestion. - * Dh_Lib.pm: Ensure that at most once definition of - (X-)Package-Type is used per stanza. - - [ Roberto C. Sánchez ] - * cmake.pm: Reorder arguments to cmake to make "-D FOO=BAR" - work. This form only works if it is before the directory - passed to cmake. - - [ Daniele Nicolodi ] - * dh_installsystemd: Improve man page. - * dh_installsystemd: Tighten error handling: fail immediately if an unit - name not installed by the package is specified on the command line. - * dh_installsystemd: Fix the undocumented '--no-also' command line - option to do not affect handling of the Alias= directives. - * dh_installsystemd: Add timer units to the list of units considered - when the '--name' option is specified. - - -- Niels Thykier Sat, 23 Jun 2018 18:30:08 +0000 - -debhelper (11.3.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. - - -- Adam Conrad Thu, 07 Jun 2018 18:25:31 -0600 - -debhelper (11.3.2) unstable; urgency=medium - - * dh_installchangelogs: Fix a second regression that made - dh_installchangelogs ignore upstream changelogs in the - source directories. Thanks to gregor herrmann for - reporting the incomplete fix. (Closes: #899248) - - -- Niels Thykier Wed, 23 May 2018 05:59:59 +0000 - -debhelper (11.3.1) unstable; urgency=medium - - * dh_installchangelogs: Fix logic error that made - dh_installchangelogs incorrectly ignore explicitly passed - changelogs. Thanks to Sven Joachim and Rene Engelhard - for reporting the bug. (Closes: #899248) - - -- Niels Thykier Mon, 21 May 2018 20:02:32 +0000 - -debhelper (11.3) unstable; urgency=medium - - [ Niels Thykier ] - * Buildsystem.pm: Fix use of undefined variable in certain - error conditions. - * dh_makeshlibs: Support -VUpstream-Version and -VNone as - alternative to passing -V or omitting -V respectively. - * dh_makeshlibs: Make -VUpstream-Version the default in - compat 12 when -V is omitted. (Closes: #896464) - * dh_makeshlibs: Correct handling of an explicit -V when - a source builds multiple library packages and provides - explicit shlibs files for a subset of them. Previously, - the -V option could have been ignored for some of the - packages containing libraries. - * Dh_Lib.pm: Fall back to a regular mv(1) when rename fails - with EXDEV (cross mount point moves). This restores - debhelper's ability to move files between mount points, - which can happen in dh_builddeb has to correct the - extension of a binary package built by dpkg-deb. - Thanks to Evan Krall for the report. (Closes: #897569) - * dh_missing.1: Consistently mention that dh_missing - defaults to --list-missing in compat 12. Thanks to - Robie Basak for spotting the contradicting documentation. - (Closes: #898161) - * dh_compress: Avoid adding a duplicate ".gz" extension on - a symlink if it already has it. This can happen e.g. with - dh_installman recompresses a manpage that was compressed and - had a valid symlink to it. Thanks to Andreas Hasenack for - reporting the bug. (Closes: LP: #1765851) - * debian/control: Depend on dwz for dh_dwz. - * dh_dwz: Generate a per-package multifile by default. This - feature can be disabled by --no-dwz-multifile. - * dh: Run dh_dwz by default in compat 12. - * dh_dwz: Remove warning about the dwz feature being experimental. - * dwz.pm: Ditto. - * dh_installsystemd: Use the basename of the "tmpfiles" config - files. This makes "systemd-tmpfiles --create" search for it - in both /usr/lib/tmpfiles.d and in /etc/tmpfiles.d. With - this change the system administrator can now override the - "tmpfiles" config shipped by the package in - /usr/libtmpfiles.d. Thanks to Nick Groenen and Seyeong Kim - for filing the bug. (Closes: #894510) - * dh_installinit: Ditto. - * dh_installchangelogs: Look for changelog files installed by the - upstream build system in the package build dir (i.e. d// - and *not* debian/tmp!) and use them in preference to the one in the - source package where available. This avoids some cases of duplicated - upstream changelogs. Thanks to Evgeni Golov for the suggestion. - (Closes: #513521) - * dh_md5sums: Stop deleting empty md5sums files as dpkg (now) creates - the empty file on install if absent. Thanks to Rhonda D'Vine for - suggesting the improvement. (Closes: #776853) - * Dh_Lib.pm: Re-organise exports. - * Dh_Lib.pm: Retract "print_and_complex_doit"; the only potential - consumer went with a different code snippet. - * dh_installinitramfs: New tool to install initramfs hook scripts and - handle related maintscripts. Thanks to Evgeni Golov for the - suggestion. (Closes: #491027) - * installinitramfs.pm: New sequence to enable dh_installinitramfs in - compat 11 and earlier. - * dh_installdirs: Add --(no-)create-in-sourcedir option to make - dh_installdirs create directories in the source directory in addition - in the package build directory. Furthermore, dh_installdirs now - accepts --sourcedir to overrule the default source directory (just - like e.g. dh_install). Thanks to Robert Luberda for the suggestion. - (Closes: #816332) - * Buildsystem.pm: Move code from Dh_Buildsystems.pm to Buildsystem.pm - to make the latter independent of the former. This makes it possible - to load Buildsystem.pm without debian/control being present. Thanks - to Andreas Tille for the bug report. (Closes: #897026) - * dh_installinit.1: Fix some incorrect markup in the documentation of - --no-enable. - * makefile.pm: Revert the use of -O/-Oline for make, which helps - debugging what commands time out on the buildds. Thanks to - Adrian Bunk for the report. (Closes: #895196) - * dh_testroot.1: Update R³ documentation to reflect the current - implementation and not the initial draft. Thanks to Jens Reyer - for reporting the inconsistency. (Closes: #899125) - * d/changelog: Retroactively add Closes for LP bug #1766102 in 11.2 - release. - * Dh_Lib.pm: Correct control parser to permit zero or more leading - space after the "Section" field (instead of "exactly one" space). - * python_distutils.pm: Deprecate the python-distutils build system - and mark it as removed in compat 12. Users are recommended to - migrate to the third-party build system called "pybuild". This - deprecation implies that python3 (among other) will not be - supported in the python-distutils build system. - (Closes: #568033, #597105, #597342, #769840, #813686, #898347) - * Dh_Lib.pm: Remove warning for using "debhelper-compat" - build-dependency. - - [ Dmitry Shachnev ] - * qmake.pm: Use ${DEB_HOST_GNU_TYPE}-qmake wrapper for - cross-compilation. (Closes: #895286) - - [ Helmut Grohne ] - * cmake: Pass CC/CXX environment variables down during native - compilation as well. (Closes: #897083) - - [ Chris Lamb ] - * dh_listpackages.1: Document that packages are listed in the - order that they appear in debian/control. - (Closes: #897949) - - [ Peter Pentchev ] - * Dh_Lib.pm: Permit leading and trailing whitespace around the - debhelper-compat dependency when it is the first or the last - relation listed. (Closes: #897937) - - [ Jakub Wilk ] - * dh_usrlocal: Fix invalid POD markup. - - -- Niels Thykier Sun, 20 May 2018 20:35:00 +0000 - -debhelper (11.2.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. - - -- Adam Conrad Wed, 02 May 2018 06:53:25 -0600 - -debhelper (11.2.1) unstable; urgency=medium - - * Buildsystem.pm: Correctly pass build directory values to - target buildsystems. Thanks to Helmut Grohne, Adrian Bunk - and Tobias Frost for the reports and debugging. - (Closes: #895174, #895181) - * Buildsystems: Avoid choosing a build system for the clean - step if it is not necessary. Previously, debhelper could - choose a "random" build system that would prefer building - in a separate build directory on the basis that the build - directory should be removed. With this, change we only - choose such a build system if there is a build directory - to remove. - - -- Niels Thykier Sun, 08 Apr 2018 08:47:35 +0000 - -debhelper (11.2) unstable; urgency=medium - - [ Niels Thykier ] - * debhelper.7: Add a ~ to the suggested Build-Depends to ensure - backports also work for debhelper with single integer versions. - Thanks to Trent W. Buck for the suggestion. (Closes: #894666) - * makefile.pm: Use -Oline with make. This avoids make mistaking - a target name for a value for -O and should make build time - outs less likely for "long" targets. (Closes: #894573) - * Dh_Lib.pm: Fix bug that make debhelper trip on packages with - the version "0". Thanks to Chris Lamb for reporting the bug - plus debugging the issue. (Closes: #894895, LP: #1766102) - * Buildsystem.pm: Rewrite to support build systems that generate - build files for another build system (without using - inheritance). This enables generator build systems to have - multiple backends. - * cmake.pm: Support ninja as alternative backend (by using the - build system cmake+ninja). Thanks to Kyle Edwards for the - suggestion. (Closes: #895044) - * meson.pm: Rewrite as a generator build system with ninja as - the only backend. - * debhelper.7: Recommend packagers to use "debian/." - over "debian/" in most cases. Thanks to Johannes - Schauer for the suggestion. - * dh_usrlocal: Implement a simple guard for directories that - will likely cause issues in the shell snippets. - * dh_usrlocal: Use the new rules from Debian Policy 4.1.4 to - determine the default ownership and mode for directories. - * d/control: Bump Standards-Versions to 4.1.4. Beyond the - dh_usrlocal change listed above, no changes were required. - - [ Nicolas Boulenguez ] - * dh_installxfonts: Fix typo that causes a misc:Depends on - non-existing xfont-utils. (Closes: #894835) - * dh_installwm.1: Document --all. (Closes: #895011) - * dh_usrlocal: Fix bug where the generated prerm script generated - by dh_usrlocal could remove a directory directly in /usr/local. - (Closes: #894549) - - [ Mattia Rizzolo ] - * Lower the version restrictions on dpkg and dpkg-dev. They are not - needed anymore, as R³ support is not implied anymore, but requires - an environment variable to be passed. - - -- Niels Thykier Sat, 07 Apr 2018 19:23:32 +0000 - -debhelper (11.1.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. - - -- Adam Conrad Fri, 30 Mar 2018 02:01:04 -0600 - -debhelper (11.1.6) unstable; urgency=medium - - * Dh_Lib.pm: Avoid passing invalid parameters to a function, which - caused tons of "package ARRAY(...) is not in control info" - warnings from dh in some cases. It triggers when dh thinks - the package might have architecture qualified debhelper config - files. The warning is harmless (besides the noise) for all - native builds and most cross builds, but it did invalidate - attempt to make pkgfile() use "DEB_TARGET_ARCH{,_OS}" - (see 11.1.5~alpha1). Thanks to Andreas Beckmann for reporting - the issue. (Closes: #891546) - * dh: Refactor handling of sequences to simplify some code paths. - * autopkgtests: Remove "use-name" tests as it no longer works. - The debhelper module makes assumptions in which directory it is - run from and the test breaks these assumptions. - * debian/control: Comment out versioned dependency on make. - It is not strictly necessary for Debian and causes issues with - make-guile. On the other hand, it is useful for people - backporting debhelper on derivatives and hench leaving it as a - comment. (Closes: #892586) - * debian/control: Bump dependency on dh-autoreconf for the fix for - #889567. - * dh_installinfo: Accept --sourcedir like the documentation says - for compat 11. Previously the option was incorrectly silently - ignored. Thanks to Nicolas Boulenguez for the report and the - patch. (Closes: #894226) - * dh_ucf.1: Apply patch from Nicolas Boulenguez to add missing - documentation of the "--all" and non-option parameters. - (Closes: #894228) - * dh_installxfonts: Apply patch from Nicolas Boulenguez. This - ensures that the generated maintscript snippets are bit-for-bit - reproducible when a package ships xfonts in multiple fonts - directories. (Closes: #894227) - * Dh_Lib.pm: Improve the "make_symlink" code to avoid non-compliant - symlinks when the link name was not a normalized path. Note - that ".."-segments are now disallowed in the link name (but not - the link target). Thanks to Nicolas Boulenguez for reporting - the bug plus the test cases. (Closes: #894229) - * dh_installinfo: Report installed files to dh_missing. Thanks - to Daniel Kahn Gillmor for reporting this omission. - (Closes: #893160) - * Dh_Lib.pm: Make Dh_Lib loadable again without a debian/control being - present. This makes the autopkgtests work again. - - -- Niels Thykier Thu, 29 Mar 2018 19:26:59 +0000 - -debhelper (11.1.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. - - -- Steve Langasek Tue, 27 Mar 2018 20:54:09 -0700 - -debhelper (11.1.5) unstable; urgency=medium - - * Upload to unstable. - * Add a warning for using the new experimental feature for - requesting the compat level via the Build-Depends field. - - -- Niels Thykier Sun, 25 Feb 2018 10:05:22 +0000 - -debhelper (11.1.5~alpha1) experimental; urgency=medium - - * dh_installdocs: Add missing documentation about --sourcedir - in compat 11. - * dh_installdocs: Document that d/tmp is used by default - in compat 11. - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * meson.pm: Apply patch from Jakub Wilk to fix typo in the name - of the "C.UTF-8" locale. - * autoscripts/postinst-systemd-restart: Apply patch from - Christoph Biedl to fix indentation. (Closes: #890373) - * dh_testroot: With the advent of DEB_RULES_REQUIRES_ROOT, it - no longer needs to read debian/control to tell whether root - is needed or not. However, the warning remains for calling - dh_testroot outside the source root (as we may need to check - the compat level in a future version of debhelper). - * makefile.pm: Synchronize output from make (via -O) when - make runs in parallel except when STDOUT is a TTY. Thanks - to Goswin von Brederlow for the suggestion. (Closes: #768791) - * dh_gencontrol: Avoid uninitialized value warning when there - are no build-ids (e.g. because the builder disabled the - dbgsym building via DEB_BUILD_OPTIONS). This regression - was introduced in 11.1. Thanks to Christian Marillat for - reporting the bug. (Closes: #890736) - * Dh_Lib.pm: pkgfile() now properly uses for DEB_TARGET_ARCH{,_OS} - when the package is set to be built for the target - architecture. - * d/control: Drop dependency on binutils; it does not reflect - our actual requirement and the package or builder will ensure - that the current binutils is installed for other reasons - any way. Thanks to Helmut Grohne for the report. - (Closes: #891187) - * Dh_Lib.pm: Add an experimental feature to determine the requested - compat level from the Build-Depends field. - - -- Niels Thykier Sat, 24 Feb 2018 16:01:31 +0000 - -debhelper (11.1.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. - - -- Adam Conrad Fri, 02 Feb 2018 22:14:23 -0700 - -debhelper (11.1.4) unstable; urgency=medium - - * qmake.pm,qmake_qt4.pm: Avoid global state in the build systems. - * dh_makeshlibs: Fix --no-act, which could still cause writes - to the shlibs file. Thanks to Sven Joachim for reporting it. - (Closes: #888974) - * dh_installdocs: Discard auto-detected main doc package when - passed -A/--all as it causes file-conflicts. - (Closes: #886108, #888294) - * Dh_Lib.pm: Fix regression where "foo{bar}" would not be matched - when the pattern was handled as a glob. The bug was - introduced in debhelper/10.6. Thanks to Wouter Verhelst for - finding the bug. (Closes: #888251) - * d/control: Update the Vcs-* fields to point to - salsa.debian.org as a part of the migration from alioth. - * d/control: Update maintainer address debhelper@packages.d.o - as a part of the migration from alioth. Any subscription - to debhelper-devel@lists.alioth.debian.org should be - replaced by a subscription in tracker.debian.org or - salsa.debian.org. - * d/control: Remove Bernhard R. Link from uploaders as he does - not appear to be active in debhelper at the moment. Thanks - to Bernhard for his past contributions. - * d/control: Bump (Build-)Dependency on dpkg to ensure that - dpkg provides DEB_RULES_REQUIRES_ROOT and DEB_GAIN_ROOT_CMD - as a part of its Rules-Requires-Root support. - * Dh_Lib.pm: Rely on DEB_RULES_REQUIRES_ROOT instead of the - field to determine whether or not tools may "root-only" - actions (such as chown'ing). - * d/control: Bump dependency on dh-autoreconf to ensure that - packages do not experience #887482. - * makefile.pm: Ensure that command line arguments are passed - deterministically to make when cross-compiling. - - -- Niels Thykier Wed, 31 Jan 2018 21:36:13 +0000 - -debhelper (11.1.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. - - -- Adam Conrad Mon, 22 Jan 2018 11:19:26 -0700 - -debhelper (11.1.3) unstable; urgency=medium - - * autoscripts/*: Improve rollback handling of many scripts. - Notably a lot of scripts failed to rerun the postinst parts - on an "abort-upgrade". (Closes: #446856) - * debian/control: Add a Breaks on meson to ensure that we have - meson (>= 0.40.0) as the meson build system uses --wrap-mode. - This is mostly relevant for backports. - * Dh_Lib.pm: When printing commands (e.g. for doit), also show - changes to the environment (when done as a part of the - command). - * ninja.pm: Set LC_ALL=C.UTF-8 when calling ninja to avoid - meson choking on UTF-8 characters when it embeds itself into - e.g. the build or install. (Closes: #873831) - * dh: Remove the assumption that sequences will supply only - "safe no-op" parameters to commands. Thanks to Axel Beckert - and Sascha Steinbiss for the report. (Closes: #887727) - - -- Niels Thykier Sat, 20 Jan 2018 18:26:06 +0000 - -debhelper (11.1.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. - - -- Adam Conrad Tue, 16 Jan 2018 11:52:11 -0700 - -debhelper (11.1.2) unstable; urgency=medium - - * dh: Fix non-sense error about a missing "startpoint object - method". - - -- Niels Thykier Sun, 07 Jan 2018 21:31:40 +0000 - -debhelper (11.1.1) unstable; urgency=medium - - * dh: Fix an off-by-one in a compat check. This fixes an - internal error for compat 9 packages that requires dh to - recurse into the debian/rules file. Thanks to Helmut - Grohne for reporting the bug. (Closes: #886518) - - -- Niels Thykier Sun, 07 Jan 2018 09:48:17 +0000 - -debhelper (11.1) unstable; urgency=medium - - [ Paul Tagliamonte ] - * dh: Provide the DH_EXTRA_ADDONS environment as a method for - e.g. derivatives to enable additional debhelper add-ons. - It is *not* a replacement for the --with parameter (which - package maintainers should still use). (Closes: #570935) - - [ Hideki Yamane ] - * Fix typo of unnecessary. (Closes: #884574) - - [ Niels Thykier ] - * dh_missing: Support wildcards in debian/not-installed. Thanks - to Maximiliano Curia for the suggestion. (Closes: #884556) - * dh_missing: Tweak handling of missing source directory and - single binary packages. - * dh_missing: Make --list-missing the default in compat 12. - Thanks to Daniel Leidert and Christian Göttsche for the - suggestions. (Closes: #650129, #858834) - * meson.pm: Set LC_ALL to C.UTF-8 when invoking meson and - debcrossgen (helper tool for cross-building). Thanks to - Jeremy Bicha for the suggestion. (Closes: #873831) - * dh_makeshlibs: Avoid forking a shell per line in the - generated shlibs file. - * dh_makeshlibs: Find all libraries with an unversioned SONAME - field (and not just the unversioned ones containing ".so"). - * dh_makeshlibs: In compat 12, stop passing ELF binaries without - a SONAME to dpkg-gensymbols. Thanks to Steve Langasek for the - report. (Closes: #653640) - * dh_compress: In compat 12, stop compressing any thing in - /usr/share/doc/$pkg/examples. Thanks to Piotr Ożarowski for - the suggestion. (Closes: #593382) - * dh_installinit: Support a new --no-enable parameter to setup the - init script with the "defaults-disabled" and add the proper - versioned dependency on "init-system-helpers (>= 1.51)", which is - the first (functional) version with support for - "defaults-disabled". Thanks to Laurent Bigonville for the - report and Evgeni Golov for filing #857452. (Closes: #709384) - * Dh_Lib.pm: Make "exit 1" the default error-handler instead of - "exit $?" as this makes it easier to migrate from sed-based - autoscript substitutions to the new hash-based ones. - * autoscripts/*systemd*: Also use "|| true" in removal scripts for - systemd related tools if we do it in other scripts for the same - command. Thanks to Laurent Bigonville for the report. - (Closes: #761272) - * dh_installinit: Perform the autoscript substitutions without - needing a shell. - * dh_clean: Skip cleaning in the '.pc' and '_darcs' directories. - (Closes: #566861) - * dh_strip: Do not strip debug symbols in ".../debug/.build-id/". - Thanks to Mattia Rizzolo for reporting the bug. - (Closes: #886037) - * dh_gencontrol: Deduplicate debug-ids before inserting them into - the control file. Thanks to Mattia Rizzolo for reporting the - bug. (Closes: #886038) - * dh: Rewrite sequence handling to ensure that dh does not "inline" - a subtarget of a target it recurses into. Thanks to James - Cowgill for reporting the bug. (Closes: #880840) - * d/control: Add a Breaks against cmake (<< 3.8~) to ensure that - cmake response to the /run change in compat 11. Thanks to - Adrian Bunk for the suggestion. (Closes: #886127) - * Dh_Lib.pm/dh_testroot: Support the DEB_GAIN_ROOT_CMD environment - that replaces DPKG_GAIN_ROOT_CMD. - * dh_installinit/dh_installsystemd: Re-order snippets so service - handling is always the first to happen in removal scripts and last - to happen on install scripts. This means that configuration file - management and systemd-tmpfiles handling will now always happen - before the service is started on install/upgrade. Thanks to - Дилян Палаузов and Simon McVittie for reporting the bug. - (Closes: #814285, #885998) - - Note that the deprecated dh_systemd_enable and dh_systemd_start - helpers have not been changed. Services handled by these may - still be started before configuration management happens. - * debian/control: Drop some very old versioned constraints that are - no longer important. - * dh_installsystemd: Fix NOOP PROMISE to account for the tmpfiles.d - files. - * debian/control: Bump Standards-Versions to 4.1.3 - no additional - changes required. - - [ Translations ] - * Update French translation (Baptiste Jammet) (Closes: #886279) - - -- Niels Thykier Sat, 06 Jan 2018 21:17:47 +0000 - -debhelper (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. - - -- Matthias Klose Sun, 17 Dec 2017 16:46:01 +0100 - -debhelper (11) unstable; urgency=medium - - [ Niels Thykier ] - * dh_installdeb: Do basic validation of rm_conffile and mv_conffile - parameters in "maintscript" parameters in compat 10 and newer. - In compat 12, this is an error. Thanks to Andreas Beckmann for - the suggestions. (Closes: #882626) - * dh_strip: Fix bug where the Build-Id field would not be properly - filled when using --dbg-package. Thanks to Paul Wise for finding - and reporting the bug. (Closes: #884152) - * d/control: Bump Standards-Version to 4.1.2 - no changes required. - * dh_installsystemd: Remove neutering of dh_installsystemd in compat - levels prior to 11 now that compat 11 is stable. - - [ Chris Leick ] - * debhelper.pod: Improve the wording of two paragraphs. - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) - (Closes: #883635) - * Update German translation (Chris Leick) (Closes: #884205) - - -- Niels Thykier Sat, 16 Dec 2017 15:41:17 +0000 - -debhelper (10.10.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. - - -- Adam Conrad Tue, 21 Nov 2017 14:26:40 -0700 - -debhelper (10.10.9) unstable; urgency=medium - - [ Dmitry Shachnev ] - * qmake.pm: Add missing import of generated_file. - * meson.pm: Find typo of meson in the name of the cross config - file. - * qmake.pm: Push compiler information as ‘early’ flags to qmake, to - make sure qmake calls the right compiler to get library paths. - * qmake.pm: Add all possible settings to generated qmake-cross.conf. - Now output of ‘qmake -query’ with and without using this file is - identical. This makes cross-building Qt’s own modules possible. - - [ Niels Thykier ] - * dh_missing: Permit a missing debian/tmp without failing in - compat 11 when debian/tmp is an implicit source directory. - Thanks to Christoph Biedl for reporting the bug. - (Closes: #882083) - * dh_missing: Improve the wording about "debian/not-installed". - - -- Niels Thykier Sun, 19 Nov 2017 11:04:45 +0000 - -debhelper (10.10.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. - - -- Gianfranco Costamagna Thu, 16 Nov 2017 11:36:13 +0100 - -debhelper (10.10.8) unstable; urgency=medium - - [ Niels Thykier ] - * Document that compat 11 is now in its open beta phase. - * Dh_Getopt.pm: Improve warning message when a package is excluded - due to profiles or architecture restrictions. - * dh_install: Properly allow patterns to be excluded without - complaining about missing files. (Closes: #881658) - * qmake.pm: Ensure that the qmake cross-build config file - survives until clean. - - [ Dmitry Shachnev ] - * qmake.pm: Set QMAKE_LINK correctly for cross-builds. - - -- Niels Thykier Wed, 15 Nov 2017 19:46:00 +0000 - -debhelper (10.10.7ubuntu2) bionic; urgency=medium - - * Revert e5fce9b0a40357f9ed54426f2e04495b1442e8f1, - breaking libguestfs dh_install usr/lib/*-*/ regex - - -- Gianfranco Costamagna Mon, 13 Nov 2017 22:53:16 +0100 - -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. - - -- Gianfranco Costamagna Sun, 12 Nov 2017 19:40:53 +0100 - -debhelper (10.10.7) unstable; urgency=medium - - * dh_strip: Fix a regression that caused debug symbols for - executables to be discarded instead of included into - debug packages. - * Dh_Lib.pm: Ensure that $dh{U_PARAMS} is always defined as a - list. Thanks to Adrian Bunk for the bug report. - - -- Niels Thykier Sat, 11 Nov 2017 14:10:21 +0000 - -debhelper (10.10.6) unstable; urgency=medium - - [ Axel Beckert ] - * Cleanup trailing whitespace in ancient debian/changelog entries and - debian/rules. - * Fix typo "belive" in debian/copyright and ancient debian/changelog - entries. - * Use HTTPS in debian/copyright format URL. - - [ Niels Thykier ] - * Remove support for named compat levels. - * dh_perl: Make dh_perl faster on packages with large doc - directories by pruning the entire doc directory. - * dh,dh_auto_*: Support skipping all of the dh_auto_* helpers if the - package does not seem to have a build system (and there are no build - system related options passed to dh). - * Dh_Lib.pm: Define a (hardcoded) extension for dbgsym packages. - * dh_gencontrol: Pass -DPackage-Type to dpkg-gencontrol when the - package type for dbgsym is different than for regular deb packages. - * dh_builddeb: Automatically handle renaming of dbgsym packages when - the extension of the dbgsym packages are different than for regular - deb packages. - * dh_installsystemd,dh_systemd_start: Use "restart" instead of the - "try-restart" action. This ensures that newly added services are - started the first time they are installed. (Closes: #879727, - LP: #1707880) - * dh_install: Fix regression where it was no longer possible to - exclude an entire pattern / source file. Thanks to James Cowgill - for the report. (Closes: #814856, LP: #1554979) - * dh_installsystemd: Permit missing explicitly requested file in - package as long as another on being acted on ships it. - * dh_installsystemd: Optimize the search for files installed in the - tmpfiles.d directories to only look in the tmpfiles.d directories. - * Add experimental support for building some packages for "TARGET" - rather than "HOST" via the X-DH-Build-For-Type field. The field - is subject to removal and changes without notice. The field is - not considered by dpkg tooling and therefore you will still have - to manually work around tools like dpkg-gencontrol (even when - called via dh_gencontrol). - * dh_makeshlibs: Ignore non-ELF files even if they are named ".so". - (Closes: #880480) - * Dh_Lib.pm: Improve the performance of isnative by using - Dpkg::Changelog::Parse instead of calling dpkg-parsechangelog as - an external process. This improves the performance of - dh_installchangelogs by ~10%. - - [ Felipe Sateler ] - * dh_installsystemd: Fix a bug where dh_installsystemd would generate - invalid maintscript, when there were no units to start or enable. - Thanks to Ben Hutchings and Bastian Blank for the bug report. - (Closes: #881190) - - -- Niels Thykier Sat, 11 Nov 2017 11:18:11 +0000 - -debhelper (10.10.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. - - -- Gianfranco Costamagna Fri, 27 Oct 2017 08:01:25 +0200 - -debhelper (10.10.5) unstable; urgency=medium - - * meson.pm: Add missing import of generated_file that broke - cross building. - * Dh_Lib.pm: Fix regression where an empty line before the source - paragraph in d/control would cause parse error. - (Closes: #879762) - - -- Niels Thykier Thu, 26 Oct 2017 19:10:51 +0000 - -debhelper (10.10.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. - - -- Adam Conrad Wed, 25 Oct 2017 18:39:43 -0600 - -debhelper (10.10.4) unstable; urgency=medium - - * meson.pm: Keep the meson cross file until dh_clean is - called as otherwise ninja tries and fails to regenerate the - build rules. Thanks to Helmut Grohne for reporting the - bug. (Closes: #879658) - * dh_dwz: Add new experimental tool to run dwz(1) to deduplicate - ELF debugging symbols. It should be generally be run before - dh_strip (as dh_strip compresses the debug symbols and dwz - expects uncompressed debug symbols). (Closes: #878888) - * dwz.pm: New sequence to add dh_dwz to the sequence. - * d/control: Add a Suggests on dwz for the optional dh_dwz tool. - * Dh_Lib.pm: Fix regression where the source section would not - be parsed leading to dbgsym packages possibly getting an - incorrect value in the Section field. Thanks to Mihai - Moldovan for reporting the issue. (Closes: #879667) - - -- Niels Thykier Wed, 25 Oct 2017 06:00:13 +0000 - -debhelper (10.10.3) unstable; urgency=medium - - * dh_strip: Skip the entire directory when an exclude rule - parameter matches it. - * dh_fixperms: Improve the documentation to assume less familiarity - with "Rules-Requires-Root" (R³). - * dh_usrlocal: Ditto. - * dh_builddeb: Ditto. - * dh_usrlocal: Correct the group name when creating directories - owned by "root:staff". Thanks to Paul Gevers for reporting - the bug. (Closes: #879643) - * dh_usrlocal: Fix inverted boolean logic that made dh_usrlocal - ignore ownership of directories when it should have preserved - them. - - -- Niels Thykier Mon, 23 Oct 2017 21:24:08 +0000 - -debhelper (10.10.2) unstable; urgency=medium - - * Dh_Lib.pm: Fix uninitialized warning in find_hardlinks that - broke dh_compress's ability to deal with hardlinks. Thanks - to Ondřej Surý for finding the bug. - - -- Niels Thykier Sun, 22 Oct 2017 21:21:58 +0000 - -debhelper (10.10.1) unstable; urgency=medium - - * debhelper.pod: Document that all tools by default must be run - in the root of an unpacked source. - * dh: Clarify that --list can be run anywhere. - * dh_testroot: Temporarily cope with being run outside a source - root. (Closes: #879478) - * dh_testroot: Update manpage to mention its new scope. - * d/control: Bump (build-)dependency on dpkg to 1.19.0.3~. That - was technically necessary already in the previous upload. - - -- Niels Thykier Sun, 22 Oct 2017 09:00:12 +0000 - -debhelper (10.10) unstable; urgency=medium - - * dh_installsystemd: Improve error messages to include the actual - error caused by attempted to open the file. - * dh_systemd_enable: Ditto. - * dh_systemd_start: Ditto. - * dh_installinit: In compat 12, error out if an upstart init file - is provided with a reminder message about how to remove the - obsolete conffile. (Closes: #876453) - * dh_systemd_enable: Permit missing explicitly requested file in - package as long as another on being acted on ships it. - (Closes: #878911) - * dh_systemd_start: Ditto. - * Dh_Lib.pm: Add support for R³ (Rules-Requires-Root field) to - enable package builds without requiring root (or only - selectively require root). - * dh_fixperms: Skip "chown" calls when R³ is set to anything but - "binary-targets". - * dh_installchangelogs: Ditto. - * dh_installdocs: Ditto. - * dh_testroot: Update check for root to support R³. - * makefile.pm: Call "make install" with DPKG_GAIN_ROOT_CMD when - R³ contains the "debhelper/upstream-make-install" keyword. - * dh_builddeb: Pass --root-owner-group to dpkg-deb in packages - with R³ (except for "binary-targets"). - * dh_usrlocal: When R³ is enabled (and not "binary-targets"), - ignore the ownership/mode information on the directories. - Instead, the ownership "root:staff" and the mode 02775 is used. - * d/control: Bump (Build-)Dependency on dpkg-dev to support to - support R³. - * d/control: Set R³ to "no". - - -- Niels Thykier Sat, 21 Oct 2017 17:59:46 +0000 - -debhelper (10.9.2) unstable; urgency=medium - - [ Niels Thykier ] - * dh_install: Defer the removal of --list-missing and - --fail-missing until compat 12. - * dh: Run the new dh_installsystemd helper by default in compat 11. - * systemd.pm: Remove the sequence in compat 11. It has been replaced - by the new dh_installsystemd helper. - - [ Lisandro Damián Nicanor Pérez Meyer ] - * qmake.pm: Remove unnecessary "-nocache" parameter. - (Closes: #878427, LP: #1206234) - - [ Ville Skyttä ] - * Fix a number of spelling mistakes. (Closes: #878325) - - [ Felipe Sateler ] - * dh_installsystemd: New command (currently noop except when used in - the experimental compat 11). This new helper: - - Generates postinst code for tmpfiles (now that dh_installinit - does not). - - Follows the naming convention for other built-in dh_* commands. - - Replaces dh_systemd_enable and dh_systemd_start in compat 11 - and later. - - Only acts on units with the name specified by "--name" when this - option is given. - (Closes: #752521, #857306, #870768, #876486) - * dh_systemd_enable: Remove as obsolete in compat 11. - * dh_systemd_start: Ditto. - - [ Helmut Grohne ] - * cmake.pm: Also supply PKGCONFIG_EXECUTABLE for obsolete - UsePkgConfig.cmake. (Closes: #878460) - - -- Niels Thykier Sat, 14 Oct 2017 07:19:38 +0000 - -debhelper (10.9.1) unstable; urgency=medium - - [ Niels Thykier ] - * dh_builddeb: Add some missing error checks. - * Dh_Lib.pm: Fix bug where debhelper could discard some error - messages during parsing when -O options were passed via - DH_OPTIONS (among other). Thanks to Adrian Bunk and - Andrew Shadura for reporting the issue. (Closes: #876689) - * Dh_Getopt.pm: Gracefully reduce the tool to a no-op when given - a -p and is disabled by a Build-Profile. - * debhelper.7: Document how package selections interact with - Build-Profiles. Thanks to Helmut Grohne for the report. - (Closes: #872745) - * dh_installdocs: Validate that the package passed to - --doc-main-package are listed in debian/control. - * dh_installexamples: Ditto. - * dh_systemd_start: Regex escape two paths used in a regex. - * Dh_Lib.pm: Open compat 12. - * dh_clean: Defer making -k an error until compat 12. - * Dh_Getopt.pm: Defer making -s an error until compat 12. - * dh_installinit: Defer making --no-restart-on-upgrade an error - until compat 12. - * Dh_Lib.pm: Defer making the "shell-spawning bug" in doit an error - until compat 12. - * dh_systemd_enable: Fix regression in debhelper/10.9 where - template units would be installed as regular units (and - possibly replace regular units). (Closes: #877989) - * dh_systemd_enable: Drop versioned dependency on - init-system-helpers that is satisfied in oldstable. - * Dh_Lib.pm: Fix regression where --no-act would actually create - maintscript snippets. - * dh_systemd_*: If an unit file cannot be read (e.g. to check for - the [Install] section), error out instead of emitting a warning - and continuing. - * t: Add tests for dh_systemd_* based on WIP tests from Felipe - Sateler related to a new dh_installsystemd helper. - * dh_systemd_enable: Properly quote unit names to preserve - escaped names like "\x2d". Thanks to Bernd Zeimetz for - reporting the issue. (Closes: #764730) - * dh_systemd_start: Ditto. - * meson.pm: Add prototype support for cross building by relying - on /usr/share/meson/debcrossgen. Note that this is currently - not functional due to #875703. - * debian/control: Bump Standards-Versions to 4.1.1 - No changes - required. - - [ Dmitry Shachnev ] - * qmake.pm: Add basic cross-building support. (Closes: #877357) - - -- Niels Thykier Tue, 10 Oct 2017 19:01:00 +0000 - -debhelper (10.9) unstable; urgency=medium - - [ Niels Thykier ] - * debhelper.pod: Fix typo. - * dh_fixperms: Reset permissions of .scss and .sass files to - 0644. Thanks to Jonas Smedegaard for the suggestion. - (Closes: #875586) - * dh_shlibdeps: Disable unused file(1) tests. - * dh_strip: In compat 11, rely on file headers/magic to - determine whether files are ELF binaries worth processing - instead of using filenames/extensions. (Closes: #35733) - * dh_shlibdeps: Ditto. - * d/control: Bump Standards-Versions to 4.1.0: - - Bump priority of dh-systemd to "optional". - * dh_makeshlibs: Avoid gratuitous warning about a non-existing - directory, when the packaging directory does not exist. - (Closes: #626685) - * dh_gencontrol: Ensure that dbgsym packages do not inherit the - "Important" field. - * dh_installinfo: Merge two chmod calls into one to save a - fork+exec. - * dh_builddeb: Use -z6 compression for udebs (up from -z1). - Thanks to Adrian Bunk for the suggestion and Aurelien Jarno - for confirming it would be fine for d-i. (Closes: #870201) - * dh_fixperms: Set the permissions of /usr/lib/nodejs/*/{cli,bin}.js - to 0755. Thanks to Pirate Praveen for the report. - (Closes: #840913) - * Dh_lib.pm: Expand *_doit and doit to also support a chdir in the - child process. - * Dh_Getopt.pm: Validate package names passed via -p and -N to ensure - they are present in d/control. Thanks to Matthias Klose for the - report. (Closes: #795432) - * debhelper.7: Fix typo of compatibility. - - [ Felipe Sateler ] - * dh_systemd_enable: Refactor and add support for timer units. - (Closes: #841746) - - -- Niels Thykier Tue, 19 Sep 2017 18:49:57 +0000 - -debhelper (10.8) unstable; urgency=medium - - [ Niels Thykier ] - * Dh_Lib.pm: Introduce a qx_cmd sub to behave like a mix of qx - and doit (i.e. avoid the shell while capturing stdout). - * dh_makeshlibs: Avoid forking a shell when calling objdump in - compat 11. - * dh_shlibdeps: Avoid forking a shell when calling file. - * dh_shlibdeps: Avoid passing files with "newline" to - subprocesses. - * dh_installdocs: Ignore missing files in compat 11 for packages - that are not processed (e.g. arch:all packages during a -B build). - Thanks to Jens Reyer for reporting the issue. (Closes: #870892) - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_compress: Avoid forking a shell for a find command. - * dh_gconf: Ditto. - * dh_installgsettings: Ditto. - * dh_perl: Avoid forking a shell for a dpkg call. - * dh_gencontrol: Set the priority of all dbgsym packages to - optional to be compliant with Standards-Version 4.0.1. - Thanks to Mattia Rizzolo for the report. (Closes: #870905) - * dh_installdocs: Accept "nodoc" via DEB_BUILD_OPTIONS as well. - Thanks to Sébastien Villemot for the suggestion. - (Closes: #866619) - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_installwm: Ditto. - * debhelper.pod: Tweak text for some compat 11 changes. - * dh_installdeb: Stop emitting versioned Pre-Depends on dpkg for - symlink_to_dir and dir_to_symlink maintscripts. The version - requirements are satisfied in oldoldstable. - * dh_installdocs: Merge two chmod calls to save a fork+exec. - * dh_strip: Disable parallelism when --dbg-package is used as it - causes non-deterministic failures in some cases. Thanks to - Helmut Grohne for reporting the issue. (Closes: #872007) - * dh_installdocs: Auto-detect "main package" for documentation - packages in compat 11 to assist with Debian policy §12.3. This - auto-detection can be overruled with the new --doc-main-package. - (Closes: #824221) - * dh_installexamples: Ditto. - * dh_update_autotools_config: Improve detection to also catch very - old versions of config.{guess,sub} that do not have the - "timestamp" variable. Thanks to Guillem Jover for reporting the - bug. (Closes: #872510) - - [ Adam Conrad ] - * dh_gencontrol: Change the synopsis of dbgsym packages so it - follows best practises. (Closes: #872274) - - [ Geoffrey Thomas ] - * Support building debhelper on case-insensitive filesystems by - moving the Debian (perl package) to the lib subdirectory. - (Closes: #873043) - - -- Niels Thykier Sat, 09 Sep 2017 15:07:38 +0000 - -debhelper (10.7.2ubuntu2) artful; urgency=high - - * Define U_PARAMS correctly in dh_builddeb, and don't try to use it when it - isn't defined. - - -- Simon Quigley Sun, 06 Aug 2017 10:13:33 -0500 - -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. - - -- Simon Quigley Sun, 06 Aug 2017 10:43:01 +0200 - -debhelper (10.7.2) unstable; urgency=medium - - * Dh_Lib.pm: Fix inverted boolean logic that causes a - compatibility rule to be ignored. Thanks to Adrian Bunk, - Andreas Beckmann, Markus Koschany and Emmanuel Bourg for - reporting and analysing the issue. (Closes: #870339) - - -- Niels Thykier Tue, 01 Aug 2017 16:51:58 +0000 - -debhelper (10.7.1) unstable; urgency=medium - - * Dh_Lib.pm: Fix doit's new call to ensure it does not call a shell - (like the documentation promises). - * dh: Ensure that we do not fork a shell for running a simple - command. - * autoconf: Revert expansion of ${var} variables passed to - configure as several packages implicitly assume that are not - expanded. E.g. liblockfile relies on ${prefix} being - unexpanded for DESTDIR to work. Reopens: #813266 - - -- Niels Thykier Mon, 31 Jul 2017 19:00:45 +0000 - -debhelper (10.7) unstable; urgency=medium - - [ Niels Thykier ] - * dh_usrlocal: Fix call to doit to avoid making it fork a shell. - * autoconf.pm: Ditto. - * cmake.pm: Ditto. - * meson.pm: Ditto. - * dh_installmodules: Ensure maintscripts are reproducible even with - multiple kernel versions detected. - * Apply patches from gregor herrmann to improve autopkgtests. - * Dh_Lib.pm: Introduce a print_and_complex_doit. - * Buildsystem: Introduce a complex_doit_in_builddir, which is needed - by gradle-debian-helper. - * Dh_Lib.pm: Fix bug in doit + doit_* that made them fork a shell in - some cases. For backwards compatibility, there is detection code - that should make it warn for this case and retain bug-compatibility. - This can cause a weird "Please specify the compatibility level in - debian/compat" error if the tools have chdir to a different directory. - * Dh_Lib.pm: Support an optional hashref in doit + doit_* to enable some - trivial operations in the child process (e.g. redirect stdout). - * dh_installman: Avoid forking a shell where a simple subprocess call - is sufficient. - * Dh_Lib.pm: Avoid forking 2 to 7 subprocesses for adding an autosnippet - when helper tools use a subroutine rather then a sed snippet. - * Dh_Lib.pm: Extend autoscript to accept a hashref and use that for - substituting into the snippet. This variant (like the subroutine - variant) avoids forking a lot of subprocesses and need not worry - about a shell possibly interpreting metacharacters. - * dh_installman: Pass "-l" to man when recoding the manpages. - * dh_icons: Use hashref based autoscripts generation. - * dh_installcatalogs: Ditto. - * dh_installemacsen: Ditto. - * dh_installmenu: Ditto. - * dh_installmodules: Ditto. - * dh_installwm: Ditto. - * dh_installxfonts: Ditto. - * dh_systemd_enable: Ditto. - * dh_systemd_start: Ditto. - * Dh_Lib.pm: Reduce the use of shell and external commands for - generating the final maintscripts. - * Dh_Lib.pm: Make getpackages without any arguments return all - packages as the documentation promises it should. Previously, - it would hide packages not built (e.g. due to Build-Profiles). - * Dh_Lib.pm: Provide a better error message when getpackages() is called - by a helper in the wrong directory. Unfortunately, dh cannot rely - on dh_testdir to do this as dh_testdir is called too late. - * dh: optimize out the call to dh_testdir. It is useless for - printing a helpful error message when called by dh. - * dh_installdocs: Apply patch from Sven Joachim to revert an - incorrect regression "fix". Thanks to Adrian Bunk for - reporting the issue. (Closes: #868649) - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_gencontrol: Rewrite code that ensures that misc:Depends and - misc:Pre-Depends are present to avoid relying external processes - for this. - * dh_builddeb: Let dpkg-deb choose the default compression level for - dbgsym packages instead of using xz -1e. The current default (xz -6) - is likely to be a better default value for dbgsym packages. Thanks to - Adrian Bunk for the suggestion. (Closes: #868674) - * cmake.pm: Pass -DCMAKE_INSTALL_RUNSTATEDIR=/run to cmake in compat 11. - Thanks to Felix Geyer for the suggestion. (Closes: #869697) - * cmake.pm: Avoid using the user specific cmake package registry. Thanks - to Christian Seiler and Felix Geyer. (Closes: #868584) - - [ Colin Watson ] - * Quote assignment to $recommended_compat in case it isn't a valid Perl - version string (e.g. for Debian derivatives). Fix typos that caused it - not to be used correctly. Use the /g flag so that all instances of the - substitution variable are handled. (Closes: #869780) - - [ Isaac Jurado ] - * Make the autoconf buildsystem expand "${var}" values send to configure - (e.g. pass --mandir=/usr/share/man instead of --mandir=${prefix}/share/man). - (Closes: #813266) - - -- Niels Thykier Sat, 29 Jul 2017 18:00:24 +0000 - -debhelper (10.6.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. - - -- Gianfranco Costamagna Wed, 26 Jul 2017 12:22:01 +0200 - -debhelper (10.6.4) unstable; urgency=medium - - * dh_installmenu: Revert "Stop installing menu files in compat 11 - (menu-methods are still installed)". - * dh: Revert "--without=build-stamp by default in compat 11". Keep - the compat 10 behaviour while enable packages to opt-in by - explicitly passing --without=build-stamp themselves. - * dh_installman: Apply patch from Sven Joachim to fix regression, - where dh_installman would fail to remove the compressed manpage. - With hardlinks involved, this could make dh_compress fail later. - (Closes: #867846) - * Dh_lib.pm: Rewrite reset_perm_and_owner to it does chmod + chown - using perl built-ins rather than forking+exec. - * dh_compress: Apply patch from Sven Joachim to make dh_compress - gracefully handle hardlinks, where the target files already - exists. (Closes: #867881) - * dh_install: Re-instate bug compatibility with debhelper (<< 10.6) - where (some) path arguments where split on space as if it had - been parsed in the config file. (Closes: #867866) - * dh_installdocs: Ditto. - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * Dh_Lib.pm: Fix a regression in handling of dangling symlinks for - native file copying that caused dh_installdocs to no longer replace - dangling symlinks with real files. Thanks to Stéphane Glondu - for the report. (Closes: #868204) - * dh_install: Silently disable bulk optimization when two source paths - have the same destination. Thanks to Gianfranco Costamagna for - reporting the regression. (Closes: #868169) - * d/control: Set Testsuite to autopkgtest-pkg-perl to enable - autopkgtests. - - -- Niels Thykier Fri, 14 Jul 2017 17:49:46 +0000 - -debhelper (10.6.3) unstable; urgency=medium - - * Makefile: Use "dpkg-parsechangelog -S" rather than - "dpkg-parsechangelog | grep". - * debhelper.pod: Use substitution to ensure examples always use the - recommended compatibility level. - * Dh_Lib.pm: Embed tool versions into autoscripts so lintian can - extract and display them. Tools that want to rely on this - feature should set "$main::VERSION" to the version of the tool. - * dh_install: Rewrite and re-enable optimization so it - deterministically and gracefully handles cases like #866405. - * dh: Support new "pkgfile-logged" hint, which can be used by - helpers that log what files they install. It enables dh to - see that it may need to run a helper that would install no - files, but log what it would have done to avoid making - dh_missing complain. Thanks to Michael Stapelberg for - reporting the issue and testing the fix. (Closes: #867246) - * PROGRAMMING: Document how to write "logging" helpers that work - with dh_missing. - - -- Niels Thykier Sun, 09 Jul 2017 08:24:34 +0000 - -debhelper (10.6.2) unstable; urgency=medium - - * Refactor test suite and support running tests in parallel. - * Add a test case for #866570. - * dh_compress: Apply patch from Sven Joachim to fix a - regression in 10.5.1. (Closes: #866713) - * dh_installman: Fix regression introduced in 10.5.1 that - caused a "file not found" error when using -P with an - absolute argument. Thanks to Adrian Bunk for reporting - it over IRC. - - -- Niels Thykier Wed, 05 Jul 2017 08:40:00 +0000 - -debhelper (10.6.1) unstable; urgency=medium - - * Makefile: Enable running some tasks in parallel to better - utilize multiple cores. - * Dh_Lib.pm: Revert a change that caused dh_install (and other - tools) to take filenames as absolute if they started with - a leading slash. Thanks to Sven Joachim for the prompt - discovery and notification. (Closes: #866570) - * dh_install: Make optimization conditional on compat 11 - for now. (Closes: #866405) - - -- Niels Thykier Fri, 30 Jun 2017 06:50:10 +0000 - -debhelper (10.6) unstable; urgency=medium - - * dh_installinfo: Use "xargs" so it works even if there are - "a lot" of info files. - * Dh_Lib.pm: Introduce a is_build_profile_active function, which - can be used to check if a given Build-Profile was specified. - * dh_installdocs: Ignore given documentation files when the - "nodoc" build profile is specified in DEB_BUILD_PROFILES. - Note that dh_installdocs is not a complete noop in this case - as it still ensures the package has a copyright file (or a - symlinked doc directory). (Closes: #865869) - * dh_installman: Fix regression in compat 5 that could make it - ignore one manpage per invocation. - * dh_installdocs: Warn if a pattern in the config file matches - nothing. In compat 11, this becomes a hard error. - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_installexamples: Support missing documentation under the nodoc - profile. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_installwm: Ditto. (Closes: #865707) - * dh_installdocs: Log installed files so dh_missing can see them. - * dh_installexamples: Ditto. (Closes: #863456) - * dh_installinfo: Ditto. - * dh_installdocs: In compat 11, automatically fall back to debian/tmp - if the files are not found in ".". Furthermore, accept the option - --sourcedir with the same meaning as dh_install. - * dh_installexamples: Ditto. - * dh_installinfo: Ditto. - * dh_installman: Ditto. - * dh_installman: Fix bug in how it handled language auto-detection in - compat 11. Previously, it did not work as intended. - * dh_installdocs: Revert change in compat 11, where it would install - documentation into /usr/share/doc/mainpackage. (Reopens: #824221) - * Dh_Lib.pm: Stop setting PERL_USE_UNSAFE_INC in compat 11. - * perl_build.pm: Stop passing -I. to perl in compat 11. - * perl_makemaker.pm: Ditto. - - -- Niels Thykier Thu, 29 Jun 2017 17:15:00 +0000 - -debhelper (10.5.1) unstable; urgency=medium - - * Dh_Lib.pm: Fix rounding error when computing how many processes - to use. This rounding error could cause dh-tools to use one more - process than permitted by DEB_BUILD_OPTIONS. - * Dh_Lib.pm: Check return value of open+close when creating a log of - installed files. - * Dh_Lib.pm: Implement subroutines to facility file removal and - symlink creation without a fork+exec. - * Dh_Lib.pm: Avoid a fork+exec for rm -f and ln -s. - * dh_compress: Ditto. - * dh_installman: Ditto. - * dh_clean: Avoid a fork+exec for rm -f. - * dh_installdeb: Ditto. - * dh_makeshlibs: Ditto. - * dh_md5sums: Ditto. - * dh_installdocs: Avoid a fork+exec for ln -s. - * dh_strip: Ditto. - * Dh_Lib.pm: Avoid 1-2 stat calls in make_symlink by reusing existing - stat calls. - * dh_installman: Avoid a fork+exec for renaming a path. - * dh_installdocs: Avoid unnecessary stat call. - * dh_installman: Ditto. - * dh_strip: Ditto. - * dh_shlibdeps: Fix a regression where non-detached debug symbol files - where not properly processed. Thanks to Sven Joachim for reporting - the issue. (Closes: #865982) - * dh_installman: When re-encoding manpages, use the actual manpages as - tasks to split rather than packages. This provides a much better - performance if the manpages are unevenly split between the packages. - * dh_install: Optimize some patterns into bulked "cp" calls. This - optimization is only applicable in some cases (notably, it is always - disabled by --exclude). - * dh_builddeb: Account for dbgsym packages separately when determining - how many tasks can be run in parallel. - * dh_strip: Process packages in parallel. - - -- Niels Thykier Mon, 26 Jun 2017 17:25:00 +0000 - -debhelper (10.5) unstable; urgency=medium - - * Upload to unstable. (Closes: #865363) - - [ Niels Thykier ] - * dh_installman: Remove unnecessary "chown" call that made things a - lot slower. Thanks to Kurt Roeckx for reporting it. - * dh_installman: Fix wrong permission of man pages (set 0755 instead - of 0644). Regression introduced in 10.2.2. - * dh_installman: Batch chmod calls to reduce the overhead for - packages with many manpages. - * dh: Undo an unsafe optimisation that caused "-indep" and "-arch" - override targets to be ignored. Thanks to Gianfranco Costamagna - for reporting it and Iain Lane for tracing it to the commit - that introduced the issue. (Closes: #863887) - * dh_clean, dh_prep: Bulk delete most files and directories, which - gives a noticeable speed up for source packages building many - binary packages. - * dh_shlibdeps: Avoid creating debian//DEBIAN directory if it - is not needed. - * Dh_Lib.pm: Fix typo in error message. - * Dh_Lib.pm: Rewrite install_* to use File::Copy to avoid the - overhead of a fork+exec per file. For simplicity, the verbose - output still claim debhelper uses "install -p -m " for this. - * Dh_Lib.pm: Replace most of the fork+exec calls to mv for simple - file renames. - * Dh_Lib.pm: Add sub to make common dh_* tools do their thing in - parallel with very little coding effort. This parallel support - accounts for DEB_BUILD_OPTIONS to set the upper limit. - * dh_fixperms: Run package updates in parallel if DEB_BUILD_OPTIONS - permits it. - * dh_installchangelogs: Ditto. - * dh_compress: Ditto. - * dh_installman: Ditto. - * dh_genchanges: Ditto. - * dh_shlibdeps: Ditto. - * dh_md5sums: Ditto. - * dh_builddeb: Rewrite the hand-written parallel code to use the new - simpler way of doing it. - * dh_shlibdeps: Avoid calling file(1) on debug symbols. - * SUPPORT-POLICY: Include new document that describes the current - support policy of debhelper compat levels. - * Dh_Lib.pm: Pass ":unix" layer when using the ":gzip" layer due to - PerlIO-gzip bug RT#114557. - * Dh_Lib.pm: Ignore empty dpkg-architecture variables. - (Closes: #862844) - * dh_installchangelogs: Avoid trying to install a directory by default - as a changelog file. Thanks to Markus Koschany for reporting the - issue. (Closes: #861852) - * dh_installwm.1: Correct documentation to reflect the behaviour in - compat 10. Thanks to Robert Luberda for reporting the issue. - (Closes: #865708) - * dh_installcatalogs: Use explicit await triggers to avoid trigger - a lintian warning. - * dh_installman: In compat 11, attempt to detect the language of the - manpage based on the directory (/man//manX/) before using the - extension. This is more reliably for packages using dh_installman - to install manpages from the temporary install dir. - (Closes: #761024) - * dh_installcatalogs: Check the return code of close when generating - a catalog for sgml-base. - * Dh_Lib.pm: Emulate "install -d" with File::Path to avoid a fork+exec - for creating directories. For simplicity, the verbose output still - claim debhelper uses "install -d" for this. - * dh_auto_install: In compat 11, do not create package build - directories (except if one of them happens to be the default - "destdir" for dh_auto_install). - - [ Iain Lane ] - * Dh_Lib.pm: Re-add warning + exit 0 for the -i/-a shortcut that was - added in 10.3. (Closes: #863961) - * dh_install: Pass --exclude/-X to dh_missing. (Closes: #863447) - - [ Michael Stapelberg ] - * Dh_Getopt.pm: Provide a more detailed error message when there are - no buildable packages caused by architecture restrictions. - (Closes: #858467) - * Dh_Lib.pm: Split package_arch($package) into three distinct functions. - - -- Niels Thykier Sun, 25 Jun 2017 17:00:00 +0000 - -debhelper (10.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.) - - -- Iain Lane Fri, 02 Jun 2017 11:42:57 +0100 - -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) - - -- Iain Lane Thu, 01 Jun 2017 16:59:24 +0100 - -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. - - -- Iain Lane Wed, 31 May 2017 15:31:00 +0100 - -debhelper (10.4) experimental; urgency=medium - - * Team upload. - - [ Niels Thykier ] - * meson.pm: Pass --wrap-mode=nodownload to meson (requires meson - 0.40-1 or later). - * dh_install: Fix initialized warning when --sourcedir is absent - on the cmd-line. - * dh_missing: Accept --sourcedir (given it is passed by dh_install). - (Closes: #862049) - * Dh_Lib.pm: Fix a bug in pkgfile that caused dh to skip helpers - that had configuration files. Thanks to Michael Biebl for finding - and reporting. (Closes: #863387) - - [ Chris Lamb ] - * dh_fixperms: Fix regression where dh_fixperms would fail to correct - permissions because it used an invalid find expression. - (Closes: #862003) - - -- Michael Biebl Fri, 26 May 2017 22:08:37 +0200 - -debhelper (10.3) experimental; urgency=medium - - [ Helmut Grohne ] - * Supply PKG_CONFIG for cross compilation with the makefile buildsystem. - (Closes: #853881) - * Disable stripping during dh_auto_* in makefile buildsystem in compat 11. - (Closes: #844077) - * Remove explicit "Multi-Arch: no" stanzas as they are auto-rejected. - (Closes: #857028) - - [ Niels Thykier ] - * Dh_Lib.pm: Make getpackages() produce the correct result independently - of the order of the fields in a given paragraph of debian/control. - (Closes: #847138) - * dh_installman: Report installed manpages so the new dh_missing tool - is informed about them. - * dh_install: Deprecate --list-missing/--fail-missing in favor of the - new dh_missing tool. The options will be removed in compat 11. - * dh: Run dh_missing by default (in no op mode). - * dh_prep: Clean up generated files so they work like other temporary - debhelper files. - * dh_installinit: Clarify that it might make sense to skip dh_installinit - for a package if it provides a systemd service but no sysvinit file. - (Closes: #800043) - * dh_installinit: Deprecate --no-restart-on-upgrade in favor of the new - name --no-stop-on-upgrade, which does the same thing but is less - likely to be confused with --no-restart-after-upgrade and is more - descriptive of what it actually does. Thanks to Simon McVittie and - Michael Biebl for the help. (Closes: #837528) - * debian/rules: Only apply the --no-parallel to dh_auto_test. The rest - of debhelper's build appears to work fine with --parallel. - * dh_systemd_enable.1: Clarify that --no-enable does not control - whether a service is started and that dh_systemd_start is the tool - that does that. (Closes: #770281) - * autoconf.pm: Set --runstatedir to "/run" in compat 11. Thanks to - Michael Biebl for the suggestion. - * dh_fixperms: Refactor to reduce the constant overhead a bit and - extract some patterns into data list. The latter hopefully reducing - the need for tweaking dh_fixperms' logic. - * dh_installdocs: Document that --link-doc has limitations on source and - target package plus that compat 10 will reject unsupported - combinations. - * dh_gencontrol: Avoid adding Homepage fields to dbgsym packages. Avoids - non-overridable warnings from lintian when there is an issue in the - homepage field of the original binary. (Closes: #812248) - * dh_strip: Fix a check that could cause dh_strip to generate dbgsym - packages when it should not. - * dh: Stop loading python-support in all compat levels as dh_pysupport - has been removed in stretch. - * python_support.pm: Remove the content with a deprecation warning as - the module can no longer do anything. - * dh_installman.1: Improve the manpage to clarify the scope of - dh_installman and provide an examples. (Closes: LP: #184156) - * makefile.pm: Disable parallel installation if libtool is present to - avoid a race-condition in automake when using libtool. - (Closes: #861627) - - [ Steven Chamberlain ] - * When cross-compiling for GNU/kFreeBSD host systems, set - CMAKE_SYSTEM_NAME to the correct value "kFreeBSD", not "FreeBSD". - (Closes: #856688) - - [ Felipe Sateler ] - * dh_systemd_enable.1: Improve the wording of the documentation for - the --no-enable option. (Closes: #844602) - - [ Michael Biebl ] - * Add support for meson + ninja build systems. (Closes: #795253) - - [ Michael Stapelberg ] - * dh_missing: New tool to handle --list-missing/--fail-missing. - (Closes: #415396, #616070) - * Dh_Lib.pm: Introduce a log_installed_files sub that can be used - to inform dh_missing that a given file has been installed. - - [ Johannes Schauer ] - * dh_link.1: Improve the documentation and use ln(1) as a reference - to make it simpler for people, who are used to the terms from ln. - (Closes: #860091) - - -- Niels Thykier Sat, 06 May 2017 13:29:31 +0000 - -debhelper (10.2.5ubuntu3) artful; urgency=medium - - * Restore maintainer ability to override ddeb compression (LP: #1691078) - - -- Adam Conrad Wed, 17 May 2017 10:03:45 -0600 - -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. - - -- Adam Conrad Thu, 20 Apr 2017 20:19:06 -0600 - -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. - - -- Adam Conrad Thu, 20 Apr 2017 19:01:01 -0600 - -debhelper (10.2.5) unstable; urgency=medium - - [ Translations ] - * Add Japanese translation (Hideki Yamane) (Closes: #852520) - - -- Niels Thykier Wed, 25 Jan 2017 20:47:27 +0000 - -debhelper (10.2.4) unstable; urgency=medium - - [ Niels Thykier ] - * d/changelog: Add missing changelog entry in 10.2.3 for a - compat 11 change. - * dh: Show when the "create-stamp" "command" is being run. - * dh: Fix a bug where dh would repeat part of the build sequence - when an add-on modified the build sequence after "dh_auto_test". - Thanks to Sean Whitton for reporting the issue. - (Closes: #851071) - - [ Luca Boccassi ] - * dh_systemd_enable: Correct installation for "mount" units. - (Closes: #851744) - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) - (Closes: #851207) - * Update French translation (Baptiste Jammet) (Closes: #852211) - * Update German translation (Chris Leick) (Closes: #851962) - - -- Niels Thykier Mon, 23 Jan 2017 20:28:37 +0000 - -debhelper (10.2.3) unstable; urgency=medium - - [ Axel Beckert ] - * Fix wrong German translation of dh_systemd_start man page. Thanks to - Thorsten Alteholz for spotting the mistake! (Closes: #839655) - - [ Mattia Rizzolo ] - * dh_auto_test: Apply patch from Mattia Rizzolo to update - documentation about running tests during cross-building. - - [ Niels Thykier ] - * Bump dependency on dh-strip-nondeterminism to ensure - stable-backports uses a functional version. Thanks to Christoph - Biedl for the report. (Closes: #843813) - * Massage md5sum output to avoid GNU-specific escaping extension - while we wait for dpkg-gendigests for a more compatible tool. - Thanks to Bernd Zeimetz for the report. (Closes: #843163) - * In compat 11, dh will now skip creating a stamp file unless the - package explicitly requests it with "--with build-stamp". - - [ Felipe Sateler ] - * dh_systemd_start: Fix a bug where --restart-after-upgrade with - --no-start would still start the service. (Closes: #805878) - * dh_installinit: Leave the handling of debian/pkg.service and - debian/pkg.tmpfiles to dh_systemd_*. (Closes: #830208) - - -- Niels Thykier Sat, 31 Dec 2016 21:27:54 +0000 - -debhelper (10.2.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. - - -- Martin Pitt Mon, 17 Oct 2016 21:34:23 +0200 - -debhelper (10.2.2) unstable; urgency=medium - - * Fix typo in changelog entry for release 10.2. Thanks to - Peter Pentchev for reporting it. - * Deprecate all compat levels lower than 9. - * dh: Discard override log files before running the override - rather than after. - * dh_compress,dh_fixperms: Remove references to long - obsolete directories such as usr/info, usr/man and - usr/X11*/man. - * autoreconf.pm: Apply patch from Helmut Grohne to fix - autoconf/cross regression from #836988. The autoreconf - build-system is now also used directly for "clean" and - "build" (while still using the "make" build-system for the - heavy lifting). (Closes: #839681) - * dh_installdirs: In compat 11, avoid creating debian/ - directories except when required to do so. This fixes a - corner case, where an arch:all build would behave - differently than an arch:all+arch:any when dh_installdir is - optimised out only for the arch:all build. - * Dh_Lib.pm: Fix typo of positive. Thanks to Matthias Klose - for spotting it. - - -- Niels Thykier Sat, 08 Oct 2016 10:16:23 +0000 - -debhelper (10.2.1) unstable; urgency=medium - - * d/rules: Add a ./run in front of dh_auto_install. It is - technically not needed, but it prevents lintian from assuming - that we need to Build-Depend debhelper. - - -- Niels Thykier Sun, 02 Oct 2016 06:51:49 +0000 - -debhelper (10.2) unstable; urgency=medium - - * Apply patch from Peter Pentchev to fix some typos. - * Apply patch from Michael Biebl to undo a major - regression where all of debhelper's functionality was - missing (introduced in 10.1). (Closes: #839557) - * dh_installinit,dh_systemd_start: Introduce a new - --no-stop-on-upgrade as an alternative to - --no-restart-on-upgrade. This new option should - reduce the confusion of what it does. Thanks to - Michael Biebl for the suggestion. - - -- Niels Thykier Sun, 02 Oct 2016 06:20:56 +0000 - -debhelper (10.1) unstable; urgency=medium - - * Apply patch from Michael Biebl to take over dh-systemd - package to ease backporting to jessie-backports. - (Closes: #837585) - * Apply patch from Helmut Grohne and Julian Andres Klode - to improve cross-building support in the cmake build - system. (Closes: #833789) - * Make the makefile.pm buildsystem (but not subclasses thereof) - pass the CC and CXX variables set to the host compilers when - cross-building. Thanks to Helmut Grohne for the idea and - the initial patch. (Closes: #836988) - * dh_md5sums.1: Mention dpkg --verify as a consumer of the - output file. Thanks to Guillem Jover for reporting it. - * debhelper-obsolete-compat.pod: Add a manpage for the - upgrade checklist for all obsolete/removed compat levels. - Thanks to Jakub Wilk for the suggestion. - * Dh_Getopt.pm,dh_*: Rename --onlyscripts to --only-scripts and - --noscripts to --no-scripts for consistency with other - options. The old variants are accepted for compatibility. - Thanks to Raphaël Hertzog for the suggestion. - (Closes: #838446) - * cmake.pm: If cmake fails, also dump CMakeFiles/CMakeOutput.log - and CMakeFiles/CMakeError.log if they are present. Thanks to - Michael Banck for the suggestion. (Closes: #839389) - * d/copyright: Correct copyright and license of dh_systemd* - tools. - - -- Niels Thykier Sat, 01 Oct 2016 20:45:27 +0000 - -debhelper (10ubuntu1) yakkety; 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. - - -- Martin Pitt Mon, 12 Sep 2016 07:12:45 +0200 - -debhelper (10) unstable; urgency=medium - - [ Niels Thykier ] - * Dh_Lib.pm: Support a new named "beta-tester" compat level. - If you want to participate in beta testing of new compat - levels, please review "man 7 debhelper" for more - information. - * Dh_Lib.pm: Fix bug in detection of existing auto-trigger. - - [ Axel Beckert ] - * Apply patch by Jens Reyer to fix typo in dh_installdocs man page. - (Closes: #836344) - * Use uppercase "Debian" in package description when the project is - meant. Fixes lintian warning capitalization-error-in-description. - * Apply "wrap-and-sort -a" - * Add a .mailmap file for making "git shortlog" work properly. - - [ Translations ] - * Update German translation (Chris Leick) (Closes: #835593) - * Update Portuguese translation (Américo Monteiro) - (Closes: #835403) - * Update French translation (Baptiste Jammet) (Closes: #836693) - - -- Niels Thykier Sun, 11 Sep 2016 09:00:23 +0000 - -debhelper (9.20160814) unstable; urgency=medium - - * dh_installdocs: Apply patch from Sven Joachim to make - --link-doc work again in compat 11 (See: #830309) - * t: Apply patch from Sven Joachim to add some test cases - to dh_installdocs's --link-doc behaviour. - (Closes: #831465) - * dh_installinit,dh_systemd_start: Apply patches from - Peter Pentchev to make -R default in compat 10 (as - documented, but not as implemented). - * perl_{build,makemaker}.pm: Apply patch from Dominic - Hargreaves to explicitly pass -I. to perl. This is to - assist with the fix for CVE-2016-1238. (Closes: #832436) - * dh_install: Clarify that "debian/not-installed" is not - related to the --exclude parameter. - * dh_install: Apply patch from Sven Joachim to support - the "debian/tmp" prefix being optional in - "debian/not-installed". (Closes: #815506) - * Dh_Lib.pm: Apply patch from Dominic Hargreaves to set - PERL_USE_UNSAFE_INC to fix a further set of packages - which fail to build with . removed from @INC. - (Closes: #832436) - * Dh_Buildsystems.pm: Enable auto-detection of the maven - and gradle buildsystems (provided they are installed). - Thanks to Emmanuel Bourg for the suggestion. - (Closes: #801732) - - -- Niels Thykier Sun, 14 Aug 2016 09:19:35 +0000 - -debhelper (9.20160709ubuntu1) yakkety; 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 - take precious CD space. - - 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. - - -- Martin Pitt Mon, 11 Jul 2016 22:17:30 +0200 - -debhelper (9.20160709) unstable; urgency=medium - - * Explicitly Build-Depends on perl:any for pod2man instead - of relying on it implicitly via libdpkg-perl. - * dh_shlibdeps: Clarify that -L is also useful for packages - using debian/shlibs.local for private libraries. - * dh_installdocs: Apply patch from Sven Joachim to fix a - regression with --link-doc and installing extra - documentation. (Closes: #830309) - * Apply patches from Michael Biebl to merge dh_systemd_enable - and dh_systemd_start from the dh-systemd package. - (Closes: #822670) - * dh: Enable the systemd helpers by default in compat 10 and - later. - - -- Niels Thykier Sat, 09 Jul 2016 09:53:02 +0000 - -debhelper (9.20160702) unstable; urgency=medium - - * Start on compat 11. - * dh_installmenu: Stop installing menu files in compat 11 - (menu-methods are still installed). - * dh_*: Deprecate -s in favor of -a. The -s option is - removed in compat 11. - * dh_strip: Fix regression in 9.20160618, which caused - issues when there were hardlinked ELF binaries in a - package. Thanks to Sven Joachim for the report, the - analysis/testing and for providing a patch for the - most common case. (Closes: #829142) - * Dh_Lib.pm: Cope with the parallel options in make 4.2. - Thanks to Martin Dorey for the report. (Closes: #827132) - * dh_installdocs: In compat 11, install documentation into - /usr/share/doc/mainpackage as requested by policy 3.9.7. - Thanks to Sandro Knauß for the report. (Closes: #824221) - * dh_perl: Emit perl:any dependencies when a package only - contains perl programs (but no modules of any kind). - Thanks to Javier Serrano Polo and Niko Tyni for the - report and feedback. (Closes: #824696) - - [ Translations ] - * Update German translation (Chris Leick + Eduard Bloch) - (Closes: #827699) - - -- Niels Thykier Sat, 02 Jul 2016 13:24:21 +0000 - -debhelper (9.20160618.1ubuntu1) yakkety; 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 - take precious CD space. - - 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. - * Dropped changes: - - autoscripts/*-init*: Test for /etc/init/*.conf where necessary. - We don't support upstart for system init any more, and moreover we - stopped dropping SysV init scripts as they are required for insserv. - - Clean up older Ubuntu changelog records which were an endless repetition - of "remaining changes". - - -- Martin Pitt Wed, 22 Jun 2016 09:25:16 +0200 - -debhelper (9.20160618.1) unstable; urgency=medium - - * Dh_Lib.pm: Reject requests for compat 4 instead of - silently accepting it (while all helpers no longer - check for it). - - -- Niels Thykier Sat, 18 Jun 2016 20:52:29 +0000 - -debhelper (9.20160618) unstable; urgency=medium - - * dh: Fix bug where "--help" or "--list" would not work - unless "debian/compat" existed and had a supported - compat level. (Closes: #820508) - * dh_compress: Gracefully handle debian (or any other - path segment in the package "tmpdir") being a symlink - pointing outside the same directory. Thanks to - Bernhard Miklautz for the report. (Closes: #820711) - * Dh_Lib.pm: Compat files are now mandatory. - * dh_clean: Remove work around for missing compat file. - This removes a confusing warning when the package is - not built by CDBS. (Closes: #811059) - * debhelper.pod: Add a line stating that debian/compat - is mandatory. (Closes: #805405) - * dh_strip: Apply patch from Peter Pentchev to only strip - static libraries with a basename matching "lib.*\.a". - (Closes: #820446) - * ant.pm: Apply patch from Emmanuel Bourg to pass a - normalised "user.name" parameter to ant. - (Closes: #824490) - * dh_installudev/dh_installmodules: Drop maintainer - script snippets for migrating conffiles. - - Side effect, avoids portability issue with certain - shell implementations. (Closes: #815158) - * autoscripts/*inst-moveconffile: Remove unused files. - * dh: Update documentation to reflect the current - implementation. - * Remove support for compat 4. - * dh_strip: Add debuglinks to ELF binaries even with - DEB_BUILD_OPTIONS=noautodbgsym to make the regular deb - bit-for-bit reproducible with vs. without this flag. - Thanks to Helmut Grohne for the report. - * dh_installcatalogs: Apply patch from Helmut Grohne to - explicitly trigger a new update-sgmlcatalog trigger, - since dpkg does not triger conffiles on package removal. - (Closes: #825005) - * dh_installcatalos: Apply patch from Helmut Grohne to - remove autoscript for a transition that completed in - Wheezy. - * dh_strip: Unconditionally pass --enable-deterministic-archives - to strip for static libs as the stable version of binutils - supports it. - * dh_strip: Use file(1) to determine the build-id when - available. This saves an readelf call for every binary in - the package. - * dh_strip: Cache file(1) output to avoid calling file(1) - twice on all ELF binaries in the package. - * Dh_Lib.pm: Add better error messages when a debhelper program - fails due to an executable config file not terminating with - success. (Closes: #818933) - * dh_strip: Pass -e to file(1) to skip tests for file formats - that dh_strip does not care about. - * Bump standards-version to 3.9.8 - no changes required. - - -- Niels Thykier Sat, 18 Jun 2016 14:41:05 +0000 - -debhelper (9.20160403ubuntu1) yakkety; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - autoscripts/*-init*: Test for /etc/init/*.conf where necessary. - (Must be kept as long as we support system upstart on touch.) - - dh_installchangelogs: Do not install upstream changelog in compat - level 7. This floods packages with huge upstream changelogs which - take precious CD space. - - 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. - - -- Martin Pitt Fri, 22 Apr 2016 16:07:52 +0200 - -debhelper (9.20160403) unstable; urgency=medium - - * d/control: Require dh-autoreconf (>= 12) to ensure - non-autotools can be built in compat 10. - * dh: In a "PROMISE: DH NOOP" clause, make no assumptions - about being able to skip "foo(bar)" if "foo" is not known. - * debhelper.pod: Use DEB_HOST_ARCH instead of the incorrect - "build architecture". Thanks to Helmut Grohne for the - report. - * dh_makeshlibs: Use same regex for extracting SONAME as - dpkg-shlibdeps. (Closes: #509931) - * dh_makeshlibs: Add an ldconfig trigger if there is an - unversioned SONAME and the maintainer provides a - symbols file. - - -- Niels Thykier Sun, 03 Apr 2016 08:56:07 +0000 - -debhelper (9.20160402) unstable; urgency=medium - - * Remove dh_desktop. - * dh_install: Fix a regression where a non-existing file - was ignored if another file was matched for the same - destination dir. Thanks to Ben Hutchings for reporting - the issue. (Closes: #818834) - * d/rules: Use overrides to disable unnecessary helpers - (for which debhelper does not Build-Depend on the - necessary packages to run the tools). - * dh: Enable "autoreconf" sequence by default in compat - 10 (or higher). (Closes: #480576) - * d/control: Add a dependency on dh-autoreconf due to - the above. - * autoscripts/*-makeshlibs: Remove again. Most of the - reverse dependencies have migrated already. - * Declare compat 10 ready for testing. - - -- Niels Thykier Sat, 02 Apr 2016 19:20:17 +0000 - -debhelper (9.20160313) unstable; urgency=medium - - * Remove dh_undocumented. - * dh_install: Attempt to improve the documentation of the - config file "debian/not-installed". - * dh_compress: Gracefully handle absolute paths passed via - the -P option. Thanks to Andreas Beckmann for reporting - the issue. (Closes: #818049) - - -- Niels Thykier Sun, 13 Mar 2016 14:21:02 +0000 - -debhelper (9.20160306) unstable; urgency=medium - - [ Niels Thykier ] - * Remove dh_suidregister and related autoscripts. No package - (that can be built in unstable) invokes this tool. - * dh: Do not create stamp files when running with --no-act. - * dh_strip/dh_gencontrol: Move "is_udeb" guard to dh_strip. - This should avoid adding build-ids to udebs without having - the actual debug symbols available. Thanks to Jérémy Bobbio - for reporting the issue. (Closes: #812879) - * dh_makeshlibs: Do not claim to be using maintainer scripts - for invoking ldconfig. Thanks to Eugene V. Lyubimkin for - the report. (Closes: #815401) - * Remove dh_scrollkeeper. It is no longer used in unstable. - * autoconf.pm: Apply patch from Gergely Nagy to set "VERBOSE=1" - when running tests to make sure that the build logs are - dumped on error with automake. (Closes: #798648, #744380) - * dh_installdeb: In compat 10, properly shell escape lines - from the maintscript config file. This will *not* be fixed - retroactively since people have begun to rely on the bug - in previous versions (e.g. by quoting the file names). - Thanks to Jakub Wilk for reporting the issue. - (Closes: #803341) - * dh_installdeb: In compat 10, avoid adding two comments per line - in the maintscript file. Thanks to Didier Raboud for - reporting the bug. (Closes: #615854) - * cmake.pm: Apply patch from Helmut Grohne to correct the - name of the default cross compilers. (Closes: #812136) - * dh_installdeb: Clarify what goes in the "maintscript" config - files. Thanks to Julian Andres Klode for the report. - (Closes: #814761) - * dh_compress: Correct and warn if given a path with a package - tmp dir prefix (e.g. "debian//path/to/file"). - * dh_compress: Handle file resolution failures more gracefully. - Thanks to Daniel Leidert for reporting this issue. - (Closes: #802274) - * dh_installinit: Make --restart-after-upgrade the default in - compat 10. Packages can undo this by using the new - --no-restart-after-upgrade parameter. - * d/control: Update Vcs links. - * d/control: Bump Standards-Version to 3.9.7 - no changes - required. - * Import newer German translations from Chris Leick. - (Closes: #812790) - - [ Joachim Breitner ] - * addsubstvar: Pass -a to grep to handle substvars with unicode content - gracefully (Closes: #815620) - - -- Niels Thykier Sun, 06 Mar 2016 13:14:43 +0000 - -debhelper (9.20160115ubuntu3) xenial; urgency=medium - - * Backport upstream commit 9ca73a0a ("Pass -a to grep to handle - substvars with unicode content gracefully") to fix build-failure - with php-mf2 (LP: #1564492, Closes #815620). - - -- Nishanth Aravamudan Thu, 31 Mar 2016 08:33:23 -0700 - -debhelper (9.20160115ubuntu2) xenial; urgency=medium - - * dh-strip: Adjust reversion of commit f1a803456 to account for the recent - ENABLE_DDEBS → ENABLE_DBGSYM rename. This actually disables -dbgsym - generation by dh_strip by default again. (LP: #1535949) - - -- Martin Pitt Wed, 20 Jan 2016 07:58:09 +0100 - -debhelper (9.20160115ubuntu1) xenial; urgency=medium - - * Merge from Debian unstable. Remaining changes: - - autoscripts/*-init*: Test for /etc/init/*.conf where necessary. - - dh_installchangelogs: Do not install upstream changelog in compat - level 7. This floods packages with huge upstream changelogs which - take precious CD space. - - dh_installinit: Add dependency to lsb-base >= 4.1+Debian11ubuntu7 that - provides the upstart LSB hook, to avoid upgrade breakage. This change - can be dropped after 16.04 LTS. - - 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. - - -- Martin Pitt Tue, 19 Jan 2016 19:55:45 +0100 - -debhelper (9.20160115) unstable; urgency=medium - - * Fix brown paper bag bug that caused many packages to - FTBFS when dh_update_autotools_config was called. - (Closes: #811052) - * Revert removal of autoscripts/*-makeshlibs. Some packages - injected them directly into their maintainer scripts. - (Closes: #811038) - - -- Niels Thykier Fri, 15 Jan 2016 20:28:37 +0000 - -debhelper (9.20160114) unstable; urgency=low - - [ Niels Thykier ] - * Dh_Lib.pm: Pass "-S" to dpkg-parsechangelog when requesting - the Version field. - * Drop compat level 3. - * dh_install: Only fallback to debian/tmp if the given glob - does not start with debian/tmp. This should make the - output on failures less weird. - * autoscripts/*-makeshlibs: Removed, no longer used. - * dh: In compat 10, drop the manual sequence control arguments - and the sequence log files. (Closes: #510855) - * dh_update_autotools_config: New helper to update config.sub - and config.guess. - * dh: Run dh_update_autotools_config before dh_auto_configure. - (Closes: #733045) - * d/control: Add dependency on autotools-dev for the new - dh_update_autotools_config tool. - * dh_installinit: Correct the "PROMISE NOOP" clause to account - for /etc/tmpfiles.d and /usr/lib/tmpfiles.d. - * dh_strip: Add "--(no-)automatic-dbgsym" and "--dbgsym-migration" - options to replace "--(no-)ddebs" and "--ddeb-migration". - (Closes: #810948) - - [ Dmitry Shachnev ] - * dh_install: Fail because of missing files only after processing - all file lists for all packages. (Closes: #488346) - - -- Niels Thykier Thu, 14 Jan 2016 22:01:03 +0000 - -debhelper (9.20151225) unstable; urgency=medium - - * dh_installmanpages: Fix call to getpackages. Thanks to - Niko Tyni for reporting the issue. (Closes: #808603) - * Dh_Lib.pm: Restore the behaviour of getpackages(), which - is slightly different from getpackages('both'). Fixes - a regression introduced in 9.20151220. - - -- Niels Thykier Fri, 25 Dec 2015 14:39:18 +0000 - -debhelper (9.20151220) unstable; urgency=medium - - * dh_strip: Document that dbgsym packages are built by - default. - * Dh_Lib.pm: Cache the results of getpackages. - * dh_gencontrol: Create debug symbol packages with the same - component as the original package. - - -- Niels Thykier Sun, 20 Dec 2015 11:59:33 +0000 - -debhelper (9.20151219) unstable; urgency=medium - - * dh_installinit: Apply patch from Reiner Herrmann to sort - temporary files put in postinst. (Closes: #806392) - * dh_installinit: Import change from Ubuntu to add /g - modifier when substituting the auto-script snippets. - * dh_*: Add /g when substituting the auto-script snippts in - other commands as well. - * dh_strip: Do not assume that ELF binaries have a Build-Id. - Thanks to Helmut Grohne for spotting this issue. - (Closes: #806814) - * dh_strip: Enable generation of dbgsym packages by default. - Thanks to Ansgar Burchardt and Paul Tagliamonte for - implementing the DAK side of this feature. - (Closes: #510772) - - -- Niels Thykier Sat, 19 Dec 2015 22:01:53 +0000 - -debhelper (9.20151126) unstable; urgency=medium - - * dh_compress: Apply patch from Michael Biebl to skip - compression of .devhelp2 files. (Closes: #789153) - * dh_installinit: Undo "Disable initscripts when a package is - removed (but not yet purged)". (Reopens #749400, - Closes: #806276) - - -- Niels Thykier Thu, 26 Nov 2015 18:06:06 +0100 - -debhelper (9.20151117) unstable; urgency=medium - - [ Niels Thykier ] - * dh_clean: Temporarily interpret the absence of d/compat and - DH_COMPAT to mean compat 5. This is to avoid breaking - packages that rely on cdbs to set debian/compat to 5 during - the build. This temporary work around will live until - d/compat becomes mandatory. (Closes: #805404) - - [ Translations ] - * Update German translation (Chris Leick) - (Closes: #802198) - - -- Niels Thykier Tue, 17 Nov 2015 21:29:17 +0100 - -debhelper (9.20151116) unstable; urgency=medium - - [ Niels Thykier ] - * dh_strip: Sort build-ids to make the Build-Ids header - reproducible. - * Dh_Lib.pm: Respect --no-act in autotrigger, thanks to - Andreas Henriksson and Helmut Grohne for reporting - the issue. (Closes: #800919) - * Fix typos in various manpages. Thanks to Chris Leick - for reporting them. - * dh_clean: Avoid cleaning up debian/.debhelper when - passed the "-d" flag. - * Dh_Lib.pm: Reject compat levels earlier than 3. - * dh_clean: Support removal of directory (plus contents) - when they are marked with a trailing slash. - (Closes: #511048) - * dh_install,dh_installdocs,dh_installexamples: Apply - patches from Niko Tyni to make timestamp of directories - created from "find"-pipelines reproducible. - (Closes: #802005) - * dh_installinit: The postinst snippets are now only run - during "configure" or "abort-upgrade". - (Closes: #188028) - * cmake.pm: Apply patch from Jonathan Hall to fix an - accidental error hiding. (Closes: #802984) - * qmake.pm: Apply patch from Sergio Durigan Junior to - create the build dir if it doesn't exist. - (Closes: #800738) - * dh_installinit: Disable initscripts when a package is - removed (but not yet purged). (Closes: #749400) - * Dh_Lib.pm: Reject debian/compat files where the first - line is not entirely a positive number. - - [ Translations ] - * Update German translation (Chris Leick) - (Closes: #802198) - * Update Portuguese translation (Américo Monteiro) - (Closes: #804631) - * Updated french translation (Baptiste Jammet) - (Closes: #805218) - - -- Niels Thykier Mon, 16 Nov 2015 21:05:53 +0100 - -debhelper (9.20151005) unstable; urgency=medium - - * dh_strip: Sort build-ids to make the Build-Ids header - reproducible. - * Dh_Lib.pm: Respect --no-act in autotrigger, thanks to - Andreas Henriksson and Helmut Grohne for reporting - the issue. (Closes: #800919) - - -- Niels Thykier Mon, 05 Oct 2015 08:33:26 +0200 - -debhelper (9.20151004) unstable; urgency=medium - - [ Niels Thykier ] - * dh,dh_auto_*: Apply patch from Eduard Sanou to define - SOURCE_DATE_EPOCH. (Closes: #791823) - * cmake.pm: Add better cross-compile support for cmake. - Heavily based on a patch from Helmut Grohne. - (Closes: #794396) - * cmake.pm: Pass -DCMAKE_INSTALL_SYSCONFDIR=/etc and - -DCMAKE_INSTALL_LOCALSTATEDIR=/var to cmake. Thanks to - Felix Geyer, Lisandro Damián Nicanor Pérez Meyer and - Michael Terry for the assistance plus suggestions. - (Closes: #719148) - * dh_installinit: Quote directory name before using it in - a regex. - * dh_installinit: Create script snippets for tmpfiles.d - files even if the package has no sysvinit script or - explicit debian/.service file. - (Closes: #795519) - * dh_makeshlibs: Revert passing -X to ldconfig in compat 10 - after talking with the glibc maintainer. This is not the - right place to make this change. - * d/control: Remove the homepage field. - * dh: Make dh_strip_nondeterminism optional, so debhelper - does not need to build-depend on it. - * dh_gencontrol/dh_builddeb: Temporarily stop building ddebs - for udebs as dpkg-gencontrol and dpkg-deb does not agree - the default file extension for these. - * dh_builddeb: Generate udebs with the correct filename even - when "-V" is passed to dpkg-gencontrol. This relies on - dpkg-deb getting everything but the extension correct - (see #575059, #452273 for why it does not produce the - correct extension). - (Closes: #516721, #677353, #672282) - * Dh_Lib.pm: Drop now unused "udeb_filename" subroutine. - * dh_strip.1: Correct the documentation about ddebs to - reflect the current implementation (rather than the - desired "state"). Thanks to Jakub Wilk for the report. - (Closes: #797002) - * dh_fixperms: Reset permissions to 0644 for .js, .css, - .jpeg, .jpg, .png, and .gif files. Thanks to Ernesto - Hernández-Novich for the suggestion. (Closes: #595097) - * dh_install: Read debian/not-installed if present as a - list of files that are deliberately not installed. - Files listed here will not cause dh_install to complain - with --list-missing. Thanks to Peter Eisentraut for the - suggestion. (Closes: #436240) - * Dh_Lib.pm: Cherry-pick patch from Chris Lamb to only read - the latest changelog entry when determining the - SOURCE_DATE_EPOCH. - * debhelper.7: Provide a better example of how to insert - the debhelper maintainer script snippets into a maintainer - script written in Perl. Thanks to Jakub Wilk for - reporting the issues. (Closes: #797904) - * dh_shlibdeps: The "-L" option can now be passed multiple - times with different package names. Thanks to Tristan - Schmelcher for the suggestion. (Closes: #776103) - * dh,Buildsytems: In compat 10, default to --parallel. - * dh,Buildsytems: Accept "--no-parallel" to disable - parallel builds. It is effectively the same as using - --max-parallel=1 but may be more intuitive to some people. - * dh_makeshlibs: Use a noawait trigger to invoke ldconfig - rather maintscripts. - * dh_installdirs.1: Add a note that many packages will work - fine without calling dh_installdirs. (Closes: #748993) - * dh_compress: Apply patch from Rafael Kitover to support - passing files to dh_compress that would have been - compressed anyway. (Closes: #794898) - * Dh_Lib.pm: Apply patch from Gergely Nagy to make debhelper - export "DH_CONFIG_ACT_ON_PACKAGES" when executing an - executable debhelper config file. This is intended to - assist dh-exec (etc.) in figuring what packages are - acted on. (Closes: #698054) - * dh_movefiles: Expand globs in arguments passed in all - compat levels (and not just compat 1 and 2). - (Closes: #800332) - * dh_installinit: Clearly document that --onlyscripts - should generally be used with -p (or similar) to limit - the number of affected packages. (Closes: #795193) - - [ Paul Tagliamonte ] - * dh_gencontrol: Put debug debs back in the "debug" section. - * dh_strip/dh_gencontrol: Add a space separated list of - build-ids in the control file of packages containing - detached debug symbols. - - [ Andrew Ayer ] - * d/control: Depend on dh-strip-nondeterminism - * dh: Call dh_strip_nondeterminism during build. - (Closes: #759895) - - [ Colin Watson ] - * Buildsystem.pm: Fix doit_in_sourcedir/doit_in_builddir to - always chdir back to the original directory even if the - subprocess exits non-zero. (Closes: #798116) - - [ Translations ] - * Update Portuguese translation (Américo Monteiro) - (Closes: #790820) - - -- Niels Thykier Sun, 04 Oct 2015 17:34:16 +0200 - -debhelper (9.20150811) unstable; urgency=medium - - * d/changelog: Add missing entry for dh_md5sums/#786695 in - the 9.20150628 release. - * Makefile: Set LC_ALL=C when sorting. - * dh: Avoid passing --parallel to other debhelper commands - if it is the only option and "parallel" is not set (or - set to 1) in DEB_BUILD_OPTIONS. - * dh_strip: Apply patch from Guillem Jover to fix a typo. - (Closes: #792207) - * dh_makeshlibs: Avoid an uninitialised warning in some - error cases. Thanks to Jakub Wilk for reporting it. - (Closes: #793092) - * Dh_Lib.pm: Apply patch from Guillem Jover to use the - value of dpkg-architecture variables from the environment, - if present. (Closes: #793440) - * Dh_Buildsystems.pm/Dh_Lib.pm: Import Exporter's import - subroutine rather than adding Exporter to @ISA. - * Dh_Lib.pm: Use Dpkg::Arch's debarch_is rather than running - dpkg-architecture to determine if an architecture matches - a wildcard. Heavily based on a patch from Guillem Jover. - (Closes: #793443) - * dh_strip: Always compress debug sections of debug symbols - in ddebs. - * dh_strip: Strip ".comment" and ".note" sections from static - libraries. Thanks to Helmut Grohne for the suggestion. - (Closes: #789351) - * dh_gencontrol: Stop explicitly passing -DSource to - dpkg-gencontrol when building ddebs. The passed value was - wrong sometimes (e.g. with binNMUs) and dpkg-gencontrol - since 1.18.2~ computes the value correctly. - * d/control: Bump dependency on dpkg-dev to 1.18.2~ for - ddebs. Build-depends not bumped since debhelper itself - does not produce any ddebs. - * dh_makeshlibs: Continue generating reports from - dpkg-gensymbols after the first error. This helps - packages with multiple libraries to spot all the symbol - issues in one build. - - -- Niels Thykier Tue, 11 Aug 2015 22:47:08 +0200 - -debhelper (9.20150628) unstable; urgency=medium - - * Upload to unstable with ddebs support disabled by default. - - [ Niels Thykier ] - * Buildsystem.pm: Apply patch from Emmanuel Bourg to - provide doit_in_{build,source}dir_noerror methods. - (Closes: #785811) - * Dh_Lib.pm: Promote error_exitcode to a regular exported - subroutine (from an internal one). - * dh_compress: Apply patch from Osamu Aoki to avoid compressing - ".xhtml" files and to use a POSIX compliant find expression. - (Closes: #740405) - * dh_makeshlibs: Fix typo in manpage. Thanks to Jakub Wilk for - reporting it. (Closes: #788473) - * dh_auto_test: Run tests by default even during cross-building. - (Closes: #726967) - * dh_gencontrol: Put ddebs in the "debugsym" section. - * dh_strip: Support a new --[no-]ddebs option intended for - packages to disable automatic ddebs. - * dh_strip: Do not create ddebs for "-dbg" packages. - * dh_builddeb/dh_gencontrol: Let dpkg figure out the name - of the ddebs itself now that ddebs uses a ".deb" - extension. - * dh_md5sums: create DEBIAN dir in ddebs before using it. - (Closes: #786695) - - [ Thibaut Paumard ] - * Bug fix: "dh_usrlocal leaves directories behind", thanks to Andreas - Beckmann (Closes: #788098). - - -- Niels Thykier Sun, 28 Jun 2015 13:51:48 +0200 - -debhelper (9.20150519+ddebs) experimental; urgency=medium - - * dh_strip: Add --ddeb-migration option to support migration - from a --dbg-package to a automatic ddeb. - * Dh_Lib.pm: Add "package_multiarch" function. - * d/control: Add versioned Build-Depends on dpkg-dev to support - creating ddebs with the ".deb" extension. - * Dh_Lib.pm: Generate ddebs with the ".deb" extension. - * dh_gencontrol: Reduce the "pkg:arch" to "pkg" as APT and dpkg - disagree on what satisfies an "pkg:arch" dependency. - * dh_strip.1: Document what inhibits ddeb generation. - * dh_gencontrol: Only mark a ddeb as Multi-Arch: same if the - original deb was Multi-Arch: same. All other ddebs are now - Multi-Arch: no (by omitting the field). - * dh_strip: Avoid generating a ddeb if the same name as an - explicitly declared package. Apparently, Ubuntu has been - creating some of these manually. - - -- Niels Thykier Tue, 19 May 2015 21:56:55 +0200 - -debhelper (9.20150507) unstable; urgency=medium - - [ Niels Thykier ] - * dh_bugfiles: Fix regression in installing the reportbug - script correctly. Thanks to Jakub Wilk for reporting. - (Closes: #784648) - - [ Translation updates ] - * pt - Thanks to Américo Monteiro. - (Closes: #784582) - - -- Niels Thykier Thu, 07 May 2015 20:07:49 +0200 - -debhelper (9.20150502+ddebs) experimental; urgency=medium - - * Add /experimental/ ddebs support *if* the environment - variable DH_BUILD_DDEBS is set to 1. - - -- Niels Thykier Sat, 02 May 2015 10:35:29 +0200 - -debhelper (9.20150502) unstable; urgency=medium - - * dh_compress: REVERT change to avoid compressing ".xhtml" - files due to #784016. (Reopens: #740405, Closes: #784016) - - -- Niels Thykier Sat, 02 May 2015 10:21:42 +0200 - -debhelper (9.20150501) unstable; urgency=medium - - [ Niels Thykier ] - * dh_strip: Recognise .node as potential ELF binaries that - should be stripped like a regular shared library. Thanks - to Paul Tagliamonte for the report. (Closes: #668852) - * dh_shlibdeps: Recognise .node as potential ELF binaries that - should be processed like a regular shared library. Thanks - to Paul Tagliamonte for the report. (Closes: #668851) - * Convert package to the 3.0 (native) format, so dpkg-source - strips the .git directory by default during build. - * Reorder two paragraphs in d/copyright to avoid one of them - being completely overwritten by the other. - * d/control: Use the canonical URLs for the Vcs-* fields. - * dh_makeshlibs: Apply patch from Jérémy Bobbio to ensure - stable ordering of generated shlibs files. - (Closes: #774100) - * dh_icons: Apply patch from Jérémy Bobbio to ensure stable - ordering of the icon list inserted into generated maintainer - scripts. (Closes: #774102) - * Dh_Lib.pm: Add a public "make_symlink" subroutine allowing - dh_*-like tools to generate policy compliant symlinks without - invoking dh_link. (Closes: #610173) - * dh_compress: Apply patch from Osamu Aoki to avoid compressing - ".xhtml" files. (Closes: #740405) - * dh_gconf: Apply patch from Josselin Mouette to avoid - dependency on gconf2 for installs of non-schema files. - (Closes: #592958) - * dh_fixperms: Correct permissions of reportbug files and scripts. - Thanks to Fabian Greffrath for the report and a basic patch. - (Closes: #459548) - * The "ant" build system now loads debian/ant.properties - automatically before build and clean (like CDBS). Thanks to - Thomas Koch for the report. (Closes: #563909) - * Dh_Lib.pm: Add install_dh_config_file to install a file either by - copying the source file or (with an executable file under compat - 9) execute the file and use its output to generate the - destination. - * dh_lintian: Under compat 9, the debian/lintian-overrides are now - executed if they have the exec-bit set like the debian/install - files. Thanks to Axel Beckert for the report. (Closes: #698500) - * d/rules: Remove makefile target only intended for/used by the - previous maintainer. - * dh_makeshlibs: In compat 10+, pass "-X" to ldconfig to - only regenerate the cache (instead of also creating missing - symlinks). Thanks to Joss Mouette for the suggestion. - (Closes: #549990) - * autoscripts/post{inst,rm}-makeshlibs-c10: New files. - * dh_strip: Pass the --enable-deterministic-archives option to strip - when it is stripping static libraries. This avoids some - unnecessary non-determinism in builds. Based on patch by - Andrew Ayer. - * dh_install, dh_installdocs, dh_installexamples and dh_installinfo: - Pass --reflink=auto to cp. On supported filesystems, this provides - faster copying. - * Make perl tests verbose. Thanks to gregor herrmann for the patch. - (Closes: #714546) - * Dh_Lib.pm: Apply patch from Martin Koeppe to provide - install_{dir,file,prog,lib} subroutines for installing directories, - regular files, scripts/executables and libraries (respectively). - * Migrate many "ad-hoc" calls to "install" to the new "install_X" - subroutines from Dh_Lib.pm. Based on patch from Martin Koeppe. - (Closes: #438930) - * dh_gconf: Apply patch from Martin Koeppe to avoid adding a layer - of shell-escaping to a printed command line when the command was - in fact run without said layer of shell-escaping. - * dh_installdocs: Use ${binary:Version} for generating dependencies - with "--link-doc" instead of trying to determine the correct - package version. Thanks to Stephen Kitt for reporting this - issue. (Closes: #747141) - * dh_installdocs.1: Document that --link-doc may in some cases - require a dir to symlink (or symlink to dir) migration. - (Closes: #659044) - * dh_usrlocal: Apply patch from Jérémy Bobbio to generate - deterministic output. (Closes: #775020) - * dh_makeshlibs: In compat 10, install the maintainer-provided shlibs - file (replacing the generated one). (Closes: #676168) - * dh_installdeb: In compat 10, stop installing the maintainer-provided - shlibs file as it is now done by dh_makeshlibs instead. - * dh_installdocs: Remove remark about dh_installdocs not being - idempotent as it no longer adds anything to maintainer scripts. - * autoscripts/*-emacsen: Apply patch from Paul Wise to check that - emacs-package-{install,remove} is (still) present before invoking - it. (Closes: #736896) - * dh_install: Document that dh-exec can be used to do renaming - and provide a trivial example of how to achieve it. (Closes: #245554) - * dh_makeshlibs: Apply patch from Guillem Jover to stop adding - Pre-Depends on multiarch-support. The transition is far enough that - we do not need it any longer. (Closes: #783898) - * dh_gencontrol: Insert an empty misc:Pre-Depends to avoid warnings - in packages for using a (now often) non-existing substvars. - * d/control: Remove versioned conflicts that are no longer relevant. - - [ Bernhard R. Link ] - * Dh_Lib.pm: apply patch from Guillem Jover to support case-insensitive - control field names. (Closes: #772129) - * add DH_QUIET environment variable to make things more silent - * dh: don't output commands to run if DH_QUIET is set - * buildsystems print commands unless DH_QUIET is set - (Closes: #639168, #680687) - * autoconf is always passed one of - --enable-silent-rules (if DH_QUIET is set) or - --disable-silent-rules (otherwise). (Closes: #551463, #680686) - * dh_compress: exclude .xz .lzma and .lz files from compression - (Closes: #778927) - * dh_installwm: call by dh after dh_link (Closes: #781077), - error out in compat 10 if no man page found - - [ Jason Pleau ] - * dh_installchangelogs: Add CHANGES.md to the list of common changelog - filenames (Closes: #779471) - - [ Axel Beckert ] - * dh_installchangelogs: Consistent suffix search order (none, ".txt", - ".md") for all upstream changelog file names ("changelog", "changes", - "history"). - + Looks for "history.md" now, too. - + Makes it easier to add base names or suffixes in the future. - * dh_installchangelogs: Also look for changelogs with .rst suffix. - - [ Tianon Gravi ] - * debhelper.pod: Clarify "ENVIRONMENT" requirements for Makefile syntax. - (Closes: #780133) - - [ Translation updates ] - * pt - Thanks to Américo Monteiro. - (Closes: #758575) - - -- Niels Thykier Fri, 01 May 2015 14:53:16 +0200 - -debhelper (9.20150101) unstable; urgency=medium - - [ Niels Thykier ] - * Revert detection of unsafe binNMUs under compat 9 and - earlier. It had some false-positives. (Closes: #773965) - - [ Axel Beckert ] - * Document that dh_installdocs will error out on --link-doc - between arch:all and arch:any packages in man 7 debhelper. - - -- Niels Thykier Thu, 01 Jan 2015 17:05:01 +0100 - -debhelper (9.20141222) unstable; urgency=medium - - * Add missing entry about #747141. - * Fix typo in comment in dh_installman. Thanks to Raphael - Geissert for spotting it. (Closes: #772502) - - -- Niels Thykier Mon, 22 Dec 2014 01:02:52 +0100 - -debhelper (9.20141221) unstable; urgency=medium - - [ Niels Thykier ] - * New debhelper maintainers. (Closes: #768507) - - Add Niels Thykier to uploaders. - * dh_installdeb: Raise required dpkg version for dir_to_symlink to - 1.17.13 (see #769843, msg #10). Thanks to Guillem Jover. - * Refuse to build packages using --link-doc between arch:any and - arch:all packages (or vice versa) as it results in broken - packages. - - In compat 9 or less: Only during an actual binNMU. - - In compat 10 or newer: Unconditionally. - (Closes: #747141) - - [ Bernhard R. Link ] - - Add Bernhard Link to uploaders. - - [ Axel Beckert ] - * dh_installdeb: Raise required dpkg version for symlink_to_dir to - 1.17.14. It is needed in case of relative symlinks. (Closes: #770245) - - -- Niels Thykier Sun, 21 Dec 2014 21:21:18 +0100 - -debhelper (9.20141107) unstable; urgency=medium - - * I'm leaving Debian, and Debhelper needs a new maintainer. - - -- Joey Hess Fri, 07 Nov 2014 17:15:10 -0400 - -debhelper (9.20141022) unstable; urgency=low - - * dh_installdeb: Sort conffile list so there is a stable order for - reproducible builds. Closes: #766384 Thanks, Jérémy Bobbio. - - -- Joey Hess Wed, 22 Oct 2014 14:43:12 -0400 - -debhelper (9.20141010) unstable; urgency=medium - - [ Johannes Schauer ] - * Depend on libdpkg-perl (>= 1.17.14) for build profiles support. Note to - backporters: If you remove that dependency, debhelper will throw an error - when a binary package stanza in debian/control has the Build-Profiles - field. - * Use libdpkg-perl functionality to parse the content of the Build-Profiles - field, if there is one. In that case, use libdpkg-perl to evaluate whether - the binary package should be built or not. - Closes: #763766 - - -- Joey Hess Fri, 10 Oct 2014 17:42:56 -0400 - -debhelper (9.20141003) unstable; urgency=medium - - * dh_clean: Skip over .git, .svn, .bzr, .hg, and CVS directories - and avoid cleaning their contents. Closes: #760033 - - -- Joey Hess Fri, 03 Oct 2014 15:16:00 -0400 - -debhelper (9.20140817) unstable; urgency=medium - - * Added Portuguese translation of the man pages, by Américo Monteiro. - Closes: #758043 - * Updated German translation from Chris Leick. - Closes: #735610 - - -- Joey Hess Sun, 17 Aug 2014 10:42:25 -0400 - -debhelper (9.20140809) unstable; urgency=medium - - * dh_perl: Add perlapi-* dependency on packages installed to - $Config{vendorarch} Closes: #751684 - * dh_perl: Use vendorlib and vendorarch from Config instead of - hardcoding their values. Closes: #750021 - * Typo: Closes: #755237 - - -- Joey Hess Sat, 09 Aug 2014 11:24:41 -0400 - -debhelper (9.20140613) unstable; urgency=medium - - * Pass --disable-silent-rules in dh_auto_configure if DH_VERBOSE is set. - Closes: #751207. Thanks, Helmut Grohne. - * Minor typos. Closes: #741144, #744176 - * dh_installinit: Fix uninitialized value warning when --name is used. - - -- Joey Hess Fri, 13 Jun 2014 11:50:09 -0400 - -debhelper (9.20140228) unstable; urgency=medium - - * Fix breakage in no-act mode introduced in last release. - - -- Joey Hess Fri, 28 Feb 2014 15:02:35 -0400 - -debhelper (9.20140227) unstable; urgency=medium - - * dh_compress: Avoid compressing .map files, which may be html - usemaps. Closes: #704443 - * dh_installdocs: When doc dirs are symlinked make the dependency - versioned per policy. Closes: #676777 - * dh_makeshlibs: Defer propagating dpkg-gensymbols error until - all packages have been processed. Closes: #736640 - * dh: Reject unknown parameters that are not dashed command-line - parameters intended to be passed on to debhelper commands. - Closes: #737635 - * perl_build: Use realclean instead of distclean. Closes: #737662 - * Initial implementation of support for Build-Profiles fields. - Thanks, Daniel Schepler. - * dh_gencontrol: Revert change made in version 4.0.13 that avoided - passing -p to dpkg-gencontrol when only operating on one package. - There seems to be no benefit to doing that, and it breaks when using - Build-Profiles, since while debhelper may know a profile only allows - for one package, dpkg-gencontrol may see other packages in the - control file. - - -- Joey Hess Thu, 27 Feb 2014 11:49:56 -0400 - -debhelper (9.20131227) unstable; urgency=medium - - [ Guillem Jover ] - * dh_shlibdeps: Use new dpkg-shlibdeps -l option instead of LD_LIBRARY_PATH - Closes: #717505 - * Depend on dpkg-dev (>= 1.17.0), the version that introduced - dpkg-shlibdeps -l option. - - -- Joey Hess Fri, 27 Dec 2013 21:52:53 -0400 - -debhelper (9.20131213) unstable; urgency=low - - [ Joey Hess ] - * cmake: Configure with -DCMAKE_BUILD_TYPE=None - Closes: #701233 - - [ Andreas Beckmann ] - * dh_installdeb: Add support for dpkg-maintscript-helper commands - symlink_to_dir and dir_to_symlink that were added in dpkg 1.17.2. - Closes: #731723 - - -- Joey Hess Fri, 13 Dec 2013 14:46:26 -0400 - -debhelper (9.20131127) unstable; urgency=low - - * dh_compress: Exclude several more compressed file formats. - Closes: #730483 - - -- Joey Hess Wed, 27 Nov 2013 19:19:41 -0400 - -debhelper (9.20131110) unstable; urgency=low - - * dh_installinit: Revert changes that added versioned dependency on - sysv-rc to support upstart, which later grew to a versioned dependency - on sysv-rc | file-rc, and which seems to want to continue growing - to list other init systems, which there currently seem to be far too - many of, for far too little benefit. - The sysv-rc dependency is already met in stable. - The file-rc dependency is not, so if someone cares about that, they - need to find a properly designed solution, which this was not. - Closes: #729248 - - -- Joey Hess Sun, 10 Nov 2013 15:23:29 -0400 - -debhelper (9.20131105) unstable; urgency=low - - * Fix (horrible) make output parsing code to work with make 4.0. - Closes: #728800 Thanks, Julien Pinon - - -- Joey Hess Tue, 05 Nov 2013 22:17:03 -0400 - -debhelper (9.20131104) unstable; urgency=low - - [ Joey Hess ] - * Debhelper is now team maintained. There is a new - debhelper-devel mailing list which maintainers of other dh_ - commands are encouraged to join also. - - * dh_installchangelogs: Avoid installing binNMU changelog file - in --no-act mode. Closes: #726930 - - [ Modestas Vainius ] - * Update dh_installemacsen and related scripts to follow emacs - policy v2.0 (as of emacsen-common 2.0.5). Closes: #728620 - - -- Joey Hess Mon, 04 Nov 2013 15:34:21 -0400 - -debhelper (9.20130921) unstable; urgency=low - - * dh: Call dh_installxfonts after dh_link, so that it will - notice fonts installed via symlinks. Closes: #721264 - * Fix FTBFS with perl 5.18. Closes: #722501 - * dh_installchangelogs: Add changelog.md to the list of common - changelog filenames. - - -- Joey Hess Sat, 21 Sep 2013 13:16:34 -0400 - -debhelper (9.20130720) unstable; urgency=low - - * dh_python: Removed this deprecated and unused command. - Closes: #717374 - (Thanks, Luca Falavigna) - * Type fixes. Closes: #719216 - * dh_installinit: Fix a longstanding accidental behavior that caused - a file named debian/package to be installed as the init script. - Only fixed in v10 since packages might depend on this behavior. - Closes: #719359 - * dh_install, dh_installdocs, dh_clean: Fix uses of find -exec - which cause it to ignore exit status of the commands run. - Closes: 719598 - * makefile buildsystem: Tighten heuristic to detect if makefile target - exists. An error message that some other target does not exist just means - the makefile spaghetti has problems later on when run with -n, - but not that the called target didn't exist. Closes: #718121 - - -- Joey Hess Tue, 20 Aug 2013 12:46:25 -0400 - -debhelper (9.20130630) unstable; urgency=low - - * perl_build: Use -- long option names, for compatibility with - Module::Build::Tiny. Closes: #714544 - (Thanks, gregor herrmann) - - -- Joey Hess Sun, 30 Jun 2013 14:20:51 -0400 - -debhelper (9.20130626) unstable; urgency=low - - * dh_strip: Run readelf in C locale. Closes: #714187 - - -- Joey Hess Wed, 26 Jun 2013 13:37:03 -0400 - -debhelper (9.20130624) unstable; urgency=low - - * dh_installinit: Use absolute path for systemd tempfiles, - for compatibility with wheezy's systemd. Closes: #712727 - * makefile buildsystem: Added heuristic to catch false positive in - makefile target detection code. Closes: #713257 - Nasty make ... why won't it tell us what's in its pocketses? - - -- Joey Hess Mon, 24 Jun 2013 19:28:18 -0400 - -debhelper (9.20130605) unstable; urgency=low - - * dh_installchangelogs: Fix bug preventing automatic installation of - upstream changelog. Closes: #711131 - - -- Joey Hess Wed, 05 Jun 2013 12:28:51 -0400 - -debhelper (9.20130604) unstable; urgency=low - - * dh_installchangelogs: No longer automatically converts html changelogs. - A plain text version can be provided as a second parameter, or it will - generate a file with a pointer to the html changelog if not. - html2text's reign of terror has ended. Closes: #562874 - * Allow building debhelper with USE_NLS=no to not require po4a to build. - Closes: #709557 - * Correct broken patch for #706923. - Closes: #707481 - * dh_installinit: Add appropriately versioned file-rc as an alternate - when adding misc:Depends for an invoke-rc.d that supports upstart - jobs. Closes: #709482 - - -- Joey Hess Tue, 04 Jun 2013 11:27:29 -0400 - -debhelper (9.20130518) unstable; urgency=low - - * dh_installchangelogs: Write the changelog entry used for a binNMU, - as flagged by binary-only=yes to a separate file, in order to work - around infelicities in dpkg's multiarch support. Closes: #708218 - (Thanks, Ansgar Burchardt) - * dh_installinit: Add versioned dependency on sysv-rc - when shipping upstart jobs. Closes: #708720 - - -- Joey Hess Sat, 18 May 2013 10:49:09 -0400 - -debhelper (9.20130516) unstable; urgency=low - - * Revert unsetting INSTALL_BASE. Closes: #708452 Reopens: #705141 - - -- Joey Hess Thu, 16 May 2013 18:29:46 -0400 - -debhelper (9.20130509) unstable; urgency=low - - * dh_installinit: Remove obsolete systemd-tmpfiles hack in postinst - autoscript. Closes: #707159 - * dh_installinfo: Stop inserting dependencies for partial upgrades - from lenny to squeeze. Closes: #707218 - * dh_compress, dh_perl: Avoid failing if the package build directory does - not exist. (Audited all the rest.) - * dh: As a workaround for anything not in debhelper that may rely - on debhelper command that is now skipped creating the package build - directory as a side effect, the directory is created when a command - is skipped. This workaround is disabled in compat level 10. - Closes: #707336 - * dh_auto_install: Create package build directory for those packages - whose makefile falls over otherwise. Closes: #707336 - - -- Joey Hess Thu, 09 May 2013 10:34:56 -0400 - -debhelper (9.20130507) unstable; urgency=low - - * dh: Skips running commands that it can tell will do nothing. - Closes: #560423 - (Commands that can be skipped are determined by the presence of - PROMISE directives within commands that provide a high-level - description of the command.) - * perl_makemaker: Unset INSTALL_BASE in case the user has it set. - Closes: #705141 - * dh_installdeb: Drop pre-dependency on dpkg for dpkg-maintscript-helper. - Closes: #703264 - * makefile buildsystem: Pass any parameters specified after -- when - running make -n to test for the existence of targets. - In some makefiles, the parameters may be necessary to enable a target. - Closes: #706923 - * Revert python2.X-minimal fix, because it was buggy. - Closes: #707111 (Reopens #683557) - - -- Joey Hess Tue, 07 May 2013 13:20:48 -0400 - -debhelper (9.20130504) unstable; urgency=low - - * dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentally being - used here rather than in dh_makeshlibs. Closes: #680339 - * dh_lintian: Source overrides doc improvement. Closes: #683941 - * dh_installmime: No longer makes maintainer scripts run update-mime and - update-mime-database, that is now handled by triggers. Closes: #684689 - Thanks, Charles Plessy - * python distutils buildsystem: Propagate failure of pyversions. - Closes: #683551 Thanks, Clint Byrum - * python distutils buildsystem: When checking if a version of python is - installed, don't trust the presence of the executable, as - a python2.X-minimal package may provide it while not having - distutils installed. Closes: #683557, #690378 - * dh_icons: Improve documentation. Closes: #684895 - * Improve -X documentation. Closes: #686696 - * Support installing multiple doc-base files which use the same doc-id. - Closes: #525821 - * dh_installdocs: Support having the same document id in different binary - packages built from the same source. - Closes: #525821 Thanks, Don Armstrong - * dh_installdeb: Avoid unnecessary is_udeb tests. Closes: #691398 - * Updated German man page translation. Closes: #691557, #706314 - * dh_installinit: Support systemd. - Closes: #690399 Thanks, Michael Stapelberg - * Updated French man page translation. Closes: #692208 - * dh_icons: Reword description. Closes: #693100 - * Avoid find -perm +mode breakage caused by findutils 4.5.11, - by instead using -perm /mode. Closes: #700200 - * cmake: Configure with -DCMAKE_BUILD_TYPE=RelWithDebInfo - Closes: #701233 - * dh_auto_test: Avoid doing anything when cross-compiling. Closes: #703262 - * dh_testdir: Fix error message. Closes: #703515 - - -- Joey Hess Sat, 04 May 2013 23:32:27 -0400 - -debhelper (9.20120909) unstable; urgency=low - - * autoscript() can now be passed a perl sub to run to s/// lines of - the script, which avoids problems with using sed, including potentially - building too long a sed command-line. This will become the recommended - interface in the future; for now it can be used by specific commands - such as dh_installxmlcatalogs that encounter the problem. - Closes: #665296 Thanks, Marcin Owsiany - * Updated Spanish man page translation. Closes: #686291 - * Updated German man page translation. Closes: #685538 - * Updated French man page translation. Closes: #685560 - - -- Joey Hess Mon, 10 Sep 2012 12:54:06 -0400 - -debhelper (9.20120830) unstable; urgency=low - - * dh_installcatalogs: Adjust catalog conffile conversion to avoid - dpkg conffile prompt when upgrading from a removed package. - Closes: #681194 - - -- Joey Hess Thu, 30 Aug 2012 11:04:10 -0400 - -debhelper (9.20120608) unstable; urgency=low - - * dh: When there's an -indep override target without -arch, or vice versa, - avoid acting on packages covered by the override target when running - the command for packages not covered by it. Closes: #676462 - - -- Joey Hess Fri, 08 Jun 2012 13:15:48 -0400 - -debhelper (9.20120528) unstable; urgency=low - - * dh_installcatalogs: Turn /etc/sgml/$package.cat into conffiles - and introduce dependency on trigger-based sgml-base. Closes: #477751 - Thanks, Helmut Grohne - - -- Joey Hess Mon, 28 May 2012 13:40:26 -0400 - -debhelper (9.20120523) unstable; urgency=low - - * Spanish translation update. Closes: #673629 Thanks, Omar Campagne - * Set Multi-Arch: foreign. Closes: #674193 - - -- Joey Hess Wed, 23 May 2012 14:55:48 -0400 - -debhelper (9.20120518) unstable; urgency=low - - * Fix versioned dependency on dpkg for xz options. Closes: #672895 - * dh_link: Doc improvement. Closes: #672988 - - -- Joey Hess Fri, 18 May 2012 11:05:03 -0400 - -debhelper (9.20120513) unstable; urgency=low - - * Improve -v logging. Closes: #672448 - * dh_builddeb: Build udebs with xz compression, level 1, extreme strategy. - This has been chosen to not need any more memory or cpu when uncompressing, - while yielding the best compressions for udebs. Thanks, Philipp Kern. - * Depend on a new enough dpkg for above features. Backporters will need - to revert these changes. - - -- Joey Hess Sun, 13 May 2012 13:09:42 -0400 - -debhelper (9.20120509) unstable; urgency=low - - * dh_installman: Recognize sections from mdoc .Dt entries. Closes: #670210 - Thanks, Guillem Jover - * Updated German man page translation. Closes: #671598 - * dh_install: Reorder documentation for clarity. Closes: #672109 - - -- Joey Hess Wed, 09 May 2012 12:59:15 -0400 - -debhelper (9.20120419) unstable; urgency=low - - * Fix compat level checking for cmake. Closes: #669181 - - -- Joey Hess Tue, 17 Apr 2012 19:33:35 -0400 - -debhelper (9.20120418) unstable; urgency=low - - * cmake: Only pass CPPFLAGS in CFLAGS in v9. - - -- Joey Hess Tue, 17 Apr 2012 16:54:39 -0400 - -debhelper (9.20120417) unstable; urgency=low - - * cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 - Thanks, Simon Ruderich for the patch and for verifying no affected - package is broken by this change. - - -- Joey Hess Tue, 17 Apr 2012 09:10:29 -0400 - -debhelper (9.20120410) unstable; urgency=low - - [ Joey Hess ] - * Fix a typo. Closes: #665891 - * Conflict with too old automake for AM_UPDATE_INFO_DIR=no. Closes: #666901 - * dh_md5sums: Don't skip DEBIAN directories other than the control files - one. Closes: #668276 - - [ Steve Langasek ] - * dh_installinit: rework upstart handling to comply with new policy - proposal; packages will ship both an init script and an upstart job, - instead of just an upstart job and a symlink to a compat wrapper. - Closes: #577040 - - -- Joey Hess Tue, 10 Apr 2012 12:51:15 -0400 - -debhelper (9.20120322) unstable; urgency=low - - * Revert avoid expanding shell metacharacters in sed call in autoscript(). - It breaks dh_usrlocal and must be considered part of its interface. - Added to interface documentation. - Closes: #665263 - - -- Joey Hess Thu, 22 Mar 2012 17:37:56 -0400 - -debhelper (9.20120312) unstable; urgency=low - - * Also include CFLAGS in ld line for perl. Closes: #662666 - - -- Joey Hess Tue, 13 Mar 2012 14:27:06 -0400 - -debhelper (9.20120311) unstable; urgency=low - - * dh_auto_install: Set AM_UPDATE_INFO_DIR=no to avoid automake - generating an info dir file. Closes: #634741 - * dh_install: Man page clarification. Closes: #659635 - * Avoid expanding shell metacharacters in sed call in autoscript(). - Closes: #660794 - * dh_auto_configure: Pass CPPFLAGS and LDFLAGS to Makefile.PL and Build.PL, - in compat level v9. Closes: #662666 - Thanks, Dominic Hargreaves for the patch. - Thanks, Alessandro Ghedini, Niko Tyni, and Dominic Hargreaves for - testing all relevant packages to verify the safety of this late - change to v9. - - -- Joey Hess Sun, 11 Mar 2012 18:28:33 -0400 - -debhelper (9.20120115) unstable; urgency=low - - * Finalized v9 mode, which is the new recommended default. - (But continuing to use v8 is also fine.) - * It is now deprecated for a package to not specify a compatibility - level in debian/compat. Debhelper now warns if this is not done, - and packages without a debian/compat will eventually FTBFS. - * dh: --without foo,bar now supported. - * Updated German man page translation. Closes: #653360 - - -- Joey Hess Sun, 15 Jan 2012 13:59:49 -0400 - -debhelper (8.9.14) unstable; urgency=low - - * Typo. Closes: #653006 - * Typo. Closes: #653339 - - -- Joey Hess Tue, 27 Dec 2011 11:53:44 -0400 - -debhelper (8.9.13) unstable; urgency=low - - * Pass CPPFLAGS to qmake. Closes: #646129 Thanks, Felix Geyert - * dh_strip: Use build-id in /usr/lib/debug in v9. - Closes: #642158 Thanks, Jakub Wilk - * Spanish translation update. Closes: #636245 Thanks, Omar Campagne - * Only enable executable config files in v9. The quality of file permissions - in debian/ directories turns out to be atrocious; who knew? - - -- Joey Hess Fri, 09 Dec 2011 13:53:38 -0400 - -debhelper (8.9.12) unstable; urgency=low - - * Debhelper config files may be made executable programs that output the - desired configuration. No further changes are planned to the config file - format; those needing powerful syntaxes may now use a programming language - of their choice. (Be careful aiming that at your feet.) - Closes: #235302, #372310, #235302, #614731, - Closes: #438601, #477625, #632860, #642129 - * Added German translation of man pages, done by Chris Leick. Closes: #651221 - * Typo fixes. Closes: #651224 Thanks, Chris Leick - - -- Joey Hess Wed, 07 Dec 2011 15:09:50 -0400 - -debhelper (8.9.11) unstable; urgency=low - - * Fix broken option passing to objcopy. Closes: #649044 - - -- Joey Hess Thu, 17 Nov 2011 00:15:34 -0400 - -debhelper (8.9.10) unstable; urgency=low - - * dh_strip: In v9, pass --compress-debug-sections to objcopy. - Needs a new enough binutils and gdb; debhelper backport - may need to disable this. - Thanks, Aurelien Jarno and Bastien ROUCARIES. Closes: #631985 - * dh: Ensure -a and -i are passed when running override_dh_command-arch - and override_dh_command-indep targets. This is needed when the binary - target is run, rather than binary-arch/binary-indep. Closes: #648901 - - -- Joey Hess Wed, 16 Nov 2011 11:54:59 -0400 - -debhelper (8.9.9) unstable; urgency=low - - * dh_auto_build: Use target architecture (not host architecture) - for build directory name. Closes: #644553 Thanks, Tom Hughes - * dh: Add dh_auto_configure parameter example. Closes: #645335 - - -- Joey Hess Fri, 04 Nov 2011 17:01:58 -0400 - -debhelper (8.9.8) unstable; urgency=low - - * dh_fixperms: Operate on .ali files throughout /usr/lib, including - multiarch dirs. Closes: #641279 - * dh: Avoid compat deprecation warning before option parsing. - Closes: #641361 - * Clarify description of dh_auto_* -- params. Closes: #642786 - * Mention in debhelper(7) that buildsystem options are typically passed - to dh. Closes: #643069 - * perl_makemaker: In v9, pass CFLAGS to Makefile.PL and Build.Pl - Closes: #643702, #497653 Thanks, Steve Langasek, gregor herrmann. - - -- Joey Hess Thu, 29 Sep 2011 15:41:16 -0400 - -debhelper (8.9.7) unstable; urgency=low - - * dh: Now you can use override_dh_command-arch and override_dh_command-indep - to run different overrides when building arch and indep packages. This - allows for a much simplified form of rules file in this situation, where - build-arch/indep and binary-arch/indep targets do not need to be manually - specified. See man page for examples. Closes: #640965 - . - Note that if a rules file has say, override_dh_fixperms-arch, - but no corresponding override_dh_fixperms-indep, then the unoverridden - dh_fixperms will be run on the indep packages. - . - Note that the old override_dh_command takes precedence over the new - overrides, because mixing the two types of overrides would have been - too complicated. In particular, it's difficult to ensure an - old override target will work if it's sometimes constrained to only - acting on half the packages it would normally run on. This would be - a source of subtle bugs, so is avoided. - * dh: Don't bother running dh_shlibdebs, dh_makeshlibs, or dh_strip - in the binary target when all packages being acted on are indep. - * dh: Avoid running install sequence a third time in v9 when the - rules file has explicit binary-indep and binary-arch targets. - Closes: #639341 Thanks, Yann Dirson for test case. - * debhelper no longer build-depends on man-db or file, to ease bootstrapping. - * Remove obsolete versioned dependency on perl-base. - * Avoid writing debhelper log files in no-act mode. Closes: #640586 - * Tighten parsing of DEB_BUILD_OPTIONS. - - -- Joey Hess Sun, 11 Sep 2011 20:29:22 -0400 - -debhelper (8.9.6) unstable; urgency=low - - * dh_installlogcheck: Add support for --name. Closes: #639020 - Thanks, Gergely Nagy - - -- Joey Hess Tue, 23 Aug 2011 15:25:55 -0400 - -debhelper (8.9.5) unstable; urgency=low - - * dh_compress: Don't compress _sources documentation subdirectory - as used by python-sphinx. Closes: #637492 - Thanks, Jakub Wilk - * dh_ucf: fix test for ucf/ucfr availability and quote filenames. - Closes: #638944 - Thanks, Jeroen Schot - - -- Joey Hess Tue, 23 Aug 2011 13:25:54 -0400 - -debhelper (8.9.4) unstable; urgency=low - - * dh: The --before --after --until and --remaining options are deprecated. - Use override targets instead. - * Assume that the package can be cleaned (i.e. the build directory can be - removed) as long as it is built out-of-source tree and can be configured. - This is useful for derivative buildsystems which generate Makefiles. - (Modestas Vainius) Closes: #601590 - * dh_auto_test: Run cmake tests in parallel when allowed by - DEB_BUILD_OPTIONS. (Modestas Vainius) Closes: #587885 - * dpkg-buildflags is only used to set environment in v9, to avoid - re-breaking packages that were already broken a first time by - dpkg-buildpackage unconditionally setting the environment, and - worked around that by unsetting variables in the rules file. - (Example: numpy) - - -- Joey Hess Sat, 06 Aug 2011 18:58:59 -0400 - -debhelper (8.9.3) unstable; urgency=low - - * dh: Remove obsolete optimisation hack that caused sequence breakage - in v9 with a rules file with an explicit build target. Closes: #634784 - - -- Joey Hess Tue, 19 Jul 2011 23:26:43 -0400 - -debhelper (8.9.2) unstable; urgency=low - - * dh: Support make 3.82. Closes: #634385 - - -- Joey Hess Mon, 18 Jul 2011 17:55:24 -0400 - -debhelper (8.9.1) unstable; urgency=low - - * Typo fixes. Closes: #632662 - * dh: In v9, do not enable any python support commands. Closes: #634106 - * Now the QT4 version of qmake can be explicitly selected by passing - --buildsystem=qmake_qt4. Closes: #566840 - * Remove debhelper.log in compat level 1. Closes: #634155 - * dh_builddeb: Build in parallel when allowed by DEB_BUILD_OPTIONS. - Closes: #589427 (Thanks, Gergely Nagy and Kari Pahula) - - -- Joey Hess Sun, 17 Jul 2011 16:31:27 -0400 - -debhelper (8.9.0) unstable; urgency=low - - * dh: In v9, any standard rules file targets, including build-arch, - build-indep, build, install, etc, can be defined in debian/rules - without needing to explicitly tell make the dependencies between - the targets. Closes: #629139 - (Thanks, Roger Leigh) - * dh_auto_configure: In v9, does not include the source package name - in --libexecdir when using autoconf. Closes: #541458 - * dh_auto_build, dh_auto_configure, dh: Set environment variables - listed by dpkg-buildflags --export. Any environment variables that - are already set to other values will not be changed. - Closes: #544844 - * dh_movefiles: Optimise use of xargs. Closes: #627737 - * Correct docs about multiarch and v9. Closes: #630826 - * Fix example. Closes: #627534 - * Fix error message. Closes: #628053 - * dh_auto_configure: If there is a problem with cmake, display - the CMakeCache.txt. - - -- Joey Hess Fri, 24 Jun 2011 14:28:52 -0400 - -debhelper (8.1.6) unstable; urgency=low - - * dh_ucf: Fix missing space before ']'s in postrm autoscript. - - -- Joey Hess Thu, 28 Apr 2011 12:33:42 -0400 - -debhelper (8.1.5) unstable; urgency=low - - * dh_ucf: New command, contributed by Jeroen Schot. Closes: #213078 - * dh_installgsettings: Correct bug in use of find that caused some - gsettings files to be missed. Closes: #624377 - - -- Joey Hess Wed, 27 Apr 2011 21:33:50 -0400 - -debhelper (8.1.4) unstable; urgency=low - - * dh_clean: Remove debhelper logs for all packages, including packages - not being acted on. dh can sometimes produce such logs by accident - when passed bundled options (like "-Nfoo" instead of "-N foo") that - it does not understand; and it was not possible to fix that - for any compat level before v8. But also, such logs can occur - for other reasons, like interrupted builds during development, - and it should be safe to clean them all. Closes: #623446 - * Fix Typos in documentation regarding {pre,post}{inst,rm} - Closes: #623709 - - -- Joey Hess Fri, 22 Apr 2011 16:15:21 -0400 - -debhelper (8.1.3) unstable; urgency=low - - [ Joey Hess ] - * dh_auto_clean: Inhibit logging, so that, if dh_auto_clean is used - in some rule other than clean, perhaps to clean up an intermediate - build before a second build is run, debian/rules clean still runs it. - Closes: #615553 - * Started work on Debhelper v9. It is still experimental, and more - changes may be added to that mode. - * Support multiarch in v9. Thanks, Steve Langasek. Closes: #617761 - * dh_auto_configure: Support multiarch in v9 by passing multiarch - directories to --libdir and --libexecdir. - * dh_makeshlibs: Detect packages using multiarch directories and - make ${misc:Pre-Depends} expand to multiarch-support. - * Depend on dpkg-dev (>= 1.16.0) for multiarch support. Note to backporters: - If you remove that dependency, debhelper will fall back to not doing - multiarch stuff in v9 mode, which is probably what you want. - * Removed old example rules files. - * dh_installgsettings: New command to handle gsettings schema files. - Closes: #604727 - - [ Valery Perrin ] - * update french translation. - * Fix french misspelling. - - -- Joey Hess Tue, 05 Apr 2011 13:09:43 -0400 - -debhelper (8.1.2) unstable; urgency=low - - * Fix logging at end of an override target that never actually runs - the overridden command. Closes: #613418 - - -- Joey Hess Mon, 14 Feb 2011 14:22:17 -0400 - -debhelper (8.1.1) unstable; urgency=low - - * dh_strip, dh_makeshlibs: use triplet-objdump, triplet-objcopy and - triplet-strip from cross-binutils when cross-compiling; Closes: #412118. - (Thanks, Loïc Minier) - * Improve handling of logging in override targets, so that - --remaining-packages can be used again. Now all debhelper commands run - in the override target are marked as running as part of the override, - and when the whole target is run, the log is updated to indicate that - commands run during the override have finished. Closes: #612828 - - -- Joey Hess Thu, 10 Feb 2011 19:58:34 -0400 - -debhelper (8.1.0) unstable; urgency=low - - [ Joey Hess ] - * python_distutils: Pass --force to setup.py build, to ensure that when - python-dbg is run it does not win and result in scripts having it in - the shebang line. Closes: #589759 - * Man page fixes about what program -u passes params to. Closes: #593342 - * Avoid open fd 5 or 6 breaking buildsystem test suite. Closes: #596679 - * Large update to Spanish man page translations by Omar Campagne. - Closes: #600913 - * dh_installdeb: Support debian/package.maintscript files, - which can contain dpkg-maintscript-helper commands. This can be used - to automate moving or removing conffiles, or anything added to - dpkg-maintscript-helper later on. Closes: #574443 - (Thanks, Colin Watson) - * Massive man page typography patch. Closes: #600883 - (Thanks, David Prévot) - * Explicitly build-depend on a new enough perl-base. Closes: #601188 - * dh: Inhibit logging when an override target runs the overridden command, - to avoid unexpected behavior if the command succeeded but the overall - target fails. Closes: #601037 - * Fix deprecated command list on translated debhelper(7) man pages. - Closes: #601204 - * dh: Improve filtering in dh_listpackages example. Closes: #604561 - * dh: Add support for build-arch, build-indep, install-arch and - install-indep sequences. Closes: #604563 - (Thanks, Roger Leigh) - * dh_listpackages: Do not display warnings if options cause no packages - to be listed. - * dh_installdocs: Clarify that debian/README.Debian and debian/TODO are - only installed into the first package listed in debian/control. - Closes: #606036 - * dh_compress: Javascript files are not compressed, as these go with - (uncompressed) html files. Closes: #603553 - * dh_compress: Ignore objects.inv files, generated by Sphinx documentation. - Closes: #608907 - * dh_installinit: never call init scripts directly, only through invoke-rc.d - Closes: #610340 - (Thanks, Steve Langasek) - - [ Valery Perrin ] - * update french translation. - * Fix french misspelling. - * French translation update after massive man page typography - - -- Joey Hess Sat, 05 Feb 2011 12:00:04 -0400 - -debhelper (8.0.0) unstable; urgency=low - - [ Carsten Hey ] - * dh_fixperms: Ensure files in /etc/sudoers.d/ are mode 440. Closes: #589574 - - [ Joey Hess ] - * Finalized v8 mode, which is the new recommended default. - - -- Joey Hess Sat, 07 Aug 2010 11:27:24 -0400 - -debhelper (7.9.3) unstable; urgency=low - - * perl_makemaker: import compat(). Closes: #587654 - - -- Joey Hess Wed, 30 Jun 2010 14:42:09 -0400 - -debhelper (7.9.2) unstable; urgency=low - - * In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, - since perl_build is tried first. Avoids the makemaker warning message - introduced by the fix to #527990. - - -- Joey Hess Tue, 29 Jun 2010 17:41:41 -0400 - -debhelper (7.9.1) unstable; urgency=low - - * Started work on Debhelper v8. It is still experimental, and more - changes are planned for that mode. - * dh_installman: Support .so links relative to the current section. - * dh_installman: Avoid converting .so links to symlinks if the link - target is not present in the same binary package, on advice of - Colin Watson. (To support eventual so search paths.) - * Add deprecation warning for dh_clean -k. - * dh_testversion: Removed this deprecated and unused command. - * debian/compress files are now deprecated. Seems only one package - (genesis) still uses them. - * dh_fixperms: Tighten globs used to find library .so files, - avoiding incorrectly matching things like "foo.sources". Closes: #583328 - * dh_installchangelogs: Support packages placing their changelog in a - file with a name like HISTORY. Closes: #582749 - * dh_installchangelogs: Also look for changelog files in doc(s) - subdirectories. Closes: #521258 - * In v8 mode, do not allow directly passing unknown options to debhelper - commands. (Unknown options in DH_OPTIONS still only result in warnings.) - * In v8 mode, dh_makeshlibs will run dpkg-gensymbols on all shared - libraries it generates shlibs files for. This means that -X can be - used to exclude libraries from processing by dpkg-gensymbols. It also - means that libraries in unusual locations, where dpkg-gensymbols does - not itself normally look, will be passed to it, a behavior change which - may break some packages. Closes: #557603 - * In v8 mode, dh expects the sequence to run is always its first parameter. - (Ie, use "dh $@ --foo", not "dh --foo $@") - This avoids ambiguities when parsing options to be passed on to debhelper - commands. (See #570039) - * In v8 mode, prefer the perl_build buildsystem over perl_makemaker. - Closes: #578805 - * postrm-init: Avoid calling the error handler if update-rc.d fails. - Closes: #586065 - - -- Joey Hess Wed, 16 Jun 2010 13:44:48 -0400 - -debhelper (7.4.20) unstable; urgency=low - - * Drop one more call to dpkg-architecture. Closes: #580837 - (Raphael Geissert) - * Further reduce the number of calls to dpkg-architecture to zero, - in a typical package with no explicit architecture mentions - in control file or debhelper config files. - * dh_perl: use debian_abi for XS modules. Closes: #581233 - - -- Joey Hess Wed, 12 May 2010 20:06:02 -0400 - -debhelper (7.4.19) unstable; urgency=low - - * Memoize architecture comparisons in samearch, and avoid calling - dpkg-architecture at all for simple comparisons that clearly - do not involve architecture wildcards. Closes:# 579317 - - -- Joey Hess Mon, 26 Apr 2010 19:45:07 -0400 - -debhelper (7.4.18) unstable; urgency=low - - * dh_gconf: Depend on new gconf2 that uses triggers, and stop - calling triggered programs manually. Closes: #577179 - - -- Joey Hess Mon, 26 Apr 2010 16:23:38 -0400 - -debhelper (7.4.17) unstable; urgency=low - - * Fix #572077 in one place I missed earlier. (See #576885) - * dh: Fixed example of overriding binary target. - * Began finalizing list of changes for v8 compat level. - - -- Joey Hess Thu, 08 Apr 2010 18:23:43 -0400 - -debhelper (7.4.16) unstable; urgency=low - - * Updated French translation. - * makefile buildsystem: Chomp output during test for full compatibility - with debhelper 7.4.11. Closes: #570503 - * dh_install: Now --list-missing and --fail-missing are useful even when - not all packages are acted on (due to architecture limits or flags). - Closes: #570373 - * Typo. Closes: #571968 - * If neither -a or -i are specified, debhelper commands used to default - to acting on all packages in the control file, which was a guaranteed - failure if the control file listed packages that did not build for the - target architecture. After recent optimisations, this default behavior - can efficiently be changed to the more sane default of acting on only - packages that can be built for the current architecture. This change - is mostly useful when using minimal rules files with dh. Closes: #572077 - * dh_md5sums: Sort to ensure stable, more diffable order. Closes: #573702 - * dh: Allow --list-addons to be used when not in a source package. - Closes: #574351 - * dh: Improve documentation. - - -- Joey Hess Tue, 06 Apr 2010 22:06:50 -0400 - -debhelper (7.4.15) unstable; urgency=low - - * The fix for #563557 caused some new trouble involving makefile - that misbehave when stderr is closed. Reopen it to /dev/null - when testing for the existence of a makefile target. Closes: #570443 - - -- Joey Hess Thu, 18 Feb 2010 16:37:34 -0500 - -debhelper (7.4.14) unstable; urgency=low - - * dh: Disable option bundling to avoid mis-parsing bundled options such - as "-Bpython-support". Closes: #570039 - - -- Joey Hess Tue, 16 Feb 2010 14:47:10 -0500 - -debhelper (7.4.13) unstable; urgency=low - - * dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586 - * Fix handling of -O with options specified by commands. Closes: #568081 - - -- Joey Hess Tue, 02 Feb 2010 12:15:41 -0500 - -debhelper (7.4.12) unstable; urgency=low - - * dh_bugfiles: Doc typo. Closes: #563269 - * makefile: Support the (asking for trouble) case of MAKE being set to - something with a space in it. Closes: #563557 - * Fix warning about unknown options passed to commands in override targets. - * Add -O option, which can be used to pass options to commands, ignoring - options that they do not support. - * dh: Use -O to pass user-specified options to the commands it runs. - This solves the problem with passing "-Bbuild" to dh, where commands - that do not support -B would see a bogus -u option. Closes: #541773 - (It also ensures that the commands dh prints out can really be run.) - * qmake: New buildsystem contributed by Kel Modderman. Closes: #566840 - * Fix typo in call to abs2rel in --builddir sanitize code. - Closes: #567737 - - -- Joey Hess Sat, 30 Jan 2010 20:23:02 -0500 - -debhelper (7.4.11) unstable; urgency=low - - * dh(1): Minor rewording of documentation of override commands. - Closes: #560421 - * dh(1): Add an example of using an override target to avoid - dh running several commands. Closes: #560600 - * dh_installman: Avoid doubled slashes in path. Closes: #561275 - * dh_installxfonts: Use new update-fonts-alias --include and - --exclude options to better handle removal in the case where - xfonts-utils is removed before a font package is purged. - (#543512; thanks, Theppitak Karoonboonyanan) - * dh: Optimise handling of noop overrides, avoiding an unnecessary - call to make to handle them. (Modestas Vainius) - - -- Joey Hess Thu, 31 Dec 2009 11:32:34 -0500 - -debhelper (7.4.10) unstable; urgency=low - - * Add --parallel option that can be used to enable parallel building - without limiting the max number of parallel jobs. (Modestas Vainius) - * dh_makeshlibs: Temporarily revert fix for #557603, as it caused - dpkg-gensymbols to see libraries not in the regular search path and - broke builds. This will be re-enabled in v8. Closes: #560217 - - -- Joey Hess Wed, 09 Dec 2009 15:17:19 -0500 - -debhelper (7.4.9) unstable; urgency=low - - * Typo. Closes: #558654 - * dh_installinit: Fix installation of defaults file when an upstart job is - installed. Closes: #558782 - - -- Joey Hess Mon, 30 Nov 2009 14:21:10 -0500 - -debhelper (7.4.8) unstable; urgency=low - - * Parallel building support is no longer enabled by default. It can still - be enabled by using the --max-parallel option. This was necessary because - some buildds build with -j2 by default. (See #532805) - * dh: Document --no-act. Closes: #557505 - * dh_makeshlibs: Make -X also exclude libraries from the symbols file. - Closes: #557603 (Peter Samuelson) - - -- Joey Hess Mon, 23 Nov 2009 13:57:10 -0500 - -debhelper (7.4.7) unstable; urgency=low - - * make: Avoid infinite make recursion that occurs when testing existence - of a target in a certain horribly broken makefile, by making the test stop - after it sees one line of output from make. (This may be better replaced - with dh's makefile parser in the future.) Closes: #557307 - - -- Joey Hess Sat, 21 Nov 2009 13:35:22 -0500 - -debhelper (7.4.6) unstable; urgency=low - - * Update --list to reflect buildsystem autoselection changes. - * Remove last vestiages of support for /usr/X11R6. - * cmake: Fix deep recursion in test. Closes: #557299 - - -- Joey Hess Sat, 21 Nov 2009 13:08:48 -0500 - -debhelper (7.4.5) unstable; urgency=low - - * ant: Fix auto-selection breakage. Closes: #557006 (Cyril Brulebois) - - -- Joey Hess Thu, 19 Nov 2009 11:53:39 -0500 - -debhelper (7.4.4) unstable; urgency=low - - * The makefile buildsystem (and derived buildsystems cmake, autoconf, etc) - now supports parallel building by default, as specified via - DEB_BUILD_OPTIONS. Closes: #532805 - * dh_auto_*: Add --max-parallel option that can be used to control - or disable parallel building. --max-parallel=1 will disable parallel - building, while --max-parallel=N will limit the maximum number of - parallel processes that can be specified via DEB_BUILD_OPTIONS. - * Added some hacks to avoid warnings about unavailable jobservers when - debhelper runs make, and the parent debian/rules was run in parallel - mode (as dpkg-buildpackage -j currently does). - * Thanks, Modestas Vainius for much of the work on parallel build support. - * Add deprecation warnings for -u to the documentation, since putting - options after -- is much more sane. (However, -u will not go away any - time soon.) Closes: #554509 - * Separate deprecated programs in the list of commands in debhelper(7). - Closes: #548382 - * Adjust code to add deprecation warning for compatibility level 4. - (Man page already said it was deprecated.) Closes: #555899 - * dh_installdocs: Warn if a doc-base file cannot be parsed to find a - document id. Closes: #555677 - * Typo. Closes: #555659 - * cmake: Set CTEST_OUTPUT_ON_FAILURE when running test suite. - Closes: #555807 (Modestas Vainius) - * autoconf: If configure fails, display config.log. Intended to make - it easier to debug configure script failures on autobuilders. - Closes: #556384 - * Improve build system autoselection process; this allows cmake to be - autoselected for steps after configure, instead of falling back to - makefile once cmake generated a makefile. Closes: #555805 - (Modestas Vainius) - - -- Joey Hess Wed, 18 Nov 2009 14:44:21 -0500 - -debhelper (7.4.3) unstable; urgency=low - - [ Valery Perrin ] - * update french translation. Closes: #494300, #477703 - * add --previous at po4a command into Makefile - * add dh, dh_auto_install, dh_auto_clean, dh_auto_configure, - dh_auto_install, dh_auto_test, dh_bugfiles, dh_icons, dh_installifupdown, - dh_installudev, dh_lintian, dh_prep into po4a.cfg manpages list - * fix a spelling mistake in dh_makeshlibs man french - translation (#494300 part 2) - - [ Joey Hess ] - * dh_perl: Do not look at perl scripts under /usr/share/doc. - Closes: #546683 - * Allow dpkg-architecture to print errors to stderr. Closes: #548636 - * python_distutils: Run default python last, not first, and pass --force - to setup.py install to ensure that timestamps do not prevent installation - of the scripts built for the default python, with unversioned shebang - lines. Closes: #547510 (Thanks, Andrew Straw) - - -- Joey Hess Thu, 01 Oct 2009 14:37:38 -0400 - -debhelper (7.4.2) unstable; urgency=low - - * Man page typo. Closes: #545443 - * dh: Remove duplicate dh_installcatalogs list. Closes: #545483 - (It was only run once due to logging.) - * dh_installdocs: Add --link-doc option that can be used to link - documentation directories. This is easier to use and more flexible - than the old method of running dh_link first to make a broken symlink. - Closes: #545676 Thanks, Colin Watson - * Reorder dh_pysupport call in dh sequence to come before - dh_installinit, so the generated postinst script registers - python modules before trying to use them. Closes: #546293 - * dh_installudev: With --name, install debian/..udev - to rules.d/-, the same as debian/.udev - is installed for the first package. Closes: #546337 - - -- Joey Hess Mon, 14 Sep 2009 15:46:49 -0400 - -debhelper (7.4.1) unstable; urgency=low - - [ Steve Langasek ] - * dh_installinit: Support upstart job files, and provide compatibility - symlinks in /etc/init.d for sysv-rc implementations. Closes: #536035. - - [ Joey Hess ] - * Add FILES sections to man pages. Closes: #545041 - * dh_prep(1): Clarify when it should be called. Closes: #544969 - - -- Joey Hess Sun, 06 Sep 2009 18:44:40 -0400 - -debhelper (7.4.0) unstable; urgency=low - - * Optimise -s handling to avoid running dpkg-architecture if a package - is arch all. This was, surprisingly, the only overhead of using the -s - flag with arch all/any packages. - * The -a flag now does the same thing as the -s flag, so debhelper users - do not need to worry about using the -s flag when building a package - that only builds for some architectures, and dh will also work in that - situation. Closes: #540794 - - -- Joey Hess Tue, 01 Sep 2009 13:41:16 -0400 - -debhelper (7.3.16) unstable; urgency=low - - * dh_desktop: Clarify in man page why it's a no-op. - Closes: #543364 - * dh_installdocs: Loosen the Document field parsing, to accept - everything doc-base *really* accepts in a doc id (not just what - it's documented to accept). Closes: #543499 - * Allow sequence addons to pass options to debhelper commands, - by adding add_command_options and remove_command_options to the interface. - Closes: #543392 - (Modestas Vainius) - * dh_auto_install: Add a --destdir parameter that can be used to override - the default. Closes: #538201 - (Modestas Vainius) - - -- Joey Hess Wed, 26 Aug 2009 17:10:53 -0400 - -debhelper (7.3.15) unstable; urgency=low - - * dh_installudev: Install rules files into new location - /lib/udev/rules.d/ - * dh_installudev: Add code to delete old conffiles unless - they're modified, and in that case, rename them to override - the corresponding file in /lib/udev. (Based on patch by - Martin Pitt.) (Note that this file will not be deleted on purge -- - I can't see a good way to determine when it's appropriate to do - that.) - * dh_installudev: Set default priority to 60; dropping the "z". - If --priority=zNN is passed, treat that as priority NN. - * Above Closes: #491117 - * dh_installudev: Drop code handling move of /etc/udev/foo into - /etc/udev/rules.d/. - - -- Joey Hess Fri, 21 Aug 2009 17:22:08 -0400 - -debhelper (7.3.14) unstable; urgency=low - - [ Colin Watson ] - * dh: Add --list option to list available addons. Closes: #541302 - - [ Joey Hess ] - * Run pod2man with --utf8. Closes: #541270 - * dh: Display $@ error if addon load fails. Closes: #541845 - * dh_perl: Remove perl minimum dependency per new policy. Closes: #541811 - - -- Joey Hess Mon, 17 Aug 2009 15:55:48 -0400 - -debhelper (7.3.13) unstable; urgency=low - - [ Bernd Zeimetz ] - * python_distutils.pm: Support debhelper backports. - To allow backports of debhelper we don't pass - --install-layout=deb to 'setup.py install` for those Python - versions where the option is ignored by distutils/setuptools. - Thanks to Julian Andres Klode for the bug report. - Closes: #539324 - - -- Joey Hess Fri, 14 Aug 2009 20:10:57 -0400 - -debhelper (7.3.12) unstable; urgency=low - - * dh: Allow creation of new sequences (such as to handle a patch - target for quilt), by adding an add_command function to the - sequence addon interface. See #540124. - - -- Joey Hess Thu, 06 Aug 2009 11:08:53 -0400 - -debhelper (7.3.11) unstable; urgency=low - - * perl_build: Fix Build check to honor source directory setting. - - -- Joey Hess Wed, 05 Aug 2009 13:52:34 -0400 - -debhelper (7.3.10) unstable; urgency=low - - * perl_build: Avoid failing if forced to be used in dh_auto_clean - when Build does not exist (ie due to being run twice in a row). - Closes: #539848 - * dh_builddeb: Fix man page typo. Closes: #539976 - * dh_installdeb: In udeb mode, support the menutest and isinstallable - maintainer scripts. Closes: #540079 Thanks, Colin Watson. - - -- Joey Hess Wed, 05 Aug 2009 11:03:01 -0400 - -debhelper (7.3.9) unstable; urgency=low - - * cmake: Avoid forcing rpath off as this can break some test suites. - It gets stripped by cmake at install time. Closes: #538977 - - -- Joey Hess Sat, 01 Aug 2009 15:59:07 -0400 - -debhelper (7.3.8) unstable; urgency=low - - * Fix t/override_target to use ./run. Closes: #538315 - - -- Joey Hess Sat, 25 Jul 2009 00:37:45 +0200 - -debhelper (7.3.7) unstable; urgency=low - - * First upload of buildsystems support to unstable. - Summary: Adds --buildsystem (modular, OO buildsystem classes), - --sourcedirectory, --builddirectory, and support for cmake - and ant. - - -- Joey Hess Fri, 24 Jul 2009 12:07:47 +0200 - -debhelper (7.3.6) experimental; urgency=low - - * perl_makemaker: Re-add fix for #496157, lost in rewrite. - - -- Joey Hess Thu, 23 Jul 2009 18:17:45 +0200 - -debhelper (7.3.5) experimental; urgency=low - - [ Bernd Zeimetz ] - * python_distutils buildsystem: Build for all supported Python - versions that are installed. Ensure that correct shebangs are - created by using `python' first during build and install. - Closes: #520834 - Also build with python*-dbg if the package build-depends - on them. - - -- Joey Hess Mon, 20 Jul 2009 20:30:22 +0200 - -debhelper (7.3.4) experimental; urgency=low - - * Merged debhelper 7.2.24. - - -- Joey Hess Wed, 15 Jul 2009 09:50:37 -0400 - -debhelper (7.3.3) experimental; urgency=low - - * Add ant buildsystem support. Closes: #537021 - * Merged debhelper 7.2.22. - - -- Joey Hess Tue, 14 Jul 2009 17:16:28 -0400 - -debhelper (7.3.2) experimental; urgency=low - - * Merged debhelper 7.2.21. - - -- Joey Hess Wed, 08 Jul 2009 21:23:48 -0400 - -debhelper (7.3.1) experimental; urgency=low - - * Merged debhelper 7.2.20. - - -- Joey Hess Thu, 02 Jul 2009 12:28:55 -0400 - -debhelper (7.3.0) experimental; urgency=low - - * Modular object oriented dh_auto_* buildsystem support, - contributed by Modestas Vainius - - dh_auto_* --sourcedirectory can now be used to specify a source - directory if sources and/or the whole buildsystem lives elsewhere - than the top level directory. Closes: #530597 - - dh_auto_* --builddirectory can now be used to specify a build - directory to use for out of source building, for build systems - that support it. Closes: #480577 - - dh_auto_* --buildsystem can now be used to override the autodetected - build system, or force use of a third-party class. - - dh_auto_* --list can be used to list available and selected build - systems. - - Adds support for cmake. - - For the perl_build build system, Build is used consistently - instead of falling back to using the generated Makefile. - Closes: #534332 - - Historical dh_auto_* behavior should be preserved despite these - large changes.. - * Move two more command-specific options to only be accepted by the commands - that use them. The options are: - --sourcedir, --destdir - If any third-party debhelper commands use either of the above options, - they will be broken, and need to be changed to pass options to init(). - * Make dh not complain about unknown, command-specific options passed to it, - and further suppress warnings about such options it passes on to debhelper - commands. This was attempted incompletely before in version 7.2.17. - - -- Joey Hess Wed, 01 Jul 2009 15:31:20 -0400 - -debhelper (7.2.24) unstable; urgency=low - - * dh_install: Add test suite covering the last 5 bugs. - - -- Joey Hess Wed, 15 Jul 2009 09:42:18 -0400 - -debhelper (7.2.23) unstable; urgency=low - - * dh_install: Fix support for the case where debian/tmp is - explicitly specified in filename paths despite being searched by - default. Closes: #537140 - - -- Joey Hess Wed, 15 Jul 2009 09:24:19 -0400 - -debhelper (7.2.22) unstable; urgency=low - - * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo - is used. Perl was not being greedy enough and the 'foo' was not stripped - from the destination directory in this unusual case. Closes: #537017 - - -- Joey Hess Tue, 14 Jul 2009 17:08:25 -0400 - -debhelper (7.2.21) unstable; urgency=low - - * Add a versioned dep on perl-base, to get a version that supports - GetOptionsFromArray. Closes: #536310 - - -- Joey Hess Wed, 08 Jul 2009 21:08:45 -0400 - -debhelper (7.2.20) unstable; urgency=low - - * dh_install: Fix installation of entire top-level directory - from debian/tmp. Closes: #535367 - - -- Joey Hess Thu, 02 Jul 2009 12:17:42 -0400 - -debhelper (7.2.19) unstable; urgency=low - - * dh_install: Handle correctly the case where a glob expands to - a dangling symlink, installing the dangling link as requested. - Closes: #534565 - * dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused - it to put files inside a debian/tmp directory in the package build - directory, now that prefix is stripped. (See #534565) - - -- Joey Hess Tue, 30 Jun 2009 12:56:52 -0400 - -debhelper (7.2.18) unstable; urgency=low - - * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps - prints a confusing warning if it does not. Closes: #534226 - * dh_auto_install: Pass --install-layout=deb to setup.py - to support python 2.6. Closes: #534620 - - -- Joey Hess Mon, 29 Jun 2009 15:35:40 -0400 - -debhelper (7.2.17) unstable; urgency=low - - * Allow command-specific options to be passed to commands - via dh without causing other commands to emit a getopt - warning or deprecation message. - * dh_installinfo: No longer inserts install-info calls into - maintainer scripts, as that is now triggerized. Adds a dependency - via misc:Depends to handle partial upgrades. Note that while - dh_installinfo already required that info files had a INFO-DIR-SECTION, - the new system also requires they have START-INFO-DIR-ENTRY and - END-INFO-DIR-ENTRY for proper registration. I assume there will be - some mass bug filing for any packages that do not have that. - Closes: #534639, #357434 - - -- Joey Hess Fri, 26 Jun 2009 09:02:51 -0400 - -debhelper (7.2.16) unstable; urgency=low - - * dh_gconf: Add missed half of postrm fragment removal. Closes: #531035 - - -- Joey Hess Thu, 11 Jun 2009 12:50:33 -0400 - -debhelper (7.2.15) unstable; urgency=low - - * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries. - (Stephane Glondu) Closes: #527272, #532701 - * dh_compress: Avoid compressing .svg and .sgvz files, since these - might be used as images on a html page, and also to avoid needing - to special case the .svgz extension when compressing svg. - Closes: #530253 - * dh_scrollkeeper: Now a deprecated no-op. Closes: #530806 - * dh_gconf: Remove postrm fragment that handled schema migration - from /etc to /usr. Closes: #531035 - - -- Joey Hess Wed, 10 Jun 2009 17:14:07 -0400 - -debhelper (7.2.14) unstable; urgency=low - - * dh: Avoid writing log after override_dh_clean is run. Closes: #529228 - - -- Joey Hess Mon, 18 May 2009 12:49:32 -0400 - -debhelper (7.2.13) unstable; urgency=low - - * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. - Closes: #528235 - - -- Joey Hess Thu, 14 May 2009 15:21:21 -0400 - -debhelper (7.2.12) unstable; urgency=low - - * dh_auto_configure: Revert --skipdeps change - Closes: #528647, reopens: #528235 - - -- Joey Hess Thu, 14 May 2009 14:15:26 -0400 - -debhelper (7.2.11) unstable; urgency=low - - * dh: Support --with addon,addon,... - Closes: #528178 - * dh_auto_configure: Add --skipdeps when running Makefile.PL, - to prevent Module::Install from trying to download dependencies. - Closes: #528235 - * Support debian/foo.os files to suppliment previous debian/foo.arch - file support. Closes: #494914 - (Thanks, Aurelien Jarno) - - -- Joey Hess Tue, 12 May 2009 14:52:18 -0400 - -debhelper (7.2.10) unstable; urgency=low - - * Close COMPAT_IN filehandle. Closes: #527464 - * dh_auto_configure: Clarify man page re adding configure - parameters. Closes: #527256 - * dh_auto_configure: Pass packlist=0 when running Makefile.PL, - in case it is a Build.PL passthru, to avoid it creating - the .packlist file. Closes: #527990 - - -- Joey Hess Sun, 10 May 2009 13:07:08 -0400 - -debhelper (7.2.9) unstable; urgency=low - - * dh_fixperms: Ensure lintian overrides are mode 644. - (Patch from #459548) - * dh_fixperms: Fix permissions of OCaml .cmxs files. Closes: #526221 - * dh: Add --without to allow disabling sequence addons (particularly - useful to disable the default python-support addon). - - -- Joey Hess Mon, 04 May 2009 14:46:53 -0400 - -debhelper (7.2.8) unstable; urgency=low - - * dh_desktop: Now a deprecated no-op, since desktop-file-utils - uses triggers. Closes: #523474 - (also Closes: #521960, #407701 as no longer applicable) - * Move dh sequence documentation to PROGRAMMING. - - -- Joey Hess Mon, 20 Apr 2009 16:15:32 -0400 - -debhelper (7.2.7) unstable; urgency=low - - * Fix calling the same helper for separate packages in the override of dh - binary-indep/binary-arch. Closes: #520567 - * Add --remaining-packages option (Modestas Vainius) - Closes: #520615 - * Pass -L UTF-8 to po4a to work around bug #520942 - * dh_icons: ignore gnome and hicolor themes (will be handled - by triggers). Closes: #521181 - - -- Joey Hess Fri, 27 Mar 2009 14:15:29 -0400 - -debhelper (7.2.6) unstable; urgency=low - - * Examples files updated to add dh_bugfiles, remove obsolete - dh_python. - * dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck. Closes: #519374 - - -- Joey Hess Sun, 15 Mar 2009 17:54:48 -0400 - -debhelper (7.2.5) unstable; urgency=low - - * Set MODULEBUILDRC=/dev/null when running perl Build scripts - to avoid ~/.modulebuildrc influencing the build. Closes: #517423 - * dh_installmenus: Revert removal of update-menus calls. Closes: #518919 - Menu refuses to add unconfigured packages to the menu, and thus - omits packages when triggered, unfortunately. I hope its behavior will - change. - - -- Joey Hess Mon, 09 Mar 2009 16:20:41 -0400 - -debhelper (7.2.4) unstable; urgency=low - - * dh_makeshlibs: Fix --add-udeb, for real. Closes: #518706 - - -- Joey Hess Sun, 08 Mar 2009 13:14:30 -0400 - -debhelper (7.2.3) unstable; urgency=low - - * dh_installmenus: Now that a triggers capable menu and dpkg are in - stable, menu does not need to be explicitly run in maintainer - scripts, except for packages with menu-methods files. (See #473467) - * dh_installdocs: No longer add maintainer script code to call - doc-base, as it supports triggers in stable. - * dh_bugfiles: New program, contributed by Modestas Vainius. - Closes: #326874 - * dh: Override LC_ALL, not LANG. re-Closes: #517617 - * dh_installchangelogs: Support -X to exclude automatic installation - of specific upstream changelogs. re-Closes: #490937 - * Compat level 4 is now deprecated. - * dh_makeshlibs: Re-add --add-udeb support. Closes: #518655 - * dh_shlibdeps: Remove --add-udeb switch (was accidentally added here). - - -- Joey Hess Sat, 07 Mar 2009 14:52:20 -0500 - -debhelper (7.2.2) unstable; urgency=low - - * dh_installmodules: Give files in /etc/modprobe.d a .conf - syntax, as required by new module-init-tools. - * dh_installmodules: Add preinst and postinst code to handle - cleanly renaming the modprobe.d files on upgrade. - * Two updates to conffile moving code from wiki: - - Support case where the conffile name is a substring of another - conffile's name. - - Support case where dpkg-query says the file is obsolete. - - -- Joey Hess Wed, 04 Mar 2009 19:37:33 -0500 - -debhelper (7.2.1) experimental; urgency=low - - * Merged debhelper 7.0.52. - - -- Joey Hess Sat, 28 Feb 2009 20:01:22 -0500 - -debhelper (7.2.0) experimental; urgency=low - - * Merged debhelper 7.0.50. - * dh: Fix typo. Closes: #509754 - * debhelper.pod: Fix typo. Closes: #510180 - * dh_gconf: Support mandatory settings. Closes: #513923 - * Improve error messages when child commands fail. - * Depend on dpkg-dev 1.14.19, the first to support Package-Type - fields in dpkg-gencontrol. - * dh_gencontrol: No longer need to generate the udeb filename - when calling dpkg-gencontrol. - * dh_gencontrol: Do not need to tell dpkg-gencontol not to - include the Homepage field in udebs (fixed in dpkg-dev 1.14.17). - - -- Joey Hess Thu, 26 Feb 2009 18:33:44 -0500 - -debhelper (7.1.1) experimental; urgency=low - - * dh_install(1): Order options alphabetically. Closes:# 503896 - * Fix some docs that referred to --srcdir rather than --sourcedir. - Closes: #504742 - * Add Vcs-Browser field. Closes: #507804 - * Ignore unknown options in DH_OPTIONS. Debhelper will always ignore - such options, even when unknown command-line options are converted back - to an error. This allows (ab)using DH_OPTIONS to pass command-specific - options. - (Note that getopt will warn about such unknown options. Eliminating this - warning without reimplementing much of Getopt::Long wasn't practical.) - - -- Joey Hess Sun, 14 Dec 2008 23:19:27 -0500 - -debhelper (7.1.0) experimental; urgency=low - - * dh_installchangelogs: Fall back to looking for changelog files ending - with ".txt". Closes: #498460 - * dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg - complaining about it when it's empty. Closes: #498666 - * dh: Fix typo in example. Closes: #500836 - * Allow individual debhelper programs to define their own special options - by passing a hash to init(), which is later passed on the Getopt::Long. - Closes: #370823 - * Move many command-specific options to only be accepted by the command - that uses them. Affected options are: - -x, -r, -R, -l, -L, -m, - --include-conffiles, --no-restart-on-upgrade, --no-start, - --restart-after-upgrade, --init-script, --filename, --flavor, --autodest, - --libpackage, --add-udeb, --dpkg-shlibdeps-params, - --dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d, - --dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing, - --language, --until, --after, --before, --remaining, --with - * If any third-party debhelper commands use any of the above options, - they will be broken, and need to be changed to pass options to init(). - * To avoid breaking rules files that pass options to commands that do not - use them, debhelper will now only warn if it encounters an unknown - option. This will be converted back to an error later. - - -- Joey Hess Wed, 10 Sep 2008 13:58:00 -0400 - -debhelper (7.0.52) unstable; urgency=low - - * dh: Fix make parsing to not be broken by locale settings. - Closes: #517617 - - -- Joey Hess Sat, 28 Feb 2009 19:52:34 -0500 - -debhelper (7.0.51) unstable; urgency=low - - * dh: Man page typos. Closes: #517549, #517550 - - -- Joey Hess Sat, 28 Feb 2009 13:23:30 -0500 - -debhelper (7.0.50) unstable; urgency=low - - * This release is designed to be easily backportable to stable, - to support the new style of rules file that I expect many packages will - use. - * dh: debian/rules override targets can change what is run - for a specific debhelper command in a sequence. - (Thanks Modestas Vainius for the improved makefile parser.) - * dh: Redid all the examples to use override targets, since these - eliminate all annoying boilerplate and are much easier to understand - than the old method. - * Remove rules.simple example, there's little need to use explicit targets - with dh anymore. - * dh: Support debian/rules calling make with -B, - which is useful to avoid issues with phony implicit - rules (see bug #509756). - - -- Joey Hess Fri, 27 Feb 2009 15:25:52 -0500 - -debhelper (7.0.17) unstable; urgency=low - - [ Per Olofsson ] - * dh_auto_install: Fix man page, was referring to dh_auto_clean. - - [ Joey Hess ] - * dh_gencontrol: Drop the Homepage field from udebs. Closes: #492719 - * Typo. Closes: #493062 - * dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX - if the Makefile was generated by Module::Build::Compat. Closes: #496157 - - -- Joey Hess Fri, 22 Aug 2008 22:30:12 -0400 - -debhelper (7.0.16) unstable; urgency=low - - * dh: Avoid passing --with on to subcommands. Closes: #490886 - * dh_installchangelogs: When searching for changelog in v7 mode, skip - empty files. Closes: #490937 - - -- Joey Hess Sat, 19 Jul 2008 15:34:13 -0400 - -debhelper (7.0.15) unstable; urgency=low - - * dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918 - - -- Joey Hess Wed, 09 Jul 2008 16:16:11 -0400 - -debhelper (7.0.14) unstable; urgency=low - - * Load python-support sequence file first, to allow ones loaded later to - disable it. - - -- Joey Hess Sat, 05 Jul 2008 08:23:32 -0400 - -debhelper (7.0.13) unstable; urgency=low - - * dh_auto_install: Rather than looking at the number of binary packages - being acted on, look at the total number of binary packages in the - source package when deciding whether to install to debian/package or - debian/tmp. This avoids inconsistencies when building mixed arch all+any - packages using the binary-indep and binary-arch targets. - Closes: #487938 - - -- Joey Hess Wed, 25 Jun 2008 12:27:02 -0400 - -debhelper (7.0.12) unstable; urgency=medium - - * Correct docs about dh_install and debian/tmp in v7 mode. It first looks in - the current directory, or whatever is configured with --srcdir. Then it - always falls back to looking in debian/tmp. - * Medium urgency to get this doc fix into testing. - - -- Joey Hess Wed, 25 Jun 2008 03:36:50 -0400 - -debhelper (7.0.11) unstable; urgency=low - - * dh: Man page fix. Closes: #485116 - * Add stamp files to example rules targets. Closes: #486327 - * Add a build dependency on file. The rules file now runs dh_strip and - dh_shlibdeps, which both use it. (It could be changed not to, but - it's good to have it run all the commands as a test.) Closes: #486439 - * Typo fix. Closes: #486464 - - -- Joey Hess Mon, 16 Jun 2008 12:39:21 -0400 - -debhelper (7.0.10) unstable; urgency=low - - * dh_compress: Do not compress index.sgml files, as generated by gtk-doc. - Closes: #484772 - - -- Joey Hess Fri, 06 Jun 2008 11:48:39 -0400 - -debhelper (7.0.9) unstable; urgency=low - - * rules.tiny: Typo fix. Closes: #479647 - * dh_installinit: Add --restart-after-upgrade, which avoids stopping a - daemon in the prerm, and instead restarts it in the postinst, keeping - its downtime minimal. Since some daemons could break if files are upgraded - while they're running, it's not the default. It might become the default - in a future (v8) compatibility level. Closes: #471060 - * dh: fix POD error. Closes: #480191 - * dh: Typo fixes. Closes: #480200 - * dh: Add remove_command to the sequence interface. - * dh_auto_clean: setup.py clean can create pyc files. Remove. Closes: #481899 - - -- Joey Hess Mon, 19 May 2008 12:47:47 -0400 - -debhelper (7.0.8) unstable; urgency=low - - * dh: Add an interface that third-party packages providing debhelper commands - can use to insert them into a command sequence. - (See dh(1), "SEQUENCE ADDONS".) - * dh: --with=foo can be used to include such third-party commands. - So, for example, --with=cli could add the dh_cli* commands from - cli-common. - * Moved python-support special case out of dh and into a python-support - sequence addon. --with=python-support is enabled by default to avoid - breaking backwards compatibility. - - -- Joey Hess Sun, 04 May 2008 16:10:54 -0400 - -debhelper (7.0.7) unstable; urgency=low - - * dh_installxfonts: Fix precedence problem that exposes a new warning - message in perl 5.10. - - -- Joey Hess Sun, 04 May 2008 13:43:41 -0400 - -debhelper (7.0.6) unstable; urgency=low - - * dh_auto_test: Correct Module::Build tests. - - -- Joey Hess Sat, 03 May 2008 12:58:50 -0400 - -debhelper (7.0.5) unstable; urgency=low - - * Convert copyright file to new format. - * dh_test*: inhibit logging. Closes: #478958 - - -- Joey Hess Thu, 01 May 2008 19:52:00 -0400 - -debhelper (7.0.4) unstable; urgency=low - - * Fix underescaped $ in Makefile. Closes: #478475 - * dh_auto_test: Run tests for Module::Build packages. (Florian Ragwitz) - - -- Joey Hess Wed, 30 Apr 2008 02:17:01 -0400 - -debhelper (7.0.3) unstable; urgency=low - - * dh: Fix man page typos. Closes: #477933 - * Add missing $! to error message when the log can't be opened. - * One problem with the log files is that if dh_clean is not the last command - run, they will be left behind. This is a particular problem on build - daemons that use real root. Especially if cdbs is used, since it runs - dh_listpackages after clean, thereby leaving behind log files that - only root can touch. Avoid this particular special case by inhibiting - logging by dh_listpackages. - - -- Joey Hess Tue, 29 Apr 2008 01:40:03 -0400 - -debhelper (7.0.2) unstable; urgency=low - - * dh: Optimise the case where the binary-arch or binary-indep sequence is - run and there are no packages of that type. - * dh_auto_configure: Set PERL_MM_USE_DEFAULT when configuring MakeMaker - packages to avoid interactive prompts. - * dh_auto_*: Also support packages using Module::Build. - * dh_auto_*: Fix some calls to setup.py. Now tested and working with - python packages. - * dh_install: Find all possible cases of "changelog" and "changes", rather - than just looking for some predefined common cases. - - -- Joey Hess Thu, 24 Apr 2008 21:55:49 -0400 - -debhelper (7.0.1) unstable; urgency=low - - * I lied, one more v7 change slipped in.. - * dh_installchangelogs: In v7 mode, if no upstream changelog is specified, - and the package is not native, guess at a few common changelog filenames. - - -- Joey Hess Thu, 24 Apr 2008 00:16:19 -0400 - -debhelper (7.0.0) unstable; urgency=low - - * dh: New program that runs a series of debhelper commands in a sequence. - This can be used to construct very short rules files (as short as 3 - lines), while still exposing the full power of debhelper when it's - needed. - * dh_auto_configure: New program, automates running ./configure, - Makefile.PL, and python distutils. Calls them with exactly the same - options as cdbs does by default, and allows adding/overriding options. - * dh_auto_build: New program, automates building the package by either - running make or using setup.py. (Support for cmake and other build systems - planned but not yet implemented.) - * dh_auto_test: New program, automates running make test or make check - if the Makefile has such a target. - * dh_auto_clean: New program, automates running make clean (or distclean, - or realclean), or using setup.py to clean up. - * dh_auto_install: New program, automates running make install, or using - setup.py to install. Supports the PREFIX=/usr special case needed by - MakeMaker Makefiles. (Support for cmake and other build systems planned - but not yet implemented.) - * New v7 mode, which only has three changes from v6, and is the new - recommended default, especially when using dh. - * dh_install: In v7 mode, if --sourcedir is not specified, first look for - files in debian/tmp, and then will look in the current directory. This - allows dh_install to interoperate with dh_auto_install without needing any - special parameters. - * dh_clean: In v7 mode, read debian/clean and delete all files listed - therein. - * dh_clean: In v7 mode, automatically delete *-stamp files. - * Add a Makefile and simplify this package's own rules file using - all the new toys. - * dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not - necessarily a core dump.) Closes: #477391 - * dh_prep: New program, does the same as dh_clean -k (which will be - deprecated later). - - -- Joey Hess Wed, 23 Apr 2008 23:14:57 -0400 - -debhelper (6.0.12) unstable; urgency=low - - * dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and - also, for completeness, support .icon files. This matches the set of - extensions supported by gtk-update-icon-cache. Closes: #448094 - - -- Joey Hess Sat, 19 Apr 2008 16:43:31 -0400 - -debhelper (6.0.11) unstable; urgency=medium - - * dh_installman: man --recode transparently uncompresses compressed - pages. So when saving the output back, save it to a non-compressed - filename (and delete the original, compressed file). Closes: #470913 - - -- Joey Hess Tue, 01 Apr 2008 18:31:12 -0400 - -debhelper (6.0.10) unstable; urgency=low - - * dh_perl: Remove empty directories created by MakeMaker. - - -- Joey Hess Tue, 25 Mar 2008 14:11:57 -0400 - -debhelper (6.0.9) unstable; urgency=low - - * dh_installman: Don't recode symlinks. Closes: #471196 - - -- Joey Hess Sun, 16 Mar 2008 13:53:39 -0400 - -debhelper (6.0.8) unstable; urgency=low - - * dh_installman: Convert all man pages in the build directory to utf-8, not - just those installed by the program. - - -- Joey Hess Mon, 10 Mar 2008 18:40:25 -0400 - -debhelper (6.0.7) unstable; urgency=low - - * dh_lintian: Finally added this since linda is gone and there's only - lintian to worry about supporting. Closes: #109642, #166320, #206765 - (Thanks to Steve M. Robbins for the initial implementation.) - - -- Joey Hess Thu, 06 Mar 2008 13:55:46 -0500 - -debhelper (6.0.6) unstable; urgency=low - - * dh_compress: Pass -n to gzip to yield more reproducible file contents. - The time stamp information need not be contained in the .gz file since the - time stamp is preserved when compressing and decompressing. Closes: #467100 - * The order of dependencies generated by debhelper has been completely random - (hash key order), so sort it. Closes: #468959 - - -- Joey Hess Wed, 05 Mar 2008 21:35:21 -0500 - -debhelper (6.0.5) unstable; urgency=low - - * dh_installman: Recode all man pages to utf-8 on installation. - Closes: #462937 (Colin Watson) - * Depend on a new enough version of man-db. - - -- Joey Hess Mon, 28 Jan 2008 16:43:10 -0500 - -debhelper (6.0.4) unstable; urgency=low - - * dh_strip: Improve the idempotency fix put in for #380314. - * dh_strip: The -k flag didn't work (--keep did). Fix. - * dh_shlibdeps: Add emul to exclude list. - - -- Joey Hess Sat, 26 Jan 2008 18:32:27 -0500 - -debhelper (6.0.3) unstable; urgency=low - - * dh_link: -X can be used to avoid it modifying symlinks to be compliant - with policy. Closes: #461392 - * dh_shlibdeps: Rather than skipping everything in /usr/lib/debug, - which can include debug libraries that dpkg-shlibdeps should look at, - only skip the subdirectories of it that contain separate debugging - symbols. (Hardcoding the names of those directories is not the best - implementation, but it will do for now.) Closes: #461339 - - -- Joey Hess Sun, 20 Jan 2008 15:27:59 -0500 - -debhelper (6.0.2) unstable; urgency=low - - * Revert slightly broken refactoring of some exclude code. - Closes: #460340, #460351 - - -- Joey Hess Sat, 12 Jan 2008 12:31:15 -0500 - -debhelper (6.0.1) unstable; urgency=low - - * dh_installdocs/examples: Don't unnecessarily use the exclude code path. - * dh_install{,docs,examples}: Avoid infinite recursion when told to - install a directory ending with "/." (slashdot effect?) when exclusion is - enabled. Emulate the behavior of cp in this case. Closes: #253234 - * dh_install: Fix #459426 here too. - - -- Joey Hess Fri, 11 Jan 2008 14:15:56 -0500 - -debhelper (6.0.0) unstable; urgency=low - - * dh_gencontrol: Stop passing -isp, it's the default now. Closes: #458114 - * dh_shlibdeps: Update documentation for -L and -l. dpkg-shlibdeps is now - much smarter, and these options are almost never needed. Closes: #459226 - * dh_shlibdeps: If a relative path is specified in -l, don't prepend the pwd - to it, instead just prepend a slash to make it absolute. dpkg-shlibdeps - has changed how it used LD_LIBRARY_PATH, so making it point into the - package build directory won't work. - * dh_shlibdeps: Change "-L pkg" to cause "-Sdebian/pkg" to be passed to - dpkg-shlibdeps. The old behavior of passing -L to dpkg-shlibdeps didn't - affect where it looked for symbols files. Closes: #459224 - * Depend on dpkg-dev 1.14.15, the first to support dpkg-shlibdeps -S. - * dh_installdocs, dh_installexamples: Support files with spaces in exclude - mode. Closes: #459426 - * debhelper v6 mode is finalised and is the new recommended compatibility - level. - - -- Joey Hess Tue, 08 Jan 2008 17:12:36 -0500 - -debhelper (5.0.63) unstable; urgency=low - - * dh_installdocs: Tighten doc-base document id parsing to only accept - the characters that the doc-base manual allows in the id. Closes: #445541 - - -- Joey Hess Sat, 22 Dec 2007 22:54:51 -0500 - -debhelper (5.0.62) unstable; urgency=low - - * Remove execute bit from desktop files in /usr/share/applications. - Closes: #452337 - * Fix man page names of translated debhelper(7) man pages. - Patch from Frédéric Bothamy. Closes: 453051 - * dh_makeshlibs: Use new -I flag to specify symbol files, necessary to - properly support includes. Closes: #452717 - * Increase dpkg-dev dependency to 1.14.12 to ensure that dh_makeshlibs - isn't used with an old dpkg-gensymbols that doesn't support -I. - - -- Joey Hess Thu, 29 Nov 2007 12:04:59 -0500 - -debhelper (5.0.61) unstable; urgency=low - - * Man page fix re v4. Closes: #450608 - * dh_makeshlibs: Support symbols files. Closes: #443978 - Packages using this support should build-depend on dpkg-dev (>= 1.14.8). - Symbols files can be downloaded from mole: - http://qa.debian.org/cgi-bin/mole/seedsymbols - - -- Joey Hess Mon, 19 Nov 2007 14:27:57 -0500 - -debhelper (5.0.60) unstable; urgency=low - - * Debhelper is now developed in a git repository. - * Reword paragraph about debian/compress files to perhaps be more clear - about the debian/compress file. Closes: #448759 - * dh_installdirs(1): Remove unnecessary caveat about slashes. - * dh_icons: Now that GTK 2.12 has entered testing, use the much simpler to - call update-icon-caches command. Thanks, Josselin Mouette. - - -- Joey Hess Fri, 02 Nov 2007 23:21:08 -0400 - -debhelper (5.0.59) unstable; urgency=low - - * dh_installdeb: Add support for dpkg triggers, by installing - debian/package.triggers files. - - -- Joey Hess Mon, 22 Oct 2007 13:59:18 -0400 - -debhelper (5.0.58) unstable; urgency=low - - * dh_clean: append "/" to the temp dir name to avoid removing - a file with the same name. Closes: #445638 - - -- Joey Hess Fri, 19 Oct 2007 21:25:50 -0400 - -debhelper (5.0.57) unstable; urgency=low - - * Add --ignore option. This is intended to ease dealing with upstream - tarballs that contain debian directories, by allowing debhelper config - files in those directories to be ignored, since there's generally no - good way to delete them out of the upstream tarball, and they can easily - get in the way if upstream is using debian/ differently than the Debian - maintainer. - - -- Joey Hess Sun, 30 Sep 2007 13:42:09 -0400 - -debhelper (5.0.56) unstable; urgency=low - - * dh_installmodules: Since modutils is gone, stop supporting - debian/*.modutils files. Warn about such files. Closes: #443127 - - -- Joey Hess Tue, 18 Sep 2007 18:16:13 -0400 - -debhelper (5.0.55) unstable; urgency=low - - * dh_desktop: Only generate calls to update-desktop-database for desktop - files with MimeType fields. Patch from Emmet Hikory. Closes: #427831 - * dh_strip: Don't run objcopy if the output file already exists. - Closes: #380314 - * dh_strip: Check that --dbg-package lists the name of a real package. - Closes: #442480 - - -- Joey Hess Sun, 16 Sep 2007 19:50:08 -0400 - -debhelper (5.0.54) unstable; urgency=low - - * dh_strip: Man page reference to policy section on DEB_BUILD_OPTIONS. - Closes: #437337 - * dh_link: Skip self-links. Closes: #438572 - * Don't use - in front of make clean in example rules files. - * Typo. Closes: #441272 - - -- Joey Hess Sat, 08 Sep 2007 21:52:40 -0400 - -debhelper (5.0.53) unstable; urgency=low - - * dh_icons: Check for index.theme files before updating the cache. - Closes: #432824 - - -- Joey Hess Fri, 13 Jul 2007 14:51:00 -0400 - -debhelper (5.0.52) unstable; urgency=low - - * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach. - Closes: #432321 - - -- Joey Hess Mon, 09 Jul 2007 11:26:18 -0400 - -debhelper (5.0.51) unstable; urgency=low - - * dh_icons: New program to update Freedesktop icon caches. Thanks - to Josselin Mouette, Ross Burton, Jordi Mallach, and Loïc Minier. - Closes: #329460 - * Note that as a transitional measure, dh_icons will currently only update - existing caches, and not create and new caches. Once everything is - updating the icon caches, this will be changed. See #329460 for the full - plan. - * Remove possibly confusing (though strictly accurate) sentence from - dh_installdirs.1. Closes: #429318 - * dh_gencontrol: Fix man page typo. Closes: #431232 - - -- Joey Hess Sun, 08 Jul 2007 18:16:21 -0400 - -debhelper (5.0.50) unstable; urgency=low - - * dh_installwm: If a path is not given, assume the file is in usr/bin, since - usr/X11R6/bin now points to there. - * Update urls to web page. - * Add some checks for attempts to act on packages not defined in the control - file. (Thanks Wakko) - * Use dpkg-query to retrieve conffile info in udev rules upgrade code - rather than parsing status directly. (Thanks Guillem) - - -- Joey Hess Thu, 31 May 2007 13:14:06 -0400 - -debhelper (5.0.49) unstable; urgency=low - - * dh_installwm: Fix several stupid bugs, including: - - man page handling was supposed to be v6 only and was not - - typo in alternatives call - - use the basename of the wm to get the man page name - Closes: #420158 - * dh_installwm: Also make the code to find the man page more robust and - fall back to not registering a man page if it is not found. - - -- Joey Hess Fri, 20 Apr 2007 13:43:35 -0400 - -debhelper (5.0.48) unstable; urgency=low - - * Remove use of #SECTION# from dh_installinfo postinst snippet - that was accidentally re-added in 5.0.46 due to a corrupt svn checkout. - Closes: #419849 - - -- Joey Hess Wed, 18 Apr 2007 13:24:58 -0400 - -debhelper (5.0.47) unstable; urgency=low - - * Fix absurd typo. How did I test for an hour and miss that? Closes: #419612 - - -- Joey Hess Mon, 16 Apr 2007 18:20:20 -0400 - -debhelper (5.0.46) unstable; urgency=low - - * Fix a typo in postinst-udev. - - -- Joey Hess Mon, 16 Apr 2007 12:39:41 -0400 - -debhelper (5.0.45) unstable; urgency=low - - * dh_installudev: Install udev rules directly into /etc/udev/rules.d/, not - using the symlinks. MD has agreed that this is more appropriate for most - packages. - * That fixes the longstanding bug that the symlink was only made on brand - new installs of the package, rather than on upgrade to the first version - that includes the udev rules file. Closes: #359614 - * This avoids the need to run udevcontrol reload_rules, since inotify - will see the file has changed. Closes: #414537 - * dh_installudev: Add preinst and postinst code to handle cleanly moving - the rules file to the new location on upgrade. - * This would be a good time for the many packages that manage rules files - w/o using dh_installudev to begin to use it.. - * Do script fragment reversal only in v6, since it can break certain - third party programs such as dh_installtex. Closes: #419060 - - -- Joey Hess Fri, 13 Apr 2007 12:34:10 -0400 - -debhelper (5.0.44) unstable; urgency=low - - * dh_installudev: Don't fail if the link already somehow exists on initial - package install. Closes: #415717 - * prerm and postrm scripts are now generated in a reverse order than - preinst and postinst scripts. For example, if a package uses - dh_pysupport before dh_installinit, the prerm will first stop the init - script and then remove the python files. - * Introducing beginning of v6 mode. - * dh_installwm: In v6 mode, install a slave manpage link for - x-window-manager.1.gz. Done in v6 mode because some window managers - probably work around this longstanding debhelper bug by registering the - slave on their own. This bug was only fixable once programs moved out of - /usr/X11R6. Closes: #85963 - * dh_builddeb: In v6 mode, fix bug in DH_ALWAYS_EXCLUDE handling, to work - the same as all the other code in debhelper. This could only be fixed in - v6 mode because packages may potentially legitimately rely on the old - buggy behavior. Closes: #242834 - * dh_installman: In v6 mode, overwrite existing man pages. Closes: #288250 - * Add dh_installifupdown. Please consider using this if you have - /etc/network/if-up.d, etc files. Closes: #217552 - - -- Joey Hess Mon, 09 Apr 2007 15:18:22 -0400 - -debhelper (5.0.43) unstable; urgency=low - - [ Valery Perrin ] - * Correct typo in french translation - - [ Joey Hess ] - * Typo. Closes: #400571 - * dh_fixperms: Change a chmod +x to chmod a+x, to avoid the umask - influencing it. - * Looks like Package-Type might get into dpkg. Support it w/o the XB- - too. - * dh_installudev: Fix postrm to not fail if the udev symlink is missing. - Closes: #406921, #381940 - * dh_fixperms: Make all files in /usr/include 644, not only .h files. - Closes: #404785 - * Man page improvements. Closes: #406707 - * dh_installdocs: In v5 mode, now ignore empty files even if they're hidden - away inside a subdirectory. The code missed this before. See #200905 - * dh_installudev: Support debian/udev files. Closes: #381854 - * dh_installudev: Treat --priority value as a string so that leading zeros - can be used (also so that a leading "z" that is not "z60" can be - specified). Closes: #381851 - * Misc minor changes. - - -- Joey Hess Sun, 21 Jan 2007 12:44:02 -0500 - -debhelper (5.0.42) unstable; urgency=low - - [ Valery Perrin ] - * Update french translation with recent changes in dh_link and - dh_installinfo - - [ Joey Hess ] - * Patch from Simon Paillard to convert French manpages from utf-8 to - ISO-8859-15. Closes: #397953 - - -- Joey Hess Sun, 12 Nov 2006 17:32:23 -0500 - -debhelper (5.0.41) unstable; urgency=low - - [ Joey Hess ] - * dh_installchangelogs man page typo. Closes: #393155 - - [ Valery Perrin ] - * Encoding french translation from charset ISO-8859-1 to UTF-8 - * Update french translation with recent change in dh_installchangelogs - - [ Joey Hess ] - * Tighten python-support and python-central dependencies of debhelper, - in an IMHO rather futile attempt to deal with derived distributions. - Closes: #395495 - * Correct some incorrect instances of "v4 only" in docs. Closes: #381536 - * dh_installinfo: Put the section madness to bed by not passing any section - information to install-info. Current install-info parses INFO-DIR-SECTION - on its own if that's not specified. Closes: #337215 - - -- Joey Hess Tue, 7 Nov 2006 17:04:47 -0500 - -debhelper (5.0.40) unstable; urgency=medium - - [ Valery Perrin ] - * Update french translation with recent change in dh_python - - [ Joey Hess ] - * Tighten conflict with python-central. Closes: #391463 - - -- Joey Hess Fri, 6 Oct 2006 14:21:28 -0400 - -debhelper (5.0.39) unstable; urgency=low - - * dh_python: Also be a no-op if there's a Python-Version control file field. - - -- Joey Hess Tue, 3 Oct 2006 13:02:24 -0400 - -debhelper (5.0.38) unstable; urgency=low - - [ Valery Perrin ] - * Update french translation with recent change in dh_installmodules - - [ Joey Hess] - * ACK last three NMUs with thanks to Raphael Hertzog for making the best of - a difficult situation. - * Revert all dh_python changes. Closes: #381389, #378604 - * Conflict with python-support <= 0.5.2 and python-central <= 0.5.4. - * Make dh_python do nothing if debian/pycompat is found. - The new versions of dh_pysupport or dh_pycentral will take care of - everything dh_python used to do in this situation. - * dh_python is now deprecated. Closes: #358392, #253582, #189474 - * move po4a to Build-Depends as it's run in clean. - * Add size test, which fails on any debhelper program of more than 150 - lines (excluding POD). This is not a joke, and 100 lines would be better. - * Add size test exception for dh_python, since it's deprecated. - - -- Joey Hess Sun, 1 Oct 2006 13:07:40 -0400 - -debhelper (5.0.37.3) unstable; urgency=low - - * Non-maintainer upload. - * Update of dh_python - - when building for a non-standard Python version, generate more - reasonable Depends like "python (>= X.Y) | pythonX.Y" - Closes: #375576 - - fix handling of private extensions. Closes: #375948 - - fix parsing of XS-Python-Version, it didn't work if only fixed versions - were listed in XS-Python-Version. - - fix use of uninitialized value. Closes: #374776 - - fix typos in POD documentation. Closes: #375936 - - -- Raphael Hertzog Mon, 10 Jul 2006 13:20:06 +0200 - -debhelper (5.0.37.2) unstable; urgency=low - - * Non-maintainer upload. - * Update of dh_python - - vastly refactored, easier to understand, and the difference - between old policy and new policy is easier to grasp - - it supports an -X option which can be used to not scan some files - - uses debian/pyversions as reference source of information for - dependencies but also parse the XS-Python-Version header as fallback. - - ${python:Versions}'s default value is XS-Python-Version's value - instead of "all" when the package doesn't depend on a - specific python version. Closes: #373853 - - always generate ${python:Provides} and leave the responsibility to the - maintainer to not use ${python:Provides} if he doesn't want the - provides. - - uses debian/pycompat or DH_PYCOMPAT as reference field to run in new - policy mode. The presence of XS-Python-Version will also trigger the - new policy mode (this is for short-term compatibility, it may be removed in - the not too-distant future). - DH_PYCOMPAT=1 is the default mode and is compatible to the old policy. - DH_PYCOMPAT=2 is the new mode and is compatible with the new policy. - * Use "grep ^Version:" instead of "grep Version:" on the output of - dpkg-parsechangelog since the above changelog entry matched "Version:" and - thus made the build fail. - - -- Raphael Hertzog Sat, 17 Jun 2006 20:44:29 +0200 - -debhelper (5.0.37.1) unstable; urgency=low - - * Non-maintainer upload. - * Integrate the new dh_python implementing the new Python policy. Closes: #370833 - - -- Raphael Hertzog Mon, 12 Jun 2006 08:58:22 +0200 - -debhelper (5.0.37) unstable; urgency=low - - * dh_installmodules: depmod -a is no longer run during boot, so if a module - package is installed for a kernel other than the running kernel, just - running depmod -a in the postinst is no longer sufficient. Instead, run - depmod -a -F /boot/System.map- - The kernel version is guessed at based on the path to the modules in the - package. Closes: #301424 - * dh_installxfonts: In postrm, run the deregistraton code even on upgrade, - in case an upgrade involves moving fonts around (or removing or renaming - fonts). Closes: #372686 - - -- Joey Hess Sun, 11 Jun 2006 21:17:38 -0400 - -debhelper (5.0.36) unstable; urgency=low - - [ Valery Perrin ] - * Update french translation with recent change in dh_installxfonts - - [ Joey Hess ] - * Remove old alternate dependency on fileutils. Closes: #370011 - * Patch from Guillem Jover to make --same-arch handling code support - the new form of architecture wildcarding which allows use of things - like "linux-any" and "any-i386" in the Architecture field. Closes: #371082 - * Needs dpkg-dev 1.13.13 for dpkg-architecture -s support needed by - above, but already depends on that. - - -- Joey Hess Fri, 9 Jun 2006 14:57:19 -0400 - -debhelper (5.0.35) unstable; urgency=low - - * dh_installman: When --language is used, be smarter about stripping - language codes from man page filenames. Only strip things that look like - codes that match the specified languages. Closes: #366645 - * dh_installxfonts: /etc/X11/fonts/X11R7 is deprecated, back to looking in - old location, and not passing --x11r7-layout to update-fonts-alias and - update-fonts-scale (but still to update-fonts-dir). Closes: #366234 - - -- Joey Hess Wed, 10 May 2006 20:09:00 -0400 - -debhelper (5.0.34) unstable; urgency=low - - * dh_installcatalogs: Make sure that /etc/sgml exists. Closes: #364946 - - -- Joey Hess Thu, 27 Apr 2006 12:07:56 -0400 - -debhelper (5.0.33) unstable; urgency=low - - [ Valery Perrin ] - * Update french translation with recent change in dh_installxfonts - - [ Joey Hess ] - * dh_installxfonts: Patch from Theppitak Karoonboonyanan to fix - an instance of /etc/X11/fonts/ that was missed before. Closes: #364530 - - -- Joey Hess Sun, 23 Apr 2006 22:37:54 -0400 - -debhelper (5.0.32) unstable; urgency=low - - * dh_installudev: Include rules.d directory so symlink can be made even - before udev is installed. Closes: #363307 - - -- Joey Hess Tue, 18 Apr 2006 10:13:54 -0400 - -debhelper (5.0.31) unstable; urgency=low - - [ Valery Perrin ] - * Update french translation with recent changes in dh_installxfonts, - dh_link and dh_compress manpages - * Delete -f option in po4a command line. Bug in po4a has been corrected in - new version (0.24.1). - * Change build-depends for po4a. New version (0.24.1). - * Add code for removing empty "lang" directories into man/ when cleaning. - - [ Joey Hess ] - * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ensure - they use the right new directory. Closes: #362820 - * dh_installxfonts: also, alias files have moved from /etc/X11/fonts/* to - /etc/X11/fonts/X11R7/*, update call to update-fonts-alias and the man page - accordingly; packages containing alias files will need to switch to the - new directory on their own. - * dh_installudev: correct documentation for --name. Closes: #363028 - * Fix broken directory removal code. - - -- Joey Hess Mon, 17 Apr 2006 16:12:41 -0400 - -debhelper (5.0.30) unstable; urgency=low - - * Convert the "I have no packages to build" error into a warning. Am I - really the first person to run into the case of a source package that - builds an arch all package and an single-arch package? In this case, - the binary-arch target needs to use -s and do nothing when run on some - other arch, and debhelper will now support this. - - -- Joey Hess Fri, 14 Apr 2006 00:35:55 +0200 - -debhelper (5.0.29) unstable; urgency=low - - * dh_installxfonts: Random hack to deal with X font dirs moving to - /usr/share/fonts/X11/ -- look there for fonts as well as in the old - location, although the old location probably won't be seen by X anymore. - * dh_installxfonts: Generate misc:Depends on new xfonts-utils. - * dh_compress: compress pcm fonts under usr/share/fonts/X11/ - * dh_link: change example that used X11R6 directory. - - -- Joey Hess Thu, 13 Apr 2006 10:29:29 +0200 - -debhelper (5.0.28) unstable; urgency=low - - * dh_makeshlibs: Fix udeb package name regexp. Closes: #361677 - - -- Joey Hess Sun, 9 Apr 2006 13:05:50 -0400 - -debhelper (5.0.27) unstable; urgency=low - - [ Joey Hess ] - * Typo. Closes: #358904 - * dh_install: swap two paras in man page for clarity. Closes: #359182 - * dh_installman: die with an error if a man page read for so lines fails - Closes: #359020 - - [ Valery Perrin ] - * Update pot file and french translation with recent changes in - dh_installdirs and dh_movefiles manpages - - -- Joey Hess Thu, 30 Mar 2006 15:22:12 -0500 - -debhelper (5.0.26) unstable; urgency=high - - * dh_installinit: Fix badly generated code in maintscripts that used - || exit 0 instead of the intended - || exit $? - due to a bad shell expansion and caused invoke-rc.d errors to be - ignored. Closes: #337664 - - Note: This has been broken since version 4.2.12 and has affected many - packages. - - -- Joey Hess Wed, 22 Mar 2006 19:33:38 -0500 - -debhelper (5.0.25) unstable; urgency=low - - * dh_installdebconf: For udebs, misc:Depends will now contain cdebconf-udeb. - - -- Joey Hess Wed, 15 Mar 2006 16:13:05 -0500 - -debhelper (5.0.24) unstable; urgency=low - - [ Joey Hess ] - * Add dh_installudev by Marco d'Itri. - - [ vperrin forgot to add this to the changelog when committing ] - * Update pot file and french translation with recent changes in - the dh_installdebconf manpage - * Add -f option to force .pot file re-building. This is in waiting - a patch, correcting a bug in po4a_0.23.1 - * Add --rm-backups in clean: Otherwise ll.po~ are included in the - source package. (see debhelper_5.0.22.tar.gz) - - -- Joey Hess Thu, 23 Feb 2006 11:40:22 -0500 - -debhelper (5.0.23) unstable; urgency=low - - * dh_strip: remove binutils build-dep lines since stable has a new enough - version. Closes: #350607 - * dh_installdebconf: drop all support for old-style translated debconf - templates files via debconf-mergetemplate (keep a warning if any are - found, for now). Allows dropping debhelper's dependency on - debconf-utils. Closes: #331796 - - -- Joey Hess Mon, 20 Feb 2006 16:42:30 -0500 - -debhelper (5.0.22) unstable; urgency=low - - * dh_makeshlibs: add support for adding udeb: lines to shlibs file - via --add-udeb parameter. Closes: #345471 - * dh_shlibdeps: pass -tudeb to dpkg-shlibdeps for udebs. Closes: #345472 - * Depends on dpkg-dev 1.13.13 for dh_shlibdeps change. - - -- Joey Hess Sat, 28 Jan 2006 13:04:53 -0500 - -debhelper (5.0.21) unstable; urgency=low - - * dh_installman: correct mistake that broke translated man page installation - Closes: #349995 - - -- Joey Hess Thu, 26 Jan 2006 12:32:44 -0500 - -debhelper (5.0.20) unstable; urgency=low - - * Minor bug fix from last release. - - -- Joey Hess Mon, 23 Jan 2006 20:29:10 -0500 - -debhelper (5.0.19) unstable; urgency=low - - * dh_installman: add support for --language option to override man page - language guessing. Closes: #193221 - - -- Joey Hess Mon, 23 Jan 2006 18:52:00 -0500 - -debhelper (5.0.18) unstable; urgency=low - - * Improved po4a cleaning. Closes: #348521 - * Reverted change in 4.1.9, so generation of EXCLUDE_FIND escapes "." to - "\\.", which turns into "\." after being run through the shell, and - prevents find from treating -X.svn as a regexp that matches files such - as foo/svn.vim. (It's safe to do this now that all uses of EXCLUDE_FIND are - via complex_doit(), which was not the case of dh_clean when this change - was originally made.) Closes: #349070 - - -- Joey Hess Fri, 20 Jan 2006 17:09:31 -0500 - -debhelper (5.0.17) unstable; urgency=low - - * dh_python: Temporarily revert change in 5.0.13 to make use of - python-support for packages providing private modules or python-only - modules, since python policy hasn't been updated for this yet. - Closes: #347758 - - -- Joey Hess Mon, 16 Jan 2006 17:39:20 -0500 - -debhelper (5.0.16) unstable; urgency=low - - * Fix dangling markup in dh_installinit pod. Closes: #348073 - * Updated French translation from Valéry Perrin. Closes: #348074 - - -- Joey Hess Sun, 15 Jan 2006 17:29:27 -0500 - -debhelper (5.0.15) unstable; urgency=low - - * Fix ghastly option parsing error in last release that broke - --noscripts (-n was ok). Thanks, Marc Haber. Closes: #347577 - - -- Joey Hess Wed, 11 Jan 2006 12:38:41 -0500 - -debhelper (5.0.14) unstable; urgency=low - - * dh_installinit: If run with -o, do the inverse of -n and only - set up maintainer script snippets, w/o installing any files. - Useful for those edge cases where the init script is provided by upstream - and not easily installed by dh_installinit but where it's worth letting - it manage the maintainer scripts anyway. Closes: #140881, #184980 - * -o might be added for other similar commands later if there is any - reason to. And yeah, it means that -no is close to a no-op.. - - -- Joey Hess Sun, 8 Jan 2006 17:21:52 -0500 - -debhelper (5.0.13) unstable; urgency=low - - [ Joey Hess ] - * debhelper svn moved to alioth - * debhelper(7): document previous dh_install v5 change re wildcarding. - * dh_link: add special case handling for paths to a directory containing the - link. Closes: #346405 - * dh_link: add special case handling for link to / - - [ Josselin Mouette ] - * dh_python: make use of python-support for packages providing private - modules or python-only modules. This should greatly reduce the - number of packages needing to transition together with python. - * postinst-python: don't build the .pyo files, they aren't even used! - * dh_gconf: add support for debian/package.gconf-defaults, to provide - defaults for a package without patching the schemas. - - -- Joey Hess Sat, 7 Jan 2006 23:34:26 -0500 - -debhelper (5.0.12) unstable; urgency=low - - * dh_installdocs: document that -X affects doc-base file installation. - Closes: #345291 - - -- Joey Hess Fri, 30 Dec 2005 14:27:14 -0500 - -debhelper (5.0.11) unstable; urgency=low - - * French translation update. Closes: #344133 - - -- Joey Hess Tue, 20 Dec 2005 14:40:25 -0500 - -debhelper (5.0.10) unstable; urgency=low - - * dh_installdocs: Fix bug introduced by empty file skipping that prevented - errors for nonexistent files. Closes: #342729 - - -- Joey Hess Fri, 9 Dec 2005 18:05:15 -0500 - -debhelper (5.0.9) unstable; urgency=low - - * dh_installmodules: always run depmod, since if module-init-tools but not - modutils is installed, it will not get run by update-modules. - Closes: #339658 - - -- Joey Hess Thu, 8 Dec 2005 13:04:11 -0500 - -debhelper (5.0.8) unstable; urgency=low - - * Man page type fixes (yes, more, nice to know people read the man pages). - Closes: #341289 - * dh_installdocs: Make -X also exclude matching doc-base files from being - installed. Closes: #342033 - - -- Joey Hess Mon, 5 Dec 2005 14:31:23 -0500 - -debhelper (5.0.7) unstable; urgency=low - - * Patch from Valéry Perrin to update French translation, and also update - the po4a stuff. Closes: #338713 - * Fix a bad regexp in -s handling code that breaks if an architecture name, - such as i386-uclibc is the hyphenated version of a different arch. - Closes: #338555 - - -- Joey Hess Sun, 13 Nov 2005 13:28:13 -0500 - -debhelper (5.0.6) unstable; urgency=low - - * Pass --name in debhelper.pod pod2man run. Closes: #338349 - - -- Joey Hess Wed, 9 Nov 2005 16:08:27 -0500 - -debhelper (5.0.5) unstable; urgency=low - - * Create Dh_Version.pm before running syntax test. Closes: #338337 - - -- Joey Hess Wed, 9 Nov 2005 15:41:06 -0500 - -debhelper (5.0.4) unstable; urgency=low - - * Remove hardcoded paths to update-modules and gconf-schemas in various - script fragments. - * dh_clean: Patch from Matej Vela to clean up autom4te.cache directories - in subdiretories of the source tree and do it all in one enormous, - evil, and fast find expression. Closes: #338193 - - -- Joey Hess Tue, 8 Nov 2005 16:16:56 -0500 - -debhelper (5.0.3) unstable; urgency=low - - * Remove dh_shlibs from binary-indep section of debian/rules. - * Add t/syntax to make sure all dh_* commands and the libraries syntax check - ok. - - -- Joey Hess Mon, 7 Nov 2005 15:18:12 -0500 - -debhelper (5.0.2) unstable; urgency=low - - * Sometimes it's a good idea to edit more files than just the changelog - before releasing. - - -- Joey Hess Thu, 3 Nov 2005 11:54:46 -0500 - -debhelper (5.0.1) unstable; urgency=low - - * dh_installinfo: Escape section with \Q \E. Closes: #337215 - - -- Joey Hess Thu, 3 Nov 2005 11:04:21 -0500 - -debhelper (5.0.0) unstable; urgency=low - - * debhelper v5 mode is finalised and the new recommended compatibility - level. Unless your package uses dh_strip --dbg-package, switching to v5 - is 99.999% unlikely to change anything in a package, and it allows - adding comments to all your debhelper config files, so I recommend making - the switch as soon as this version reaches testing. - * debhelper.1: Explicitly document that docs describe latest compat - level and changes from earlier levels are concentrated in the - "Debhelper compatibility levels" section of debhelper.1. Closes: #336906 - * Deprecate v3. - * dh_install: Add package name to missing files error. Closes: #336908 - - -- Joey Hess Tue, 1 Nov 2005 18:54:29 -0500 - -debhelper (4.9.15) unstable; urgency=low - - * Patches from Ghe Rivero to fix outdated paths in French and Spanish - translations of dh_installmenus(1). Closes: #335314 - * add.fr update. Closes: #335727 - - -- Joey Hess Tue, 25 Oct 2005 19:51:54 -0400 - -debhelper (4.9.14) unstable; urgency=low - - * dh_installmanpages: Remove X11 man page special case; X man pages are ok - in standard man dirs. - * French mn page translation update. Closes: #335178, #334765 - - -- Joey Hess Sat, 22 Oct 2005 13:41:09 -0400 - -debhelper (4.9.13) unstable; urgency=low - - * dh_strip: Man page typo fix. Closes: #332747 - - -- Joey Hess Sat, 8 Oct 2005 12:31:22 -0400 - -debhelper (4.9.12) unstable; urgency=low - - * dh_installdeb: Don't autogenerate conffiles for udebs. - Let's ignore conffiles (and shlibs) files for udebs too. - Closes: #331237 - - -- Joey Hess Sun, 2 Oct 2005 12:00:22 -0400 - -debhelper (4.9.11) unstable; urgency=low - - * Patch from Valéry Perrin to update the Spanish translation. - Closes: #329132 - - -- Joey Hess Tue, 27 Sep 2005 10:26:07 -0400 - -debhelper (4.9.10) unstable; urgency=low - - * Patch from Valéry Perrin to use po4a for localised manpages. Thanks! - Closes: #328791 - - -- Joey Hess Thu, 22 Sep 2005 23:11:12 +0200 - -debhelper (4.9.9) unstable; urgency=low - - * dh_shlibdeps: Avoid a use strict warning in some cases if - LD_LIBRARY_PATH is not set. - * ACK NMU. Closes: #327209 - - -- Joey Hess Wed, 7 Sep 2005 15:32:53 -0400 - -debhelper (4.9.8.1) unstable; urgency=low - - * NMU with maintainer approval. - * dh_gconf: delegate schema registration the gconf-schemas script, - which moves schemas to /var/lib/gconf, and require gconf2 2.10.1-2, - where it can be found. Closes: #327209 - - -- Josselin Mouette Wed, 21 Sep 2005 23:39:01 +0200 - -debhelper (4.9.8) unstable; urgency=low - - * Spelling patch from Kumar Appaiah. Closes: #324892 - - -- Joey Hess Fri, 26 Aug 2005 22:12:41 -0400 - -debhelper (4.9.7) unstable; urgency=low - - * dh_installdocs: Fix stupid and horrible typo. Closes: #325098 - - -- Joey Hess Fri, 26 Aug 2005 09:20:47 -0400 - -debhelper (4.9.6) unstable; urgency=low - - * dh_installdocs: Install symlinks to in -x mode, same as in non exclude - mode. Closes: #324161 - - -- Joey Hess Wed, 24 Aug 2005 16:20:02 -0400 - -debhelper (4.9.5) unstable; urgency=low - - * dh_install: in v5 mode, error out if there are wildcards in the file - list and the wildcards expand to nothing. Done only for v5 as this is a - behavior change. Closes: #249815 - * dh_usrlocal: generate prerm scripts that do not remove directories in - /usr/local, but only subdirectories thereof, in accordance with policy. - Closes: #319181 - - -- Joey Hess Wed, 20 Jul 2005 10:08:05 -0400 - -debhelper (4.9.4) unstable; urgency=low - - * dh_clean: switch to using complex_doit for the evil find command - and quoting everything explicitly rather than the doit approach used - before. This way all uses of EXCLUDE_FIND will use complex_doit, which - is necessary for sanity. - * Dh_Lib.pm: Make COMPLEX_DOIT properly escape wildcards for use with - complex_doit. Before they were unescaped, which could lead to subtle - breakage. - - -- Joey Hess Tue, 19 Jul 2005 12:47:30 -0400 - -debhelper (4.9.3) unstable; urgency=high - - * Fix typo in postrm-modules fragment. Closes: #316069 - Recommend any dh_installmodules users rebuild ASAP. - - -- Joey Hess Tue, 28 Jun 2005 17:41:51 -0400 - -debhelper (4.9.2) unstable; urgency=low - - * Fix typo in dh_install example. Closes: #314964 - * Fix deprecation message. Closes: #315517 - - -- Joey Hess Mon, 20 Jun 2005 16:17:05 -0400 - -debhelper (4.9.1) unstable; urgency=low - - * Fix typo in dh_strip. - - -- Joey Hess Mon, 13 Jun 2005 20:32:12 -0400 - -debhelper (4.9.0) unstable; urgency=low - - * Begin work on compatibility level 5. The set of changes in this mode is - still being determined, and will be until debhelper version 5.0 is - released, so use at your own risk. - * dh_strip: In v5, make --dbg-package specify a single debugging package - that gets the debugging symbols from the other packages acted on. - Closes: #230588 - * In v5, ignore comments in config files. Only comments at the start of - lines are ignored. Closes: #206422 - * In v5, also ignore empty lines in config files. Closes: #212162 - * In v5, empty files are skipped by dh_installdocs. - * Use v5 to build debhelper. - * Add deprecation warnings for debhelper v1 and v2. - * Document getpackages in PROGRAMMING. - * Add another test-case for dh_link. - * dh_python: Minimal fix from Joss for -V to make it search the right - site-packages directories. Closes: #312661 - * Make compat() cache the expensive bits, since we run it more and more, - including twice per config file line now.. - * Add a "run" program to source tree to make local testing easier - and simplify the rules file. - * Man page typo fixes. Closes: #305806, #305816 - * dh_installmenu: menus moved to /usr/share/menu. Closes: #228618 - Anyone with a binary executable menu file is SOL but there are none in - debian currently. - * Removed old versioned build deps for stuff that shipped in sarge or - earlier, mostly to shut up linda and lintian's stupid messages. - - -- Joey Hess Thu, 9 Jun 2005 10:01:20 -0400 - -debhelper (4.2.36) unstable; urgency=low - - * Spanish translation update for dh_installdebconf(1). - * YA man page typo fix. Closes: #308182 - - -- Joey Hess Sun, 8 May 2005 13:02:22 -0400 - -debhelper (4.2.35) unstable; urgency=low - - * Man page typo fixes. Closes: #305809, #305804, #305815, #305810 - Closes: #305812, #305814, #305819, #305818, #305817, #305822 - - -- Joey Hess Fri, 22 Apr 2005 11:27:55 -0400 - -debhelper (4.2.34) unstable; urgency=low - - * The infinite number of monkeys release. - * dh_md5sums: don't crash if PWD contains an apostrophe. Closes: #305226 - - -- Joey Hess Wed, 20 Apr 2005 21:06:43 -0400 - -debhelper (4.2.33) unstable; urgency=low - - * Update Spanish translation of dh_clean man page. Closes: #303052 - * dh_installmodules autoscripts: Now that return code 3 is allocated by - update-modules to indicate /etc/modules.conf is not automatically - generated, we can ignore that return code since it's not a condition that - should fail an installation. Closes: #165400 - * dh_md5sums: Fix exclusion of conffiles. Thanks, Damir Dzeko - (note: this was broken in version 4.1.22) - - -- Joey Hess Sat, 9 Apr 2005 17:27:12 -0400 - -debhelper (4.2.32) unstable; urgency=low - - * Patch from Fabio Tranchitella to add support for #DEBHELPER# substitutions - in config files, although nothing in debhelper itself uses such - substitutions, third-party addons may. Closes: #301657 - * Factor out a debhelper_script_subst from dh_installdeb and - dh_installdebconf. - - -- Joey Hess Sun, 27 Mar 2005 11:29:01 -0500 - -debhelper (4.2.31) unstable; urgency=low - - * Updated dh_installmime Spanish translation. - * Spelling fix. Closes: #293158 - * Patch from Matthias to split out a package_arch and export it in Dh_Lib. - Closes: #295383 - - -- Joey Hess Wed, 16 Feb 2005 13:47:29 -0500 - -debhelper (4.2.30) unstable; urgency=low - - * dh_installmime: Patch from Loïc Minier to add support for installing - "sharedmimeinfo" files and calling update-mime-database. Closes: #255719 - * Modified patch to not hardcode pathnames. - * Modified other autoscripts so there are no hardcoded pathnames at all - any more. - - -- Joey Hess Tue, 4 Jan 2005 18:44:11 -0500 - -debhelper (4.2.29) unstable; urgency=low - - * dh_installdocs Spanish manpage update - * dh_installlogcheck: change permissions of logcheck rulefiles from 600 to - 644, at request of logcheck maintainer. Closes: #288357 - * dh_installlogcheck: fix indentation - - -- Joey Hess Wed, 15 Dec 2004 08:53:37 -0500 - -debhelper (4.2.28) unstable; urgency=low - - * dh_python: Add 2.4 to python_allversions. Closes: #285608 - - -- Joey Hess Tue, 14 Dec 2004 13:08:56 -0500 - -debhelper (4.2.27) unstable; urgency=low - - * dh_desktop: Fix underescaping of *.desktop in call to find. - Closes: #284832 - - -- Joey Hess Thu, 9 Dec 2004 14:32:41 -0500 - -debhelper (4.2.26) unstable; urgency=low - - * dh_makeshlibs spanish translation update - * Add example to dh_installdocs man page. Closes: #283857 - * Clarify dh_python's documentation of -V and error if the version is - unknown. Closes: #282924 - - -- Joey Hess Wed, 8 Dec 2004 14:44:44 -0500 - -debhelper (4.2.25) unstable; urgency=low - - * dh_shlibdeps: Only set LD_LIBRARY_PATH when calling dpkg-shlibdeps. - Closes: #283413 - - -- Joey Hess Mon, 29 Nov 2004 13:21:05 -0500 - -debhelper (4.2.24) unstable; urgency=low - - * Spanish man page updates. - * Improve the documentation of dh_makeshlibs behavior in v4 mode. - Closes: #280676 - - -- Joey Hess Sat, 30 Oct 2004 18:52:00 -0400 - -debhelper (4.2.23) unstable; urgency=low - - * Fix typo introduced last release. Closes: #278727 - - -- Joey Hess Thu, 28 Oct 2004 20:51:05 -0400 - -debhelper (4.2.22) unstable; urgency=low - - * dh_desktop Spanish man page from Ruben Porras. - * dh_desktop: reindent - * dh_desktop: only register files in /usr/share/applications - with update-desktop-database. Closes: #278353 - - -- Joey Hess Sat, 16 Oct 2004 13:42:29 -0400 - -debhelper (4.2.21) unstable; urgency=low - - * Add dh_desktop, from Ross Burton. Closes: #275454 - - -- Joey Hess Tue, 12 Oct 2004 14:31:07 -0400 - -debhelper (4.2.20) unstable; urgency=HIGH - - * dpkg-cross is fixed in unstable, version the conflict. Closes: #265777 - - -- Joey Hess Wed, 25 Aug 2004 08:05:42 -0400 - -debhelper (4.2.19) unstable; urgency=HIGH - - * Conflict with dpkg-cross since it breaks dh_strip. - - -- Joey Hess Fri, 13 Aug 2004 21:50:12 -0300 - -debhelper (4.2.18) unstable; urgency=low - - * Add dh_shlibdeps see also. Closes: #261367 - * Update dh_gconf man page for new schema location. Closes: #264378 - * debhelper.7 man page typo fix. Closes: #265603 - - -- Joey Hess Fri, 13 Aug 2004 19:16:51 -0300 - -debhelper (4.2.17) unstable; urgency=low - - * Spanish man page updates from Ruben Porras. Closes: #261516 - - -- Joey Hess Mon, 26 Jul 2004 21:41:37 -0400 - -debhelper (4.2.16) unstable; urgency=low - - * dh_gconf: fix glob escaping in find for schemas. Closes: #260488 - - -- Joey Hess Tue, 20 Jul 2004 17:20:21 -0400 - -debhelper (4.2.15) unstable; urgency=low - - * dh_gconf: deal with problems if /etc/gconf/schemas doesn't exist any more - (#258901) - - -- Joey Hess Mon, 12 Jul 2004 11:52:45 -0400 - -debhelper (4.2.14) unstable; urgency=low - - * Make dh_gconf postinst more portable. - * Strip epoch when generating udeb filenames. Closes: #258864 - - -- Joey Hess Sat, 10 Jul 2004 11:15:34 -0400 - -debhelper (4.2.13) unstable; urgency=low - - * Spanish man page updates from Ruben Porras. Closes: #247382 - * dh_gconf: gconf schemas moved to /usr/share/gconf/schemas. Relocate - schemas from /etc/gconf/schemas. (Josselin Mouette) - * dh_gconf: kill gconfd-2 so that the newly installed schemas - are available straight away. (Josselin Mouette) - * dh_gconf: fix bashism in restart of gconfd-2 - * dh_gconf: fix inaccuracy in man page; gconfd-2 is HUPPed, not - killed. - * dh_scrollkeeper: stop adding scrollkeeper to misc:Depends, since - the postinst will not run it if it's not installed, and a single run after - it's installed is sufficient to find all documents. Closes: #256745 - * dh_fixperms: make .ali files mode 444 to prevent recompilation by GNAT. - For speed, only scan for .ali files in usr/lib/ada. Closes: #245211 - * dh_python: check to make sure compileall.py is available before running it - in the postinst. Closes: #253112 - * dh_installmodules: install debian/package.modprobe into etc/modprobe.d/ - for module-init-tools. These files can sometimes need to differ from the - etc/modutils/ files. Closes: #204336, #234495 - * dh_installmanpages is now deprecated. - * Add a test case for bug #244157, and fixed the inverted ok() parameters - in the others, and added a few new tests. - * dh_link: applied GOTO Masanori's patch to fix conversion of existing - relative symlinks between top level directories. Closes: #244157 - * Warn if debian/compat is empty. - - -- Joey Hess Tue, 6 Jul 2004 12:52:30 -0400 - -debhelper (4.2.12) unstable; urgency=low - - * dh_installinit: Added --error-handler option. Based on work by Thom May. - Closes: #209090 - - -- Joey Hess Mon, 28 Jun 2004 19:49:15 -0400 - -debhelper (4.2.11) unstable; urgency=low - - * dh_installmodules: Look for .ko files too. Closes: #248624 - * dh_fixperms: fix permissions of .h files. Closes: #252492 - - -- Joey Hess Thu, 13 May 2004 11:25:42 -0300 - -debhelper (4.2.10) unstable; urgency=low - - * dh_strip: if an .a file is not a binary file, do not try to strip it. - This deals with linker scripts used on the Hurd. Closes: #246366 - - -- Joey Hess Wed, 28 Apr 2004 14:36:39 -0400 - -debhelper (4.2.9) unstable; urgency=low - - * dh_installinfo: escape '&' characters in INFO-DIR-SECTION when calling - sed. Also support \1 etc for completeness. Closes: #246301 - - -- Joey Hess Wed, 28 Apr 2004 14:06:16 -0400 - -debhelper (4.2.8) unstable; urgency=low - - * Spanish translation of dh_installppp from Ruben Porras. Closes: #240844 - * dh_fixperms: Make executable files in /usr/games. Closes: #243404 - - -- Joey Hess Mon, 12 Apr 2004 18:31:18 -0400 - -debhelper (4.2.7) unstable; urgency=low - - * Add support for cron.hourly. Closes: #240733 - - -- Joey Hess Sun, 28 Mar 2004 22:14:42 -0500 - -debhelper (4.2.6) unstable; urgency=low - - * Bump dh_strip's recommended bintuils dep to current. Closes: #237304 - - -- Joey Hess Sat, 27 Mar 2004 20:04:19 -0500 - -debhelper (4.2.5) unstable; urgency=low - - * Spanish man page updates by Ruben Possas and Rudy Godoy. - - -- Joey Hess Wed, 24 Mar 2004 15:08:54 -0500 - -debhelper (4.2.4) unstable; urgency=low - - * dh_installdocs: ignore .EX files as produced by dh-make. - * dh_movefiles: if the file cannot be found, do not go ahead and try - to move it anyway, as this can produce unpredictable behavior with globs - passed in from the shell. See bug #234105 - - -- Joey Hess Fri, 20 Feb 2004 10:43:33 -0500 - -debhelper (4.2.3) unstable; urgency=low - - * dh_movefiles: use xargs -0 to safely remove files with whitespace, - etc. Patch from Yann Dirson. Closes: #233226 - - -- Joey Hess Wed, 18 Feb 2004 18:57:05 -0500 - -debhelper (4.2.2) unstable; urgency=low - - * dh_shlibdeps: Turn on for udebs. It's often wrong (and ignored by d-i), - but occasionally right and necessary. - - -- Joey Hess Thu, 12 Feb 2004 13:36:29 -0500 - -debhelper (4.2.1) unstable; urgency=low - - * dh_installxfonts(1): fix link to policy. Closes: #231918 - * dh_scrollkeeper: patch from Christian Marillat Closes: #231703 - - Remove DTD changes since docbook-xml not supports xml catalogs. - - Bump scrollkeeper dep to 0.3.14-5. - * dh_installinfo: remove info stuff on update as well as remove. - Policy is unclear/wrong. Closes: #231937 - - -- Joey Hess Mon, 9 Feb 2004 18:20:40 -0500 - -debhelper (4.2.0) unstable; urgency=low - - * Added udeb support, as pioneered by di-packages-build. Understands - "XC-Package-Type: udeb" in debian/control. See debhelper(1) for - details. - * Dh_Lib.pm: add and export is_udeb and udeb_filename - * dh_builddeb: name udebs with proper extension - * dh_gencontrol: pass -n and filename to dpkg-gencontrol - * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, - dh_installexamples, dh_installman, dh_installmanpages: skip udebs - * dh_shlibdeps: skip udebs. This may be temporary. - * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, - or prerms for udebs. Do not substitute #DEBHELPER# tokens in - postinst scripts for udebs. - * dh_installdebconf: skip config script for udebs, still do templates - - -- Joey Hess Sun, 8 Feb 2004 22:51:57 -0500 - -debhelper (4.1.90) unstable; urgency=low - - * dh_strip: Add note to man page that the detached debugging symbols options - mean the package must build-depend on a new enough version of binutils. - Closes: #231382 - * dh_installdebconf: The debconf dependency has changed to include - "| debconf-2.0". Closes: #230622 - - -- Joey Hess Sat, 7 Feb 2004 15:10:10 -0500 - -debhelper (4.1.89) unstable; urgency=low - - * dh_scrollkeeper: Make postinst /dev/null stdout of which test. - - -- Joey Hess Fri, 23 Jan 2004 16:00:21 -0500 - -debhelper (4.1.88) unstable; urgency=low - - * dh_strip: Fix a unquoted string in regexp in the dbg symbols code. - Closes: #228272 - - -- Joey Hess Sat, 17 Jan 2004 20:13:32 -0500 - -debhelper (4.1.87) unstable; urgency=low - - * dh_gconf: Add proper parens around the package version in the misc:Depends - setting. - - -- Joey Hess Fri, 16 Jan 2004 12:53:43 -0500 - -debhelper (4.1.86) unstable; urgency=low - - * dh_gconf: Fix man page typos, thanks Ruben Porras. Closes: #228076 - * dh_gconf: Spanish man page from Ruben Porras. Closes: #228075 - - -- Joey Hess Fri, 16 Jan 2004 12:43:58 -0500 - -debhelper (4.1.85) unstable; urgency=low - - * dh_install: add missing parens to the $installed regexp. Closes: #227963 - * dh_install: improve wording of --list-missing messages - - -- Joey Hess Thu, 15 Jan 2004 22:45:42 -0500 - -debhelper (4.1.84) unstable; urgency=low - - * Added dh_gconf command from Ross Burton. Closes: #180882 - * dh_scrollkeeper: Make postinst fragment test for scrollkeeper-update. - Closes: #225337 - * Copyright update. - * Include full text of the GPL in the source package, because goodness - knows, I need another copy of that in subversion.. - - -- Joey Hess Sun, 11 Jan 2004 14:14:15 -0500 - -debhelper (4.1.83) unstable; urgency=low - - * Clarify dh_install's autodest behavior with wildcards. Closes: #224707 - - -- Joey Hess Sun, 21 Dec 2003 12:18:37 -0500 - -debhelper (4.1.82) unstable; urgency=low - - * Add remove guard to prerm-info. Closes: #223617 - * Remove #INITPARMS# from call to update-rc.d in postrm-init. Closes: #224090 - - -- Joey Hess Tue, 16 Dec 2003 16:33:19 -0500 - -debhelper (4.1.81) unstable; urgency=low - - * Removed the no upstream changelog for debian packages test. - Even though it has personally saved me many times, debhelper is not - intended to check packages for mistakes, and apparently it makes sense - for some "native" packages to have a non-Debian changelog. - Closes: #216099 - * If a native package has an upstream changelog, call the debian/changelog - changelog.Debian. - * postinst-menu-method: always chmod menu-method executable even if - update-menus is not. Closes: #220576 - * dh_installmenu: do not ship menu-methods executable. - - -- Joey Hess Sun, 30 Nov 2003 13:16:14 -0500 - -debhelper (4.1.80) unstable; urgency=low - - * Add the Spanish manpages I missed last time. Closes: #218718 - * dh_installman: support compressed man pages when finding .so links. - Closes: #218136 - - -- Joey Hess Thu, 6 Nov 2003 16:15:23 -0500 - -debhelper (4.1.79) unstable; urgency=low - - * dh_strip: typo. Closes: #218745 - * Updated Spanish man page translations for: - debhelper dh_installcron dh_installinit dh_installlogrotate dh_installman - dh_installmodules dh_installpam dh_install dh_movefiles dh_strip - Closes: #218718 - - -- Joey Hess Sun, 2 Nov 2003 15:26:07 -0500 - -debhelper (4.1.78) unstable; urgency=low - - * dh_installcatalogs: Fixed to create dir in tmpdir. Closes: #218237 - - -- Joey Hess Sun, 2 Nov 2003 15:26:02 -0500 - -debhelper (4.1.77) unstable; urgency=low - - * Remove the "L" from reference to menufile(5). Closes: #216042 - - -- Joey Hess Thu, 16 Oct 2003 13:33:12 -0400 - -debhelper (4.1.76) unstable; urgency=low - - * Patch from Andrew Suffield to make dh_strip - support saving the debugging symbols with a --keep-debug flag and - dh_shlibdeps skip /usr/lib/debug. Thanks! Closes: #215670 - * Add --dbg-package flag to dh_strip, to list packages that have associated - -dbg packages. dh_strip will then move the debug symbols over to the - associated -dbg packages. - - -- Joey Hess Tue, 14 Oct 2003 14:18:06 -0400 - -debhelper (4.1.75) unstable; urgency=low - - * dh_install: add --fail-missing option. Closes: #120026 - * Fix misspelling in prerm-sgmlcatalog. Closes: #215189 - - -- Joey Hess Fri, 10 Oct 2003 22:12:59 -0400 - -debhelper (4.1.74) unstable; urgency=low - - * Only list dh_installman once in example rules.indep. Closes: #211567 - * Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131 - - -- Joey Hess Sun, 21 Sep 2003 18:56:54 -0400 - -debhelper (4.1.73) unstable; urgency=low - - * dh_installcatalogs: in prerm on upgrade, call update-catalog on the - advice of Adam DiCarlo. Closes: #209131 - - -- Joey Hess Sun, 7 Sep 2003 21:43:31 -0400 - -debhelper (4.1.72) unstable; urgency=low - - * Switch from build-depends-indep to just build-depends. - * dh_installman: match .so links with whitespace after the filename - Closes: #208753 - - -- Joey Hess Fri, 5 Sep 2003 13:59:12 -0400 - -debhelper (4.1.71) unstable; urgency=low - - * Typo. Closes: #207999 - * Typo, typo. Closes: #208171 :-) - - -- Joey Hess Mon, 1 Sep 2003 08:24:13 -0400 - -debhelper (4.1.70) unstable; urgency=low - - * Complete Spanish translation of all man pages thanks to Rubén Porras - Campo, Rudy Godoy, and the rest of the Spanish translation team. - Closes: #199261 - - -- Joey Hess Mon, 25 Aug 2003 19:45:45 -0400 - -debhelper (4.1.69) unstable; urgency=low - - * dh_installppp: correct filenames on man page. Closes: #206893 - * dh_installinit: man page typo fix and enhancement. Closes: #206891 - - -- Joey Hess Sat, 23 Aug 2003 14:54:59 -0400 - -debhelper (4.1.68) unstable; urgency=low - - * Remove duplicate packages from DOPACKAGES after argument processing. - Closes: #112950 - * dh_compress: deal with links pointing to links pointing to compressed - files, no matter what order find returns them. Closes: #204169 - * dh_installmodules, dh_installpam, dh_installcron, dh_installinit, - dh_installogrotate: add --name= option, that can be used to specify - the name to use for the file(s) installed by these commands. For example, - dh_installcron --name=foo will install debian/package.foo.cron.daily to - etc/cron.daily/foo. Closes: #138202, #101003, #68545, #148844 - (Thanks to Thomas Hood for connecting these bug reports.) - * dh_installinit: deprecated --init-script option in favor of the above. - * Add dh_installppp. Closes: #43403 - - -- Joey Hess Fri, 22 Aug 2003 15:27:36 -0400 - -debhelper (4.1.67) unstable; urgency=low - - * dh_python: Another patch, for pythonX.Y-foo packages. - * dh_link: Improve error message if link destination is a directory. - Closes: #206689 - - -- Joey Hess Fri, 22 Aug 2003 12:48:19 -0400 - -debhelper (4.1.66) unstable; urgency=low - - * dh_link: rm -f every time, ln -f is not good enough if the link target - is an existing directory (aka, ln sucks). Closes: #206245 - * dh_clean: honor -X for debian/tmp removal. Closes: #199952 more or less. - - -- Joey Hess Tue, 19 Aug 2003 19:52:53 -0400 - -debhelper (4.1.65) unstable; urgency=low - - * Converted several chown 0.0 to chown 0:0 for POSIX 200112. - * dh_python: patch from Josselin to support packages only - shipping binary (.so) modules, and removal of any already byte-compiled - .py[co] found. - - -- Joey Hess Sun, 17 Aug 2003 21:11:35 -0400 - -debhelper (4.1.64) unstable; urgency=low - - * dh_python: Add a -V flag to choose the python version modules in a package - use. Patch from Josselin, of course. - - -- Joey Hess Wed, 13 Aug 2003 11:48:22 -0400 - -debhelper (4.1.63) unstable; urgency=low - - * dh_python: patch from Josselin to fix generated depends. Closes: #204717 - * dh_pythn: also stylistic and tab damage fixes - - -- Joey Hess Mon, 11 Aug 2003 15:33:16 -0400 - -debhelper (4.1.62) unstable; urgency=low - - * Fix a bug in quoted section parsing that put the quotes in the parsed - out section number. Closes: #204731 - - -- Joey Hess Sat, 9 Aug 2003 22:25:23 -0400 - -debhelper (4.1.61) unstable; urgency=low - - * dh_makeshlibs: only scan files matching *.so.* and *.so, not *.so*. - Closes: #204559 - - -- Joey Hess Fri, 8 Aug 2003 17:08:00 -0400 - -debhelper (4.1.60) unstable; urgency=low - - * dh_python: support python ver 2.3. Closes: #204556 - - -- Joey Hess Fri, 8 Aug 2003 11:59:34 -0400 - -debhelper (4.1.59) unstable; urgency=low - - * dh_installman: support .TH lines with quotes. Closes: #204527 - - -- Joey Hess Thu, 7 Aug 2003 20:39:36 -0400 - -debhelper (4.1.58) unstable; urgency=low - - * Typo, Closes: #203907 - * dh_python: clan compiled files on downgrade, upgrade, not only - removal. Closes: #204286 - - -- Joey Hess Thu, 7 Aug 2003 15:47:06 -0400 - -debhelper (4.1.57) unstable; urgency=low - - * dh_install: Add LIMITATIONS section and other changes to clarify - renaming. Closes: #203548 - - -- Joey Hess Thu, 31 Jul 2003 13:51:01 -0400 - -debhelper (4.1.56) unstable; urgency=low - - * Several man pae typo fixes by Ruben Porras. Closes: #202819 - * Now in a subversion repository, some minor changes for that. - * dh_link test should expect results in debian/debhelper, not debian/tmp. - - -- Joey Hess Mon, 28 Jul 2003 15:36:45 -0400 - -debhelper (4.1.55) unstable; urgency=low - - * dh_strip: do not strip files multiple times. - - -- Joey Hess Tue, 22 Jul 2003 17:04:49 -0400 - -debhelper (4.1.54) unstable; urgency=low - - * dh_scrollkeeper: fix postrm to not run if scrollkeeper is not present - - -- Joey Hess Sat, 19 Jul 2003 16:57:30 +0200 - -debhelper (4.1.53) unstable; urgency=low - - * dh_scrollkeeper: fixed some overenthusiastic quoting. Closes: #201810 - - -- Joey Hess Fri, 18 Jul 2003 09:45:23 +0200 - -debhelper (4.1.52) unstable; urgency=low - - * dh_clean: Clean the *.debhelper temp files on a per-package basis, in - case dh_clean is run on one package at a time. - * Removed the debian/substvars removal code entirely. It was only there to - deal with half-built trees built with debhelper << 3.0.30 - - -- Joey Hess Sun, 6 Jul 2003 20:28:27 -0400 - -debhelper (4.1.51) unstable; urgency=low - - * dh_installchangelogs: Install debian/NEWS as NEWS.Debian, even for native - packages. This doesn't follow the lead of the changelog for native - packages for the reasons discussed in bug #192089 - - -- Joey Hess Fri, 4 Jul 2003 00:34:24 -0400 - -debhelper (4.1.50) unstable; urgency=low - - * dh_clean: make -X work for debian/substvars file. - - -- Joey Hess Thu, 3 Jul 2003 22:05:32 -0400 - -debhelper (4.1.49) unstable; urgency=low - - * dh_installman: Don't require trailing whitespace after the section number - in the TH line. - - -- Joey Hess Thu, 3 Jul 2003 14:08:41 -0400 - -debhelper (4.1.48) unstable; urgency=low - - * dh_python typo fix Closes: #197679 - * dh_link: don't complain if tmp dir does not exist yet when doing pre-link - scan. - - -- Joey Hess Thu, 19 Jun 2003 19:51:13 -0400 - -debhelper (4.1.47) unstable; urgency=low - - * dh_install: recalculate automatic $dest each time through the glob loop. - It might change if there are multiple wildcards Closes: #196344 - - -- Joey Hess Mon, 16 Jun 2003 13:35:27 -0400 - -debhelper (4.1.46) unstable; urgency=low - - * Added dh_scrollkeeper, by Ross Burton. - * Added dh_userlocal, by Andrew Stribblehill. (With root.root special case - added by me.) - * Added dh_installlogcheck, by Jon Middleton. Closes: #184021 - * Add aph's name to copyright file too. - - -- Joey Hess Thu, 12 Jun 2003 10:01:28 -0400 - -debhelper (4.1.45) unstable; urgency=low - - * Typo fixes from Adam Garside. - * dh_python: don't bother terminating the regexp, 2.2.3c1 for example. - Closes: #194531 - - -- Joey Hess Sat, 24 May 2003 11:55:32 -0400 - -debhelper (4.1.44) unstable; urgency=low - - * dh_python: allow for a + at the end of the python version, as in the - python in stable, version 2.1.3+. - - -- Joey Hess Tue, 20 May 2003 17:50:16 -0400 - -debhelper (4.1.43) unstable; urgency=low - - * dh_python: Honour -n flag. Closes: #192804 - - -- Joey Hess Sat, 10 May 2003 13:00:12 -0400 - -debhelper (4.1.42) unstable; urgency=medium - - * Fix stupid typo in dh_movefiles. Closes: #188833 - - -- Joey Hess Sun, 13 Apr 2003 11:44:22 -0400 - -debhelper (4.1.41) unstable; urgency=low - - * dh_movefiles: Do not pass --remove-files to tar, since that makes - it break hard links (see #188663). - - -- Joey Hess Sat, 12 Apr 2003 17:11:28 -0400 - -debhelper (4.1.40) unstable; urgency=low - - * Fix build with 077 umask. Closes: #187757 - * Allow colons between multiple items in DH_ALWAYS_EXCLUDE. - - -- Joey Hess Sun, 6 Apr 2003 14:30:48 -0400 - -debhelper (4.1.39) unstable; urgency=low - - * Add calls to dh_installcatalogs to example rules files. Closes: #186819 - - -- Joey Hess Mon, 31 Mar 2003 11:52:03 -0500 - -debhelper (4.1.38) unstable; urgency=low - - * Fixed dh_installcatalog's references to itself on man page. - Closes: #184411 - * dh_installdebconf: Set umask to sane before running po2debconf or - debconf-mergetemplates - - -- Joey Hess Sun, 23 Mar 2003 21:17:09 -0800 - -debhelper (4.1.37) unstable; urgency=low - - * dh_installmenu: Refer to menufile(5) instead of 5L so as not to confuse - pod2man. Closes: #184013 - - -- Joey Hess Sat, 8 Mar 2003 18:37:14 -0500 - -debhelper (4.1.36) unstable; urgency=low - - * Rename debhelper.1 to debhelper.7. - * Typo, Closes: #183267 - - -- Joey Hess Tue, 4 Mar 2003 14:27:45 -0500 - -debhelper (4.1.34) unstable; urgency=low - - * Removed vegistal substvars stuff from dh_inistallinit. - * Update debhelper(1). - - -- Joey Hess Mon, 24 Feb 2003 19:34:44 -0500 - -debhelper (4.1.33) unstable; urgency=low - - * wiggy didn't take my hint about making update-modules send warnings to - stderr, so its overly verbose stdout is now directed to /dev/null to - prevent conflicts with debconf. Closes: #150804 - * dh_fixperms: only skip examples directories which in a parent of - usr/share/doc, not in a deeper tree. Closes: #152602 - * dh_compress: stop even looking at usr/doc - - -- Joey Hess Sat, 22 Feb 2003 14:45:32 -0500 - -debhelper (4.1.32) unstable; urgency=low - - * dh_md5sums: note that it's used by debsums. Closes: #181521 - * Make addsubstvars() escape the value of the variable before passing it to - the shell. Closes: #178524 - * Fixed escape_shell()'s escaping of a few things. - - -- Joey Hess Tue, 18 Feb 2003 19:01:45 -0500 - -debhelper (4.1.31) unstable; urgency=low - - * Added dh_installcatalogs, for sgml (and later xml) catalogs. By - Adam DiCarlo. Closes: #90025 - - -- Joey Hess Wed, 12 Feb 2003 11:26:24 -0500 - -debhelper (4.1.30) unstable; urgency=low - - * Turned dh_undocumented into a no-op, as policy does not want - undocumented.7 links anymore. - - -- Joey Hess Mon, 3 Feb 2003 16:34:13 -0500 - -debhelper (4.1.29) unstable; urgency=low - - * List binary-common in .PHONY in rules.multi2. Closes: #173278 - * Cleaned up error message if python is not installed. Closes: #173524 - * dh_python: Bug fix from Josselin Mouette for case of building an arch - indep python package depending on a arch dependent package. However, I - used GetPackages() rather than add yet another control file parser. - Untested. - - -- Joey Hess Wed, 18 Dec 2002 21:20:41 -0500 - -debhelper (4.1.28) unstable; urgency=low - - * Fix dh_install to install empty directories even if it is excluding some - files from installation. - - -- Joey Hess Thu, 12 Dec 2002 14:39:30 -0500 - -debhelper (4.1.27) unstable; urgency=low - - * Fixed dh_python ordering in example rules files. Closes: #172283 - * Make python postinst fragment only run python if it is installed, useful - for packages that include python modules but do not depend on python. - - -- Joey Hess Mon, 9 Dec 2002 21:53:08 -0500 - -debhelper (4.1.26) unstable; urgency=low - - * dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass extra - params to dpkg-deb. Closes: #170330 - - -- Joey Hess Sun, 24 Nov 2002 11:14:36 -0500 - -debhelper (4.1.25) unstable; urgency=low - - * Added a dh_python command, by Josselin Mouette - . - - -- Joey Hess Thu, 21 Nov 2002 00:55:35 -0500 - -debhelper (4.1.24) unstable; urgency=low - - * Various minor changes based on suggestions by luca. - - -- Joey Hess Thu, 21 Nov 2002 00:13:52 -0500 - -debhelper (4.1.23) unstable; urgency=low - - * Still run potodebconf after warning about templates.ll files. - - -- Joey Hess Fri, 15 Nov 2002 15:33:31 -0500 - -debhelper (4.1.22) unstable; urgency=low - - * dh_install: Support autodest with non-debian/tmp sourcedirs. - Closes: #169138 - * dh_install: Support implicit "." sourcedir and --list-missing. - (Also supports ./foo file specs and --list-missing.) - Closes: #168751 - * dh_md5sums: Don't glob. Closes: #169135 - - -- Joey Hess Fri, 15 Nov 2002 13:12:24 -0500 - -debhelper (4.1.21) unstable; urgency=low - - * Make dh_install --list-missing honor -X excludes. Closes: #168739 - * As a special case, if --sourcedir is not set (so is "."), make - --list-missing look only at what is in debian/tmp. This is gross, but - people have come to depend on that behavior, and that combination has no - other sane meaning. Closes: #168751 - - -- Joey Hess Thu, 14 Nov 2002 10:56:21 -0500 - -debhelper (4.1.20) unstable; urgency=low - - * typo in dh_shlibdeps(1), Closes: #167421 - * dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441 - - -- Joey Hess Tue, 12 Nov 2002 17:56:32 -0500 - -debhelper (4.1.19) unstable; urgency=low - - * Added note to dh_installdebconf(1) about postinst sourcing debconf - confmodule. (Cf #106070) - * Added an example to dh_install(1). Closes: #166402 - - -- Joey Hess Sun, 27 Oct 2002 20:26:02 -0500 - -debhelper (4.1.18) unstable; urgency=low - - * Use dpkg-architecture instead of dpkg --print-architecture (again?) - See #164863 - * typo fix Closes: #164958 The rest seems clear enough from context, so - omitted. - - -- Joey Hess Wed, 16 Oct 2002 20:47:43 -0400 - -debhelper (4.1.17) unstable; urgency=low - - * dh_installinit: added --no-start for rcS type scripts. Closes: #136502 - - -- Joey Hess Fri, 11 Oct 2002 13:58:22 -0400 - -debhelper (4.1.16) unstable; urgency=low - - * Depend on po-debconf, and I hope I can drop the debconf-utils dep soon. - Closes: #163569 - * Removed debconf-utils build-dep. Have no idea why that was there. - * dh_installman: Don't use extended section as section name for translated - man pages, use only the numeric section as is done for regular man pages. - Closes: #163534 - - -- Joey Hess Mon, 7 Oct 2002 11:49:37 -0400 - -debhelper (4.1.15) unstable; urgency=low - - * dh_compress: Exclude .css files, to prevent broken links from html files, - and since they are generally small, and since this matches existing - practice. Closes: #163303 - - -- Joey Hess Sat, 5 Oct 2002 15:04:44 -0400 - -debhelper (4.1.14) unstable; urgency=low - - * dh_fixperms: Make sure .pm files are 0644. Closes: #163418 - - -- Joey Hess Sat, 5 Oct 2002 14:03:52 -0400 - -debhelper (4.1.13) unstable; urgency=low - - * dh_installdebconf: Support po-debconf debian/po directories. - Closes: #163128 - - -- Joey Hess Wed, 2 Oct 2002 23:41:51 -0400 - -debhelper (4.1.12) unstable; urgency=low - - * The "reverse hangover" release. - * dh_strip: better documentation, removed extraneous "item" from SYNOPSIS. - Closes: #162493 - * dh_strip: detect and don't strip debug/*.so files. - * Note that 4.1.11 changelog entry was incorrect, dh_perl worked fine - without that change, but the new behavior is less likely to break things - if dpkg-gencontrol changes. - * Various improvements to debhelper(1). - - -- Joey Hess Fri, 27 Sep 2002 19:37:19 -0400 - -debhelper (4.1.11) unstable; urgency=low - - * Make addsubstvars remove old instances of line before adding new. This - will make dh_perl get deps right for packages that have perl modules and - XS in them. - - -- Joey Hess Sun, 22 Sep 2002 11:27:08 -0400 - -debhelper (4.1.10) unstable; urgency=low - - * Depend on coreutils | fileutils. Closes: #161452 - - -- Joey Hess Thu, 19 Sep 2002 11:21:19 -0400 - -debhelper (4.1.9) unstable; urgency=low - - * Fixed over-escaping of period when generating EXCLUDE_FIND. - Closes: #159155 - - -- Joey Hess Mon, 16 Sep 2002 13:41:05 -0400 - -debhelper (4.1.8) unstable; urgency=low - - * Use invoke-rc.d always now that it is in policy. Fall back to old behavior - if invoke-rc.d is not present, so versioned deps on sysvinit are not - needed. - - -- Joey Hess Sun, 15 Sep 2002 20:07:41 -0400 - -debhelper (4.1.7) unstable; urgency=low - - * dh_builddeb(1): It's --filename, not --name. Closes: #160151 - - -- Joey Hess Sun, 8 Sep 2002 20:05:07 -0400 - -debhelper (4.1.6) unstable; urgency=low - - * Clarified dh_perl man page. Closes: #159332 - - -- Joey Hess Tue, 3 Sep 2002 12:27:08 -0400 - -debhelper (4.1.5) unstable; urgency=low - - * Fixed excessive escaping around terms in DH_EXCLUDE_FIND. Closes: #159155 - - -- Joey Hess Sun, 1 Sep 2002 19:20:32 -0400 - -debhelper (4.1.4) unstable; urgency=low - - * Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl - Closes: #156243 - - -- Joey Hess Sat, 17 Aug 2002 23:05:45 -0400 - -debhelper (4.1.3) unstable; urgency=low - - * dh_installinit: Always start daemon on upgraded even if - --no-restart-on-upgrade is given; since the daemon is not stopped - with that parameter starting it again is a no-op, unless the daemon was - not running for some reason. This makes transitions to using the flag - easier. Closes: #90976 and sorry it took me so long to verify you were - right. - - -- Joey Hess Sun, 4 Aug 2002 18:52:12 -0400 - -debhelper (4.1.2) unstable; urgency=low - - * Typo, Closes: #155323 - - -- Joey Hess Sat, 3 Aug 2002 12:17:11 -0400 - -debhelper (4.1.1) unstable; urgency=low - - * Added a -L flag to dh_shlibdeps that is a nice alternative to providing a - shlibs.local. - - -- Joey Hess Thu, 25 Jul 2002 19:15:09 -0400 - -debhelper (4.1.0) unstable; urgency=low - - * Remove /usr/doc manglement code from postinst and prerm. - Do not use this version of debhelper for woody backports! - * Removed dh_installxaw. - - -- Joey Hess Sun, 21 Jul 2002 15:26:10 -0400 - -debhelper (4.0.19) unstable; urgency=low - - * Make dh_installchangelogs install debian/NEWS files as well, as - NEWS.Debian. Make dh_compress always compress them. The idea is to make - these files be in a machine parsable form, like the debian changelog, but - only put newsworthy info into them. Automated tools can then display new - news on upgrade. It is hoped that if this catches on it will reduce the - abuse of debconf notes. See discussion on debian-devel for details. - - -- Joey Hess Sun, 14 Jul 2002 23:09:24 -0400 - -debhelper (4.0.18) unstable; urgency=low - - * Removed a seemingly useless -dDepends in dh_shlibdeps's call to - dpkg-shalibdeps; this allows for stuff like dh_shlibdeps -- -dRecommends - Closes: #152117 - * Added a --list-missing parameter to dh_install, which calc may find - useful. - - -- Joey Hess Sun, 7 Jul 2002 22:44:01 -0400 - -debhelper (4.0.17) unstable; urgency=low - - * In dh_install, don't limit to -type f when doing the find due to -X. - This makes it properly install symlinks, cf my rpm bug. - - -- Joey Hess Fri, 5 Jul 2002 22:58:03 -0400 - -debhelper (4.0.16) unstable; urgency=low - - * Patch from doogie to make dh_movefiles support -X. Closes: #150978 - * Pound home in dh_installman's man page that yet, it really does do the - right thing. Closes: #150644 - - -- Joey Hess Thu, 4 Jul 2002 22:28:53 -0400 - -debhelper (4.0.15) unstable; urgency=low - - * Stupid, evil typo. - * Fixed the tests clint didn't show me. - - -- Joey Hess Thu, 20 Jun 2002 20:57:06 -0400 - -debhelper (4.0.14) unstable; urgency=low - - * In script fragments, use more posix tests, no -a or -o, no parens. - Closes: #150403 - - -- Joey Hess Thu, 20 Jun 2002 20:39:55 -0400 - -debhelper (4.0.13) unstable; urgency=low - - * Added --mainpackage= option, of use in some kernel modules packages. - * dh_gencontrol only needs to pass -p to dpkg-gencontrol if there is more - than one package in debian/control. This makes it a bit more flexible in - some cases. - - -- Joey Hess Wed, 19 Jun 2002 19:44:12 -0400 - -debhelper (4.0.12) unstable; urgency=low - - * Fixed debconf-utils dependency. - - -- Joey Hess Sat, 15 Jun 2002 20:20:21 -0400 - -debhelper (4.0.11) unstable; urgency=low - - * dh_compress: always compress .pcf files in - /usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy. - - -- Joey Hess Sat, 1 Jun 2002 18:08:50 -0400 - -debhelper (4.0.10) unstable; urgency=low - - * Consistently use the which command instead of command -v or hardcoded - paths in autoscripts. Neither is in posix, but which is in debianutils, so - will always be available. command -v is not available in zsh. - Closes: #148172 - - -- Joey Hess Sun, 26 May 2002 00:54:33 -0400 - -debhelper (4.0.9) unstable; urgency=low - - * dh_install: glob relative to --sourcedir. Closes: #147908 - * Documented what globbing is allowed. - - -- Joey Hess Thu, 23 May 2002 12:28:30 -0400 - -debhelper (4.0.8) unstable; urgency=low - - * Don't leak regex characters from -X when generating DH_EXCLUDE_FIND. - - -- Joey Hess Wed, 22 May 2002 21:03:38 -0400 - -debhelper (4.0.7) unstable; urgency=low - - * dh_strip: If a file is an ELF shared binary, does not have a .so.* in its - name, stirp it as a ELF binary. It seems that GNUstep has files of this - sort. See bug #35733 (not sufficient to close all of it). - - -- Joey Hess Wed, 22 May 2002 20:40:09 -0400 - -debhelper (4.0.6) unstable; urgency=low - - * Make dh_clean remove autom4te.cache. - - -- Joey Hess Wed, 22 May 2002 14:08:33 -0400 - -debhelper (4.0.5) unstable; urgency=low - - * Removing perl warning message. - - -- Joey Hess Sun, 19 May 2002 01:04:16 -0400 - -debhelper (4.0.4) unstable; urgency=low - - * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directories - from processing by any command that takes a -X option, and dh_builddeb - will also go in and rm -rf any that still sneak into the build tree. - * dh_install: A patch from Eric Dorland adds support for - --sourcedir, which allows debian/package.files files to be moved over to - debian/package.install, and just work. Closes: #146847 - * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 - * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. - Means debhelper has to depend on debconf-utils 1.1.1. - - -- Joey Hess Sat, 18 May 2002 21:38:03 -0400 - -debhelper (4.0.3) unstable; urgency=low - - * Corrects misbuild with CVS dirs in deb. Closes: #146576 - - -- Joey Hess Fri, 17 May 2002 15:38:26 -0400 - -debhelper (4.0.2) unstable; urgency=low - - * dh_install: delay globbing until after destinations have been found. - Closes: #143234 - - -- Joey Hess Tue, 16 Apr 2002 21:25:32 -0400 - -debhelper (4.0.1) unstable; urgency=low - - * dh_installdebconf: allow parameters after -- to go to - debconf-mergetemplate. - * dh_installman: don't whine about zero-length man pages in .so conversion. - * Forgot to export filedoublearray, Closes: #142784 - - -- Joey Hess Fri, 12 Apr 2002 23:22:15 -0400 - -debhelper (4.0.0) unstable; urgency=low - - * dh_movefiles has long been a sore point in debhelper. Inherited - from debstd, its interface and implementation suck, and I have maintained - it while never really deigning to use it. Now there is a remplacment: - dh_install, which ... - - copies files, doesn't move them. Closes: #75360, #82649 - - doesn't have that whole annoying debian/package.files vs. debian/files - mess, as it uses debian/install. - - supports copying empty subdirs. Closes: #133037 - - doesn't use tar, thus no error reporting problems. Closes: #112538 - - files are listed relative to the pwd, debian/tmp need not be used at - all, so no globbing issues. Closes: #100404 - - supports -X. Closes: #116902 - - the whole concept of moving files out of a directory is gone, so this - bug doesn't really apply. Closes: #120026 - - This is exactly what Bill Allombert asked for in #117383, even though I - designed it seemingly independently. Thank you Bill! Closes: #117383 - * Made debhelper's debian/rules a lot simpler by means of the above. - * Updated example rules file to use dh_install. Also some reordering and - other minor changes. - * dh_movefiles is lightly deprecated, and when you run into its bugs and - bad design, you are encouraged to just use dh_install instead. - * dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039 - * dh_fixperms: in v4 only, make all files in etc/init.d executable (of - course there's -X ..) - * dh_link: in v4 only, finds existing, non-policy-conformant symlinks - and corrects them. This has the side effect of making dh_link idempotent. - * Added a -h/--help option. This seems very obvious, but it never occurred to - me before.. - * use v4 for building debhelper itself - * v4 mode is done, you may now use it without fear of it changing. - (This idea of this upload is to get v4 into woody so people won't run into - many issues backporting from sarge to woody later on. Packages targeted - for woody should continue to use whatever compatibility level they are - using.) - - -- Joey Hess Thu, 11 Apr 2002 17:28:57 -0400 - -debhelper (3.4.14) unstable; urgency=low - - * Fixed an uninitialized value warning, Closes: #141729 - - -- Joey Hess Mon, 8 Apr 2002 11:45:02 -0400 - -debhelper (3.4.13) unstable; urgency=low - - * Typo, Closes: #139176 - * Fixed dh_md5sums conffile excluding/including. - - -- Joey Hess Wed, 20 Mar 2002 11:25:36 -0500 - -debhelper (3.4.12) unstable; urgency=low - - * Fix to #99169 was accidentally reverted in 3.0.42; reinstated. - - -- Joey Hess Sat, 16 Mar 2002 23:31:46 -0500 - -debhelper (3.4.11) unstable; urgency=low - - * Fixed dh_installdocs and dh_installexamples to support multiple -X's. - - -- Joey Hess Thu, 28 Feb 2002 13:02:35 -0500 - -debhelper (3.4.10) unstable; urgency=low - - * Fixed dh_movefiles. Closes: #135479, #135459 - - -- Joey Hess Sun, 24 Feb 2002 12:25:32 -0500 - -debhelper (3.4.9) unstable; urgency=low - - * dh_movefiles: Allow for deeper --sourcedir. Closes: #131363 - - -- Joey Hess Wed, 20 Feb 2002 16:37:43 -0500 - -debhelper (3.4.8) unstable; urgency=low - - * Thanks to Benjamin Drieu , dh_installdocs -X now works. - I had to modify his patch to use cp --parents, since -P spews warnings - now. Also, I made it continue to use cp -a if nothing is excluded, - which is both faster, and means this patch is less likely to break - anything if it turns out to be buggy. Also, stylistic changes. - Closes: #40649 - * Implemented -X for dh_installexamples as well. - * dh_clean -X substvars will also work now. Closes: #66890 - - -- Joey Hess Sun, 17 Feb 2002 12:26:37 -0500 - -debhelper (3.4.7) unstable; urgency=low - - * dh_perl: don't gripe if there is no substvar file. Closes: #133140 - - -- Joey Hess Sat, 9 Feb 2002 17:37:32 -0500 - -debhelper (3.4.6) unstable; urgency=low - - * Typo, Closes: #132454 - * Ignore leading/trailing whitespace in DH_OPTIONS, Closes: #132645 - - -- Joey Hess Tue, 5 Feb 2002 17:33:57 -0500 - -debhelper (3.4.5) unstable; urgency=low - - * dh_installxfonts: separate multiple commands with \n so sed doesn't get - upset. Closes: #131322 - - -- Joey Hess Tue, 29 Jan 2002 18:58:58 -0500 - -debhelper (3.4.4) unstable; urgency=low - - * Introduced the debian/compat file. This is the new, preferred way to say - what debhelper compatibility level your package uses. It has the big - advantage of being available to debhelper when you run it at the command - line, as well as in debian/rules. - * A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d. - This is in v4 for testing, but I may well roll it back into v3 (and - earlier) once woody is released and I don't have to worry about breaking - things (and, presumably, once invoke-rc.d enters policy). - * Some debhelper commands will now build up a new substvars variable, - ${misc:Depends}, based on things they know your package needs to depend - on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to - that dep list, and dh_installxfonts adds a dep on xutils. This variable - should make it easier to keep track of what your package needs to depends - on, supplementing the ${shlibs:Depends} and ${perl:Depends} substvars. - Hmm, this appears to be based loosely on an idea by Masato Taruishi - , filtered through a long period of mulling it over. - Closes: #76352 - * Use the addsubstvar function I wrote for the above in dh_perl too. - - -- Joey Hess Sat, 26 Jan 2002 23:30:51 -0500 - -debhelper (3.4.3) unstable; urgency=low - - * Improved dh_installxfonts some more: - - Better indenting of generated code. - - Better ordering of generated code (minor fix). - - -- Joey Hess Sat, 26 Jan 2002 23:09:59 -0500 - -debhelper (3.4.2) unstable; urgency=low - - * dh_installman: more documentation about the .TH line. Closes: #129205 - * dh_installxfonts: - - Packages that use this should depend on xutils. See man page. - - However, if you really want to, you can skip the dep, and the - postinst will avoid running program that aren't available. Closes: #131053 - - Use update-fonts-dir instead of handling encodings ourselves. Yay! - - Pass only the last component of the directory name to - update-fonts-*, since that's what they prefer now. - - Other changes, should fully comply with Debian X font policy now. - - -- Joey Hess Tue, 15 Jan 2002 12:17:43 -0500 - -debhelper (3.4.1) unstable; urgency=low - - * Fixed programmer's documentation of DOINDEP and DOARCH, Closes: #128546 - * Fixed dh_builddeb SYNOPSIS, Closes: #128548 - - -- Joey Hess Thu, 10 Jan 2002 13:49:37 -0500 - -debhelper (3.4.0) unstable; urgency=low - - * Began work on v4 support (and thus the large version number jump), and it - is only for the very brave right now since I will unhesitatingly break - compatibility in v4 mode as I'm developing it. Currently, updating to v4 - mode will only make dh_makeshlibs -V generate shared library deps that - omit the debian part of the version number. The reasoning behind this - change is that the debian revision should not typically break binary - compatibility, that existing use of -V is causing too tight versioned - deps, and that if you do need to include the debian revision for some - reason, you can always write it out by hand. Closes: #101497 - * dh_testversion is deprecated -- use build deps instead. A warning message - is now output when it runs. Currently used by: 381 packages. - * dh_installxaw is deprecated -- xaw-wrappers in no longer in the - distribution. A warning message is now output when it runs. Currently used - by: 3 packages (bugs filed). - * Added references to menufile in dh_installmenu man page. Closes: #127978 - (dh_make is not a part of debhelper, if you want it changed, file a bug on - dh-make.) - - -- Joey Hess Sat, 5 Jan 2002 22:45:09 -0500 - -debhelper (3.0.54) unstable; urgency=low - - * Added a version to the perl build dep, Closes: #126677 - - -- Joey Hess Thu, 27 Dec 2001 20:39:46 -0500 - -debhelper (3.0.53) unstable; urgency=low - - * dh_strip: run file using a safe pipe open, that will not expose any weird - characters in filenames to a shell. Closes: #126491 - * fixed dh_testdir man page - - -- Joey Hess Wed, 26 Dec 2001 21:15:42 -0500 - -debhelper (3.0.52) unstable; urgency=low - - * Typo, Closes: #122679 - * Export dirname from Dh_Lib, and related cleanup, Closes: #125770 - * Document dirname, basename in PROGRAMMING - - -- Joey Hess Thu, 6 Dec 2001 11:58:52 -0500 - -debhelper (3.0.51) unstable; urgency=low - - * Man page cleanups, Closes: #119335 - - -- Joey Hess Sat, 17 Nov 2001 21:04:15 -0500 - -debhelper (3.0.50) unstable; urgency=low - - * dh_undocumented: check for existing uncompressed man pages. Closes: #87972 - * Optimized dh_installdeb conffile finding. Closes: #119035 - * dh_installdeb: changed the #!/bin/sh -e to set -e on a new line. Whether - this additional bloat is worth it to make it easier for people to sh -x - a script by hand is debatable either way, I guess. Closes: #119046 - * Added a check for duplicated package stanzas in debian/control, - Closes: #118805 - - -- Joey Hess Sat, 17 Nov 2001 14:00:54 -0500 - -debhelper (3.0.49) unstable; urgency=low - - * More informative error, Closes: #118767 - - -- Joey Hess Thu, 8 Nov 2001 18:12:11 -0500 - -debhelper (3.0.48) unstable; urgency=low - - * Added .zip and .jar to list of things to compress (Closes: #115735), - and modified docs (Closes: #115733). - - -- Joey Hess Mon, 15 Oct 2001 19:01:43 -0400 - -debhelper (3.0.47) unstable; urgency=low - - * dh_installman: documented translated man page support, and made it work - properly. It was not stripping the language part from the installed - filenames. - - -- Joey Hess Tue, 9 Oct 2001 15:16:18 -0400 - -debhelper (3.0.46) unstable; urgency=low - - * Typo, Closes: #114135 - - -- Joey Hess Thu, 4 Oct 2001 19:39:34 -0400 - -debhelper (3.0.45) unstable; urgency=low - - * dh_installxfonts: Do not specify /usr/sbin/ paths; that should be in - the path and dpkg enforces it. Closes: #112385 - - -- Joey Hess Sun, 16 Sep 2001 18:48:59 -0400 - -debhelper (3.0.44) unstable; urgency=low - - * Added dh_strip to rules.multi2, and removed .TODO.swp. Closes: #110418 - - -- Joey Hess Tue, 28 Aug 2001 15:22:41 -0400 - -debhelper (3.0.43) unstable; urgency=low - - * dh_perl: made it use doit commands so -v mode works. Yeah, uglier. - Closes: #92826 - Also some indentation fixes. - - -- Joey Hess Fri, 24 Aug 2001 15:34:55 -0400 - -debhelper (3.0.42) unstable; urgency=low - - * dh_movefiles: Typo, Closes: #106532 - * Use -x to test for existence of init scripts, rather then -e since - we'll be running them, Closes: #109692 - * dh_clean: remove debian/*.debhelper. No need to name files - specifically; any file matching that is a debhelper temp file. - Closes: #106514, #85520 - - -- Joey Hess Thu, 23 Aug 2001 15:47:35 -0400 - -debhelper (3.0.40) unstable; urgency=low - - * Typo, Closes: #104405 - - -- Joey Hess Wed, 11 Jul 2001 22:57:41 -0400 - -debhelper (3.0.39) unstable; urgency=low - - * dh_compress: Don't compress .bz2 files, Closes: #102935 - - -- Joey Hess Sat, 30 Jun 2001 20:39:17 -0400 - -debhelper (3.0.38) unstable; urgency=low - - * fixed doc bog, Closes: #102130 - - -- Joey Hess Sun, 24 Jun 2001 21:08:15 -0400 - -debhelper (3.0.37) unstable; urgency=low - - * Spellpatch, Closes: #101553 - - -- Joey Hess Wed, 20 Jun 2001 22:03:57 -0400 - -debhelper (3.0.36) unstable; urgency=low - - * Whoops, I forgot to revert dh_perl too. Closes: #101477 - - -- Joey Hess Tue, 19 Jun 2001 14:10:24 -0400 - -debhelper (3.0.35) unstable; urgency=low - - * Revert change of 3.0.30. This broke too much stuff. Maybe I'll - change it in debhelper v4.. - - -- Joey Hess Mon, 18 Jun 2001 13:56:35 -0400 - -debhelper (3.0.34) unstable; urgency=low - - * Unimportant spelling fix. Closes: #100666 - - -- Joey Hess Thu, 14 Jun 2001 12:30:28 -0400 - -debhelper (3.0.33) unstable; urgency=low - - * dh_gencontrol: Work around very strange hurd semantics - which allow "" to be an empty file. Closes: #100542 - - -- Joey Hess Mon, 11 Jun 2001 18:15:19 -0400 - -debhelper (3.0.32) unstable; urgency=low - - * Check that update-modules is present before running it, since modutils - is not essential. Closes: #100430 - - -- Joey Hess Sun, 10 Jun 2001 15:13:51 -0400 - -debhelper (3.0.31) unstable; urgency=low - - * Remove dh_testversion from example rules file, Closes: #99901 - - -- Joey Hess Thu, 7 Jun 2001 20:24:39 -0400 - -debhelper (3.0.30) unstable; urgency=low - - * dh_gencontrol: Added a documented interface for specifying substvars - data in a file. Substvars data may be put in debian/package.substvars. - (Those files used to be used by debhelper for automatically generated - data, but it uses a different internal filename now). It will be merged - with any automatically determined substvars data. See bug #98819 - * I want to stress that no one should ever rely in internal, undocumented - debhelper workings. Just because debhelper uses a certain name for some - internally used file does not mean that you should feel free to modify - that file to your own ends in a debian package. If you do use it, don't - be at all surprised when it breaks. If you find that debhelper is lacking - a documented interface for something that you need, ask for it! - (debhelper's undocumented, internal use only files should now all be - prefixed with ".debhelper") - - -- Joey Hess Sun, 3 Jun 2001 16:37:33 -0400 - -debhelper (3.0.29) unstable; urgency=low - - * Added -X flag to dh_makeshlibs, for packages with wacky plugins that - look just like shared libs, but are not. - - -- Joey Hess Fri, 1 Jun 2001 14:27:06 -0400 - -debhelper (3.0.28) unstable; urgency=low - - * dh_clean: clean up temp files used by earlier versions of debhelper. - Closes: #99169 - - -- Joey Hess Wed, 30 May 2001 16:24:09 -0400 - -debhelper (3.0.27) unstable; urgency=low - - * Fixed issues with extended parameters to dh_gencontrol including spaces - and quotes. This was some historical cruft that deals with splitting up - the string specified by -u, and it should not have applied to the set - of options after --. Now that it's fixed, any and all programs that - support a -- and options after it, do not require any special quoting - of the succeeding options. Quote just like you would in whatever - program those options go to. So, for example, - dh_gencontrol -Vblah:Depends='foo, bar (>= 1.2)' will work just as you - would hope. This fix does NOT apply to -u; don't use -u if you must do - something complex. Closes: #89311 - * Made escape_shell output a lot better. - - -- Joey Hess Tue, 29 May 2001 17:54:19 -0400 - -debhelper (3.0.26) unstable; urgency=low - - * Always include package name in maintainer script fragment filenames - and generated shlibs files (except for in DH_COMPAT=1 mode). This is a - purely cosmetic change, and if it breaks anything, you were using an - undocumented interface. Closes: #95387 - - -- Joey Hess Thu, 24 May 2001 16:31:46 -0400 - -debhelper (3.0.25) unstable; urgency=low - - * dh_makeshlins: append to LD_LIBRARY_PATH at start, not each time - through loop. Closes: #98598 - - -- Joey Hess Thu, 24 May 2001 14:16:50 -0400 - -debhelper (3.0.24) unstable; urgency=low - - * Missing semi-colon. - * Call dh_shlibdeps as part of build process, as simple guard against - this (dh_* should be called, really). - - -- Joey Hess Tue, 15 May 2001 10:27:34 -0400 - -debhelper (3.0.23) unstable; urgency=low - - * dh_shlibdeps: the -l switch now just adds to LD_LIBRARY_PATH, if it is - already set. Newer fakeroot sets it, and clobbering their settings - breaks things since they LD_PRELOAD a library that is specified in the - LD_LIBRARY_PATH. (blah) Closes: #97494 - - -- Joey Hess Mon, 14 May 2001 22:32:23 -0400 - -debhelper (3.0.22) unstable; urgency=low - - * dh_installinfo: doc enhancement, Closes: #97515 - * dh_md5sums: don't fail if pwd has spaces in it (must be scraping the - bottom of the bug barrel here). Closes: #97404 - - -- Joey Hess Mon, 14 May 2001 21:22:47 -0400 - -debhelper (3.0.21) unstable; urgency=low - - * Corrected bashism (echo -e, DAMNIT), in rules file that resulted in a - corrupted Dh_Version.pm. Closes: #97236 - - -- Joey Hess Sat, 12 May 2001 12:21:40 -0400 - -debhelper (3.0.20) unstable; urgency=low - - * Modified the postrm fragment for dh_installxfonts to not try to delete - any files. The responsibility for doing so devolves onto update-fonts-* - (which don't yet, but will). See bug #94752 - - -- Joey Hess Fri, 11 May 2001 13:30:43 -0400 - -debhelper (3.0.19) unstable; urgency=low - - * Now uses html2text rather than lynx for converting html changelogs. - The program generates better results, and won't annoy the people who - were oddly annoyed at having to install lynx. Instead, it will annoy a - whole other set of people, I'm sure. Closes: #93747 - - -- Joey Hess Mon, 7 May 2001 21:23:46 -0400 - -debhelper (3.0.18) unstable; urgency=low - - * dh_perl: updates from bod: - - Provide minimum version for arch-indep module dependencies - (perl-policy 1,18, section 3.4.1). - - Always update substvars, even if Perl:Depends is empty. - - -- Joey Hess Sat, 21 Apr 2001 15:13:15 -0700 - -debhelper (3.0.17) unstable; urgency=low - - * dh_shlibdeps: document that -l accepts multiple dirs, and - make multiple dirs absolute properly, not just the first. - - -- Joey Hess Mon, 16 Apr 2001 23:20:30 -0700 - -debhelper (3.0.16) unstable; urgency=low - - * Documented -isp, Closes: #93983 - - -- Joey Hess Sat, 14 Apr 2001 19:16:47 -0700 - -debhelper (3.0.15) unstable; urgency=low - - * Typo, Closes: #92407 - - -- Joey Hess Tue, 3 Apr 2001 12:15:02 -0700 - -debhelper (3.0.14) unstable; urgency=low - - * dh_strip: ensure that the file _ends_ with `.a'. Closes: #90647 - - -- Joey Hess Wed, 21 Mar 2001 20:21:11 -0800 - -debhelper (3.0.13) unstable; urgency=low - - * dh_makeshlibs: more support for nasty soname formats, Closes: #90520 - - -- Joey Hess Wed, 21 Mar 2001 15:00:42 -0800 - -debhelper (3.0.12) unstable; urgency=low - - * Applied a patch from Anton Zinoviev to pass -e - to mkfontdir. Closes: #89418 - - -- Joey Hess Fri, 16 Mar 2001 21:03:29 -0800 - -debhelper (3.0.11) unstable; urgency=low - - * dh_makeshlibs: don't follow links to .so files. Instead, we will look - for *.so* files. This should work for the variously broken db3, - liballeg, and it will fix the problem with console-tools-dev, which - contained (arguably broken) absolute symlinks to real files, which were - followed. Closes: #85483 - - -- Joey Hess Wed, 14 Mar 2001 14:55:58 -0800 - -debhelper (3.0.10) unstable; urgency=medium - - * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code. - Arrgh. All packages built with the old code (that is, all daemon - packages built with debhelper 3.0.9!) are broken. Closes: #89472 - - -- Joey Hess Tue, 13 Mar 2001 06:10:03 -0500 - -debhelper (3.0.9) unstable; urgency=low - - * Modified to use dpkg-architecture instead of dpkg --print-architecture. - I hate this, and wish it wasn't necessary to make cross compiles for - the hurd work. Closes: #88494 - * Now depends on debconf-utils for debconf-mergetemplates. Closes: #87321 - * Continues to depend on lynx for html changelog conversions. Yes, these - and packages with translated debconf templates are rather rare, but - it makes more sense for debhelper to consistently depend on all utilities - it uses internally rather than force people to keep their dependencies - up to date with debhelper internals. If I decide tomorrow that w3m is - the better program to use to format html changelogs, I can make the - change and packages don't need to update their build dependencies. - Closes: #88464, #77743 - * Test for init scripts before running them, since they are conffiles and - the admin may have removed them for some reason, and policy wants - us to deal with that gracefully. - * dh_makeshlibs: now uses objdump, should be more accurate. Closes: - #88426 - * Wildcards have been supported for a while, Closes: #54197 - * dh_installdocs and dh_link have been able to make doc-dir symlinks for - a while, Closes: #51225 - - -- Joey Hess Sun, 4 Mar 2001 15:48:45 -0800 - -debhelper (3.0.8) unstable; urgency=low - - * dh_perl update - - -- Joey Hess Sat, 24 Feb 2001 23:31:31 -0800 - -debhelper (3.0.7) unstable; urgency=low - - * dh_makeshlibs: only generate call to ldconfig if it really looks like - a given *.so* file is indeed a shared library. - - -- Joey Hess Fri, 23 Feb 2001 14:38:50 -0800 - -debhelper (3.0.6) unstable; urgency=low - - * Corrected some uninitialized value stuff in dh_suidregister (actually - quite a bad bug). - * dh_installman: fixed variable scoping error, so file conversions - should work now. - - -- Joey Hess Fri, 16 Feb 2001 14:15:02 -0800 - -debhelper (3.0.5) unstable; urgency=low - - * Updated dh_perl to a new version for the new perl organization and - policy. The -k flag has been done away with, as the new perl packages - don't make packlist files. - * Fixed some bugs in the new dh_perl and updated it to my current - debhelper coding standards. - * Use dh_perl to generate debhelper's own deps. - * Version number increase to meet perl policy. - - -- Joey Hess Tue, 13 Feb 2001 09:07:48 -0800 - -debhelper (3.0.1) unstable; urgency=low - - * Build-depends on perl-5.6, since it uses 2 argument pod2man. - * Cleanups of debhelper.1 creation process. - - -- Joey Hess Mon, 12 Feb 2001 16:12:59 -0800 - -debhelper (3.0.0) unstable; urgency=low - - * Added dh_installman, a new program that replaces dh_installmanpages. - It is not DWIM. You tell it what to install and it figures out where - based on .TH section field and filename extension. I recommend everyone - begin using it, since this is much better then dh_installmanpages's - evilness. I've been meaning to do this for a very long time.. - Closes: #38673, #53964, #64297, #16933, #17061, #54059, #54373, #61816 - * dh_installmanpages remains in the package for backwards compatibility, - but is mildly deprecated. - * dh_testversion is deprecated; use build dependencies instead. - * dh_suidregister: re-enabled. Aj thinks that requiring people to stop - using it is unacceptable. Who am I to disagree with a rc bug report? - Closes: #84910 It is still deprecated, and it will still whine at you - if you use it. I appreciate the job everyone has been doing at - switching to statoverrides.. - * Since dh_debstd requires dh_installmanpages (where do you think the - latter's evil interface came from?), I have removed it. It was a nice - thought-toy, but nobody really used it, right? - * Since the from-debstd document walks the maintainer through running - dh_debstd to get a list of debhelper commands, and since that document - has really outlives its usefulness, I removed it too. Use dh-make - instead. - * dh_installman installs only into /usr/share/man, not the X11R6 - directory. Policy says "files must not be installed into - `/usr/X11R6/bin/', `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this - is necessary for the package to operate properly", and I really doubt - a man page being in /usr/share/man is going to break many programs. - Closes: #81853 (I hope the bug submitter doesn't care that - dh_installmanpages still puts stuff in the X11R6/man directory.) - * dh_undocumented now the same too now. - * dh_installinit: installs debian/package.default files as /etc/default/ - files. - * Updated to current perl coding standards (use strict, lower-case - variable names, pod man pages). - * Since with the fixing of the man page installer issue, my checklist for - debhelper v3 is complete, I pronounce debhelper v3 done! Revved the - version number appropriately (a large jump; v3 changes less than I had - planned). Note that I have no plans for a v4 at this time. :-) - * Testing: I have used this new version of debhelper to build a large - number of my own packages, and it seems to work. But this release - touches every file in this package, so be careful out there.. - - -- Joey Hess Thu, 8 Feb 2001 14:29:58 -0800 - -debhelper (2.2.21) unstable; urgency=low - - * Fixed a stupid typo in dh_suidregister, Closes: #85110 - - -- Joey Hess Tue, 6 Feb 2001 13:29:57 -0800 - -debhelper (2.2.20) unstable; urgency=low - - * dh_installinit -r: stop init script in prerm on package removal, - Closes: #84974 - - -- Joey Hess Mon, 5 Feb 2001 10:06:31 -0800 - -debhelper (2.2.19) unstable; urgency=low - - * dh_shlibdeps -l can handle relative paths now. Patch from Colin Watson - , Closes: #84408 - - -- Joey Hess Thu, 1 Feb 2001 13:35:39 -0800 - -debhelper (2.2.18) unstable; urgency=medium - - * Added a suggests to debconf-utils, Closes: #83643 - I may change this to a dependency at some point in the future, - since one debconf command needs the package to work. - - -- Joey Hess Tue, 30 Jan 2001 22:39:54 -0800 - -debhelper (2.2.17) unstable; urgency=medium - - * dh_installdebconf: marge in templates with a .ll_LL extension, - they were previously ignored. - - -- Joey Hess Mon, 29 Jan 2001 13:05:21 -0800 - -debhelper (2.2.16) unstable; urgency=medium - - * Bah, reverted that last change. It isn't useful because - dpkg-buildpackage reads the real control file and gets confused. - - -- Joey Hess Sun, 28 Jan 2001 01:47:46 -0800 - -debhelper (2.2.15) unstable; urgency=medium - - * Added the ability to make debhelper read a different file than - debian/control as the control file. This is very useful for various and - sundry things, all Evil, most involving kernel packages. - - -- Joey Hess Wed, 24 Jan 2001 17:33:46 -0800 - -debhelper (2.2.14) unstable; urgency=medium - - * Corrected globbing issue with dh_movefiles in v3 mode. Closes: #81431 - - -- Joey Hess Sun, 21 Jan 2001 18:33:59 -0800 - -debhelper (2.2.13) unstable; urgency=medium - - * Fixed a man page typo, Closes: #82371: - * Added note to dh_strip man page, Closes: #82220 - - -- Joey Hess Mon, 15 Jan 2001 20:38:53 -0800 - -debhelper (2.2.12) unstable; urgency=medium - - * suidmanager is obsolete now, and so is dh_suidmanager. Instead, - packages that contain suid binaries should include the binaries suid in - the .deb, and dpkg-statoverride can override this. If this is done - to a program that previously used suidmanager, though, you need to - conflict with suidmanager (<< 0.50). - * Made dh_suidmanager check to see if it would have done anything before. - If so, it states that it is obsolete, and refer users to the man - page, which now explains the situation, and then aborts the build. - If it would have done nothing before, it just outputs a warning that - it is an obsolete program. - - -- Joey Hess Wed, 10 Jan 2001 13:17:50 -0800 - -debhelper (2.2.11) unstable; urgency=medium - - * Fixed dh_installwm. Oops. Closes: #81124 - - -- Joey Hess Wed, 3 Jan 2001 10:18:38 -0800 - -debhelper (2.2.10) unstable; urgency=low - - * dh_shlibdeps: re-enabled -l flag, it's needed again. Closes: #80560 - - -- Joey Hess Tue, 26 Dec 2000 22:05:30 -0800 - -debhelper (2.2.9) unstable; urgency=low - - * Fixed perl warning, Closes: #80242 - - -- Joey Hess Thu, 21 Dec 2000 14:43:11 -0800 - -debhelper (2.2.8) unstable; urgency=medium - - * dh_installwm: Moved update-alternatives --remove call to prerm, - Closes: #80209 - * ALso guarded all update-alternatives --remove calls. - - -- Joey Hess Thu, 21 Dec 2000 11:33:30 -0800 - -debhelper (2.2.7) unstable; urgency=low - - * Spelling patch. - - -- Joey Hess Sun, 3 Dec 2000 17:12:15 -0800 - -debhelper (2.2.6) unstable; urgency=low - - * typo: Closes, #78567 - - -- Joey Hess Sat, 2 Dec 2000 14:27:31 -0800 - -debhelper (2.2.5) unstable; urgency=low - - * Oops, it was not expanding wildcard when it should. - - -- Joey Hess Wed, 29 Nov 2000 20:59:33 -0800 - -debhelper (2.2.4) unstable; urgency=low - - * dh_movefiles: added error message on file not found - - -- Joey Hess Wed, 29 Nov 2000 20:25:52 -0800 - -debhelper (2.2.3) unstable; urgency=low - - * If DH_COMPAT=3 is set, the following happens: - - Various debian/foo files like debian/docs, debian/examples, etc, - begin to support filename globbing. use \* to escape the wildcards of - course. I doubt this will bite anyone (Debian doesn't seem to contain - files with "*" or "?" in their names..), but it is guarded by v3 just - to be sure. Closes: #34120, #37694, #39846, #46249 - - -- Joey Hess Mon, 27 Nov 2000 20:43:26 -0800 - -debhelper (2.2.2) unstable; urgency=low - - * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on - data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so". - Closes: #78139 - - -- Joey Hess Mon, 27 Nov 2000 12:21:53 -0800 - -debhelper (2.2.1) unstable; urgency=low - - * Reverted the change to make debian/README be treated as README.Debian, - after I learned people use it for eg, documenting the source package - itself. Closes: #34628, since it seems this is not such an "incredibly - minor" change after all. Never underestimate the annoyance of - backwards-compatibility. - - -- Joey Hess Mon, 27 Nov 2000 12:01:52 -0800 - -debhelper (2.2.0) unstable; urgency=low - - * DH_COMPAT=3 now enables the following new features which I can't just - turn on by default for fear of breaking backwards compatibility: - - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154 - Patch from Masato Taruishi (modified). If you - use this, be sure dh_makeshlibs runs before dh_installdeb; many - old rules files have the ordering backwards. - - dh_installdeb now causes all files in /etc to be registered as - conffiles. - - debian/README is now supported: it is treated exactly like - debian/README.Debian. Either file is installed as README.Debian in - non-native packages, and now as just README in native packages. - Closes: #34628 - * This is really only the start of the changes for v3, so use with - caution.. - * dh_du has finally been removed. It has been deprecated for ages, and - a grep of the archive shows that nothing is using it except biss-awt - and scsh. I filed bugs on both almost exactly a year ago. Those bugs - should now be raised to severity important.. - * --number option (to dh_installemacsen) is removed. It has been - deprecated for a while and nothing uses it. Use --priority instead. - - -- Joey Hess Sun, 26 Nov 2000 17:51:58 -0800 - -debhelper (2.1.28) unstable; urgency=low - - * Ok, fine, I'll make debhelper depend on lynx for the one or two - packages that have html changelogs. But you'll be sorry... - Closes: #77604 - - -- Joey Hess Tue, 21 Nov 2000 15:13:39 -0800 - -debhelper (2.1.27) unstable; urgency=low - - * Typo, Closes: #77441 - - -- Joey Hess Sun, 19 Nov 2000 13:23:30 -0800 - -debhelper (2.1.26) unstable; urgency=low - - * Completed the fix from the last version. - - -- Joey Hess Wed, 15 Nov 2000 20:39:25 -0800 - -debhelper (2.1.25) unstable; urgency=low - - * Ok, I tihnk we have a db3 fix that will really work now. - - -- Joey Hess Sun, 12 Nov 2000 13:29:59 -0800 - -debhelper (2.1.24) unstable; urgency=low - - * I retract 2.1.23, the hack doesn't help make dpkg-shlibdeps work; db3 - is broken upstream. - - -- Joey Hess Sun, 12 Nov 2000 13:29:57 -0800 - -debhelper (2.1.23) unstable; urgency=low - - * dh_makeshlibs: Also scan files named "*.so*", not just "*.so.*", - but only if they are files. This should make it more usable with - rather stupidly broken libraries like db3, which do not encode the - major version in their filenames. However, it cannot guess the major - version of such libraries, so -m must be used. - - -- Joey Hess Sat, 11 Nov 2000 17:24:58 -0800 - -debhelper (2.1.22) unstable; urgency=low - - * Fixed dh_perl to work with perl 5.6, Closes: #76508 - - -- Joey Hess Tue, 7 Nov 2000 15:56:54 -0800 - -debhelper (2.1.21) unstable; urgency=low - - * dh_movefiles: no longer does the symlink ordering hack, as - this is supported by dpkg itself now. Added a dependency on - dpkg-dev >= 1.7.0 to make sure this doesn't break anything. - * While I'm updating for dpkg 1.7.0, I removed the -ldirectory hack - from dh_shlibdeps; dpkg-shlibdeps has its own much more brutal hack to - make this work. The switch is ignored now for backwards compatibility. - * dh_suidregister will be deprecated soon -- dpkg-statoverride is a - much better way. - - -- Joey Hess Mon, 6 Nov 2000 15:14:49 -0800 - -debhelper (2.1.20) unstable; urgency=low - - * dh_suidregister: do not unregister on purge, since it will have already - been unregistered then, and a warning will result. - - -- Joey Hess Sun, 5 Nov 2000 17:02:50 -0800 - -debhelper (2.1.19) unstable; urgency=low - - * dh_builddeb: Ok, it is cosmetic, but it annoyed me. - - -- Joey Hess Sun, 5 Nov 2000 16:20:46 -0800 - -debhelper (2.1.18) unstable; urgency=low - - * dh_builddeb: added a --filename option to specify the output filename. - This is intended to be used when building .udebs for the debian - installer. - - -- Joey Hess Sat, 28 Oct 2000 11:41:20 -0700 - -debhelper (2.1.17) unstable; urgency=low - - * dh_movefiles.1: well I thought it was quite obvious why it always used - debian/tmp, but it's a faq. Added some explanation. By the way, since - there now exists a documented way to use dh_movefiles that does not - have problems with empty directories that get left behind and so on, I - think this Closes: #17111, #51985 - - -- Joey Hess Fri, 27 Oct 2000 23:07:42 -0700 - -debhelper (2.1.16) unstable; urgency=low - - * dh_movefiles: fixed a regexp quoting problem with --sourcedir. - Closes: #75434 - * Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those - in: - . - debhelper (2.1.14-0.1) unstable; urgency=low - . - * Non-maintainer upload (thanks Joey). - * dh_installchangelogs, dh_installdocs: allow dangling symlinks for - $TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages). - Closes: #53381 - . - -- Brendan O'Dea Fri, 20 Oct 2000 18:11:59 +1100 - . - I also added some documentation to debhelper.1 about this, and removed - the TODO entry about it. - - -- Joey Hess Mon, 23 Oct 2000 15:14:49 -0700 - -debhelper (2.1.15) unstable; urgency=low - - * dh_installwm: patched a path in some backwards compatibility code. - Closes: #75283 - - -- Joey Hess Mon, 23 Oct 2000 10:13:44 -0700 - -debhelper (2.1.14) unstable; urgency=low - - * Rats, the previous change makes duplicate lines be created in the - shlibs file, and lintian complains. Added some hackery that should - prevent that. Closes: #73052 - - -- Joey Hess Tue, 3 Oct 2000 12:32:22 -0700 - -debhelper (2.1.13) unstable; urgency=low - - * Typo, Closes: #72932 - * dh_makeshlibs: follow symlinks to files when looking for files that are - shared libraries. This allows it to catch files like - "liballeg-3.9.33.so" that are not in the *.so.* form it looks for, but - that doe have links to them that are in the right form. Closes: #72938 - - -- Joey Hess Sun, 1 Oct 2000 18:23:48 -0700 - -debhelper (2.1.12) unstable; urgency=low - - * Rebuild to remove cvs junk, Closes: #72610 - - -- Joey Hess Wed, 27 Sep 2000 12:39:06 -0700 - -debhelper (2.1.11) unstable; urgency=low - - * dh_installmanpages: don't install files that start with .#* -- these - are CVS files.. - - -- Joey Hess Thu, 21 Sep 2000 11:58:52 -0700 - -debhelper (2.1.10) unstable; urgency=low - - * Modified to allow no spaces between control file field name and value - (this appears to be logal). - - -- Joey Hess Tue, 19 Sep 2000 23:13:17 -0700 - -debhelper (2.1.9) unstable; urgency=low - - * dh_installmodules: corrected the code added to maintainer scripts so it - does not call depmod -a. update-modules (which it always called)_ - handles calling depmod if doing so is appropriate. Packages built with - proir versions probably have issues on systems with non-modular - kernels, and should be rebuilt. Closes: #71841 - - -- Joey Hess Sun, 17 Sep 2000 14:40:45 -0700 - -debhelper (2.1.8) unstable; urgency=low - - * Fixed a stupid typo. Closes: #69750 - - -- Joey Hess Tue, 22 Aug 2000 15:14:48 -0700 - -debhelper (2.1.7) unstable; urgency=low - - * debian/package.filename.arch is now checked for first, before - debian/package.filename. Closes: #69453 - * Added a section to debhelper(1) about files in debian/ used by - debhelper, which documents this. Removed scattered references to - debian/filename from all over the man pages. - - -- Joey Hess Sun, 20 Aug 2000 18:06:52 -0700 - -debhelper (2.1.6) unstable; urgency=low - - * dh_strip: now knows about the DEB_BUILD_OPTIONS=nostrip thing. - - -- Joey Hess Sun, 20 Aug 2000 16:28:31 -0700 - -debhelper (2.1.5) unstable; urgency=low - - * dh_installxfonts: corrected a problem during package removal that was - silently neglecting to remove the fonts.dir/alias files. - - -- Joey Hess Thu, 17 Aug 2000 00:44:25 -0700 - -debhelper (2.1.4) unstable; urgency=low - - * Whoops, I forgot to add v3 to cvs, so it was missing from a few - versions. - - -- Joey Hess Fri, 4 Aug 2000 14:27:46 -0700 - -debhelper (2.1.3) unstable; urgency=low - - * dh_shlibdeps: if it sets LD_LIBRARY_PATH, it now prints out a line - showing it is doing that when in verbose mode. - * examples/rules.multi: don't use DH_OPTIONS hack. It's too confusing. - rules.multi2 still uses it, but it has comments explaining the caveats - of the hack. - - -- Joey Hess Fri, 21 Jul 2000 13:53:02 -0700 - -debhelper (2.1.2) unstable; urgency=low - - * Minor man page updates as Overfiend struggles with debhelperizing X - 4.0. - - -- Joey Hess Fri, 21 Jul 2000 00:25:32 -0700 - -debhelper (2.1.1) unstable; urgency=low - - * Never refer to root, always uid/gid "0". Closes: #67508 - - -- Joey Hess Thu, 20 Jul 2000 16:56:24 -0700 - -debhelper (2.1.0) unstable; urgency=low - - * I started work on debhelper v2 over a year ago, with a long list of - changes I hoped to get in that broke backwards compatibility. That - development stalled after only the most important change was made, - although I did get out over 100 releases in the debhelper 2.0.x tree. - In the meantime, lots of packages have switched to using v2, despite my - warnings that doing so leaves packages open to being broken without - notice until v2 is complete. - * Therefore, I am calling v2 complete, as it is. Future non-compatible - changes will happen in v3, which will be started soon. This means that - by using debhelper v2, one major thing changes: debhelper uses - debian/ as the temporary directory for *all* packages; - debian/tmp is no longer used to build binary packages out of. This is - very useful for multi-binary packages, and I reccommend everyone - switch to v2. - * Updated example rules files to use v2 by default. - * Updated all documentation to assume that v2 is being used. - * Added a few notes for people still using v1. - * Moved all of the README into debhelper(1). - - -- Joey Hess Tue, 18 Jul 2000 15:48:41 -0700 - -debhelper (2.0.104) unstable; urgency=low - - * Put dh_installogrotate in the examples, Closes: #66986 - - -- Joey Hess Mon, 10 Jul 2000 16:16:37 -0700 - -debhelper (2.0.103) unstable; urgency=low - - * Added dh_installlogrotate. Yuck, 3 l's, but I want to folow my - standard.. - - -- Joey Hess Sun, 9 Jul 2000 00:51:03 -0700 - -debhelper (2.0.102) unstable; urgency=low - - * Documented the full list of extra files dh_clean deletes, since people - are for some reason adverse to using -v to find it. Closes: #66883 - - -- Joey Hess Fri, 7 Jul 2000 12:40:43 -0700 - -debhelper (2.0.101) unstable; urgency=low - - * Killed the fixlinks stuff, since there are no longer any symlinks in - the source package. - - -- Joey Hess Wed, 5 Jul 2000 19:14:10 -0700 - -debhelper (2.0.100) unstable; urgency=low - - * Modified all postinst script fragments to only run when called with - "configure". I looked at the other possibilities, and I don't think any - of the supported stuff should be called if the postinst is called for - error unwinds. Closes: #66673 - * Implemented dh_clean -X, to allow specification of files to not delete, - Closes: #66670 - - -- Joey Hess Wed, 5 Jul 2000 17:02:40 -0700 - -debhelper (2.0.99) unstable; urgency=low - - * dh_installmodules will now install modules even if etc/modutils already - exists (wasn't because of a logic error). Closes: #66289 - * dh_movefiles now uses debian/movelist, rather than just movelist. This - is to fix an unlikely edge case involving a symlinked debian directory. - Closes: #66278 - - -- Joey Hess Mon, 26 Jun 2000 14:24:12 -0700 - -debhelper (2.0.98) unstable; urgency=low - - * dh_installdebconf: Automatically merge localized template - files. If you use this feature, you should build-depend on - debconf-utils to get debconf-mergetemplate. - - -- Joey Hess Fri, 19 May 2000 14:24:24 -0700 - -debhelper (2.0.97) unstable; urgency=low - - * dh_installinfo: changed test to see if an info file is the head file to - just skip files that end in -\d+. - - -- Joey Hess Thu, 11 May 2000 14:11:04 -0700 - -debhelper (2.0.96) unstable; urgency=low - - * dh_installmodules: still add depmod -a calls if run on a package that - has no debian/modules file, but does contain modules. - - -- Joey Hess Thu, 4 May 2000 15:32:42 -0700 - -debhelper (2.0.95) unstable; urgency=low - - * Fixes for perl 5.6. - * Spelling fixes. - - -- Joey Hess Mon, 1 May 2000 13:35:11 -0700 - -debhelper (2.0.94) unstable; urgency=low - - * examples/rules.multi2: binary-indep and binary-arch targets need to - depend on the build and install targets. - - -- Joey Hess Mon, 17 Apr 2000 15:09:26 -0700 - -debhelper (2.0.93) unstable; urgency=low - - * Patch from Pedro Guerreiro to make install-docs only be called on - configure and remove/upgrade. Closes: #62513 - - -- Joey Hess Sun, 16 Apr 2000 19:05:52 -0700 - -debhelper (2.0.92) unstable; urgency=low - - * Detect changelog parse failures and use a better error message. - Closes: #62058 - - -- Joey Hess Sat, 8 Apr 2000 20:02:16 -0700 - -debhelper (2.0.91) unstable; urgency=low - - * Fixed a silly typo in dh_installmanpages, Closes: #60727 - - -- Joey Hess Sat, 18 Mar 2000 23:23:01 -0800 - -debhelper (2.0.90) unstable; urgency=low - - * Fixed dh_testversion; broken in last release. - - -- Joey Hess Sat, 4 Mar 2000 13:16:58 -0800 - -debhelper (2.0.89) unstable; urgency=low - - * Patch from Jorgen `forcer' Schaefer (much - modified)to make dh_installwm use new window manager registration method, - update-alternatives. Closes: #52156, #34684 (latter bug is obsolete) - * Fixed $dh{flavor} to be upper-case. - * Deprecated dh_installemavcsen --number; use --priority instead. Also, - the option parser requires the parameter be a number now. And, - dh_installwm now accepts --priority, and window manager packages should - start using it. - * dh_installwm now behaves like a proper debhelper command, and reads - debian/.wm too. This is a small behavior change; filenames - specified on the command line no longer apply to all packages it acts - on. I can't believe this program existed for 2 years with such a glaring - problem; I guess most people don't need ot register 5 wm's in 3 - sub-packages. Anyway, it can handle such things now. :-) - * Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change. - - -- Joey Hess Thu, 2 Mar 2000 11:39:56 -0800 - -debhelper (2.0.88) unstable; urgency=low - - * Copyright update: files in the examples directory are public domain. - - -- Joey Hess Mon, 7 Feb 2000 23:16:39 -0800 - -debhelper (2.0.87) unstable; urgency=low - - * Documented that lynx is used to convert html changelogs. Closes: #54055 - - -- Joey Hess Mon, 7 Feb 2000 16:01:19 -0800 - -debhelper (2.0.86) unstable; urgency=low - - * dh_testroot: don't call init(), so it may be run even if it's not in the - right place. Closes: #55065 - - -- Joey Hess Thu, 13 Jan 2000 21:40:21 -0800 - -debhelper (2.0.85) unstable; urgency=low - - * Downgraded fileutils dependency just a bit for the Hurd folks. - Closes: #54620 - - -- Joey Hess Mon, 10 Jan 2000 16:41:29 -0800 - -debhelper (2.0.84) unstable; urgency=low - - * Make all examples rules files executable. - * Copyright date updates. - - -- Joey Hess Thu, 6 Jan 2000 15:10:55 -0800 - -debhelper (2.0.83) unstable; urgency=low - - * Depend on the current unstable fileutils, because I have to use chown - --no-dereference. I'm not sure when it started working, but it didn't work - in slink. - - -- Joey Hess Wed, 5 Jan 2000 14:22:26 -0800 - -debhelper (2.0.82) unstable; urgency=low - - * Added dh_installmime calls to examples, Closes: #54056 - - -- Joey Hess Tue, 4 Jan 2000 09:35:19 -0800 - -debhelper (2.0.81) unstable; urgency=low - - * dh_installxaw: Patch from Josip Rodin to update to fhs paths, - Closes: #53029 - - -- Joey Hess Mon, 20 Dec 1999 12:21:34 -0800 - -debhelper (2.0.80) unstable; urgency=low - - * Type fix, Closes: #52652 - - -- Joey Hess Mon, 13 Dec 1999 13:47:48 -0800 - -debhelper (2.0.79) unstable; urgency=low - - * Corrected misspellings, Closes: #52013 - - -- Joey Hess Mon, 6 Dec 1999 13:46:18 -0800 - -debhelper (2.0.78) unstable; urgency=low - - * dh_fixperms: chown symlinks as well as normal files. Closes: #51169. - - -- Joey Hess Wed, 1 Dec 1999 13:34:06 -0800 - -debhelper (2.0.77) unstable; urgency=low - - * dh_suidregister: Fixed a rather esoteric bug: If a file had multiple - hard links, and was suid, suidregister detected all the hard links as - files that need to be registered. It looped, registering the first - link, and then removing its suid bit. This messed up the registration - of the other had links, since their permissions were now changed, - leading to unpredictable results. The fix is to just not remove suid - bits until all files have been registered. - - -- Joey Hess Tue, 30 Nov 1999 00:26:42 -0800 - -debhelper (2.0.76) unstable; urgency=low - - * dh_installmanpages: - - Added support for translated man pages, with a patch from Kis Gergely - . Closes: #51268 - - Fixed the undefined value problem in Kis's patch. - - This also Closes: #37092 come to think of it. - * dh_shlibdeps, dh_shlibdeps.1: - - Added -X option, which makes it not examine some files. This is - useful in rare cases. Closes: #51100 - - Always pass "-dDepends" before the list of files, which makes it - easier to specify other -d parameters in the uparams, and doesn't - otherwise change the result at all. - * doc/TODO: - - dh_installdebfiles is no longer a part of debhelper. This affects - exactly one package in unstable, biss-awt, which has had a bug filed - against it for 200+ days now asking that it stop using the program. - dh_installdebfiles has been deprecated for nearly 2 years now.. - * This changelog was automatically generated from CVS commit information. - Fear makechangelog. - - -- Joey Hess Sun, 28 Nov 1999 21:59:00 -0800 - -debhelper (2.0.75) unstable; urgency=low - - * Fixed typo in dh_installmenu.1, Closes: #51332 - - -- Joey Hess Sat, 27 Nov 1999 20:40:15 -0800 - -debhelper (2.0.74) unstable; urgency=low - - * dh_suidregister: Die with understandable error message if asked to - act on files that don't exist. - * dh_installchangelogs: to comply with policy, if it's told to act on a - html changelog, it installs it as changelog.html.gz and dumps a plain - text version to changelog.gz. The dumping is done with lynx. - (Closes: #51099) - * Dh_Getopt.pm: Modified it so any options specified after -- are added to - U_PARAMS. This means that instead of passing '-u"something nasty"' to - dh_gencontrol and the like, you can pass '-- something nasty' without - fiddling to get the quoting right, etc. - - -- Joey Hess Tue, 23 Nov 1999 11:36:15 -0800 - -debhelper (2.0.73) unstable; urgency=low - - * Actually, debhelper build-depends on perl-5.005. - - -- Joey Hess Mon, 22 Nov 1999 21:43:55 -0800 - -debhelper (2.0.72) unstable; urgency=low - - * Corrected slash substitution problem in dh_installwm. - - -- Joey Hess Mon, 22 Nov 1999 21:43:47 -0800 - -debhelper (2.0.71) unstable; urgency=low - - * Oh, the build dependencies include all of debhelper's regular - dependencies as well, since it builds using itself. - - -- Joey Hess Fri, 5 Nov 1999 14:14:26 -0800 - -debhelper (2.0.70) unstable; urgency=low - - * Added build dependencies to this package. That was easy; it just uses - perl5 for regression testing, the rest of its build-deps are things - in base. - * dh_version.1: Added note that this program is quickly becoming obsolete. - * doc/README, doc/from-debstd: Added reminders that if you use debhelper, - you need to add debhelper to your Build-Depends line. - - -- Joey Hess Thu, 4 Nov 1999 21:24:37 -0800 - -debhelper (2.0.69) unstable; urgency=low - - * dh_shlibdeps: added -l option, which lets you specify a path that - LD_LIBRARY_PATH is then set to when dpkg-shlibdeps is run. This - should make it easier for library packages that also build binary - packages to be built with correct dependencies. Closes: #36751 - * In honor of Burn all GIFs Day (hi Don!), I added alternative - image formats .png, .jpg (and .jpeg) to the list of extensions dh_compress - does not compress. Closes: #41733 - * Also, made all extensions dh_compress skips be looked at case - insensitively. - * dh_movefiles: force owner and group of installed files to be root. - Closes: #46039 - * Closes: #42650, #47175 -- they've been fixed forever. - - -- Joey Hess Thu, 4 Nov 1999 15:05:59 -0800 - -debhelper (2.0.68) unstable; urgency=low - - * dh_installxfonts: Patch from Anthony Wong to fix directory searching. - Closes: #48931 - - -- Joey Hess Mon, 1 Nov 1999 14:46:04 -0800 - -debhelper (2.0.67) unstable; urgency=low - - * dh_installdebconf: Modified to use new confmodule debconf library. - - -- Joey Hess Fri, 29 Oct 1999 15:24:47 -0700 - -debhelper (2.0.66) unstable; urgency=low - - * Fixed some problems with dh_installxfonts font dirs. - - -- Joey Hess Thu, 28 Oct 1999 00:46:43 -0700 - -debhelper (2.0.65) unstable; urgency=low - - * dh_builddeb: -u can be passed to this command now, followed by - any extra parameters you want to pass to dpkg-deb (Closes: #48394) - - -- Joey Hess Tue, 26 Oct 1999 10:14:57 -0700 - -debhelper (2.0.64) unstable; urgency=low - - * Corrected a path name in dh_installxfonts. Closes: #48315 - - -- Joey Hess Mon, 25 Oct 1999 14:24:03 -0700 - -debhelper (2.0.63) unstable; urgency=low - - * Removed install-stamp cruft in all example rules files. Closes: #47175 - - -- Joey Hess Tue, 12 Oct 1999 14:23:09 -0700 - -debhelper (2.0.62) unstable; urgency=low - - * Fixed problem with dh_installemacsen options not working, patch from - Rafael Laboissiere , Closes: #47738 - * Added new dh_installxfonts script by Changwoo Ryu - . Closes: #46684 - I made some changes, though: - - I rewrote lots of this script to be more my style of perl. - - I removed all the verbosity from the postinst script fragment, since - that is a clear violation of policy. - - I made the postinst fail if the mkfontdir, etc commands fail, because - this really makes more sense. Consider idempotency. - - I moved the test to see if the font dir is really a directory into the - dh_ script and out of the snippet. If the maintainer plays tricks on - us, mkfontdir will blow up satisfactorily anyway. - - So, the snippet is 9 lines long now, down from 20-some. - - I realize this isn't following the recommendations made in Brando^Hen's - font policy. I'll fight it out with him. :-) - - In postrm fragment, used rmdir -p to remove as many parent directories - as I can. - - s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g - - -- Joey Hess Sun, 24 Oct 1999 15:30:53 -0700 - -debhelper (2.0.61) unstable; urgency=low - - * Clarified rules.multi2 comment. Closes: #46828 - - -- Joey Hess Sat, 9 Oct 1999 18:21:02 -0700 - -debhelper (2.0.60) unstable; urgency=low - - * dh_compress: After compressing an executable, changes the file mode to - 644. Executable .gz files are silly. Closes: #46383 - - -- Joey Hess Wed, 6 Oct 1999 13:05:14 -0700 - -debhelper (2.0.59) unstable; urgency=low - - * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink, - leaves it alone, assuming that the maintainer knows what they're doing - and is probably linking to the doc dir of another package. - (Closes: #46183) - - -- Joey Hess Mon, 4 Oct 1999 16:27:28 -0700 - -debhelper (2.0.58) unstable; urgency=low - - * Dh_Lib.pm: fixed bug in xargs() that made boundary words be skipped. - - -- Joey Hess Sun, 3 Oct 1999 18:55:29 -0700 - -debhelper (2.0.57) unstable; urgency=low - - * Added note to man pages of commands that use autoscript to note they are - not idempotent. - - -- Joey Hess Fri, 1 Oct 1999 13:18:20 -0700 - -debhelper (2.0.56) unstable; urgency=low - - * Fiddlesticks. The neat make trick I was using in rules.multi2 failed if - you try to build binary-indep and binary-arch targets in the same make - run. Make tries to be too smart. Modified the file so it will work, - though it's now uglier. Closes: 46287 - * examples/*: It's important that one -not- use a install-stamp target. - Install should run every time binary-* calls it. Otherwise if a binary-* - target is called twice by hand, you get duplicate entries in the - maintainer script fragment files. Closes: #46313 - - -- Joey Hess Thu, 30 Sep 1999 12:01:40 -0700 - -debhelper (2.0.55) unstable; urgency=low - - * Fixed quoting problem in examples/rules.multi (Closes: #46254) - - -- Joey Hess Wed, 29 Sep 1999 12:06:59 -0700 - -debhelper (2.0.54) unstable; urgency=low - - * Enhanced debconf support -- the database is now cleaned up on package - purge. - * Broke all debconf support off into a dh_installdebconf script. This - seems conceptually a little cleaner. - - -- Joey Hess Tue, 28 Sep 1999 16:12:53 -0700 - -debhelper (2.0.53) unstable; urgency=low - - * Minor changes to rules.multi2. - - -- Joey Hess Mon, 27 Sep 1999 13:57:17 -0700 - -debhelper (2.0.52) unstable; urgency=low - - * dh_movefiles: if the wildcards in the filelist expand to nothing, - don't do anything, rather than crashing. - - -- Joey Hess Thu, 23 Sep 1999 15:18:00 -0700 - -debhelper (2.0.51) unstable; urgency=low - - * dh_installdocs: create the compatibility symlink before calling - install-docs. I'm told this is better in some cases. (Closes: #45608) - * examples/rules.multi2: clarified what you have to comment/uncomment. - - -- Joey Hess Mon, 20 Sep 1999 12:43:09 -0700 - -debhelper (2.0.50) unstable; urgency=medium - - * Oops. Fixed dh_shlibdeps so it actually generates dependencies, broke in - last version. - - -- Joey Hess Sat, 18 Sep 1999 19:00:10 -0700 - -debhelper (2.0.49) unstable; urgency=low - - * dh_shlibdeps: detect statically linked binaries and don't pass them to - dpkg-shlibdeps. - * dh_installdeb: debconf support. - - -- Joey Hess Fri, 17 Sep 1999 00:28:59 -0700 - -debhelper (2.0.48) unstable; urgency=low - - * 4 whole days without a debhelper upload! Can't let that happen. Let's see.. - * dh_installperl.1: explain what you have to put in your control file - for the dependencies to be generated. - - -- Joey Hess Thu, 16 Sep 1999 21:15:05 -0700 - -debhelper (2.0.47) unstable; urgency=low - - * dh_undocumented: installs links for X11 man pages to the undocumented.7 - page in /usr/share/man. (Closes: #44909) - - -- Joey Hess Sun, 12 Sep 1999 13:12:34 -0700 - -debhelper (2.0.46) unstable; urgency=low - - * dh_installemacsen: the script fragments it generates now test for the - existence of emacs-package-install/remove before calling them. Though - a strict reading of the emacsen policy indicates that such a test - shouldn't be needed, there may be edge cases (cf bug 44924), where it - is. - - -- Joey Hess Sun, 12 Sep 1999 12:54:37 -0700 - -debhelper (2.0.45) unstable; urgency=low - - * dh_installdocs.1: clarified how the doc-id is determined. Closes: #44864 - * dh_makeshlibs: will now overwrite existing debian/tmp/DEBIAN/shlibs - files, instead of erroring out. (Closes: #44828) - - -- Joey Hess Sat, 11 Sep 1999 13:15:33 -0700 - -debhelper (2.0.44) unstable; urgency=low - - * dh_compress: fixed #ARGV bug (again) Closes: #44853 - - -- Joey Hess Sat, 11 Sep 1999 13:04:15 -0700 - -debhelper (2.0.43) unstable; urgency=low - - * Corrected example rules files, which had some messed up targets. - - -- Joey Hess Thu, 9 Sep 1999 11:22:09 -0700 - -debhelper (2.0.42) unstable; urgency=low - - * dh_installinfo: failed pretty miserably if the info file's section - contained '/' characters. Doesn't now. - - -- Joey Hess Mon, 6 Sep 1999 16:33:13 -0700 - -debhelper (2.0.41) unstable; urgency=low - - * dh_installinfo: use FHS info dir. I wonder how I missed that.. - - -- Joey Hess Mon, 6 Sep 1999 13:22:08 -0700 - -debhelper (2.0.40) unstable; urgency=low - - * FHS compliance. Patch from Johnie Ingram . - For the most part, this was a straight-forward substitution, - dh_installmanpages needed a non-obvious change though. - * Closes: #42489, #42587, #41732. - * dh_installdocs: Adds code to postinst and prerm as specified in - http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html, - to make /usr/doc/ a compatibility symlink to - /usr/share/doc/. Note that currently if something exists in - /usr/doc/ when the postinst is run, it will silently not make - the symlink. I'm considering more intelligent handing of this case. - * Note that if you build a package with this version of debhelper, it will - use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to - modify other files in your package that reference the old locations. - - -- Joey Hess Sun, 5 Sep 1999 21:06:11 -0700 - -debhelper (2.0.30) unstable; urgency=low - - * It turns out it's possible to set up make variables that are specific to - a single target of a Makefile. This works tremendously well with - DH_OPTIONS: no need to put "-i" or "-pfoo" after every debhelper command - anymore. - * debhelper.1: mentioned above technique. - * examples/rules.multi: use the above method to get rid of -i's and -a's. - * examples/rules.multi2: new file, example of a multi-binary package that - works for arch-indep and arch-dependant packages, and also allows - building of single binary packages independently, via binary- - targets. It accomplishes all this using only one list of debhelper - commands. - * examples/*: removed source and diff targets. They've been obsolete for 2 - years -- or is it 3? No need for a nice error message on failure anymore. - - -- Joey Hess Fri, 3 Sep 1999 11:28:24 -0700 - -debhelper (2.0.29) unstable; urgency=low - - * dh_shlibdeps: Fixed quoting problem that made it fail on weird file names. - Patch from Devin Carraway , Closes: #44016 - - -- Joey Hess Thu, 2 Sep 1999 13:40:37 -0700 - -debhelper (2.0.28) unstable; urgency=low - - * Oops, dh_installpam was omitted from the package. Added back. - Closes: #43652 - - -- Joey Hess Fri, 27 Aug 1999 19:16:38 -0700 - -debhelper (2.0.27) unstable; urgency=low - - * No user visible changes. Modified the package to interface better with - my new local build system, which auto-updates the home page when a new - debhelper is built. - - -- Joey Hess Thu, 26 Aug 1999 23:20:40 -0700 - -debhelper (2.0.25) unstable; urgency=low - - * Corrected debian/fixlinks to make the correct debian/* symlinks needed - for building debhelper. - * Fixed rules file to create and populate examples and docs dirs. Oops. - - -- Joey Hess Wed, 25 Aug 1999 19:46:08 -0700 - -debhelper (2.0.24) unstable; urgency=low - - * dh_installdocs: Handle trailing whitespace after Document: name. - Closes: #43148. - - -- Joey Hess Wed, 18 Aug 1999 10:23:17 -0700 - -debhelper (2.0.23) unstable; urgency=low - - * Fixed makefile commit target. - * Misc changes to make CVS dirs not be copies into package. - - -- Joey Hess Mon, 16 Aug 1999 22:43:39 -0700 - -debhelper (2.0.22) unstable; urgency=low - - * Checked all of debhelper into CVS. - * Removed Test.pm (we have perl 5.005 now) - * Skip CVS dir when running tests. - * Since CVS is so brain dead about symlinks, added a debian/fixlinks script. - Modified debian/rules to make sure it's run if any of the symlinks are - missing. Also, made Makefile a short file that sources debian/rules so - it's always available. - - -- Joey Hess Mon, 16 Aug 1999 22:35:12 -0700 - -debhelper (2.0.21) unstable; urgency=low - - * Wow. It turns out dh_installdocs has been doing it wrong and doc-base - files have the doc-id inside them. Applied and modified a patch from - Peter Moulder to make it use those id's instead - of coming up with it's own. (Closes: #42650) - - -- Joey Hess Sun, 8 Aug 1999 10:24:10 -0700 - -debhelper (2.0.20) unstable; urgency=low - - * dh_perl: Patch from Raphael Hertzog to allow - specification on the command line of alternate paths to search for perl - modules. (Closes: #42171) - - -- Joey Hess Fri, 30 Jul 1999 09:42:08 -0700 - -debhelper (2.0.19) unstable; urgency=low - - * dh_installinfo: fixed bug if a info file had no section. - - -- Joey Hess Thu, 29 Jul 1999 11:41:11 -0700 - -debhelper (2.0.18) unstable; urgency=low - - * dh_installxaw: fixed multiple stanza problem, for real this time (patch - misapplied last time). (Closes: #41862) - - -- Joey Hess Mon, 26 Jul 1999 13:00:09 -0700 - -debhelper (2.0.17) unstable; urgency=low - - * dh_clean: compat() wasn't exported. - - -- Joey Hess Wed, 21 Jul 1999 12:49:52 -0700 - -debhelper (2.0.16) unstable; urgency=low - - * Dh_lib.pm: when looking for debhelper files in debian/, test with -f, - not with -e, because it might fail if you're building a package named, - say, 'docs', with a temp dir of debian/docs. I don't anticipate this - ever happening, but it pays to be safe. - - -- Joey Hess Tue, 20 Jul 1999 21:00:04 -0700 - -debhelper (2.0.15) unstable; urgency=low - - * dh_clean: only force-remove debian/tmp if in v2 mode. In v1 mode, we - shouldn't remove it because we may only be acting on a single package. - (Closes: #41689) - - -- Joey Hess Tue, 20 Jul 1999 19:00:15 -0700 - -debhelper (2.0.14) unstable; urgency=low - - * Moved /usr/lib/debhelper to /usr/share/debhelper for FHS compliance - (#41174). If you used Dh_lib or something in another package, be sure to - update your "use" line and declare an appropriate dependency. (Closes: - #41174) - * dh_installxaw: Patch from Josip Rodin to fix - multiple-stanza xaw file support. (Closes: #41173) - - -- Joey Hess Mon, 12 Jul 1999 11:49:57 -0700 - -debhelper (2.0.13) unstable; urgency=low - - * dh_fixperms: FHS fixes (#41058) - - -- Joey Hess Fri, 9 Jul 1999 13:07:49 -0700 - -debhelper (2.0.12) unstable; urgency=low - - * dh_installinfo: fixed #SECTION# substitution. - - -- Joey Hess Wed, 7 Jul 1999 17:51:59 -0700 - -debhelper (2.0.11) unstable; urgency=low - - * At long, long last, dh_installinfo is written. It takes a simple list of - info files and figures out the rest for you. (Closes: #15717) - - -- Joey Hess Wed, 7 Jul 1999 17:04:48 -0700 - -debhelper (2.0.10) unstable; urgency=low - - * dh_compress: compress changelog.html files. (Closes: #40626) - * dh_installchangelogs: installs a link from changelog.html.gz to changelog.gz, - because I think it's important that upstream changelogs always be accessible - at that name. - * dh_compress: removed the usr/share/X11R6/man bit. Note part of FHS. - - -- Joey Hess Wed, 7 Jul 1999 10:46:03 -0700 - -debhelper (2.0.09) unstable; urgency=low - - * dh_compress: added some FHS support. Though debhelper doesn't put stuff - there (and won't until people come up with a general transition strategy or - decide to not have a clean transition), dh_compress now compresses - various files in /usr/share/{man,doc,info}. (Closes: #40892) - - -- Joey Hess Wed, 7 Jul 1999 09:55:03 -0700 - -debhelper (2.0.08) unstable; urgency=low - - * dh_*: redirect cd output to /den/null, because CD can actually output - things if CDPATH is set. - - -- Joey Hess Tue, 6 Jul 1999 10:14:00 -0700 - -debhelper (2.0.07) unstable; urgency=low - - * Added dh_perl calls to example rules files. - - -- Joey Hess Sun, 4 Jul 1999 15:57:51 -0700 - -debhelper (2.0.06) unstable; urgency=low - - * Now depends on perl5 | perl, I'll kill the | perl bit later on, but it - seems to make sense for the transition. - - -- Joey Hess Sun, 4 Jul 1999 10:56:03 -0700 - -debhelper (2.0.05) unstable; urgency=low - - * dh_clean: clean debian/tmp even if v2 is being used. If you're - using dh_movefiles, stuff may well be left in there, and it needs to be - cleaned up. - - -- Joey Hess Sat, 3 Jul 1999 13:23:46 -0700 - -debhelper (2.0.04) unstable; urgency=low - - * Patch from Raphael Hertzog to make dh_perl support a - -d flag that makes it add a dependency on the appropriate perl-XXX-base - package. Few packages will really need this. (Closes: #40631) - - -- Joey Hess Fri, 2 Jul 1999 11:22:00 -0700 - -debhelper (2.0.03) unstable; urgency=low - - * Depend on file >= 2.23-1, because dh_perl uses file -b, introduced at - that version. (Closes: #40589) - - -- Joey Hess Thu, 1 Jul 1999 14:41:12 -0700 - -debhelper (2.0.02) unstable; urgency=low - - * If you're going to use v2, it's recommended you call - "dh_testversion 2". Added a note about that to doc/v2. - * Dh_Lib.pm compat: if a version that is greater than the highest - supported compatibility level is specified, abort with an error. Perhaps - there will be a debhelper v3 some day... - - -- Joey Hess Thu, 1 Jul 1999 14:08:14 -0700 - -debhelper (2.0.01) unstable; urgency=low - - * Actually include doc/v2 this time round. - - -- Joey Hess Thu, 1 Jul 1999 14:01:55 -0700 - -debhelper (2.0.00) unstable; urgency=low - - * Don't let the version number fool you. Debhelper v2 is here, but just - barely. That's what all the zero's mean. :-) - * If DH_COMPAT=2, then debian/ will be used for the temporary - build directory for all packages. debian/tmp is no more! (Well, except - dh_movefiles still uses it.) - * debhelper.1: documented this. - * Dh_lib.pm: added compat(), pass in a number, it returns true if the - current compatibility level is equal to that number. - * doc/PROGRAMMING: documented that. - * debhelper itself now builds using DH_COMPAT=2. - * dh_debstd forces DH_COMPAT=1, because it needs to stay compatible with - debstd after all. - - -- Joey Hess Thu, 1 Jul 1999 13:37:58 -0700 - -debhelper (1.9.00) unstable; urgency=low - - * This is a release of debhelper in preparation for debhelper v2. - * doc/v2: added, documented status of v2 changes. - * README: mention doc/v2 - * debhelper.1: documented DH_COMPAT - * examples/*: added DH_COMAPT=1 to top of rules files - - -- Joey Hess Thu, 1 Jul 1999 13:16:41 -0700 - -debhelper (1.2.83) unstable; urgency=medium - - * dh_perl: fixed substvars typo. Urgency medium since a lot of people will - be using this script RSN. - - -- Joey Hess Thu, 1 Jul 1999 11:44:05 -0700 - -debhelper (1.2.82) unstable; urgency=low - - * dh_installinit: applied patch from Yann Dirson - to make it look for init.d scripts matching the --init-script parameter. - This is only useful if, like Yann, you have packages that need to install - more than 1 init script. - - -- Joey Hess Fri, 25 Jun 1999 11:38:05 -0700 - -debhelper (1.2.81) unstable; urgency=low - - * dh_link: fixed bug #40159 and added a regression test for it. It was - failing if it was given absolute filenames. - - -- Joey Hess Fri, 25 Jun 1999 10:12:44 -0700 - -debhelper (1.2.80) unstable; urgency=low - - * Changed perl version detection. - * Changed call to find. - - -- Joey Hess Thu, 24 Jun 1999 16:48:53 -0700 - -debhelper (1.2.79) unstable; urgency=low - - * Added dh_perl by Raphael Hertzog . dh_perl handles - finding dependencies of perl scripts, plus deleting those annoying - .packlist files. - * I don't think dh_perl is going to be useful until the new version of - perl comes out. - - -- Joey Hess Thu, 24 Jun 1999 14:47:55 -0700 - -debhelper (1.2.78) unstable; urgency=low - - * Really include dh_installpam. - - -- Joey Hess Tue, 15 Jun 1999 09:00:36 -0700 - -debhelper (1.2.77) unstable; urgency=low - - * dh_installpam: new program by Sean - * Wrote man page for same. - - -- Joey Hess Fri, 11 Jun 1999 13:08:04 -0700 - -debhelper (1.2.76) unstable; urgency=low - - * dh_fixperms: Do not use chmod/chown -R at all anymore, instead it uses - the (slower) find then chown method. Necessary because the -R methods will - happily attempt to chown a dangling symlink, which makes them fail. - (Closes: #38911) - - -- Joey Hess Mon, 7 Jun 1999 20:20:01 -0700 - -debhelper (1.2.75) unstable; urgency=low - - * dh_installemacsen: fixed perms of install, remove scripts. - (closes: #39082) - - -- Joey Hess Mon, 7 Jun 1999 14:42:12 -0700 - -debhelper (1.2.74) unstable; urgency=low - - * dh_installmanpages: recognizes gzipped man pages and installs them. - This is an experimental change, one problem is if your man page isn't - already gzip-9'd, it will be in violation of policy. (closes: #38673) - * The previous fix to dh_installemacsen was actually quite necessary - the - x bit was being set! - - -- Joey Hess Thu, 3 Jun 1999 15:14:27 -0700 - -debhelper (1.2.73) unstable; urgency=low - - * dh_installemacsen: make sure files are installed mode 0644. Not strictly - necessary since dh_fixperms fixes them if you have a wacky umask, but oh - well. (Closes: 38900) - - -- Joey Hess Thu, 3 Jun 1999 14:50:42 -0700 - -debhelper (1.2.72) unstable; urgency=low - - * dh_installemacsen: use debian/package.emacsen-startup, not - debian/package.emacsen-init. The former has always been documented to - work on the man page (closes: #38898). - - -- Joey Hess Thu, 3 Jun 1999 14:16:57 -0700 - -debhelper (1.2.71) unstable; urgency=low - - * Fixed a typo (closes: #38881) - - -- Joey Hess Thu, 3 Jun 1999 13:23:23 -0700 - -debhelper (1.2.70) unstable; urgency=low - - * dh_installmanpages: Properly quoted metacharacters in $dir in regexp. - (#38263). - - -- Joey Hess Tue, 25 May 1999 14:12:30 -0700 - -debhelper (1.2.69) unstable; urgency=low - - * Don't include Test.pm in the binary package. - - -- Joey Hess Sun, 23 May 1999 19:29:27 -0700 - -debhelper (1.2.68) unstable; urgency=low - - * doc/README: updated example of using #DEBHELPER# in a perl script, with - help from Julian Gilbey. - * dh_link: generate absolute symlinks where appropriate. The links - generated before were wrong sometimes (#37774) - * Started writing a regression test suite for debhelper. Currently covers - only the above bugfix and a few more dh_link tests. - * Tossed Test.pm into the package (for regression tests) until we get perl - 5.005 which contains that package. That file is licenced the same as perl. - * dh_installchangelogs: force all installed files to be owned by root - (#37655). - - -- Joey Hess Sun, 16 May 1999 17:18:44 -0700 - -debhelper (1.2.67) unstable; urgency=low - - * dh_installmodules: fixed type that made the program not work. - - -- Joey Hess Wed, 12 May 1999 00:25:05 -0700 - -debhelper (1.2.66) unstable; urgency=low - - * examples/rules.multi: dh_shlibdeps must be run before dh_gencontrol - (#37346) - - -- Joey Hess Sun, 9 May 1999 14:03:05 -0700 - -debhelper (1.2.65) unstable; urgency=low - - * Added to docs. - - -- Joey Hess Thu, 6 May 1999 21:46:03 -0700 - -debhelper (1.2.64) unstable; urgency=low - - * dh_installmime: new command (#37093, #32684). - - -- Joey Hess Mon, 3 May 1999 13:37:34 -0700 - -debhelper (1.2.63) unstable; urgency=low - - * dh_installxaw: updated to work with xaw-wrappers 0.90 and above. It - actually has to partially parse the xaw-wrappers config files now. - - -- Joey Hess Sun, 2 May 1999 19:13:34 -0700 - -debhelper (1.2.62) unstable; urgency=low - - * dh_installemacsen: added support for site-start files. Added --flavor - and --number to control details of installation. (#36832) - - -- Joey Hess Sun, 2 May 1999 15:31:58 -0700 - -debhelper (1.2.61) unstable; urgency=low - - * dh_md5sums.1: dh_md5sums is not deprecated, AFAIK, but the manpage has - somehow been modified to say it was at version 1.2.45. - - -- Joey Hess Mon, 26 Apr 1999 19:54:04 -0700 - -debhelper (1.2.60) unstable; urgency=low - - * dh_installexamples.1: recycled docs fix. - - -- Joey Hess Mon, 26 Apr 1999 17:19:07 -0700 - -debhelper (1.2.59) unstable; urgency=low - - * dh_builddeb: added --destdir option, which lets you tell it where - to put the generated .deb's. Default is .. of course. - - -- Joey Hess Thu, 22 Apr 1999 22:02:01 -0700 - -debhelper (1.2.58) unstable; urgency=low - - * autoscripts/postinst-suid: use /#FILE# in elif test (#36297). - - -- Joey Hess Sun, 18 Apr 1999 22:33:52 -0700 - -debhelper (1.2.57) unstable; urgency=low - - * examples/*: killed trailing spaces after diff: target - - -- Joey Hess Mon, 12 Apr 1999 22:02:32 -0700 - -debhelper (1.2.56) unstable; urgency=low - - * dh_suidregister: make the chown/chmod only happen if the file actually - exists. This is useful if you have conffiles that have permissions and - may be deleted. (#35845) - - -- Joey Hess Sat, 10 Apr 1999 13:35:23 -0700 - -debhelper (1.2.55) unstable; urgency=low - - * Various man page enhancements. - * dh_md5sums: supports -X to make it skip including files in the - md5sums (#35819). - - -- Joey Hess Fri, 9 Apr 1999 18:21:58 -0700 - -debhelper (1.2.54) unstable; urgency=low - - * dh_installinit.1: man page fixups (#34160). - * *.1: the date of each man page is now automatically updated when - debhelper is built to be the last modification time of the man page. - - -- Joey Hess Thu, 8 Apr 1999 20:28:00 -0700 - -debhelper (1.2.53) unstable; urgency=low - - * dh_compress: leave .taz and .tgz files alone. Previously trying to - compress such files caused gzip to fail and the whole command to fail. - Probably fixes #35677. Actually, it now skips files with a whole - range of odd suffixes that gzip refuses to compress, including "_z" and - "-gz". - * dh_compress.1: updated docs to reflect this, and to give the new - suggested starting point if you want to write your own debian/compress - file. - - -- Joey Hess Wed, 7 Apr 1999 02:20:14 -0700 - -debhelper (1.2.52) unstable; urgency=low - - * dh_installmodules: new program, closes #32546. - - -- Joey Hess Thu, 1 Apr 1999 17:25:37 -0800 - -debhelper (1.2.51) unstable; urgency=low - - * Another very minor typo fix. - - -- Joey Hess Thu, 1 Apr 1999 14:04:02 -0800 - -debhelper (1.2.50) unstable; urgency=low - - * Very minor typo fix. - - -- Joey Hess Fri, 26 Mar 1999 17:27:01 -0800 - -debhelper (1.2.49) unstable; urgency=low - - * dh_fixperms: if called with -X, was attempting to change permissions of - even symlinks. This could have even caused it to follow the symlinks and - modify files on the build system in some cases. Ignores them now. (#35102) - - -- Joey Hess Wed, 24 Mar 1999 13:21:49 -0800 - -debhelper (1.2.48) unstable; urgency=low - - * dh_fixperms.1: improved documentation. (#34968) - - -- Joey Hess Tue, 23 Mar 1999 19:11:01 -0800 - -debhelper (1.2.47) unstable; urgency=low - - * doc/README: updated the example of including debhelper shell script - fragments inside a perl program -- the old method didn't work with shell - variables properly (#34850). - - -- Joey Hess Sun, 21 Mar 1999 13:25:33 -0800 - -debhelper (1.2.46) unstable; urgency=low - - * doc/README: pointer to maint-guide. - - -- Joey Hess Thu, 18 Mar 1999 21:04:57 -0800 - -debhelper (1.2.45) unstable; urgency=low - - * dh_installwm.1: fixed two errors (#34534, #34535) - * debhelper.1: list all other debhelper commands with synopses - (automatically generated by build process). - - -- Joey Hess Sun, 14 Mar 1999 11:33:39 -0800 - -debhelper (1.2.44) unstable; urgency=medium - - * dh_fixperms: has been mostly broken when used with -X, corrected this. - - -- Joey Hess Sat, 13 Mar 1999 17:25:59 -0800 - -debhelper (1.2.43) unstable; urgency=low - - * dh_compress.1: man page fixes (Closes: #33858). - * dh_compress: now it can handle compressing arbitrary numbers of files, - spawning gzip multiple times like xargs does, if necessary. - (Closes: #33860) - * Dh_Lib.pm: added xargs() command. - - -- Joey Hess Tue, 9 Mar 1999 14:57:09 -0800 - -debhelper (1.2.42) unstable; urgency=low - - * dh_m5sums: don't generate bogus md5sums file if the package contains no - files. Yes, someone found a legitimate reason to do that. - - -- Joey Hess Thu, 25 Feb 1999 00:03:47 -0800 - -debhelper (1.2.41) unstable; urgency=low - - * README: minor typo fix. - - -- Joey Hess Sat, 20 Feb 1999 23:30:00 -0800 - -debhelper (1.2.40) unstable; urgency=low - - * Let's just say 1.2.39 is not a good version of debhelper to use and - leave it at that. :-) - - -- Joey Hess Sat, 20 Feb 1999 22:55:27 -0800 - -debhelper (1.2.39) unstable; urgency=low - - * dh_installcron: install files in cron.d with correct perms. - - -- Joey Hess Sat, 20 Feb 1999 22:28:38 -0800 - -debhelper (1.2.38) unstable; urgency=low - - * dh_clean: don't try to delete directories named "core". - - -- Joey Hess Sat, 20 Feb 1999 19:13:40 -0800 - -debhelper (1.2.37) unstable; urgency=low - - * dh_installdocs: Patch from Jim Pick , fixes regexp error (Closes: #33431). - * dh_installxaw: new program by Daniel Martin - , handles xaw-wrappers integration. - * dh_installxaw.1: wrote man page. - - -- Joey Hess Thu, 18 Feb 1999 17:32:53 -0800 - -debhelper (1.2.36) unstable; urgency=low - - * dh_compress.1: Fixed typo in man page. (Closes: #33364) - * autoscripts/postinst-menu-method: fixed typo. (Closes: #33376) - - -- Joey Hess Sun, 14 Feb 1999 13:45:18 -0800 - -debhelper (1.2.35) unstable; urgency=low - - * Dh_Lib.pm filearray(): Deal with multiple spaces and spaces at the - beginning of lines in files. (closes: #33161) - - -- Joey Hess Tue, 9 Feb 1999 21:01:07 -0800 - -debhelper (1.2.34) unstable; urgency=low - - * dh_clean: added -d flag (also --dirs-only) that will make it clean only - tmp dirs. (closes: #30807) - * dh_installdocs: to support packages that need multiple doc-base files, - will now look for debian/.doc-base.. - * dh_compress: removed warning message (harmless). - - -- Joey Hess Sat, 6 Feb 1999 17:48:33 -0800 - -debhelper (1.2.33) unstable; urgency=low - - * dh_compress: verbose_print() cd's. - * dh_compress: clear the hash of hard links when we loop - was making - dh_compress fail on multi-binary packages that had hardlinks. Thanks to - Craig Small for spotting this. - - -- Joey Hess Thu, 4 Feb 1999 20:19:37 -0800 - -debhelper (1.2.32) unstable; urgency=low - - * dh_suidmanager: if it cannot determine the user name or group name from - the uid or gid, it will pass the uid or gid to suidmanager. This should - probably never happen, but it's good to be safe. - - -- Joey Hess Thu, 4 Feb 1999 16:00:35 -0800 - -debhelper (1.2.31) unstable; urgency=low - - * dh_installinit.1: minor typo fix (closes: #32753) - - -- Joey Hess Tue, 2 Feb 1999 14:32:46 -0800 - -debhelper (1.2.30) unstable; urgency=low - - * dh_fixperms: cut down the number of chmod commands that are executed - from 3 to 1, no change in functionality. - - -- Joey Hess Mon, 1 Feb 1999 17:05:29 -0800 - -debhelper (1.2.29) unstable; urgency=high - - * Do not include bogus chsh, chfn, passwd links in debhelper binary! - These were accidentally left in after dh_link testing I did as I was - working on the last version of debhelper. - - -- Joey Hess Mon, 25 Jan 1999 20:26:46 -0800 - -debhelper (1.2.28) unstable; urgency=low - - * dh_link: fixed bug that prevent multiple links to the same source from - being made. (#23255) - - -- Joey Hess Sun, 24 Jan 1999 19:46:33 -0800 - -debhelper (1.2.27) unstable; urgency=low - - * autoscripts/*menu*: "test", not "text"! - - -- Joey Hess Tue, 19 Jan 1999 15:18:52 -0800 - -debhelper (1.2.26) unstable; urgency=low - - * dh_installdocs: use prerm-doc-base script fragment. Was using - postrm-doc-base, for some weird reason. - - -- Joey Hess Mon, 18 Jan 1999 13:36:40 -0800 - -debhelper (1.2.25) unstable; urgency=low - - * autoscripts/*menu*: It turns out that "command" is like test -w, it will - still return true if update-menus is not executable. This can - legitimately happen if you are upgrading the menu package, and it makes - postinsts that use command fail. Reverted to using test -x. Packages - built with debhelper >= 1.2.21 that use menus should be rebuilt. - - -- Joey Hess Sat, 16 Jan 1999 13:47:16 -0800 - -debhelper (1.2.24) unstable; urgency=low - - * dh_fixperms: linux 2.1.x and 2.2.x differ from earlier versions in that - they do not clear the suid bit on a file when the owner of that file - changes. It seems that fakeroot behaves the same as linux 2.1 here. I - was relying on the old behavior to get rid of suid and sgid bits on files. - Since this no longer happens implicitly, I've changed to clearing the - bits explicitly. - * There's also a small behavior change involved here. Before, dh_fixperms - did not clear suid permissions on files that were already owned by root. - Now it does. - * dh_fixperms.1: cleaned up the docs to mention that those bits are - cleared. - - -- Joey Hess Fri, 15 Jan 1999 16:54:44 -0800 - -debhelper (1.2.23) unstable; urgency=low - - * autoscripts/postrm-wm: use "=", not "==" (#31727). - - -- Joey Hess Mon, 11 Jan 1999 13:35:00 -0800 - -debhelper (1.2.22) unstable; urgency=low - - * Reversed change in last version; don't clobber mode (#31628). - - -- Joey Hess Fri, 8 Jan 1999 15:01:25 -0800 - -debhelper (1.2.21) unstable; urgency=low - - * dh_installdocs: Added doc-base support, if debian/.doc-base - exists, it will be installed as a doc-base control file. If you use this, - you probably want to add "dh_testversion 1.2.21" to the rules file to make - sure your package is built with a new enough debhelper. - * dh_installdocs: now supports -n to make it not modify postinst/prerm. - * dh_suidregister: turned off leading 0/1 in permissions settings, until - suidregister actually supports it. - * autoscripts/*: instead of "text -x", use "command -v" to see if various - binaries exist. This gets rid of lots of hard-coded paths. - - -- Joey Hess Wed, 30 Dec 1998 22:50:04 -0500 - -debhelper (1.2.20) unstable; urgency=low - - * dh_compress: handle the hard link stuff properly, it was broken. Also - faster now. - - -- Joey Hess Wed, 23 Dec 1998 19:53:03 -0500 - -debhelper (1.2.19) unstable; urgency=low - - * dh_listpackages: new command. Takes the standard options taken by other - debhelper commands, and just outputs a list of the binary packages a - debhelper command would act on. Added because of bug #30626, and because - of wn's truly ugly use of debhelper internals to get the same info (and - because it's just 4 lines of code ;-). - * dh_compress: is now smart about compressing files that are hardlinks. - When possible, will only compress one file, delete the hardlinks, and - re-make hardlinks to the compressed file, saving some disk space. - - -- Joey Hess Fri, 18 Dec 1998 22:26:41 -0500 - -debhelper (1.2.18) unstable; urgency=medium - - * dh_fixperms: was not fixing permissions of files in usr/doc/ to 644, - this has been broken since version 1.2.3. - - -- Joey Hess Sun, 6 Dec 1998 23:35:35 -0800 - -debhelper (1.2.17) unstable; urgency=low - - * dh_makeshlibs: relaxed regexp to find library name and number a little so - it will work on libraries with a major but no minor version in their - filename (examples of such: libtcl8.0.so.1, libBLT-unoff.so.1) - * dh_movefiles: added --sourcedir option to make it move files out of - some directory besides debian/tmp (#30221) - - -- Joey Hess Fri, 4 Dec 1998 13:56:57 -0800 - -debhelper (1.2.16) unstable; urgency=low - - * dh_installchangelogs: now detects html changelogs and installs them as - changelog.html.gz, to comply with latest policy (which I disagree with - BTW). - * manpages: updated policy version numbers. - * dh_installdocs: behavior change: all docs are now installed mode 644. - I have looked and it doesn't seem this will actually affect any packages - in debian. This is useful only if you want to use dh_installdocs and not - dh_fixperms, and that's the only time this behavior change will have any - effect, either. (#30118) - - -- Joey Hess Thu, 3 Dec 1998 23:31:56 -0800 - -debhelper (1.2.15) unstable; urgency=low - - * Just a re-upload, last upload failed for some obscure reason. - - -- Joey Hess Sun, 29 Nov 1998 13:07:44 -0800 - -debhelper (1.2.14) unstable; urgency=low - - * Really fixed #29762 this time. This also fixes #30025, which asked that - dh_makeshlibs come before dh_shlibdeps, so the files it generates can - also be used as a shlibs.local file, which will be used by dh_shlibdeps. - - -- Joey Hess Thu, 29 Oct 1998 04:00:14 -0800 - -debhelper (1.2.13) unstable; urgency=low - - * Spelling and typo fixes. - - -- Joey Hess Wed, 25 Nov 1998 15:23:55 -0800 - -debhelper (1.2.12) unstable; urgency=low - - * examples/*: moved dh_makeshlibs call to before dh_installdeb call. - (#29762). This is just so if you replace dh_makeshlibs with something - that generates debian/shlibs, it still gets installed properly. - * dh_suidregister: use names instead of uid's and gid's, at request of - suidregister maintainer (#29802). - - -- Joey Hess Sat, 21 Nov 1998 13:13:10 -0800 - -debhelper (1.2.11) unstable; urgency=low - - * dh_movefiles: if given absolute filenames to move (note that that is - *wrong*), it will move relative files anyway. Related to bug #29761. - * dh_link: made relative links work right. (I hope!) - - -- Joey Hess Fri, 20 Nov 1998 20:21:51 -0800 - -debhelper (1.2.10) unstable; urgency=low - - * examples/*: added dh_link calls to example rules files. - - -- Joey Hess Fri, 20 Nov 1998 15:43:07 -0800 - -debhelper (1.2.9) unstable; urgency=low - - * Added dh_link, which generates policy compliant symlinks in binary - packages, painlessly. - - -- Joey Hess Thu, 19 Nov 1998 18:43:36 -0800 - -debhelper (1.2.8) unstable; urgency=low - - * Suggest dh-make (#29376). - - -- Joey Hess Wed, 18 Nov 1998 02:29:47 -0800 - -debhelper (1.2.7) unstable; urgency=low - - * dh_movefiles: Fixed another bug. - - -- Joey Hess Mon, 16 Nov 1998 12:53:05 -0800 - -debhelper (1.2.6) unstable; urgency=low - - * dh_movefiles: fixed non-integer comparison (#29476) - - -- Joey Hess Sun, 15 Nov 1998 13:03:09 -0800 - -debhelper (1.2.5) unstable; urgency=low - - * The perl conversion is complete. - . - * dh_compress: perlized (yay, perl has readlink, no more ls -l | awk - garbage!) - * dh_lib, dh_getopt.pl: deleted, nothing uses them anymore. - * debian/rules: don't install above 2 files. - * doc/PROGRAMMING: removed all documentation of the old shell library - interface. - - -- Joey Hess Fri, 13 Nov 1998 15:36:57 -0800 - -debhelper (1.2.4) unstable; urgency=low - - * dh_debstd, dh_movefiles: perlized. - * dh_debstd: fixed -c option. - * dh_installinit: fixed minor perl -w warning. - * Only 1 shell script remains! (But it's a doozy..) - - -- Joey Hess Fri, 13 Nov 1998 13:29:39 -0800 - -debhelper (1.2.3) unstable; urgency=low - - * dh_fixperms, dh_installdebfiles, dh_installdeb: perlized - * dh_suidregister: perlized, with help from Che_Fox (and Tom Christianson, - indirectly..). - * dh_suidregister: include leading 0 (or 1 for sticky, etc) in file - permissions. - * Only 3 more to go and it'll be 100% perl. - * Made $dh{EXCLUDE_FIND} available to perl scripts. - - -- Joey Hess Tue, 10 Nov 1998 15:47:43 -0800 - -debhelper (1.2.2) unstable; urgency=low - - * dh_du, dh_shlibdeps, dh_undocumented: rewrite in perl. - * dh_undocumented: shortened the symlink used for section 7 undocumented - man pages, since it can link to undocumented.7.gz in the same directory. - - -- Joey Hess Tue, 10 Nov 1998 13:40:22 -0800 - -debhelper (1.2.1) unstable; urgency=low - - * dh_strip, dh_installinit: rewrite in perl. - - -- Joey Hess Mon, 9 Nov 1998 20:04:12 -0800 - -debhelper (1.2.0) unstable; urgency=low - - * A new unstable dist means I'm back to converting more of debhelper to - perl.. Since 1.1 has actually stabilized, I've upped this to 1.2. - * dh_md5sums: rewritten in perl, for large speed gain under some - circumstances (old version called perl sometimes, once per package.) - * dh_installmenu, dh_installemacsen, dh_installwm: perlized. - * Dh_Lib.pm: made autoscript() really work. - - -- Joey Hess Mon, 9 Nov 1998 13:04:16 -0800 - -debhelper (1.1.24) unstable; urgency=low - - * dh_suidregister: remove suid/sgid bits from all files registered. The - reason is this: if you're using suidmanager, and you want a file that - ships suid to never be suid on your system, shipping it suid in the .deb - will create a window where it is suid before suidmanager fixes it's - permissions. This change should be transparent to users and developers. - - -- Joey Hess Tue, 27 Oct 1998 18:19:48 -0800 - -debhelper (1.1.23) unstable; urgency=low - - * dh_clean: At the suggestion of James Troup now deletes - files named *.P in .deps/ subdirectories. They are generated by automake. - - -- Joey Hess Sat, 24 Oct 1998 15:14:53 -0700 - -debhelper (1.1.22) unstable; urgency=low - - * dh_fixperms: quoting fix from Roderick Schertler - * Added support for register-window-manager command which will be in a new - (as yet unreleased) xbase. Now a new dh_installwm program handles - registration of a window manager and the necessary modifications to - postinst and postrm. It's safe to go ahead and start using this for your - window manager packages, just note that it won't do anything until the new - xbase is out, and that due to the design of register-window-manager, if - your wm is installed before a xbase that supports register-window-manager - is installed, the window manager will never be registered. (#20971) - - -- Joey Hess Wed, 14 Oct 1998 23:08:04 -0700 - -debhelper (1.1.21) unstable; urgency=low - - * Added install to .PHONY target of example rules files. - - -- Joey Hess Sun, 11 Oct 1998 22:36:10 -0700 - -debhelper (1.1.20) unstable; urgency=low - - * Added a --same-arch flag, that is useful in the rare case when you have - a package that builds only for 1 architecture, as part of a multi-part, - multi-architecture source package. (Ie, netscape-dmotif). - * Modified dh_installinit -r so it does start the daemon on the initial - install (#26680). - - -- Joey Hess Fri, 2 Oct 1998 15:55:13 -0700 - -debhelper (1.1.19) unstable; urgency=low - - * dh_installmanpages: look at basename of man pacges specified on command - line to skip, for backwards compatibility. - - -- Joey Hess Thu, 10 Sep 1998 11:31:42 -0700 - -debhelper (1.1.18) unstable; urgency=low - - * dh_installemacsen: substitute package name for #PACKAGE# when setting - up postinst and prerm (#26560). - - -- Joey Hess Tue, 8 Sep 1998 14:24:30 -0700 - -debhelper (1.1.17) unstable; urgency=low - - * dh_strip: on Richard Braakman's advice, strip the .comment and .note - sections of shared libraries. - * Added DH_OPTIONS environment variable - anything in it will be treated - as additional command line arguments by all debhelper commands. This in - useful in some situations, for example, if you need to pass -p to all - debhelper commands that will be run. If you use DH_OPTIONS, be sure to - use dh_testversion 1.1.17 - older debhelpers will ignore it and do - things you don't want them to. - * Made -N properly exclude packages when no -i, -a, or -p flags are - present. It didn't before, which was a bug. - - -- Joey Hess Mon, 7 Sep 1998 17:33:19 -0700 - -debhelper (1.1.16) unstable; urgency=low - - * dh_fixperms: remove execute bits from static libraries as well as - shared libraries. (#26414) - - -- Joey Hess Fri, 4 Sep 1998 14:46:37 -0700 - -debhelper (1.1.15) unstable; urgency=medium - - * dh_installmanpages: the new perl version had a nasty habit of - installing .so.x library files as man pages. Fixed. - * dh_installmanpages: the code to exclude searching for man pages in - debian/tmp directories was broken. Fixed. - - -- Joey Hess Mon, 31 Aug 1998 00:05:17 -0700 - -debhelper (1.1.14) unstable; urgency=low - - * Debhelper now has a web page at http://kitenet.net/programs/debhelper/ - - * Added code to debian/rules to update the web page when I release new - debhelpers. - * dh_compress: since version 0.88 or so, dh_compress has bombed out if - a debian/compress file returned an error code. This was actually - unintentional - in fact, the debian/compress example in the man page - will fail this way if usr/info or usr/X11R6 is not present. Corrected - the program to not fail. (#26214) - - -- Joey Hess Sun, 30 Aug 1998 22:15:44 -0700 - -debhelper (1.1.13) unstable; urgency=low - - * dh_installmanpages: rewritten in perl. Allows me to fix bug #26221 (long - symlink problem after .so conversion), and is about twice as fast. - - -- Joey Hess Sat, 29 Aug 1998 22:06:06 -0700 - -debhelper (1.1.12) unstable; urgency=low - - * dh_installdocs: forgot to pass package name to isnative(). Any native - debian package that had a debian/TODO would have it installed with the - wrong name, and debhelper would warn of undefined values for some - packages. Fixed. - - -- Joey Hess Thu, 27 Aug 1998 12:35:42 -0700 - -debhelper (1.1.11) unstable; urgency=low - - * dh_installchangelogs: added -k flag, that will make it install a symlink - to the original name of the upstream changelog. - - -- Joey Hess Thu, 20 Aug 1998 15:40:40 -0700 - -debhelper (1.1.10) unstable; urgency=low - - * It's come to my attention that a few packages use filename globbing in - debian/{docs,examples,whatever} files and expect that to work. It used - to work before the perl conversion, but it was never _documented_, or - intended to work. If you use this in your packages, they are broken and - need fixing (and will refuse to build with current versions of debhelper). - I apologize for the inconvenience. - - * dh_clean: fixed a bug, introduced in version 1.1.8, where it didn't - remove debian/files properly. - * dh_shlibdeps, dh_testdir, dh_testroot, dh_testversion: converted to perl. - * Encode the version of debhelper in a separate file, so dh_testversion - doesn't have to be generated when a new version of debhelper is built. - * Removed bogus menu file. - - -- Joey Hess Mon, 17 Aug 1998 14:15:17 -0700 - -debhelper (1.1.9) unstable; urgency=low - - * dh_fixperms: has been removing the +x bits of all doc/*/examples/* files - since version 0.97 or so. Fixed. - - -- Joey Hess Sun, 16 Aug 1998 17:11:48 -0700 - -debhelper (1.1.8) unstable; urgency=low - - * Dh_Lib.pm: made U_PARAMS an array of parameters. - * Dh_Lib.pm: fixed bug in the escaping code, numbers don't need to be - escaped. Also, no longer escape "-". - * dh_clean, dh_gencontrol, dh_installcron: converted to perl. - * dh_gencontrol.1, dh_gencontrol: the man page had said that - --update-rcd-params was equivalent to -u for this program. You should - really use --dpkg-gencontrol-params. - - -- Joey Hess Fri, 14 Aug 1998 14:07:35 -0700 - -debhelper (1.1.7) unstable; urgency=low - - * examples/rules.multi: moved dh_movefiles into the install section. - * doc/README: Added a note explaining why above change was necessary. - * Dh_Lib.pm: escape_shell(): now escapes the full range of special - characters recognized by bash (and ksh). Thanks to Branden Robinson - for looking that up. - - -- Joey Hess Tue, 11 Aug 1998 23:32:05 -0700 - -debhelper (1.1.6) unstable; urgency=low - - * dh_movefiles: don't die on symlinks (#25642). (Hope I got the fix right - this time..) - - -- Joey Hess Tue, 11 Aug 1998 20:11:13 -0700 - -debhelper (1.1.5) unstable; urgency=low - - * dh_builddeb, dh_installchangelogs: converted to perl. - * dh_installdirs: converted to perl, getting rid of nasty chdir en-route. - * dh_installdirs: now you can use absolute directory names too if you - prefer. - * doc/PROGRAMMING: updated to cover new perl modules. - * Dh_Lib.pm: doit(): when printing out commands that have run, escape - metacharacters in the output. I probably don't escape out all the - characters I should, but this is just a convenience to the user anyway. - * dh_installdebfiles: it's been broken forever, I fixed it. Obviously - nobody uses it anymore, which is good, since it's deprecated :-) - - -- Joey Hess Tue, 11 Aug 1998 15:23:34 -0700 - -debhelper (1.1.4) unstable; urgency=low - - * dh_movefiles: fixed bug introduced in 1.1.1 where it would fail in some - cases if you tried to move a broken symlink. - * dh_installdocs: was only operating on the first package. - * dh_installexamples: rewritten in perl. - * Dh_Lib.pm: all multiple package operations were broken. - * Dh_Lib.pm: implemented complex_doit() and autoscript(). - * Made all perl code work with use strict and -w (well, except - dh_getopt.pl, but that's a hack that'll go away one day). - * I didn't realize, but rewriting dh_installdocs in perl fixed bug #24686 - (blank lines in debian/docs file problem), although this same problem - applies to other debhelper programs... like dh_installexamples, which had - the same bug fixed when I rewrote it in perl just now. - * Dh_Lib.pm: accidentally didn't check DH_VERBOSE if commands were not - passed any switches. - * Dh_Getopt.pm: --noscripts was broken. - - -- Joey Hess Tue, 11 Aug 1998 12:44:04 -0700 - -debhelper (1.1.3) unstable; urgency=low - - * dh_md5sums: -x was broken since version 1.1.1 - fixed. - * Dh_Lib.pm: removed get_arch_indep_packages() function that hasn't been used - at all for a long while. - * Added Dh_Lib.pm, a translation of dh_lib into perl. - * dh_getopt.pl: moved most of it into new Dh_Getopt.pm module, rewriting - large chunks in the process. - * dh_installdocs: completely rewritten in perl. Now it's faster and it can - install many oddly named files it died on before. - * dh_installdocs: fixed a bug that installed TODO files mode 655 in native - debian packages. - - -- Joey Hess Mon, 10 Aug 1998 15:01:15 -0700 - -debhelper (1.1.2) unstable; urgency=low - - * dh_strip: added -X to specify files to not strip (#25590). - * Added dh_installemacsen, for automatic registration with emacsen-common - (#21401). - * Preliminary thoughts in TODO about converting entire debhelper programs - to perl programs. - - -- Joey Hess Mon, 10 Aug 1998 13:35:17 -0700 - -debhelper (1.1.1) unstable; urgency=low - - * dh_movefiles: try to move all files specified, and only then bomb out if - some of the file could not be found. Makes it easier for some packages - that don't always have the same files in them. - * dh_compress: any parameters passed to it on the command line specify - additional files to be compressed in the first package acted on. - * dh_compress: recognize standard -A parameter. - - -- Joey Hess Sat, 8 Aug 1998 22:48:01 -0700 - -debhelper (1.1.0) unstable; urgency=low - - * New unstable branch of debhelper. - - * TODO: list all current bugs, in order I plan to tackle them. - * Added debhelper.1 man page, which groups all the debhelper options that - are common to all commands in once place so I can add new options w/o - updating 27 man pages. - * dh_*.1: updated all debhelper man pages to refer to debhelper(1) where - appropriate. Also corrected a host of little errors. - * doc/README: moved a lot of this file into debhelper.1. - * dh_*: -N option now excludes a package from the list of packages the - programs act on. (#25247) - - -- Joey Hess Sat, 8 Aug 1998 17:49:56 -0700 - -debhelper (1.0) stable unstable; urgency=low - - * 1.0 at last! - - * This release is not really intended for stable. I throw a copy into - stable-updates because I want it to be available as an upgrade for - people using debian 2.0 (the current version in debian 2.0 has no - critical bugs, but this version is of course a lot nicer), and I plan - to start work on a new branch of debhelper that will fix many wishlist - bug reports, and of course introduce many new bugs, and which will go - into unstable only. - - -- Joey Hess Sat, 8 Aug 1998 17:33:20 -0700 - -debhelper (0.99.4) unstable; urgency=low - - * dh_debstd: only warn about scripts that actually lack #DEBHELPER#. - (#25514) - - -- Joey Hess Fri, 7 Aug 1998 12:06:28 -0700 - -debhelper (0.99.3) unstable; urgency=low - - * dh_movefiles: Fixed a over-eager sanity check introduced in the last - version. - - -- Joey Hess Mon, 3 Aug 1998 18:31:45 -0700 - -debhelper (0.99.2) unstable; urgency=low - - * dh_movefiles: allow passing of files to move on the command line. Only - rarely does this make sense. (#25197) - - -- Joey Hess Thu, 30 Jul 1998 10:38:34 -0700 - -debhelper (0.99.1) unstable; urgency=low - - * dh_installcron: now supports /etc/cron.d (#25112). - - -- Joey Hess Mon, 27 Jul 1998 20:18:47 -0700 - -debhelper (0.99) unstable; urgency=low - - * !!!! WARNING: Debhelper (specifically dh_compress) is broken with - !!!! libtricks. Use fakeroot instead until this is fixed. - * dh_compress: applied patch from Herbert Xu - to make it not fail if there are no candidates for compression (#24654). - * Removed a whole debhelper-0.96 tree that had crept into the source - package by accident. - * Is version 1.0 next? - - -- Joey Hess Thu, 16 Jul 1998 10:03:21 -0700 - -debhelper (0.98) unstable; urgency=low - - * Dh_Lib.pm: isnative: pass -l to dpkg-parsechangelog, to support - odd packages with multiple different debian changelogs. - * doc/PROGRAMMING: cleaned up the docs on DH_EXCLUDE_FIND. - - -- Joey Hess Mon, 6 Jul 1998 12:45:13 -0700 - -debhelper (0.97) unstable; urgency=low - - * doc/from-debstd: fixed a typo. - * examples/*: install-stamp no longer depends on phony build target; now - install-stamp depends on build-stamp instead (#24234). - * dh_fixperms: applied patch from Herbert Xu - to fix bad uses of the find command, so it should now work on packages - with files with spaces in them (#22005). It's also much cleaner. Thanks, - Herbert! - * dh_getopt.pl, doc/PROGRAMMING: added DH_EXCLUDE_FIND, to make the above - fix work. - - -- Joey Hess Sun, 5 Jul 1998 18:09:25 -0700 - -debhelper (0.96) unstable; urgency=low - - * dh_movefiles: fixed serious breakage introduced in the last version. - * dh_movefiles: really order all symlinks last. - * some minor reorganization of the source tree. - - -- Joey Hess Sun, 28 Jun 1998 21:53:45 -0700 - -debhelper (0.95) unstable; urgency=low - - * dh_movefiles: move even very strangely named files. (#23775) Unfortunately, - I had to use a temporary file. Oh well.. - - -- Joey Hess Mon, 22 Jun 1998 17:16:17 -0700 - -debhelper (0.94) unstable; urgency=low - - * dh_md5sums: fixed so it handles spaces and other odd characters in - filenames correctly. (#23046, #23700, #22010) - * As a side effect, got rid of the nasty temporary file dh_md5sums used - before. - - -- Joey Hess Mon, 22 Jun 1998 16:14:42 -0700 - -debhelper (0.93) unstable; urgency=low - - * Depend on file, since several dh_*'s use it. - - -- Joey Hess Fri, 19 Jun 1998 21:43:51 -0700 - -debhelper (0.92) unstable; urgency=low - - * dh_gencontrol: pass -isp to dpkg-gencontrol to make it include section - and priority info in the .deb file. Back in Jan 1998, this came up, and - a consensus was reached on debian-devel that it was a good thing for - -isp to be used. - - -- Joey Hess Fri, 19 Jun 1998 16:15:24 -0700 - -debhelper (0.91) unstable; urgency=low - - * dh_installdocs: support debian/.{README.Debian,TODO} - - -- Joey Hess Wed, 17 Jun 1998 19:09:35 -0700 - -debhelper (0.90) unstable; urgency=low - - * I'd like to thank Len Pikulski and Igor Grobman at nothinbut.net for - providing me with free internet access on a moment's notice, so I could - get this package to you after hacking on it all over New England for the - past week. Thanks, guys! - . - * Added dh_debstd, which mimics the functionality of the debstd command. - It's not a complete nor an exact copy, and it's not so much intended to - be used in a debian/rules file, as it is to be run by hand when you are - converting a package from debstd to debhelper. "dh_debstd -v" will - output the sequence of debhelper commands that approximate what debstd - would do in the same situation. - * dh_debstd is completely untested, I don't have the source to any packages - that use debstd available. Once this is tested, I plan to release - debhelper 1.0! - * Added a from-debstd document that gives a recipe to convert from debstd - to debhelper. - * dh_fixperms: can now use -X to exclude files from having their - permissions changed. - * dh_testroot: test for uid == 0, instead of username == root, because - some people enjoy changing root's name. - * dh_installinit: handle debian/init.d as well as debian/init files, - for backwards compatibility with debstd. Unlike with debstd, the two - files are treated identically. - * dh_lib, PROGRAMMING: added "warning" function. - * Minor man page fixes. - * dh_compress: don't bomb out if usr/doc/ is empty. (#23054) - * dh_compress, dh_installdirs: always cd into $TMP and back out, even if - --no-act is on. (#23054) - - -- Joey Hess Mon, 1 Jun 1998 21:57:45 -0400 - -debhelper (0.88) unstable; urgency=low - - * I had many hours on a train to hack on debhelper... enjoy! - * dh_compress: always pass -f to gzip, to force compression. - * dh_compress: added -X switch, to make it easy to specify files to - exclude, without all the bother of a debian/compress script. You can - use -X multiple times, too. - * PROGRAMMING, dh_getopt.pl: DH_EXCLUDE is now a variable set by the - --exclude (-X) switch. -x now sets DH_INCLUDE_CONFFILES. - - -- Joey Hess Sun, 17 May 1998 11:26:09 -0700 - -debhelper (0.87) unstable; urgency=low - - * dh_strip: strip .comment and .note, not comment and note, when stripping - elf binaries. This makes for smaller output files. This has always been - broken in debhelper before! (#22395) - - -- Joey Hess Wed, 13 May 1998 11:54:29 -0700 - -debhelper (0.86) unstable; urgency=low - - * dh_compress: don't try to re-compress *.gz files. Eliminates warning - messages in some cases, shouldn't actually change the result at all. - - -- Joey Hess Mon, 27 Apr 1998 15:21:33 -0700 - -debhelper (0.85) unstable; urgency=low - - * Moved a few things around that were broken by Che's patch: - - dh_installdirs should go in install target. - - dh_clean should not run in binary targets. - * This is just a quick fix to make it work, I'm not happy with it. I'm - going to discuss my problems with it with Che, and either make a new - version fixing them, or revert to 0.83. - * So be warned that the example rules files are not currently in good - shape if you're starting a new package. - - -- Joey Hess Sat, 18 Apr 1998 23:30:38 -0700 - -debhelper (0.84) unstable; urgency=low - - * Applied Che_Fox'x patches to example rules files, which makes them use - an install target internally to move things into place in debian/tmp. - - -- Joey Hess Thu, 9 Apr 1998 12:08:45 -0700 - -debhelper (0.83) unstable; urgency=low - - * Generate symlinks in build stage of debian/rules. cvs cannot create them - properly. Note that version 0.80 and 0.81 could not build some packages - because of missing symlinks. - - -- Joey Hess Tue, 31 Mar 1998 19:27:29 -0800 - -debhelper (0.81) unstable; urgency=low - - * dh_movefiles: empty $tomove (#20495). - - -- Joey Hess Tue, 31 Mar 1998 15:36:32 -0800 - -debhelper (0.80) unstable; urgency=low - - * Moved under cvs (so I can fork a stable and an unstable version). - * dh_movefiles: first move real files, then move symlinks. (#18220) - Thanks to Bdale Garbee and Adam Heath - for help on the implementation. - * dh_installchangelogs: use debian/package.changelog files if they exist - rather than debian/changelog. It appears some people do need per-package - changelogs. - * dh_gencontrol: if debian/package.changelogs files exist, use them. - * Above 2 changes close #20442. - - -- Joey Hess Mon, 30 Mar 1998 20:54:26 -0800 - -debhelper (0.78) frozen unstable; urgency=low - - * More spelling fixes from Christian T. Steigies. (I ignored the spelling - fixes to the changelog, though - too many, and a changelog isn't meant - to be changed after the fact :-) - * dh_fixperms: remove execute bits from .la files generated by libtool. - - -- Joey Hess Mon, 30 Mar 1998 12:44:42 -0800 - -debhelper (0.77) frozen unstable; urgency=low - - * Fixed a nasty bug in dh_makeshlibs when it was called with -V, but with - no version string after the -V. - - -- Joey Hess Sun, 29 Mar 1998 16:08:27 -0800 - -debhelper (0.76) frozen unstable; urgency=low - - * I intended version 0.75 to make it in before the freeze, and it did not. - This is just to get it into frozen. There are no changes except bug - fixes. - - -- Joey Hess Thu, 26 Mar 1998 12:25:47 -0800 - -debhelper (0.75) unstable; urgency=low - - * Actually exit if there is an unknown option on the command line (oooops!) - * Fix .so file conversion to actually work (#19933). - - -- Joey Hess Thu, 19 Mar 1998 11:54:58 -0800 - -debhelper (0.74) unstable; urgency=low - - * dh_installmanpages: convert .so links to symlinks at last (#19829). - * dh_installmanpages.1: documented that no, dh_installmanpages never - installs symlink man pages from the source package (#19831). - * dh_installmanpages: minor speedups - * PROGRAMMING: numerous spelling fixes, thanks to Christian T. Steigies. - Life is too short for me to spell check my technical documentation, but - I always welcome corrections! - - -- Joey Hess Tue, 17 Mar 1998 22:09:07 -0800 - -debhelper (0.73) unstable; urgency=low - - * Fixed typo in dh_suidregister.1 - - -- Joey Hess Thu, 12 Mar 1998 16:30:27 -0800 - -debhelper (0.72) unstable; urgency=low - - * Applied patch from Yann Dirson to add a - --init-script parameter to dh_installinit. (#19227) - * Documented this new switch. - - -- Joey Hess Mon, 9 Mar 1998 17:12:04 -0800 - -debhelper (0.71) unstable; urgency=low - - * dh_makeshlibs: -V flag was broken: if just -V was specified, - dh_makeshlibs would die. Corrected this. - * Dh_Lib.pm: removed warning if the arguments passed to a debhelper command - do not apply to the main package. It's been long enough so I'm 100% sure - no packages use the old behavior. - - -- Joey Hess Mon, 9 Mar 1998 11:46:59 -0800 - -debhelper (0.70) unstable; urgency=low - - * Dh_Lib.pm: autoscript(): no longer add the modification date to the - comments surrounding debhelper-added code. I don't think this date was - gaining us anything, so let's remove it and save some disk space. - - -- Joey Hess Sun, 8 Mar 1998 21:15:13 -0800 - -debhelper (0.69) unstable; urgency=low - - * Refer to suidregister (8), not (1). Bug #19149. - * Removed junk file from debian/ dir. - - -- Joey Hess Sun, 8 Mar 1998 13:04:36 -0800 - -debhelper (0.68) unstable; urgency=low - - * Document that README.debian files are installed as README.Debian (#19089). - - -- Joey Hess Fri, 6 Mar 1998 17:48:32 -0800 - -debhelper (0.67) unstable; urgency=low - - * Added PROGRAMMING document that describes the interface of dh_lib, to - aid others in writing and understanding debhelper programs. - - -- Joey Hess Fri, 6 Mar 1998 12:45:08 -0800 - -debhelper (0.66) unstable; urgency=low - - * README, dh_testversion.1, dh_movefiles.1: more doc fixes. - * dh_movefiles: don't check for package names to see if files are being - moved from one package back into itself, instead, check tmp dir names. - If you use this behavior, you should use "dh_testversion 0.66". - - -- Joey Hess Mon, 2 Mar 1998 17:50:29 -0800 - -debhelper (0.65) unstable; urgency=low - - * dh_installdocs.1, dh_movefiles.1: clarified documentation for Che. - - -- Joey Hess Mon, 2 Mar 1998 17:20:39 -0800 - -debhelper (0.64) unstable; urgency=low - - * Removed some junk (a whole old debhelper source tree!) that had gotten - into the source package by accident. - - -- Joey Hess Mon, 23 Feb 1998 20:23:34 -0800 - -debhelper (0.63) unstable; urgency=low - - * Removed some debugging output from dh_installmanpages. - * du_du: no longer does anything, because it has been decided on - debian-policy that du control files are bad. - * examples/*: removed dh_du calls. - * debian/rules: removed dh_du call. - * Modified dh_gencontrol, dh_makeshlibs, and dh_md5sums to generate files - with the correct permissions even if the umask is set to unusual - values. (#18283) - - -- Joey Hess Mon, 16 Feb 1998 23:34:36 -0800 - -debhelper (0.62) unstable; urgency=low - - * dh_installmanpages: if the man page filename ends in 'x', install it in - /usr/X11R6/man/. - * TODO: expanded descriptions of stuff, in the hope someone else will get - inspired to implement some of it. - * Also added all wishlist bugs to the TODO. - - -- Joey Hess Thu, 12 Feb 1998 22:38:53 -0800 - -debhelper (0.61) unstable; urgency=low - - * dh_installmanpages: Add / to end of egrep -v regexp, fixes it so - debian/icewm.1 can be found. - - -- Joey Hess Wed, 11 Feb 1998 09:09:28 -0800 - -debhelper (0.60) unstable; urgency=low - - * dh_fixperms: make all files readable and writable by owner - (policy 3.3.8 paragraph 2). - Lintian found lots of bugs that will be fixed by this change. - - -- Joey Hess Mon, 9 Feb 1998 12:26:13 -0800 - -debhelper (0.59) unstable; urgency=low - - * Added DH_NO_ACT and --no-act, which make debhelper commands run without - actually doing anything. (Combine with -v to see what the command would - have done.) (#17598) - - -- Joey Hess Sun, 1 Feb 1998 14:51:08 -0800 - -debhelper (0.58) unstable; urgency=low - - * Fixed bug #17597 - DH_VERBOSE wasn't always taking effect. - - -- Joey Hess Wed, 28 Jan 1998 17:18:17 -0500 - -debhelper (0.57) unstable; urgency=low - - * Depend on perl 5.004 or greater (for Getopt::Long). - - -- Joey Hess Sat, 17 Jan 1998 02:12:06 -0500 - -debhelper (0.56) unstable; urgency=low - - * dh_compress: Applied patch from Yann Dirson , - to make it not abort of one of the find's fails. - - -- Joey Hess Thu, 15 Jan 1998 19:16:48 -0500 - -debhelper (0.55) unstable; urgency=low - - * dh_clean: delete substvarsfiles properly again (broken in 0.53). #17077 - * Added call to dh_movefiles, and a commented out call to dh_testversion, - to some of the sample rules files. #17076 - - -- Joey Hess Wed, 14 Jan 1998 12:48:43 -0500 - -debhelper (0.54) unstable; urgency=low - - * Dh_Lib.pm: no longer call getopt(1) to parse options. I wrote my own - argument processor in perl. - * Added long versions of all arguments. TODO: document them. - * All parameters may now be passed values that include whitespace (ie, - dh_installinit -u"defaults 10") - * Now depends on perl (needs Getopt::Long). - - -- Joey Hess Sat, 10 Jan 1998 15:44:09 -0500 - -debhelper (0.53) unstable; urgency=low - - * dh_installmanpages: ignore all man pages installed into debian/tmp - type directories. (#16933) - * dh_*: set up alternative name for files like debian/dirs; you may now - use debian/.dirs too, for consistency. (#16934) - * dh_installdocs: if a debian/package.copyright file exists, use it in - preference to debian/copyright, so subpackages with varying copyrights - are supported. (#16935) - * Added dh_movefiles, which moves files out of debian/tmp into subpackages. - (#16932) - - -- Joey Hess Sat, 10 Jan 1998 11:30:12 -0500 - -debhelper (0.52) unstable; urgency=low - - * dh_compress: compress file belongs in debian/. It was looking in ./ - This has been broken since version 0.30. - - -- Joey Hess Tue, 6 Jan 1998 14:08:31 -0500 - -debhelper (0.51) unstable; urgency=low - - * dh_fixperms: make shared libraries non-executable, in accordance with - policy. (#16644) - * dh_makeshlibs: introduced a -V flag, which allows you to specify explicit - version requirements in the shlibs file. - * dh_{installdirs,installdocs,installexamples,suidregister,undocumented}: - Added a -A flag, which makes any files/directories specified on the - command line apply to ALL packages acted on. - * Updated Standards-Version to latest. - - -- Joey Hess Mon, 5 Jan 1998 16:15:01 -0500 - -debhelper (0.50) unstable; urgency=low - - * dh_makeshlibs: added -m parameter, which can force the major number - of the shared library if it is guessed incorrectly. - * Added dh_testversion to let your package depend on a certain version of - debhelper to build. - * dh_{installdirs,installdocs,installexamples,suidregieter,undocumented}: - behavior modification - any files/directories specified on the command - line now apply to the first package acted on. This may not be the - first package listed in debian/control, if you use -p to make it act on - a given package, or -i or -a. - * If you take advantage of the above new behavior, I suggest you add - "dh_testversion 0.50" to your debian/rules. - * Display a warning message in cases where the above behavior is triggered, - and debhelper's behavior has altered. - * I have grepped debian's source packages, and I'm quite sure this - is not going to affect any packages currently in debian. - * Dh_Lib.pm: isnative() now caches its return value, which should optimize - away several more calls to dpkg-parsechangelog. - * README: explain a way to embed debhelper generated shell script into a - perl script. - * dh_installinit: A hack to work around the problem in getopt(1) that - led to bug report #16229: Any text specified on the command line that is - not a flag will be presumed to be part of the -u flag. Yuck. - - -- Joey Hess Sat, 3 Jan 1998 14:36:15 -0500 - -debhelper (0.37) unstable; urgency=low - - * dh_du: Fixed hardcoded debian/tmp. - * This change got lost by accident, redid it: Optimized out most of the - slowdown caused by using dpkg-parsechangelog - now it's only called by - 2 dh_* programs. - - -- Joey Hess Sun, 28 Dec 1997 20:45:22 -0500 - -debhelper (0.36) unstable; urgency=low - - * dh_undocumented: exit with an error message if the man page specified - does not have a section. - - -- Joey Hess Sat, 27 Dec 1997 14:14:04 -0500 - -debhelper (0.35) unstable; urgency=low - - * Dh_Lib.pm: use dpkg-parsechangelog instead of parsing it by hand. This - makes a package build slower (by about 30 seconds, on average), so - I might remove it or optimize it if too many people yell at me. :-) - * dh_undocumented.1: note that it really links to undocumented.7.gz. - - -- Joey Hess Mon, 22 Dec 1997 22:19:39 -0500 - -debhelper (0.34) unstable; urgency=low - - * Fixed typo #16215. - - -- Joey Hess Mon, 22 Dec 1997 14:41:46 -0500 - -debhelper (0.33) unstable; urgency=low - - * examples/*: use prefix, instead of PREFIX, because autoconf uses that. - Also, use `pwd`/debian/tmp, instead of debian/tmp. - * Always substitute #DEBHELPER# in maintainer scripts, even if it expands - to nothing, for neatness and to save a few bytes. #15863 - * dh_clean: added -k parameter to not delete debian/files. #15789 - * examples/*: use dh_clean -k in the binary targets of all rules files, - for safety. - - -- Joey Hess Thu, 11 Dec 1997 19:05:41 -0500 - -debhelper (0.32) unstable; urgency=low - - * Split dh_installdebfiles into 3 programs (dh_installdeb, dh_shlibdeps, - and dh_gencontrol). dh_installdebfiles still works, but is deprecated. - * Added an examples/rules.indep file. - * examples/rules.multi: changed dh_du -a to dh_du -i in binary-indep - section. - - -- Joey Hess Wed, 10 Dec 1997 19:53:13 -0500 - -debhelper (0.31) unstable; urgency=low - - * Fixed man page typos #15685. - - -- Joey Hess Sat, 6 Dec 1997 21:44:58 -0500 - -debhelper (0.30) unstable; urgency=low - - * dh_md5sumes, dh_installdirs, dh_compress: fixed assorted cd bugs. - - -- Joey Hess Fri, 5 Dec 1997 15:08:36 -0500 - -debhelper (0.29) unstable; urgency=low - - * Dh_Lib.pm: don't expand text passed to doit() a second time. This fixes - #15624, and hopefully doesn't break anything else. - * A side effect of this (of interest only to the debhelper programmer) is - that doit() can no longer handle complex commands now. (ie, pipes, `;', - `&', etc separating multiple commands, or redirection) - * dh_makeshlibs, dh_md5sums, dh_installdebfiles, dh_du, dh_clean, - dh_installdirs: don't pass complex commands to doit(). - - -- Joey Hess Thu, 4 Dec 1997 13:56:14 -0500 - -debhelper (0.28) unstable; urgency=low - - * dh_makeshlibs: fixes type that caused the program to crash (#15536). - - -- Joey Hess Wed, 3 Dec 1997 13:22:48 -0500 - -debhelper (0.27) unstable; urgency=low - - * README: fixed typos (one serious). - * Ran ispell on all the documentation. - - -- Joey Hess Sun, 30 Nov 1997 18:48:20 -0500 - -debhelper (0.26) unstable; urgency=low - - * dh_installdirs: Do not create usr/doc/$PACKAGE directory. Bug #15498 - * README: documented that $PACKAGE can be used in the arguments to some of - the dh_* programs (#15497). - * dh_du.1: no, this is not really the dh_md5sums man page (#15499). - - -- Joey Hess Sun, 30 Nov 1997 13:01:40 -0500 - -debhelper (0.25) unstable; urgency=low - - * dh_compress: was not reading debian/compress file - fixed. - * examples/*: moved dh_clean call to after make clean is run. - - -- Joey Hess Tue, 25 Nov 1997 15:43:58 -0500 - -debhelper (0.24) unstable; urgency=low - - * dh_clean: no longer clean up empty (0 byte) files (#15240). - - -- Joey Hess Tue, 25 Nov 1997 14:29:37 -0500 - -debhelper (0.23) unstable; urgency=low - - * Now depends on fileutils (>= 3.16-4), because with any earlier version - of fileutils, install -p will not work (#14680) - - -- Joey Hess Wed, 19 Nov 1997 23:59:43 -0500 - -debhelper (0.22) unstable; urgency=low - - * dh_installdocs: Install README.debian as README.Debian (of course, - README.Debian is installed with the same name..) - - -- Joey Hess Tue, 18 Nov 1997 01:23:53 -0500 - -debhelper (0.21) unstable; urgency=low - - * dh_installinit: on removal, fixed how update-rc.d is called. - - -- Joey Hess Sat, 15 Nov 1997 20:43:14 -0500 - -debhelper (0.20) unstable; urgency=low - - * Added dh_installinit, which installs an init.d script, and edits the - postinst, postrm, etc. - - -- Joey Hess Fri, 14 Nov 1997 00:45:53 -0500 - -debhelper (0.19) unstable; urgency=low - - * dh_installmenu.1: menufile is in section 5, not 1. - - -- Joey Hess Wed, 12 Nov 1997 19:54:48 -0500 - -debhelper (0.18) unstable; urgency=low - - * examples/*: added source, diff targets that just print an error. - * dh_clean: clean up more files - *.orig, *.rej, *.bak, .*.orig, .*.rej, - .SUMS, TAGS, and empty files. - * Dh_Lib.pm: doit(): use eval on parameters, instead of directly running - them. This lets me clean up several nasty areas where I had to echo the - commands once, and then run them separately. - - -- Joey Hess Mon, 10 Nov 1997 19:48:36 -0500 - -debhelper (0.17) unstable; urgency=low - - * Added dh_installdirs, automatically creates subdirectories (for - compatibility with debstd's debian/dirs file. - * Dh_Lib.pm: fixed problem with -P flag. - - -- Joey Hess Fri, 7 Nov 1997 16:07:11 -0500 - -debhelper (0.16) unstable; urgency=low - - * dh_compress: always compress changelog and upstream changelog, no - matter what their size (#14604) (policy 5.8) - - -- Joey Hess Thu, 6 Nov 1997 19:50:36 -0500 - -debhelper (0.15) unstable; urgency=low - - * README: documented what temporary directories are used by default for - installing package files into. - * dh_*: added -P flag, to let a different package build directory be - specified. - - -- Joey Hess Thu, 6 Nov 1997 15:51:22 -0500 - -debhelper (0.14) unstable; urgency=low - - * dh_fixperms: leave permissions on files in /usr/doc/packages/examples - unchanged. - * Install examples/rules* executable. - - -- Joey Hess Mon, 27 Oct 1997 12:42:33 -0500 - -debhelper (0.13) unstable; urgency=low - - * Added dh_makeshlibs, automatically generates a shlibs file. - - -- Joey Hess Fri, 24 Oct 1997 20:33:14 -0400 - -debhelper (0.12) unstable; urgency=low - - * Fixed misspelling of dh_md5sums in examples rules files and README. - (#13990) Thanks, Adrian. - - -- Joey Hess Fri, 24 Oct 1997 14:35:30 -0400 - -debhelper (0.11) unstable; urgency=low - - * dh_md5sums: behavior modification: do not generate md5sums for conffiles. - (Thanks to Charles Briscoe-Smith ) #14048. - * dh_md5sums: can generate conffile md5sums with -x parameter. - * Added a "converting from debstd" section to the README. - * Added dh_du, generates a DEBIAN/du file with disk usage stats (#14048). - - -- Joey Hess Tue, 21 Oct 1997 13:17:28 -0400 - -debhelper (0.10) unstable; urgency=medium - - * dh_installdebfiles: fixed *bad* bug that messed up the names of all - files installed into DEBIAN/ for multiple binary packages. - * dh_md5sums: fixed another serious bug if dh_md5sums was used for - multiple binary packages. - * If you have made any multiple binary packages using debhelper, you - should rebuild them with this version. - * dh_md5sums: show cd commands in verbose mode. - - -- Joey Hess Mon, 20 Oct 1997 14:44:30 -0400 - -debhelper (0.9) unstable; urgency=low - - * Added dh_suidregister, interfaces to to the suidmanager package. - * dh_installdebfiles: fixed typo on man page. - - -- Joey Hess Sat, 18 Oct 1997 20:55:39 -0400 - -debhelper (0.8) unstable; urgency=low - - * Added dh_md5sum, generates a md5sums file. - * dh_clean: fixed to echo all commands when verbose mode is on. - - -- Joey Hess Fri, 17 Oct 1997 14:18:26 -0400 - -debhelper (0.7) unstable; urgency=low - - * Sped up some things by removing unnecesary for loops. - * dh_installdocs: behavior modifcation: if there is a debian/TODO, it is - named like a debian/changelog file: if the package is a debian native - package, it is installed as TODO. If the package is not a native package, - it is installed as TODO.Debian. - * dh_installdocs: handle debian/README.Debian as well as - debian/README.debian. - * Added dh_undocumented program, which can set up undocumented.7 symlinks. - * Moved dh_installdebfiles to come after dh_fixperms in the example rules - files. (dh_installdebfiles makes sure it installs things with the proper - permissions, and this reorganization makes the file a bit more flexable - in a few situations.) - - -- Joey Hess Mon, 13 Oct 1997 20:08:05 -0400 - -debhelper (0.6) unstable; urgency=low - - * Got rid of bashisms - this package should work now if /bin/sh is ash. - - -- Joey Hess Fri, 10 Oct 1997 15:24:40 -0400 - -debhelper (0.5) unstable; urgency=low - - * Added dh_installcron to install cron jobs. - - -- Joey Hess Tue, 30 Sep 1997 19:37:41 -0400 - -debhelper (0.4) unstable; urgency=low - - * Added dh_strip to strip binaries and libraries. - * Fixed several man pages. - - -- Joey Hess Sun, 28 Sep 1997 20:46:32 -0400 - -debhelper (0.3) unstable; urgency=low - - * Added support for automatic generation of debian install scripts to - dh_installmenu and dh_installdebfiles and dh_clean. - * Removed some pointless uses of cat. - - -- Joey Hess Fri, 26 Sep 1997 21:52:53 -0400 - -debhelper (0.2) unstable; urgency=low - - * Moved out of unstable, it still has rough edges and incomplete bits, but - is ready for general use. - * Added man pages for all commands. - * Multiple binary package support. - * Support for specifying exactly what set of binary packages to act on, - by group (arch or noarch), and by package name. - * dh_clean: allow specification of additional files to remove as - parameters. - * dh_compress: fixed it to not compress doc/package/copyright - * dh_installmanpage: allow listing of man pages that should not be - auto-installed as parameters. - * dh_installdebfiles: make sure all installed files have proper ownerships - and permissions. - * dh_installdebfiles: only pass ELF files to dpkg-shlibdeps, and pass .so - files. - * Added a README. - * dh_compress: changed behavior - debian/compress script is now run inside - the package build directory it is to act on. - * Added dh_lib symlink in debian/ so the debhelper apps used in this - package's debian/rules always use the most up-to-date db_lib. - * Changed dh_cleantmp commands in the examples rules files to dh_clean. - - -- Joey Hess Tue, 23 Sep 1997 12:26:12 -0400 - -debhelper (0.1) experimental; urgency=low - - * First release. This is a snapshot of my work so far, and it not yet - ready to replace debstd. - - -- Joey Hess Mon, 22 Sep 1997 15:01:25 -0400 + -- tomx3 Sun, 22 Oct 2023 01:48:37 +0200 diff -Nru debhelper-13.6ubuntu1/debian/control debhelper-13.11.6ubuntu1~ppa~jammy/debian/control --- debhelper-13.6ubuntu1/debian/control 2022-02-07 15:59:07.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/control 2023-10-21 23:48:37.000000000 +0000 @@ -1,17 +1,15 @@ Source: debhelper Section: devel Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debhelper Maintainers -Uploaders: Niels Thykier , +Maintainer: tomx3 Build-Depends: dpkg-dev (>= 1.18.0~), + libtest-pod-perl , + man-db , perl:any, po4a, - man-db , - libtest-pod-perl , debugedit, Rules-Requires-Root: no -Standards-Version: 4.5.1 +Standards-Version: 4.6.1 Testsuite: autopkgtest-pkg-perl Vcs-Git: https://salsa.debian.org/debian/debhelper.git Vcs-Browser: https://salsa.debian.org/debian/debhelper @@ -34,13 +32,13 @@ debugedit, dwz (>= 0.12.20190711), file (>= 3.23), + libdebhelper-perl (= ${source:Version}), libdpkg-perl (>= 1.17.14), man-db, - libdebhelper-perl (= ${source:Version}), po-debconf, awk, ${misc:Depends}, - ${perl:Depends} + ${perl:Depends}, Breaks: # To ensure cmake understands -DCMAKE_INSTALL_RUNSTATEDIR=/run as used in compat 11 # - Can be dropped (with the caveat that cmake packages may behave differently @@ -52,13 +50,14 @@ # The qmake cross wrapper was introduced in 5.9.2+dfsg-5, but got some important # fixes in the subsequent uploads. It is only needed for cross-building. # qt5-qmake (<< 5.9.2+dfsg-8), -Suggests: dh-make -Provides: ${dh:CompatLevels}, - dh-sequence-dwz, +Suggests: dh-make, +Provides: dh-sequence-dwz, dh-sequence-elf-tools, dh-sequence-installinitramfs, + dh-sequence-installsysusers, dh-sequence-single-binary, dh-sequence-systemd, + ${dh:CompatLevels}, Multi-Arch: foreign Description: helper programs for debian/rules A collection of programs that can be used in a debian/rules file to @@ -72,9 +71,9 @@ Section: perl Architecture: all Depends: ${misc:Depends}, - ${perl:Depends} -Replaces: debhelper (<< 12.6~) -Breaks: debhelper (<< 12.6~) + ${perl:Depends}, +Replaces: debhelper (<< 12.6~), +Breaks: debhelper (<< 12.6~), Multi-Arch: foreign Description: debhelper perl modules A collection of programs that can be used in a debian/rules file to diff -Nru debhelper-13.6ubuntu1/debian/debhelper.docs debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.docs --- debhelper-13.6ubuntu1/debian/debhelper.docs 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.docs 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1 @@ +doc/* diff -Nru debhelper-13.6ubuntu1/debian/debhelper.examples debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.examples --- debhelper-13.6ubuntu1/debian/debhelper.examples 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.examples 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1 @@ +examples/* diff -Nru debhelper-13.6ubuntu1/debian/debhelper.manpages debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.manpages --- debhelper-13.6ubuntu1/debian/debhelper.manpages 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/debhelper.manpages 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,2 @@ +*.1 +*.7 diff -Nru debhelper-13.6ubuntu1/debian/docs debhelper-13.11.6ubuntu1~ppa~jammy/debian/docs --- debhelper-13.6ubuntu1/debian/docs 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/docs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -doc/* diff -Nru debhelper-13.6ubuntu1/debian/examples debhelper-13.11.6ubuntu1~ppa~jammy/debian/examples --- debhelper-13.6ubuntu1/debian/examples 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/examples 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -examples/* diff -Nru debhelper-13.6ubuntu1/debian/gbp.conf debhelper-13.11.6ubuntu1~ppa~jammy/debian/gbp.conf --- debhelper-13.6ubuntu1/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/gbp.conf 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,6 @@ +[DEFAULT] +debian-branch = main + +[dch] +multimaint-merge = true +ignore-regex = (Signed-off|Acked|Tested|Reviewed)-by:|Fix-For:|Fixes: diff -Nru debhelper-13.6ubuntu1/debian/manpages debhelper-13.11.6ubuntu1~ppa~jammy/debian/manpages --- debhelper-13.6ubuntu1/debian/manpages 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/debian/manpages 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -*.1 -*.7 diff -Nru debhelper-13.6ubuntu1/dh debhelper-13.11.6ubuntu1~ppa~jammy/dh --- debhelper-13.6ubuntu1/dh 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh 2023-08-28 11:25:23.000000000 +0000 @@ -72,8 +72,9 @@ =head2 Completely empty targets -As a special optimization, B will skip a target if it is completely empty. -This is mostly useful for override targets, where the command will simply be +As a special optimization, B will skip a target if it is +completely empty and does not depend on any other target. This is +mostly useful for override targets, where the command will simply be skipped without the overhead of invoking a dummy target. Note that the target has to be completely empty for this to work: @@ -90,8 +91,48 @@ =head2 Verifying targets are picked up by dh -If you want to confirm that B has seen an override or a hook target, you -can use the following command as an example: +As of debhelper 13.10, you can use L to see which override +and hook targets will be seen by B. Here is an example run of L +along with its output: + + $ dh_assistant detect-hook-targets + { + "commands-not-in-path": [ + "dh_foo" + ], + "hook-targets": [ + { + "command": "dh_strip_nondeterminism", + "is-empty": true, + "package-section-param": null, + "target-name": "override_dh_strip_nondeterminism" + }, + { + "command": "dh_foo", + "is-empty": false, + "package-section-param": "-a", + "target-name": "override_dh_foo-arch" + } + ] + } + +The B is useful for spotting mistakes in the hook target +names. A non-empty value implies one of more hook targets are related to a command +that is either not installed or no command with that name exists at all. It is +generally worth double checking these. + +Additionally, the B attribute for each hook target can be used for seeing +whether a hook target triggers the L optimization. + +If you are interested in the other attributes, please read the L +for the details. + +=head3 Verifying targets are picked up by dh (when debhelper is older than 13.10) + + + +On older versions of debhelper, you have to use B with B<--no-act>. +You can use the following command as an example: $ dh binary --no-act | grep dh_install | head -n5 dh_installdirs @@ -709,6 +750,22 @@ parse_dh_cmd_options(@ARGV_orig); +_hoist_profile_into_dbo('nodoc'); +_hoist_profile_into_dbo('nocheck'); + +if (is_cross_compiling() && !get_buildoption('nocheck') && !get_buildoption('crossbuildcanrunhostbinaries')) { + warning('Running tests during cross-builds is not supported in the general case (except for special cases or by'); + warning('using emulation)'); + warning('If the build fails, please consider rebuilding with DEB_BUILD_OPTIONS=nocheck.'); + if (!is_build_profile_active('cross')) { + warning('Additionally, you might have to set the "cross" profile. For dpkg-buildpackage, you do this by'); + warning('passing the -Pcross option. Check the documentation of your build tool for how to set'); + warning('DEB_BUILD_PROFILES if you use another build tool that does not auto-configure cross-building for you'); + } + warning('If you have setup the relevant support for running cross-compiled binaries and want to silence this'); + warning('warning, please use DEB_BUILD_OPTIONS=crossbuildcanrunhostbinaries') +} + # Figure out at what point in the sequence to start for each package. my (%logged, %startpoint, $completed_sequences); @@ -803,6 +860,14 @@ } } +sub _hoist_profile_into_dbo { + my ($name) = @_; + if (is_build_profile_active($name) && !get_buildoption($name)) { + $ENV{'DEB_BUILD_OPTIONS'} //= ''; + $ENV{'DEB_BUILD_OPTIONS'} .= ' ' . $name; + warning("Copying ${name} into DEB_BUILD_OPTIONS: It was in DEB_BUILD_PROFILES but not in DEB_BUILD_OPTIONS"); + } +} =head1 SEE ALSO diff -Nru debhelper-13.6ubuntu1/dh_assistant debhelper-13.11.6ubuntu1~ppa~jammy/dh_assistant --- debhelper-13.6ubuntu1/dh_assistant 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_assistant 2023-08-28 11:25:23.000000000 +0000 @@ -28,7 +28,7 @@ =head2 active-compat-level (JSON) -B: B B +B: B B Outputs information about which compat level the package is using. @@ -156,7 +156,131 @@ =back -=head2 COMMAND TAGS +=head2 detect-hook-targets (JSON) + +B: B B + +Detects possible override targets and hook targets that L might use (provided that the +relevant command is in the sequence). + +The detection is based on scanning the rules file for any target that I like a hook +target and can therefore list targets that are in fact not hook targets (or are but will never +be triggered for other reasons). + +The detection uses a similar logic for scanning the rules file and is therefore subject to +makefile conditionals (i.e., the truth value of makefile conditionals can change whether a hook +target is visible in the output of this command). In theory, you would have to setup up the +environment to look like it would during a build for getting the most accurate output. Though, +a lot of packages will not have conditional hook targets, so the "out of the box" behaviour +will work well in most cases. + +The output looks something like this: + + { + "commands-not-in-path": [ + "dh_foo" + ], + "hook-targets": [ + { + "command": "dh_strip_nondeterminism", + "is-empty": true, + "package-section-param": null, + "target-name": "override_dh_strip_nondeterminism" + }, + { + "command": "dh_foo", + "is-empty": false, + "package-section-param": "-a", + "target-name": "override_dh_foo-arch" + } + ] + } + +In more details: + +=over 4 + +=item commands-not-in-path + +This attribute lists all the commands related to hook targets, which B could B +find in PATH. These are usually caused by either the command not being installed on the system +where B is run or by the command not existing at all. + +If you are using this command to verify an hook target is present, please double check that the +command is spelled correctly. + +=item hook-targets + +List over hook targets found along with additional information about them. + +=over 4 + +=item command + +Attribute that lists which command this hook target is related too. + +=item target-name + +The actual target name detected in the F file. + +=item is-empty + +A boolean that determines whether L will optimize the hook out at runtime (see "Completely empty targets" in +L). Note that empty override targets will still cause L to skip the original command. + +=item package-section-param + +This attribute defines what package selection parameter should be passed to B commands used +in the hook target. It can either be B<-a>, B<-i> or (if no parameter should be used) C. + +=back + +=back + +This command accepts no options or arguments. + +=head2 log-installed-files + +B: B B<< -pI >> I<[--on-behalf-of-cmd=dh_foo]> B + +Mark one or more paths as installed for a given package. This is useful for telling L that the +paths have been installed manually. + +The B<--on-behalf-of-cmd> option can be used by third-party tools to have B list them as the +installer of the provided paths. The convention is to use the basename of the tool itself as its name +(e.g. B). + +Please keep in mind that: + +=over 4 + +=item * + +B glob or substitution expansion is done by B on the provided paths. If you want to use globs, +have the shell perform the expansion first. + +=item * + +Paths must be given as relative to the source root directory (e.g., F) + +=item * + +You I provide a directory. If you do, the directory and anything recursively below it will be considered +as installed. Note that it is fine to provide the directory even if paths inside of it has been excluded as long +as the directory is fully "covered". + +=item * + +Do not worry about providing the same filename twice in different invocations to B due to B<-arch> / +B<-indep> overrides. While it will be recorded multiple internally, L will deduplicate when it +parses the records. + +=back + +Note this command only I paths as installed. It does not actually install them - the caller should ensure +that the paths are in fact handled (or installed). + +=head1 COMMAND TAGS Most commands have one or more of the following "tags" associated with them. Their meaning is defined here. @@ -201,7 +325,7 @@ you need to pipe the output to a pager/file (etc.) and still want it prettified, please use an external JSON formatter. An example of this: - dh_assistant supported-compat-levels | python3 -m json.tool | less + dh_assistant supported-compat-levels | json_pp | less =cut @@ -220,6 +344,8 @@ 'active-compat-level' => \&active_compat_level, 'supported-compat-levels' => \&supported_compat_levels, 'which-build-system' => \&which_build_system, + 'detect-hook-targets' => \&detect_hook_targets, + 'log-installed-files' => \&log_installed_files_cmd, ); my ($COMMAND) = shift(@ARGV); @@ -243,13 +369,16 @@ active-compat-level Output information about which compat level is declared/active (JSON) supported-compat-levels Output information about supported compat levels (JSON, CRFA) which-build-system Determine which build system will be used (JSON) - + detect-hook-targets Detect and output possible override and hook targets (JSON) + log-installed-files Mark one or more paths as "installed" so dh_missing is aware (BLD) Command tags: * JSON The command provides JSON output. * CRFA Command does not need to be run from a package source directory (Mnemonic "Can be Run From Anywhere") + * BLD The command is intended to be used as a part of a package build. + It may leave artifacts behind that will need a dh_clean invocation to remove. Its primary purpose is to provide support for third-party debhelper implementations @@ -355,6 +484,75 @@ return; } +sub _in_path { + my ($cmd) = @_; + for my $dir (split(':', $ENV{PATH})) { + return 1 if -x "${dir}/${cmd}"; + } + return 0; +} + +sub detect_hook_targets { + if (@ARGV) { + error("$COMMAND: No arguments supported (please remove everything after the command)"); + } + _assert_debian_control_exists(); + require Debian::Debhelper::SequencerUtil; + Debian::Debhelper::SequencerUtil::rules_explicit_target('does-not-matter'); + my ($explicit_targets, %result, @targets, @unverifiable_commands, %seen_cmds); + { + no warnings qw(once); + $explicit_targets = \%Debian::Debhelper::SequencerUtil::EXPLICIT_TARGETS; + } + while (my ($target, $non_empty) = each(%{$explicit_targets})) { + next if $target !~ m{^(?:execute_before_|execute_after_|override_)(\S+?)(-indep|-arch)?$}; + my ($command, $archness) = ($1, $2); + my $param; + if ($archness) { + $param = ($archness eq '-arch') ? '-a' : '-i' ; + } + my $target_info = { + 'target-name' => $target, + 'command' => $command, + 'package-section-param' => $param, + 'is-empty' => $non_empty ? JSON::PP::false : JSON::PP::true, + }; + push(@targets, $target_info); + push(@unverifiable_commands, $command) if not exists($seen_cmds{$command}) and not _in_path($command); + $seen_cmds{$command} = 1; + } + $result{'hook-targets'} = \@targets; + $result{'commands-not-in-path'} = \@unverifiable_commands; + _output(\%result); +} + +sub log_installed_files_cmd { + my $on_behalf_of = 'manually-via-dh_assistant'; + init( + options => { + 'on-behalf-of-cmd=s' => \$on_behalf_of, + }, + inhibit_log => 1, + ); + if (index($on_behalf_of, '/') >= 0) { + error('The value for --on-behalf-of-cmd must not contain slashes'); + } + if (@{$dh{DOPACKAGES}} != 1) { + error('The log-installed-files command must act on exactly one package (use -p to define which)'); + } + my $package = $dh{DOPACKAGES}[0]; + for my $arg (@ARGV) { + $arg =~ tr:/:/:s; + if (! -e $arg) { + warning("The path ${arg} does not exist - double check it is correct. Note: it will recorded anyway."); + } + } + log_installed_files({ + 'package' => $package, + 'tool_name' => $on_behalf_of, + }, @ARGV); +} + if (not defined($COMMAND)) { error('Usage: ' . basename($0) . ' '); } diff -Nru debhelper-13.6ubuntu1/dh_builddeb debhelper-13.11.6ubuntu1~ppa~jammy/dh_builddeb --- debhelper-13.6ubuntu1/dh_builddeb 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_builddeb 2023-08-28 11:25:23.000000000 +0000 @@ -80,7 +80,7 @@ my ($package, $destdir, $cmd, $rename_sub) = @_; my $build_dir = "debian/.debhelper/scratch-space/build-${package}"; my ($dpkg_filename, $desired_filename); - install_dir($build_dir); + mkdirs($build_dir); doit(@${cmd}, $build_dir); opendir(my $fd, $build_dir) or error("opendir($build_dir) failed: $!"); for my $name (readdir($fd)) { @@ -107,6 +107,8 @@ my @items; my @dpkg_options; push(@dpkg_options, '--root-owner-group') if not should_use_root(); +my @dbgsym_dpkg_options = ('--root-owner-group'); + for my $package (@{$dh{DOPACKAGES}}) { push(@items, [$package, 0]); @@ -131,7 +133,7 @@ if ($dbgsym) { my $dbgsym_tmpdir = dbgsym_tmpdir($package); - my @cmd = ("dpkg-deb", @dpkg_options, @{$dh{U_PARAMS}}, + my @cmd = ("dpkg-deb", @dbgsym_dpkg_options, @{$dh{U_PARAMS}}, "--build", $dbgsym_tmpdir); if (DBGSYM_PACKAGE_TYPE eq DEFAULT_PACKAGE_TYPE) { doit(@cmd, $dh{DESTDIR}); @@ -142,15 +144,7 @@ next; } if (exists $ENV{DH_ALWAYS_EXCLUDE} && length $ENV{DH_ALWAYS_EXCLUDE}) { - if (! compat(5)) { - complex_doit("find $tmp $dh{EXCLUDE_FIND} | xargs rm -rf"); - } - else { - # Old broken code here for compatibility. Does not - # remove everything. - complex_doit("find $tmp -name $_ | xargs rm -rf") - foreach split(":", $ENV{DH_ALWAYS_EXCLUDE}); - } + complex_doit("find $tmp $dh{EXCLUDE_FIND} | xargs rm -rf"); } if (! is_udeb($package)) { doit("dpkg-deb", @dpkg_options, @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$dh{FILENAME}); diff -Nru debhelper-13.6ubuntu1/dh_dwz debhelper-13.11.6ubuntu1~ppa~jammy/dh_dwz --- debhelper-13.6ubuntu1/dh_dwz 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_dwz 2023-08-28 11:25:23.000000000 +0000 @@ -135,13 +135,14 @@ doit('dwz', @dwz_options, @{$dh{U_PARAMS}}, '--', @{$unique_files}); if ( -f "${tmp}/${m}") { doit($objcopy, '--compress-debug-sections', "${tmp}/${m}"); + reset_perm_and_owner(0644, "${tmp}/${m}"); } else { error("dwz failed to create a multifile as requested") if $create_multifile ne 'auto'; warning("No dwz multifile created, but not explicitly requested either so ignoring it."); warning("Common issues include no debug information at all (missing -g) and"); warning("compressed debug information (#931891)."); # Clean up after ourselves to avoid leaving empty directories in packages - doit('rmdir', '-p', '--ignore-fail-on-non-empty', "${tmp}/usr/lib/debug/.dwz/${ma_dir}"); + doit('rmdir', '-p', '--ignore-fail-on-non-empty', "${tmp}/${dwz_dir}"); } } else { xargs($unique_files, 'dwz', @{$dh{U_PARAMS}}, '--'); diff -Nru debhelper-13.6ubuntu1/dh_installalternatives debhelper-13.11.6ubuntu1~ppa~jammy/dh_installalternatives --- debhelper-13.6ubuntu1/dh_installalternatives 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installalternatives 2023-08-28 11:25:23.000000000 +0000 @@ -99,9 +99,16 @@ if (index($link_name, '/') > -1) { error(qq{Invalid link name "${link_name}" in "${alternatives_file}": Must not contain slash}); } - if ( ! -f "${tmpdir}/${impl_path}") { + my $actual_impl_path = "${tmpdir}/${impl_path}"; + if ( ! -l $actual_impl_path && ! -e _) { error(qq{Alternative "${impl_path}" for "${link_name}" in ${alternatives_file} does not exist in ${tmpdir}}); } + if ( -d $actual_impl_path) { + error(qq{Alternative "${impl_path}" for "${link_name}" in ${alternatives_file} is a directory}); + } + if ($link_name eq $impl_path) { + error(qq{The link name cannot be the same as the implementation path "${link_name}" (in "${alternatives_file}")}); + } $maintscript_options{'RM_OPTIONS'} = "--remove ${link_name} ${impl_path}"; $maintscript_options{'INSTALL_OPTIONS'} = "--install ${link_path} ${link_name} ${impl_path} ${priority}"; @@ -133,9 +140,14 @@ . qq{ for "${link_name}" in "${alternatives_file}"}); $error_with_def = 1; } + if ($dlink_name eq $dimpl_path) { + warning(qq{The link name cannot be the same as the implementation path for "${dlink_name}"} + . qq{ in "${alternatives_file}"}); + $error_with_def = 1; + } if ($trailing) { warning(qq{Trailing information for dependent link "${dlink_name}" for "${link_name}"} - . qq{ in "${alternatives_file}"}) if $trailing; + . qq{ in "${alternatives_file}"}); warning("Dependent links must consist of exactly 3 space-separated values"); $error_with_def = 1; } diff -Nru debhelper-13.6ubuntu1/dh_installchangelogs debhelper-13.11.6ubuntu1~ppa~jammy/dh_installchangelogs --- debhelper-13.6ubuntu1/dh_installchangelogs 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installchangelogs 2023-08-28 15:14:11.000000000 +0000 @@ -9,12 +9,13 @@ use strict; use warnings; use Debian::Debhelper::Dh_Lib; +use Time::Piece; our $VERSION = DH_BUILTIN_VERSION; =head1 SYNOPSIS -B [S>] [B<-k>] [B<-X>I] [I] +B [S>] [B<-k>] [B<-X>I] [B<--no-trim>] [I] =head1 DESCRIPTION @@ -30,6 +31,11 @@ specified, a short F is generated, pointing readers at the html changelog file. +The B-style Debian changelogs are trimmed to include only +entries more recent than the release date of I. +No trimming will be performed if the B<--no-trim> option is passed or +if the B environment variable contains B. + =head1 FILES =over 4 @@ -73,6 +79,11 @@ Note that directory name of the changelog is also part of the match. +=item B<--no-trim> + +Install the full changelog, not its trimmed version that includes only +recent entries. + =item I Install this file as the upstream changelog. @@ -81,63 +92,18 @@ =cut -# For binNMUs the first changelog entry is written into an extra file to -# keep the packages coinstallable. -sub install_binNMU_changelog { - my ($package, $input_fn, $changelog_name)=@_; - - open (my $input, "<", $input_fn); - my $line=<$input>; - if (defined $line && $line =~ /\A\S.*;.*\bbinary-only=yes/) { - my $mask=umask 0022; - - my @stat=stat $input_fn or error("could not stat $input_fn: $!"); - my $tmp=tmpdir($package); - my $output_fn="$tmp/usr/share/doc/$package/$changelog_name"; - open my $output, ">", $output_fn - or error("could not open $output_fn for writing: $!"); - my $arch=package_binary_arch($package); - my $output_fn_binary="$output_fn.$arch"; - open my $output_binary, ">", $output_fn_binary - or error("could not open $output_fn_binary for writing: $!"); - - do { - print {$output_binary} $line - or error("Could not write to $output_fn_binary: $!"); - } while(defined($line=<$input>) && $line !~ /\A\S/); - close $output_binary or error("Couldn't close $output_fn_binary: $!"); - utime $stat[8], $stat[9], $output_fn_binary; - - do { - print {$output} $line - or error("Could not write to $output_fn: $!"); - } while(defined($line=<$input>)); - - close $input or error("Couldn't close $input_fn: $!"); - close $output or error("Couldn't close $output_fn: $!"); - utime $stat[8], $stat[9], $output_fn; - - if (should_use_root()) { - chown(0, 0, $output_fn, $output_fn_binary) or error("chown: $!"); - } - - umask $mask; - - return 1; - } - else { - close $input; - return 0; - } -} - init(options => { 'keep|k' => \$dh{K_FLAG}, + 'no-trim' => \$dh{NO_TRIM}, }); my $news_name="NEWS.Debian"; my $changelog_name="changelog.Debian"; +use constant CUTOFF_DATE_STR => "2019-07-06"; # oldstable = Debian 10 Buster +use constant CUTOFF_DATE => Time::Piece->strptime(CUTOFF_DATE_STR, "%Y-%m-%d"); +use constant MIN_NUM_ENTRIES => 4; + my $explicit_changelog = @ARGV ? 1 : 0; my $default_upstream = $ARGV[0]; my $default_upstream_text=$default_upstream; @@ -168,6 +134,107 @@ return; } +sub install_debian_changelog { + my ($changelog, $package, $arch, $tmp) = @_; + + if ($dh{NO_TRIM} || get_buildoption("notrimdch")) { + # Install the whole changelog. + install_file($changelog, "$tmp/usr/share/doc/$package/$changelog_name"); + return; + } + + local $ENV{LC_ALL} = "C.UTF-8"; + + my $changelog_trimmed = generated_file($package, "dh_installchangelogs.dch.trimmed"); + my $changelog_binnmu = generated_file($package, "dh_installchangelogs.dch.binnmu"); + + open(my $log1, "<", $changelog) or error("Cannot open($changelog): $!"); + open(my $log2, ">", $changelog_trimmed) or error("Cannot open($changelog_trimmed): $!"); + + my $error_in_changelog = 0; + my $is_binnmu = 0; + my $entry = ""; + my $entry_num = 0; + while (my $line=<$log1>) { + $entry .= $line; + + # Identify binNUM packages by binary-only=yes in the first line of the changelog. + if (($. == 1) && ($line =~ /\A\S.*;.*\bbinary-only=yes/)) { + $is_binnmu = 1; + } + + # Get out of binNMU mode once we are in the second entry (and throw away one empty line). + if ($is_binnmu && ($entry_num eq 1)) { + $is_binnmu = 0; + $entry_num = 0; + $entry = ""; + next; + } + + if ($line =~ /^\s*--\s+.*?\s+<[^>]*>\s+(?.*)$/) { + if ($is_binnmu && ($entry_num eq 0)) { + # For binNMUs the first changelog entry is written into an extra file to + # keep the packages coinstallable. + open(my $log_binnum, ">", $changelog_binnmu) or error("Cannot open($changelog_binnmu): $!"); + print($log_binnum $entry) or error("Cannot write($changelog_binnmu): $!"); + close($log_binnum) or error("Cannot close($changelog_binnmu): $!"); + + # Continue processing the rest of the changelog. + $entry = ""; + $entry_num++; + next; + } + + my $timestamp = $+{timestamp}; + $timestamp =~ s/^[A-Za-z]+, +//; + + my $entry_time; + eval { $entry_time = Time::Piece->strptime($timestamp, '%d %b %Y %T %z') }; + if (! defined $entry_time) { + $error_in_changelog = 1; + warning("Could not parse timestamp '$timestamp'. $changelog will not be trimmed."); + truncate($log2, 0) or error("Cannot truncate($changelog_trimmed): $!"); + last; + } + + # Stop processing the changelog if we reached the cut-off date and + # at least MIN_NUM_ENTRIES entries have been added. + if (($entry_time < CUTOFF_DATE) && ($entry_num >= MIN_NUM_ENTRIES)) { + last; + } + + # Append entry to trimmed changelog. + print($log2 $entry) or error("Cannot write($changelog_trimmed): $!"); + $entry = ""; + $entry_num++; + } + } + # If the whole changelog has not been read, then it has been trimmed. + my $has_been_trimmed = !eof($log1); + + close($log1) or error("Cannot close($changelog): $!"); + close($log2) or error("Cannot close($changelog_trimmed): $!"); + + if ($error_in_changelog) { + # If the changelog could not be trimmed, fall back to the full changelog. + warning("$changelog could not be trimmed. The full changelog will be installed."); + $changelog_trimmed = $changelog; + } elsif ($has_been_trimmed) { + # Otherwise add a comment stating that this changelog has been trimmed. + my $note = "\n"; + $note .= "# Older entries have been removed from this changelog.\n"; + $note .= "# To read the complete changelog use `apt changelog $package`.\n"; + open(my $log2, ">>", $changelog_trimmed) or error("Cannot open($changelog_trimmed): $!"); + print($log2 $note) or error("Cannot write($changelog_trimmed): $!"); + close($log2) or error("Cannot close($changelog_trimmed): $!"); + } + + install_file($changelog_trimmed, "$tmp/usr/share/doc/$package/$changelog_name"); + if (-s $changelog_binnmu) { + install_file($changelog_binnmu, "$tmp/usr/share/doc/$package/$changelog_name.$arch"); + } +} + on_pkgs_in_parallel { foreach my $package (@_) { next if is_udeb($package); @@ -214,10 +281,8 @@ install_dir("$tmp/usr/share/doc/$package"); if (! $dh{NO_ACT}) { - if (! install_binNMU_changelog($package, $changelog, $changelog_name)) { - install_file($changelog, - "$tmp/usr/share/doc/$package/$changelog_name"); - } + my $arch = package_binary_arch($package); + install_debian_changelog($changelog, $package, $arch, $tmp); } if (-e $news) { diff -Nru debhelper-13.6ubuntu1/dh_installdeb debhelper-13.11.6ubuntu1~ppa~jammy/dh_installdeb --- debhelper-13.6ubuntu1/dh_installdeb 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installdeb 2023-08-28 11:25:23.000000000 +0000 @@ -59,7 +59,7 @@ This file will be installed into the F directory. The provided file will be enriched by debhelper to include all the B auto-detected by debhelper (the maintainer should -not list there as debhelper assumes it should handle that part). +not list anything there as debhelper assumes it should handle that part). This file is primarily useful for using "special" entries such as the B<< remove-on-upgrade >> feature from dpkg. @@ -312,7 +312,7 @@ } # Install debian scripts. - my $package_subst = per_package_subst($package, \%PROVIDED_SUBST); + my $package_subst = debhelper_script_per_package_subst($package, \%PROVIDED_SUBST); foreach my $script (qw{postinst preinst prerm postrm}) { debhelper_script_subst($package, $script, $package_subst); } @@ -416,23 +416,6 @@ } } -sub per_package_subst { - my ($package, $provided_subst) = @_; - my %vars = %{$provided_subst}; - $vars{'PACKAGE'} = $package if not exists($vars{'PACKAGE'}); - for my $var (keys(%{$provided_subst})) { - if ($var !~ $Debian::Debhelper::Dh_Lib::MAINTSCRIPT_TOKEN_REGEX) { - warning("User defined token ${var} does not match ${Debian::Debhelper::Dh_Lib::MAINTSCRIPT_TOKEN_REGEX}"); - error("Invalid provided token ${var}: It cannot be substituted as it does not follow the token name rules"); - } - if ($var =~ m/^pkg[.]\Q${package}\E[.](.+)$/) { - my $new_key = $1; - $vars{$new_key} = $provided_subst->{$var}; - } - } - return \%vars; -} - =head1 SEE ALSO L diff -Nru debhelper-13.6ubuntu1/dh_installdebconf debhelper-13.11.6ubuntu1~ppa~jammy/dh_installdebconf --- debhelper-13.6ubuntu1/dh_installdebconf 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installdebconf 2023-08-28 11:25:23.000000000 +0000 @@ -73,11 +73,114 @@ Pass the params to B. +=item B<-D>I, B<--define> I + +Define tokens to be replaced inside the maintainer scripts when +it is generated. Please note that the limitations described in +L also applies to tokens defined +on the command line. Invalid token names will trigger an error. + +In the simple case, this parameter will cause B<< #I# >> +to be replaced by I. If I starts with a literal +I<@>-sign, then I is expected to point to a file +containing the actual value to insert. + +An explicit declared token with this parameter will replace built-in +tokens. + +Test examples to aid with the understanding: + + cat >> debian/config < some-file + dh_installdeb --define SIMPLE=direct --define FILEBASED=@some-file + +In this example, B<#SIMPLE#> will expand to B and B<#FILEBASED#> +will expand to B. + +It is also possible to set package-specific values for a given +token. This is useful when B is acting on multiple +packages that need different values for the same token. This is +done by prefixing the token name with B<< pkg.I. >>. + +This can be used as in the following example: + + cat >> debian/foo.config <> debian/bar.config <> debian/baz.config < will expand to B in F, +to B in F and to B +in F. + +Note that the B<#pkg.*#> tokens will be visible in all scripts acted on. E.g. +you can refer to B<#pkg.bar.TOKEN#> inside F and it will +be replaced by B. + =back +=head1 SUBSTITUTION IN MAINTAINER SCRIPTS + +The B will automatically replace the following tokens +inside a provided maintainer script (if not replaced via B<-D>/B<--define>): + +=over 4 + +=item #DEB_HOST_I#, #DEB_BUILD_I#, #DEB_TARGET_I# + +These tokens are replaced with the respective variable from +L. In almost all cases, you will want +use the B<< #DEB_HOST_I >> variant in a script to ensure +you get the right value when cross-building. + +On a best effort, tokens of this pattern that do not match +a variable in L will be left as-is. + +=item #ENV.I# + +These tokens of this form will be replaced with value of the +corresponding environment variable. If the environment +variable is unset, the token is replaced with the empty +string. + +Note that there are limits on which names can be used (see +L). + +=item #PACKAGE# + +This token is by default replaced by the package name, which will contain +the concrete script. + +=back + +=head2 Limitations in token names + +All tokens intended to be substituted must match the regex: #[A-Za-z0-9_.+]+# + +Tokens that do not match that regex will be silently ignored if found in the +script template. Invalid token names passed to B<-D> or B<--define> will +cause B to reject the command with an error in most cases. + =cut -init(); +my %PROVIDED_SUBST; + +init(options => { + 'define|D=s%' => \%PROVIDED_SUBST, +}); my @extraparams; if (defined($dh{U_PARAMS})) { @@ -94,7 +197,9 @@ install_dir("$tmp/DEBIAN"); if (! is_udeb($package)) { - debhelper_script_subst($package, "config"); + # Install debian scripts. + my $package_subst = debhelper_script_per_package_subst($package, \%PROVIDED_SUBST); + debhelper_script_subst($package, "config", $package_subst); } if ($templates ne '') { diff -Nru debhelper-13.6ubuntu1/dh_installexamples debhelper-13.11.6ubuntu1~ppa~jammy/dh_installexamples --- debhelper-13.6ubuntu1/dh_installexamples 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installexamples 2023-08-28 11:25:23.000000000 +0000 @@ -36,6 +36,10 @@ Lists example files or directories to be installed. +If upstream provides an F directory, you will often want to use B rather +than B in this file. The latter would create +F<< /usr/share/doc/I/examples/examples >>, which is rarely what you want. + Supports substitution variables in compat 13 and later as documented in L. diff -Nru debhelper-13.6ubuntu1/dh_installinit debhelper-13.11.6ubuntu1~ppa~jammy/dh_installinit --- debhelper-13.6ubuntu1/dh_installinit 2022-02-07 15:56:53.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installinit 2023-08-28 11:25:23.000000000 +0000 @@ -70,8 +70,7 @@ =item debian/I.tmpfile If this exists, it is installed into usr/lib/tmpfiles.d/I.conf in the -package build directory. (The tmpfiles.d mechanism is currently only used -by systemd.) Only used in compat levels 10 and below. +package build directory. Only used in compat levels 10 and below. =back @@ -372,6 +371,7 @@ 'ERROR_HANDLER' => $dh{ERROR_HANDLER}, 'INVOKE_RCD_PARAMS' => $update_rcd_params, }; + autoscript($package, 'preinst', 'preinst-init-chmod', $replace, \%snippet_options); if (! $dh{NO_START}) { if ($dh{RESTART_AFTER_UPGRADE}) { diff -Nru debhelper-13.6ubuntu1/dh_installman debhelper-13.11.6ubuntu1~ppa~jammy/dh_installman --- debhelper-13.6ubuntu1/dh_installman 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installman 2023-08-28 11:25:23.000000000 +0000 @@ -210,7 +210,7 @@ close($fd); # Failing that, we can try to get it from the filename. if (!$section) { - ($section) = $basename =~ m/\.([1-9]\S*)/; + ($section) = $basename =~ m/\.([1-9]\w*)$/; } # Now get the numeric component of the section. @@ -236,6 +236,10 @@ # language code to the filename, so detect that and # redirect to appropriate directory, stripping the code. ($langcode) = $basename =~ m/\.([a-z][a-z](?:_[A-Z][A-Z])?)\.(?:[1-9]|man)/; + # Avoid false positives such as /usr/share/man/man8/libnss_myhostname.so.2.8 + if (defined $langcode && $langcode eq 'so' && $basename =~ /^lib.*\.so(\.[0-9]+)*$/) { + $langcode = ''; + } } } elsif ($dh{LANGUAGE} ne 'C') { $langcode = $dh{LANGUAGE}; @@ -253,7 +257,6 @@ my $instpage = "$destdir$instname.$section"; next if -l $instpage; - next if -e _ && compat(5); install_dir($destdir); if ($gz) { diff -Nru debhelper-13.6ubuntu1/dh_installpam debhelper-13.11.6ubuntu1~ppa~jammy/dh_installpam --- debhelper-13.6ubuntu1/dh_installpam 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installpam 2023-08-28 11:25:23.000000000 +0000 @@ -27,7 +27,11 @@ =item debian/I.pam -Installed into etc/pam.d/I in the package build directory. +Installed into usr/lib/pam.d/I in the package build directory. + +Until compatibility level 14 this file was installed under +etc/pam.d/I. Please consider using the "rm_conffile" feature from +L to ensure the proper removal of previous PAM files. =back @@ -38,7 +42,7 @@ =item B<--name=>I Look for files named debian/I.I.pam and install them as -etc/pam.d/I, instead of using the usual files and installing them +usr/lib/pam.d/I, instead of using the usual files and installing them using the package name. =back @@ -53,9 +57,14 @@ my $tmp=tmpdir($package); my $pam=pkgfile($package,"pam"); + my $pamd_dir="/usr/lib/pam.d"; + if (compat(13)) { + $pamd_dir="/etc/pam.d"; + } + if ($pam ne '') { - install_dir("$tmp/etc/pam.d"); - install_file($pam,"$tmp/etc/pam.d/".pkgfilename($package)); + install_dir("$tmp/$pamd_dir"); + install_file($pam,"$tmp/$pamd_dir/".pkgfilename($package)); } } diff -Nru debhelper-13.6ubuntu1/dh_installsystemd debhelper-13.11.6ubuntu1~ppa~jammy/dh_installsystemd --- debhelper-13.6ubuntu1/dh_installsystemd 2022-02-07 15:56:53.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installsystemd 2023-08-28 11:25:23.000000000 +0000 @@ -249,30 +249,31 @@ sub list_installed_units { my ($tmpdir, $aliases) = @_; - my $lib_systemd_system = "$tmpdir/lib/systemd/system"; my @installed; - return unless -d $lib_systemd_system; - opendir(my $dh, "$lib_systemd_system") or error("Cannot opendir($lib_systemd_system): $!"); - - foreach my $name (readdir($dh)) { - my $path = "$lib_systemd_system/$name"; - next unless -f $path; - if (-l "$path") { - my $dest = basename(readlink($path)); - $aliases->{$dest} //= [ ]; - push @{$aliases->{$dest}}, $name; - } else { - push @installed, $name; + foreach my $unitdir ("$tmpdir/lib/systemd/system", "$tmpdir/usr/lib/systemd/system") { + next unless -d $unitdir; + opendir(my $dh, "$unitdir") or error("Cannot opendir($unitdir): $!"); + + foreach my $name (readdir($dh)) { + my $path = "$unitdir/$name"; + next unless -f $path; + if (-l "$path") { + my $dest = basename(readlink($path)); + $aliases->{$dest} //= [ ]; + push @{$aliases->{$dest}}, $name; + } else { + push @installed, $name; + } } - } - closedir($dh); + closedir($dh); + } return @installed; } -# PROMISE: DH NOOP WITHOUT internal(bug#950723) tmp(lib/systemd/system) tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d) mount path service socket target tmpfile timer cli-options() +# PROMISE: DH NOOP WITHOUT internal(bug#950723) tmp(lib/systemd/system) tmp(usr/lib/systemd/system) tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d) mount path service socket target tmpfile timer cli-options() # Install package maintainer supplied unit files @@ -363,9 +364,11 @@ # Must use while and shift because the loop alters the list. while (@args) { my $unit = shift @args; - my $path = "${tmpdir}/lib/systemd/system/${unit}"; - - error("Package '$package' does not install unit '$unit'.") unless (-f $path); + my $path = "${tmpdir}/usr/lib/systemd/system/${unit}"; + unless (-f $path) { + $path = "${tmpdir}/lib/systemd/system/${unit}"; + error("Package '$package' does not install unit '$unit'.") unless (-f $path); + } # Skip template service files. Enabling, disabling, starting # or stopping those services without specifying the instance diff -Nru debhelper-13.6ubuntu1/dh_installsysusers debhelper-13.11.6ubuntu1~ppa~jammy/dh_installsysusers --- debhelper-13.6ubuntu1/dh_installsysusers 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installsysusers 2023-08-28 11:25:23.000000000 +0000 @@ -87,16 +87,21 @@ } if (! $dh{NOSCRIPTS} && ($sysusers ne '' || -d $sysusers_targetdir)) { - my $has_sysuser = 0; + my @sysusers_files; opendir(my $dir_fd, $sysusers_targetdir) or error("opendir(${sysusers_targetdir}) failed: $!"); while (defined(my $entry = readdir($dir_fd))) { next if $entry eq '.' or $entry eq '..' or $entry !~ m{[.]conf$}; - autoscript($package, 'postinst', 'postinst-sysusers', { 'CONFILE_BASENAME' => $entry }); - $has_sysuser = 1; + push @sysusers_files, $entry; } closedir($dir_fd); - addsubstvar($package, "misc:Depends", "systemd | systemd-standalone-sysusers | systemd-sysusers") - if $has_sysuser; + + next if @sysusers_files == 0; + + # Sort list of files so postinst content doesn't change if readdir's output is not stable + @sysusers_files = sort @sysusers_files; + # Generate a single systemd-sysusers invocation and just pass all detected files together + autoscript($package, 'postinst', 'postinst-sysusers', { 'CONFILE_BASENAME' => "@sysusers_files" }); + addsubstvar($package, "misc:Depends", "systemd | systemd-standalone-sysusers | systemd-sysusers"); } } diff -Nru debhelper-13.6ubuntu1/dh_installwm debhelper-13.11.6ubuntu1~ppa~jammy/dh_installwm --- debhelper-13.6ubuntu1/dh_installwm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_installwm 2023-08-28 11:25:23.000000000 +0000 @@ -109,13 +109,11 @@ autoscript($package,"prerm","prerm-wm", { 'WM' => $wm }); my $wmman; - if (! compat(5)) { - foreach my $ext (".1", ".1x") { - $wmman="/usr/share/man/man1/".basename($wm).$ext; - if (-e "$tmp$wmman" || -e "$tmp$wmman.gz") { - autoscript($package,"postinst","postinst-wm", { 'WM' => $wm, 'WMMAN' => "${wmman}.gz" , 'PRIORITY' => $dh{PRIORITY} }); - next WM; - } + foreach my $ext (".1", ".1x") { + $wmman="/usr/share/man/man1/".basename($wm).$ext; + if (-e "$tmp$wmman" || -e "$tmp$wmman.gz") { + autoscript($package,"postinst","postinst-wm", { 'WM' => $wm, 'WMMAN' => "${wmman}.gz" , 'PRIORITY' => $dh{PRIORITY} }); + next WM; } } if (not compat(9) and not $nodocs) { diff -Nru debhelper-13.6ubuntu1/dh_md5sums debhelper-13.11.6ubuntu1~ppa~jammy/dh_md5sums --- debhelper-13.6ubuntu1/dh_md5sums 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_md5sums 2023-08-28 11:25:23.000000000 +0000 @@ -35,7 +35,7 @@ =item B<-x>, B<--include-conffiles> Include conffiles in the md5sums list. Note that this information is -redundant since it is included elsewhere in Debian packages. +redundant since it is included in F in Debian packages. =item B<-X>I, B<--exclude=>I diff -Nru debhelper-13.6ubuntu1/dh_missing debhelper-13.11.6ubuntu1~ppa~jammy/dh_missing --- debhelper-13.6ubuntu1/dh_missing 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_missing 2023-08-28 11:25:23.000000000 +0000 @@ -243,7 +243,7 @@ nonquiet_print('If the missing files are installed by another tool, please file a bug against it.'); nonquiet_print('When filing the report, if the tool is not part of debhelper itself, please reference the'); nonquiet_print('"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).'); - nonquiet_print(' (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)'); + nonquiet_print(' (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.md.gz)'); nonquiet_print("Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built"); nonquiet_print("If the omission is intentional or no other helper can take care of this consider adding the"); nonquiet_print("paths to debian/not-installed."); diff -Nru debhelper-13.6ubuntu1/dh_perl debhelper-13.11.6ubuntu1~ppa~jammy/dh_perl --- debhelper-13.6ubuntu1/dh_perl 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_perl 2023-08-28 11:25:23.000000000 +0000 @@ -11,6 +11,7 @@ use Config; use File::Find; use Debian::Debhelper::Dh_Lib; +use constant DISTRO_PERL => $^X; our $VERSION = DH_BUILTIN_VERSION; @@ -128,10 +129,15 @@ return unless -f and (-x _ or /\.pl$/); return unless open(my $fd, '<', $_); - if (read($fd, local $_, 32) and m%^#!\s*(/usr/bin/perl|/usr/bin/env\s+perl)\s%) { + my $path = $_; + my $rewrite_shebang = 0; + if (read($fd, local $_, 32) and m%^#!\s*(/usr/bin/perl|${\DISTRO_PERL}|/usr/bin/env\s+perl)\s%) { + my $actual_perl = $1; $deps |= PROGRAM; + $rewrite_shebang = 1 if ($actual_perl ne DISTRO_PERL); } close($fd); + rewrite_shebang($path) if $rewrite_shebang; }; find({ wanted => $check_script, @@ -151,8 +157,8 @@ # no need to depend on an un-versioned perl-base -- it's # essential - addsubstvar($package, "perl:Depends", $perlarch) - unless $perl eq 'perl-base' && ! length($version); + addsubstvar($package, "perl:Depends", $perlarch, $version) + if $perl ne 'perl-base' || length($version); # add perlapi- for XS modules and other modules # installed into vendorarch @@ -171,6 +177,14 @@ } } +sub rewrite_shebang { + my ($file) = @_; + doit($^X, '-p', '-i', '-e', + 's{#!\s*(/usr/bin/perl|' . quotemeta(DISTRO_PERL) . '|/usr/bin/env\s+perl)}{#! ' . DISTRO_PERL . '} if ($. == 1);', + $file); + return; +} + =head1 SEE ALSO L diff -Nru debhelper-13.6ubuntu1/dh_systemd_enable debhelper-13.11.6ubuntu1~ppa~jammy/dh_systemd_enable --- debhelper-13.6ubuntu1/dh_systemd_enable 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_systemd_enable 2023-08-28 11:25:23.000000000 +0000 @@ -50,8 +50,7 @@ =item debian/I.tmpfile If this exists, it is installed into usr/lib/tmpfiles.d/I.conf in the -package build directory. (The tmpfiles.d mechanism is currently only used -by systemd.) +package build directory. =item debian/I.target, debian/I@.target @@ -142,7 +141,7 @@ install_file($unit, "${path}/${script}.${installsuffix}"); } -# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) mount path service socket target tmpfile timer +# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) tmp(usr/lib/systemd/system) mount path service socket target tmpfile timer my %requested_files = map { basename($_) => 1 } @ARGV; my %installed_files; @@ -189,19 +188,23 @@ install_unit($package, $script, 'mount', "$tmpdir/lib/systemd/system"); install_unit($package, $script, 'tmpfile', "$tmpdir/usr/lib/tmpfiles.d", 'conf'); - find({ - wanted => sub { - my $name = $File::Find::name; - return unless -f $name; - # Skip symbolic links, their only legitimate use is for - # adding an alias, e.g. linking smartmontools.service - # -> smartd.service. - return if -l $name; - return unless $name =~ m,^$tmpdir/lib/systemd/system/[^/]+$,; - push @installed_units, $name; - }, - no_chdir => 1, - }, "${tmpdir}/lib/systemd/system") if -d "${tmpdir}/lib/systemd/system"; + foreach my $unitdir ("${tmpdir}/usr/lib/systemd/system", "${tmpdir}/lib/systemd/system") { + find({ + wanted => sub { + my $name = $File::Find::name; + return unless -f $name; + # Skip symbolic links, their only legitimate + # use is for adding an alias, e.g. linking + # smartmontools.service -> smartd.service. + return if -l $name; + return unless $name =~ m,^\Q$unitdir\E/[^/]+$,; + error("Unit $name is installed in both the /usr/lib/systemd/system and /lib/systemd/system directories of $package.") + if (grep { $_ eq $name } @installed_units); + push @installed_units, $name; + }, + no_chdir => 1, + }, $unitdir) if -d $unitdir; + } # Handle either only the unit files which were passed as arguments or # all unit files that are installed in this package. @@ -217,8 +220,8 @@ # Try to make the path absolute, so that the user can call # dh_installsystemd bacula-fd.service if ($base eq $name) { - # NB: This works because @installed_units contains - # files from precisely one directory. + # NB: This works because each unit in @installed_units + # comes from exactly one directory. my ($full) = grep { basename($_) eq $base } @installed_units; if (defined($full)) { $name = $full; diff -Nru debhelper-13.6ubuntu1/dh_systemd_start debhelper-13.11.6ubuntu1~ppa~jammy/dh_systemd_start --- debhelper-13.6ubuntu1/dh_systemd_start 2022-02-07 15:56:53.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/dh_systemd_start 2023-08-28 11:25:23.000000000 +0000 @@ -126,7 +126,7 @@ } -# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) +# PROMISE: DH NOOP WITHOUT tmp(lib/systemd/system) tmp(usr/lib/systemd/system) my %requested_files = map { basename($_) => 1 } @ARGV; my %installed_files; @@ -138,21 +138,25 @@ my %aliases; my $oldcwd = getcwd(); - find({ - wanted => sub { - my $name = $File::Find::name; - return unless -f; - return unless $name =~ m,^\Q${tmpdir}\E/lib/systemd/system/[^/]+$,; - if (-l) { - my $target = abs_path(readlink()); - $target =~ s,^\Q${oldcwd}\E/,,g; - $aliases{$target} = [ $_ ]; - } else { - push @installed_units, $name; - } - }, - }, "${tmpdir}/lib/systemd/system") if -d "${tmpdir}/lib/systemd/system"; - chdir($oldcwd); + foreach my $unitdir ("${tmpdir}/usr/lib/systemd/system", "${tmpdir}/lib/systemd/system") { + find({ + wanted => sub { + my $name = $File::Find::name; + return unless -f; + return unless $name =~ m,^\Q$unitdir\E/[^/]+$,; + if (-l) { + my $target = abs_path(readlink()); + $target =~ s,^\Q${oldcwd}\E/,,g; + $aliases{$target} = [ $_ ]; + } else { + error("Unit $name is installed in both the /usr/lib/systemd/system and /lib/systemd/system directories of $package.") + if (grep { $_ eq $name } @installed_units); + push @installed_units, $name; + } + }, + }, $unitdir) if -d $unitdir; + chdir($oldcwd); + } # Handle either only the unit files which were passed as arguments or # all unit files that are installed in this package. @@ -179,8 +183,8 @@ # Try to make the path absolute, so that the user can call # dh_installsystemd bacula-fd.service if ($base eq $name) { - # NB: This works because @installed_units contains - # files from precisely one directory. + # NB: This works because each unit in @installed_units + # comes from exactly one directory. my ($full) = grep { basename($_) eq $base } @installed_units; if (defined($full)) { $name = $full; diff -Nru debhelper-13.6ubuntu1/doc/PROGRAMMING debhelper-13.11.6ubuntu1~ppa~jammy/doc/PROGRAMMING --- debhelper-13.6ubuntu1/doc/PROGRAMMING 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/doc/PROGRAMMING 1970-01-01 00:00:00.000000000 +0000 @@ -1,604 +0,0 @@ -This file documents things you should know to write a new debhelper program. -Any program with a name that begins with dh_ should conform to these -guidelines (with the historical exception of dh_make). - -Standardization: ---------------- - -There are lots of debhelper commands. To make the learning curve shallower, -I want them all to behave in a standard manner: - -All debhelper programs have names beginning with "dh_". This is so we don't -pollute the name space too much. - -Debhelper programs should never output anything to standard output except -error messages, important warnings, and the actual commands they run that -modify files under debian/ (this last only if they are passed -v, and if you -output the commands, you should indent them with 1 tab). This is so we don't -have a lot of noise output when all the debhelper commands in a debian/rules -are run, so the important stuff is clearly visible. - -An exception to above rule are dh_auto_* commands and dh itself. They will -also print the commands interacting with the upstream build system and which -of the simple debhelper programs are called. (i.e. print what a traditional -non-dh(1) using debian/rules would print but nothing else). - -Debhelper programs should accept all options listed in the "SHARED -DEBHELPER OPTIONS" section of debhelper(7), including any long forms of -these options, like --verbose . If necessary, the options may be ignored. - -If debhelper commands need config files, they should use -debian/package.filename as the name of the config file (replace filename -with whatever your command wants), and debian/filename should also be -checked for config information for the first binary package in -debian/control. Also, debhelper commands should accept the same sort of -information that appears in the config files, on their command lines, if -possible, and apply that information to the first package they act on. -The config file format should be as simple as possible, generally just a -list of files to act on. - -Debhelper programs should never modify the debian/postinst, debian/prerm, -etc scripts. Instead, they can add lines to debian/postinst.debhelper, etc. -The autoscript() function (see below) is one easy way to do this. -dh_installdeb is an exception, it will run after the other commands and -merge these modifications into the actual postinst scripts. - -In general, files named debian/*.debhelper and all content in -debian/.debhelper are internal to debhelper, and their existence or -use should not be relied on by external programs such as the build -process of a package. These files will be deleted by dh_clean. - -Debhelper programs should default to doing exactly what policy says to do. - -There are always exceptions. Just ask me. - -Introducing Dh_Lib: ------------------- - -Dh_Lib is the library used by all debhelper programs to parse their -arguments and set some useful variables. It's not mandatory that your -program use Dh_Lib.pm, but it will make it a lot easier to keep it in sync -with the rest of debhelper if it does, so this is highly encouraged. - -Use Dh_Lib like this: - -use Debian::Debhelper::Dh_Lib; -our $VERSION = '1.0'; -init(); - -The init() function causes Dh_lib to parse the command line and do -some other initialization tasks. If present, $main::VERSION will be -used to determine the version of the tool (e.g. embedded into -autoscript snippets). - -Argument processing: -------------------- - -All debhelper programs should respond to certain arguments, such as -v, -i, --a, and -p. To help you make this work right, Dh_Lib.pm handles argument -processing. Just call init(). - -You can add support for additional options to your command by passing an -options hash to init(). The hash is then passed on the Getopt::Long to -parse the command line options. For example, to add a --foo option, which -sets $dh{FOO}: - -init(options => { foo => \$dh{FOO} }); - -After argument processing, some global variables are used to hold the -results; programs can use them later. These variables are elements of the -%dh hash. - -switch variable description --v VERBOSE should the program verbosely output what it is - doing? ---no-act NO_ACT should the program not actually do anything? --i,-a,-p,-N DOPACKAGES a space delimited list of the binary packages - to act on (in Dh_Lib.pm, this is an array) --i DOINDEP set if we're acting on binary independent - packages --a DOARCH set if we're acting on binary dependent - packages --n NOSCRIPTS if set, do not make any modifications to the - package's postinst, postrm, etc scripts. --o ONLYSCRIPTS if set, only make modifications to the - package's scripts, but don't look for or - install associated files. --X EXCLUDE exclude a something from processing (you - decide what this means for your program) - (This is an array) --X EXCLUDE_FIND same as EXCLUDE, except all items are put - into a string in a way that they will make - find find them. (Use ! in front to negate - that, of course) Note that this should - only be used inside complex_doit(), not in - doit(). --d D_FLAG you decide what this means to your program --P TMPDIR package build directory (implies only one - package is being acted on) --u U_PARAMS will be set to a string, that is typically - parameters your program passes on to some - other program. (This is an array) --V V_FLAG will be set to a string, you decide what it - means to your program --V V_FLAG_SET will be 1 if -V was specified, even if no - parameters were passed along with the -V --A PARAMS_ALL generally means that additional command line - parameters passed to the program (other than - those processed here), will apply to all - binary packages the program acts on, not just - the first ---mainpackage MAINPACKAGE controls which package is treated as the - main package to act on ---name NAME a name to use for installed files, instead of - the package name ---error-handler ERROR_HANDLER a function to call on error - -Any additional command line parameters that do not start with "-" will be -ignored, and you can access them later just as you normally would. - -Global variables: ----------------- - -The following keys are also set in the %dh hash when you call init(): - -MAINPACKAGE the name of the first binary package listed in - debian/control -FIRSTPACKAGE the first package we were instructed to act on. This package - typically gets special treatment; additional arguments - specified on the command line may effect it. - -Functions: ---------- - -Dh_Lib.pm also contains a number of functions you may find useful. - -doit([$options, ]@command) - Pass this function an array that is a command with arguments. - It will run the command (unless $dh{NO_ACT} is set), and - if $dh{VERBOSE} is set, it will also output the command to stdout. You - should use this function for almost all commands your program performs - that manipulate files in the package build directories. - - The $options argument (if passed) must be a hashref (added in debhelper 10.7). - The following key-value pairs can be used: - * stdout => A file name. The child process will have its STDOUT redirected - to that file. [debhelper (>= 10.7)] - * chdir => A directory. The child process will do a chdir into that - directory before executing the command. [debhelper (>= 10.9)] - * update_env => A hashref. Each key in it represents an environment variable - that should be set in the child (possibly replacing the existing value) - prior to the exec. If the value is undef, the environment variable will - be unset. Environment variables in %ENV but not listed in the update_env - hashref will be preserved as-is. [debhelper (>= 11.1)] - - This will *not* invoke a shell, so meta characters will not have any special - meaning. Use complex_doit for that (or emulate via "bash -c"). - NB: In compat 11 and below, there was a bug that would make doit fork a shell - in one special case. This is deprecated and will be removed in compat 12. - The detection code for this can be disabled by passing an empty hashref for - as $options. This will make doit unconditionally avoid forking a shell. -print_and_doit([$options, ]@command) - Like doit but will print unless $dh{QUIET} is set. See "Standardization" - above for when this is allowed to be called. -complex_doit($command) - Pass this function a string that is a shell command, it will run it - similarly to how doit() does. You can pass more complicated commands - to this (i.e. commands involving piping redirection), however, you - have to worry about things like escaping shell metacharacters. -verbose_print($message) - Pass this command a string, and it will echo it if $dh{VERBOSE} is set. -nonquiet_print($message) - Pass this command a string, and it will echo it unless $dh{QUIET} is set. - See "Standardization" above for when this is allowed to be called. -error($errormsg) - Pass this command a string, it will output it to standard error and - exit. -error_exitcode($cmd) - Pass this subroutine a string (representing a command line), it will - output a message describing that the command failed to standard error - and exit. Note that this relies on the value of $? to produce a - meaningful error message. Even if $? is 0, this /will/ still terminate - the program (although with a rather unhelpful message). -warning($message) - Pass this command a string, and it will output it to standard error - as a warning message. -tmpdir($dir) - Pass this command the name of a binary package, it will return the - name of the tmp directory that will be used as this package's - package build directory. Typically, this will be "debian/package". -compat($num) - Pass this command a number, and if the current compatibility level - is less than or equal to that number, it will return true. - Looks at DH_COMPAT to get the compatibility level. -pkgfile($package, $basename) - Pass this command the name of a binary package, and the base name of a - file, and it will return the actual filename to use. This is used - for allowing debhelper programs to have configuration files in the - debian/ directory, so there can be one config file per binary - package. The convention is that the files are named - debian/package.filename, and debian/filename is also allowable for - the $dh{MAINPACKAGE}. If the file does not exist, nothing is returned. - - If the *entire* behavior of a command, when run without any special - options, is determined by the existence of 1 or more pkgfiles, - or by the existence of a file or directory in a location in the - tmpdir, it can be marked as such, which allows dh to automatically - skip running it. Please see "Optimization techniques" below. - -pkgext($package) - Pass this command the name of a binary package, and it will return - the name to prefix to files in debian/ for this package. For the - $dh{MAINPACKAGE}, it returns nothing (there is no prefix), for the other - packages, it returns "package.". -isnative($package) - Pass this command the name of a package, it returns 1 if the package - is a native debian package. - As a side effect, $dh{VERSION} is set to the version number of the - package. -autoscript($package, $scriptname, $snippetname, $substparam) - Pass parameters: - - binary package to be affected - - script to add to - - filename of snippet. For testing purposes, you can set the - environment variable DH_DATAFILES containing a autoscripts - directory, which can be used to shadow the snippets provided - in /usr/share/debhelper/autoscripts (or to test newly added - snippets). - Older versions of debhelper (<< 13.1~) does not support - DH_DATAFILES. If you need to support debhelper (<< 13.1~) - then you can set DH_AUTOSCRIPTDIR to a directory containing - the snippets instead (note it should point to the autoscripts - directory unlike DH_DATAFILES). - - (optional) A substitution parameter, which is one of 3 types: - * sed commands to run on the snippet. E.g. s/#PACKAGE#/$PACKAGE/ - Note: Passed to the shell inside double quotes. - * a perl sub to invoke with $_ set to each line of the snippet - in turn. - * a hashref, where each key will substitute "#${key}#" with the - value that $key points to. [debhelper (>= 10.7)] - This command automatically adds shell script snippets to a debian - maintainer script (like the postinst or prerm). - Note that in v6 mode and up, the snippets are added in reverse - order for the removal scripts. -autotrigger($package, $trigger_type, $trigger_target) - This command automatically adds a trigger to the package. The - parameters: - - binary package to be affected - - the type of trigger (e.g. "activate-noawait") - - the target (e.g. "ldconfig" or "/usr/share/foo") -dirname($pathname) - Return directory part of pathname. -basename($pathname) - Return base of pathname, -addsubstvar($package, $substvar, $deppackage, $verinfo, $remove) - This function adds a dependency on some package to the specified - substvar in a package's substvar's file. It needs all these - parameters: - - binary package that gets the item - - name of the substvar to add the item to - - the package that will be depended on - - version info for the package (optional) (i.e. ">= 1.1") - - if this last parameter is passed, the thing that would be added - is removed instead. This can be useful to ensure that a debhelper - command is idempotent. (However, we generally don't bother, - and rely on the user calling dh_prep.) Note that without this - parameter, if you call the function twice with the same values it - will only add one item to the substvars file. -delsubstvar($package, $substvar) - This function removes the entire line for the substvar from the - package's shlibs file. -excludefile($filename) - This function returns true if -X has been used to ask for the file - to be excluded. -is_udeb($package) - Returns true if the package is marked as a udeb in the control - file. -getpackages($type) - Returns a list of packages in the control file. - Pass "arch" or "indep" to specify arch-dependent or - -independent. If $type is omitted, returns all - packages (including packages that are not built - for this architecture). Pass "both" to get the union - of "arch" and "indep" packages. - Note that "both" is *not* the same omitting the $type parameter. - As a side effect, populates %package_arches and %package_types with - the types of all packages (not only those returned). -get_source_date_epoch() - Return the value of $ENV{SOURCE_DATE_EPOCH} if exists. - Otherwise compute the value from the first changelog entry, - use it to set the ENV variable and return it. -inhibit_log() - Prevent logging the program's successful finish to - debian/*debhelper.log - - Since debhelper/12.9, this can be done by passing the inhibit_log - option with a value of 1 to init() instead. E.g. - init('inhibit_log' => 1); -load_log($package, $hashref) - Loads the log file for the given package and returns a list of - logged commands. - (Passing a hashref also causes it to populate the hash.) -write_log($cmd, $package ...) - Writes the log files for the specified package(s), adding - the cmd to the end. -restore_file_on_clean($file) - Store a copy of $file, which will be restored by dh_clean. - The $file *must* be a relative path to the package root and - *must* be a real regular file. Dirs, devices and symlinks - (and everything else) *cannot* be restored by this. - If $file is passed multiple times (e.g. from different programs) - only the first version is stored. - CAVEAT: This *cannot* undo arbitrary "rm -fr"'ing. The dir, - which is/was in $file, must be present when dh_clean is called. -make_symlink($src, $dest, $tmp) - Creates a Policy compliant system link called $dest pointing to - $src. If $tmp is given, then $tmp will be prefixed to $dest when - creating the actual symlink. -install_dh_config_file($src, $dest[, $mode]) - Installs $src into $dest with $mode (defaults to 0644). If - compat is 9 (or later) and $src is executable, $src will be - executed instead and its output will be used to generate the - $dest file. -install_dir(@dirs) - Create the directories denoted by the paths in @dirs and all - parent entries as well (as needed). It uses mode 0755. - If a directory listed in @dirs already exists, the function - silently skips that directory (similar to mkdir -p). -install_file($src, $dest) - Installs $src into $dest with mode 0644. The parent dir of - $dest must exist (can be created with install_dir). - This is intended for installing regular non-executable files. -install_prog($src, $dest) - Installs $src into $dest with mode 0755. The parent dir of - $dest must exist (can be created with install_dir). - This is intended for installing scripts or binaries. -install_lib($src, $dest) - Installs a library at the path $src into $dest. The parent - dir of $dest must exist (can be created with install_dir). - This is intended for installing libraries. -reset_perm_and_owner($mode, $path...) - Resets the ownership and mode (POSIX permissions) of $path - This is useful for files created directly by the script, but - it not necessary for files installed via the install_* - functions. - The file owner and group is set to "root:root". The change - is only done on the exact paths listed (i.e. it is *not* - recursive). - Mode should be passed as an integer (not a string). -open_gz($file) - Open $file, read from it as a gzip-compressed file and return - the file handle. - Depending on runtime features, it might be a pipe from an - external process (which will die with a "SIGPIPE" if you - do not consume all the input) -deprecated_functionality($warn_msg[, $rm_compat[, $rm_msg]]) - Emit $warn_msg as a deprecation warning, or error out if $rm_compat - is provided and equal to (or greater than) the active compat level. - The $rm_msg parameter can be used to provide a custom error message - in the latter case (if omitted, $warn_msg will be used in both cases). - The function will provide a separate diagnostic about which compat - level that will remove/removed the functionality if $rm_compat is - given. -log_installed_files($package, @paths) - Creates a logfile (in debian/.debhelper/generated) for the helper's - processing of $package, which installed the files listed in - @paths. This logfile will later be used by the dh_missing helper. - Paths should be relative to the package root (i.e. the directory - containing "debian/") and should not have superfluous segments - (e.g. avoid "foo/../bar" or "foo/./bar") - If a directory is listed, it and all paths recursively beneath is - also considered installed. -on_pkgs_in_parallel($code) - prototype: (&) - Short hand for on_items_in_parallel with $dh{DOPACKAGES} as - as list of packages. -on_items_in_parallel($item_list_ref, $code) - Splits all the items in $item_list_ref into a number of groups - based on the max parallel (as decided by DEB_BUILD_OPTIONS) - A subprocess is forked for each group (minimum 1 process will be - forked) and each subprocess will be given a group of items - to process. Each group is passed to the $code sub, which will - then process it and return normally on success. - Example: - my @all_packages = getpackages(); - on_items_in_parallel(\@all_packages, sub { - for my $package (@_) { - my $tmp=tmpdir($package); - my $pkgfile = pkgfile($package, 'foo'); - ...; - } - }); - my @work_list = compute_work_list(); - on_items_in_parallel(\@work_list, sub { - for my $item (@_) { - ...; - } - }); - - If there is an error, which should stop the build, please invoke - either "error()" or "error_exitcode". Alternatively, a trappable - error (e.g. "die($msg)") can also be used. - - Keep in mind that the sub will always be run in a subprocess, - so it cannot update global state. - -Sequence Addons: ---------------- - -The dh(1) command has a --with parameter that can be used to load -a sequence addon module named Debian::Debhelper::Sequence::. -These modules can add/remove commands to the dh command sequences, by -calling some functions from Dh_Lib: - -insert_before($existing_command, $new_command) - Insert $new_command in sequences before $existing_command - - Compatible with "arch-only"/"indep-only" modes if the command - appears only in a compatible sequence. - -insert_after($existing_command, $new_command) - Insert $new_command in sequences after $existing_command - - Compatible with "arch-only"/"indep-only" modes if the command - appears only in a compatible sequence. - -remove_command($existing_command) - Remove $existing_command from the list of commands to run - in all sequences. - - Cannot be used in "arch-only"/"indep-only" mode. - -add_command($new_command, $sequence) - Add $new_command to the beginning of the specified sequence. - If the sequence does not exist, it will be created. - - Compatible with "arch-only"/"indep-only" modes if $sequence - is an "-arch" or "-indep" sequence (respectively). - -add_command_options($command, $opt1, $opt2, ...) - Append $opt1, $opt2 etc. to the list of additional options which - dh passes when running the specified $command. These options are - not relayed to debhelper commands called via $command override. - - Cannot be used in "arch-only"/"indep-only" mode. - -remove_command_options($command) - Clear all additional $command options previously added with - add_command_options(). - - Cannot be used in "arch-only"/"indep-only" mode. - -remove_command_options($command, $opt1, $opt2, ...) - Remove $opt1, $opt2 etc. from the list of additional options which - dh passes when running the specified $command. - - Cannot be used in "arch-only"/"indep-only" mode. - -declare_command_obsolete([$error_compat, ]$command) - Declare $command as obsolete, which make dh warn about leftover - override / hook targets. Note that $command MUST NOT be present - in the sequence! - - The $error_compat parameter defines the compat level where - referencing this command via a hook target will become an error. - This must be at least 13 (which is the default if omitted). - Be careful with using already closed compat levels as error compat - for new commands as it will cause FTBFS. - - Cannot be used in "arch-only"/"indep-only" mode. - - -Optimization techniques: ------------------------- - -Most debhelper tools will have situations where they are not useful and can -be skipped. To support this, dh will look for a "NOOP PROMISE" as a part of -a comment in the command before running it. These promises have the form: - - # PROMISE: DH NOOP WITHOUT pkgfile-logged(pkgfileA) pkgfile-logged(pkgfileB) tmp(need/this) cli-options() - -The following keywords are defined: - - * pkgfile(X): The command might do something if debian/X (or debian/.X) - exist for any of the packages it will be run for. If the debhelper tool - interacts with dh_missing, you always want to use pkgfile-logged(X) instead. - - * pkgfile-logged(X): Same as pkgfile(X) but it will also register which files - it handles so dh_missing can see it. - - * tmp(X): The command might do something if debian//X exists. - - * cli-options(--foo|--bar): The command might do something if *either* --foo - OR --bar are passed to the command. - - * cli-options(BUILDSYSTEM): The command is a build system command (dh_auto_*) - and will react to standard build system command line options. - - * cli-options(): Special variant of cli-options() to declare that command line - options will not affect whether the tool will do something. This enables - dh to skip commands even when passed custom options. Without an explicit - cli-option(...) hint, dh will assume the command might react to it. - -If the hint is present and ALL of the keywords imply that the command can be -skipped, dh will skip the command. - -Logging helpers and dh_missing: -------------------------------- - -Since debhelper 10.3, debhelper has had a helper called "dh_missing". It -takes over the "--list-missing" and "--fail-missing" options from dh_install -and as the advantage that it can "see" what other helpers have installed. - -Under the hood, this works by the helpers logging the source files -they (would) install to a hidden log file. When dh_missing is called, -it reads all these log files to determine which files have would been -installed and compare them to what is present. - -If you are writing a helper that need to integrate with dh_missing, -here is what you do: - -Dh_Lib-based helpers: -~~~~~~~~~~~~~~~~~~~~~ - - * Replace "@{$dh{DOPACKAGES}}" with "getpackages()" and use - "process_pkg($package)" to determine if the helper should actually - install anything. - * Call "log_installed_files" at least once per package (even on the ones - that are not to be acted on) with a list of source files that would be - installed. - - You can list entire directories even if there are files under - it that are ignored. - - Please call "log_installed_files" /even if/ the list is empty for that - packages. This enables dh_missing to see that the helper has been run - and nothing should be installed for that package. - - Prefer calling "log_installed_files" /exactly once/ per package as - this is what it is optimized for. - * If your helper has a PROMISE, it must use "pkgfile-logged()" - for its config files. (See #867246) - - CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior - to that version, debhelper will wrongly optimize your helper out. - * Consider using dh_installman or dh_installexamples as examples. - -Other helpers: -~~~~~~~~~~~~~~ - - * The helper must compile a list of files it would have installed for - each package (even packages that are not acted on). The file list - should be relative to the source package root (e.g. - "debian/tmp/usr/bin/bar"). - - This list can also contain directories. They will be flagged as - installed along with their content (recursively). - * The helper must append to the file (create it if missing): - debian/.debhelper/generated/${package}/installed-by-${HELPER_NAME} - - Example: debian/.debhelper/generated/lintian/installed-by-dh_install - - The file should be created even if it is empty. This enables dh_missing - to see that the helper has been run and nothing would be installed for - that package. - * Please append to the file if it exists as the helper may be called multiple - times (once with -a and once with -i). It is completely fine if this leaves - duplicate entries as dh_missing will deduplicate these. - * If your helper has a PROMISE, it must use "pkgfile-logged()" - for its config files. (See #867246) - - CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior - to that version, debhelper will wrongly optimize your helper out. - -Buildsystem Classes: --------------------- - -The dh_auto_* commands are frontends that use debhelper buildsystem -classes. These classes have names like Debian::Debhelper::Buildsystem::foo, -and are derived from Debian::Debhelper::Buildsystem, or other, related -classes. - -A buildsystem class needs to inherit or define these methods: DESCRIPTION, -check_auto_buildable, configure, build, test, install, clean. See the comments -inside Debian::Debhelper::Buildsystem for details. Note that this interface -is still subject to change. - -Note that third-party buildsystems will not automatically be used by -default. The package maintainer will either have to explicitly enable -it via the --buildsystem parameter OR the build system should be -registered in debhelper. The latter is currently needed to ensure a -stable and well-defined ordering of the build systems. - --- Joey Hess diff -Nru debhelper-13.6ubuntu1/doc/PROGRAMMING.md debhelper-13.11.6ubuntu1~ppa~jammy/doc/PROGRAMMING.md --- debhelper-13.6ubuntu1/doc/PROGRAMMING.md 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/doc/PROGRAMMING.md 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,694 @@ +# PROGRAMMING + +This file documents things you should know to write a new debhelper program. +Any program with a name that begins with `dh_` should conform to these +guidelines (with the historical exception of `dh_make`). + +## Standardization + +There are lots of debhelper commands. To make the learning curve shallower, +I want them all to behave in a standard manner: + +All debhelper programs have names beginning with `dh_`. This is so we don't +pollute the name space too much. + +Debhelper programs should never output anything to standard output except +error messages, important warnings, and the actual commands they run that +modify files under `debian/` (this last only if they are passed `-v`, and if you +output the commands, you should indent them with 1 tab). This is so we don't +have a lot of noise output when all the debhelper commands in a `debian/rules` +are run, so the important stuff is clearly visible. + +An exception to above rule are `dh_auto_*` commands and `dh` itself. They will +also print the commands interacting with the upstream build system and which +of the simple debhelper programs are called. (i.e. print what a traditional +non-[dh(1)] using `debian/rules` would print but nothing else). + +Debhelper programs should accept all options listed in the "SHARED +DEBHELPER OPTIONS" section of [debhelper(7)], including any long forms of +these options, like `--verbose`. If necessary, the options may be ignored. + +If debhelper commands need config files, they should use +`debian/package.filename` as the name of the config file (replace filename +with whatever your command wants), and `debian/filename` should also be +checked for config information for the first binary package in +`debian/control`. Also, debhelper commands should accept the same sort of +information that appears in the config files, on their command lines, if +possible, and apply that information to the first package they act on. +The config file format should be as simple as possible, generally just a +list of files to act on. + +Debhelper programs should never modify the `debian/postinst`, `debian/prerm`, +etc scripts. Instead, they can add lines to `debian/postinst.debhelper`, etc. +The `autoscript()` function (see below) is one easy way to do this. +`dh_installdeb` is an exception, it will run after the other commands and +merge these modifications into the actual postinst scripts. + +In general, files named `debian/*.debhelper` and all content in +`debian/.debhelper` are internal to debhelper, and their existence or +use should not be relied on by external programs such as the build +process of a package. These files will be deleted by `dh_clean`. + +Debhelper programs should default to doing exactly what policy says to do. + +There are always exceptions. Just ask me. + +## Introducing Dh_Lib + +`Dh_Lib` is the library used by all debhelper programs to parse their +arguments and set some useful variables. It's not mandatory that your +program use `Dh_Lib.pm`, but it will make it a lot easier to keep it in sync +with the rest of debhelper if it does, so this is highly encouraged. + +Use `Dh_Lib` like this: + + use Debian::Debhelper::Dh_Lib; + our $VERSION = '1.0'; + init(); + +The `init()` function causes `Dh_lib` to parse the command line and do +some other initialization tasks. If present, `$main::VERSION` will be +used to determine the version of the tool (e.g. embedded into +autoscript snippets). + +## Argument processing + +All debhelper programs should respond to certain arguments, such as `-v`, `-i`, +`-a`, and `-p`. To help you make this work right, `Dh_Lib.pm` handles argument +processing. Just call `init()`. + +You can add support for additional options to your command by passing an +options hash to `init()`. The hash is then passed on the `Getopt::Long` to +parse the command line options. For example, to add a `--foo` option, which +sets `$dh{FOO}`: + + init(options => { foo => \$dh{FOO} }); + +After argument processing, some global variables are used to hold the +results; programs can use them later. These variables are elements of the +`%dh` hash. + +| switch | variable | description | +|---------------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `-v` | `VERBOSE` | should the program verbosely output what it is doing? | +| `--no-act` | `NO_ACT` | should the program not actually do anything? | +| `-i`,`-a`,`-p`,`-N` | `DOPACKAGES` | a space delimited list of the binary packages to act on (in `Dh_Lib.pm`, this is an array) | +| `-i` | `DOINDEP` | set if we're acting on binary independent packages | +| `-a` | `DOARCH` | set if we're acting on binary dependent packages | +| `-n` | `NOSCRIPTS` | if set, do not make any modifications to the package's postinst, postrm, etc scripts. | +| `-o` | `ONLYSCRIPTS` | if set, only make modifications to the package's scripts, but don't look for or install associated files. | +| `-X` | `EXCLUDE` | exclude something from processing (you decide what this means for your program) (This is an array) | +| `-X` | `EXCLUDE_FIND` | same as `EXCLUDE`, except all items are put into a string in a way that they will make find find them. (Use `!` in front to negate that, of course) Note that this should only be used inside `complex_doit()`, not in `doit()`. | +| `-d` | `D_FLAG` | you decide what this means to your program | +| `-P` | `TMPDIR` | package build directory (implies only one package is being acted on) | +| `-u` | `U_PARAMS` | will be set to a string, that is typically parameters your program passes on to some other program. (This is an array) | +| `-V` | `V_FLAG` | will be set to a string, you decide what it means to your program | +| `-V` | `V_FLAG_SET` | will be 1 if `-V` was specified, even if no parameters were passed along with the `-V` | +| `-A` | `PARAMS_ALL` | generally means that additional command line parameters passed to the program (other than those processed here), will apply to all binary packages the program acts on, not just the first | +| `--mainpackage` | `MAINPACKAGE` | controls which package is treated as the main package to act on | +| `--name` | `NAME` | a name to use for installed files, instead of the package name | +| `--error-handler` | `ERROR_HANDLER` | a function to call on error | + +Any additional command line parameters that do not start with "`-`" will be +ignored, and you can access them later just as you normally would. + +## Global variables + +The following keys are also set in the `%dh` hash when you call `init()`: + +- `MAINPACKAGE` + + the name of the first binary package listed in `debian/control` + +- `FIRSTPACKAGE` + + the first package we were instructed to act on. This package + typically gets special treatment; additional arguments + specified on the command line may effect it. + +## Functions + +`Dh_Lib.pm` also contains a number of functions you may find useful. + +- `doit([$options, ]@command)` + + Pass this function an array that is a command with arguments. + It will run the command (unless `$dh{NO_ACT}` is set), and + if `$dh{VERBOSE}` is set, it will also output the command to stdout. You + should use this function for almost all commands your program performs + that manipulate files in the package build directories. + + The `$options` argument (if passed) must be a hashref (added in debhelper 10.7). + The following key-value pairs can be used: + + - `stdout` => A file name. The child process will have its STDOUT redirected + to that file. [debhelper (>= 10.7)] + - `chdir` => A directory. The child process will do a chdir into that + directory before executing the command. [debhelper (>= 10.9)] + - `update_env` => A hashref. Each key in it represents an environment variable + that should be set in the child (possibly replacing the existing value) + prior to the exec. If the value is undef, the environment variable will + be unset. Environment variables in `%ENV` but not listed in the `update_env` + hashref will be preserved as-is. [debhelper (>= 11.1)] + + This will *not* invoke a shell, so meta characters will not have any special + meaning. Use `complex_doit` for that (or emulate via `bash -c`). + NB: In compat 11 and below, there was a bug that would make `doit` fork a shell + in one special case. This is deprecated and will be removed in compat 12. + The detection code for this can be disabled by passing an empty hashref for + as `$options`. This will make doit unconditionally avoid forking a shell. + +- `print_and_doit([$options, ]@command)` + + Like `doit` but will print unless `$dh{QUIET}` is set. See "Standardization" + above for when this is allowed to be called. + +- `complex_doit($command)` + + Pass this function a string that is a shell command, it will run it + similarly to how `doit()` does. You can pass more complicated commands + to this (i.e. commands involving piping redirection), however, you + have to worry about things like escaping shell metacharacters. + +- `verbose_print($message)` + + Pass this command a string, and it will echo it if `$dh{VERBOSE}` is set. + +- `nonquiet_print($message)` + + Pass this command a string, and it will echo it unless `$dh{QUIET}` is set. + See "Standardization" above for when this is allowed to be called. + +- `error($errormsg)` + + Pass this command a string, it will output it to standard error and + exit. + +- `error_exitcode($cmd)` + + Pass this subroutine a string (representing a command line), it will + output a message describing that the command failed to standard error + and exit. Note that this relies on the value of `$?` to produce a + meaningful error message. Even if `$?` is `0`, this *will* still terminate + the program (although with a rather unhelpful message). + +- `warning($message)` + + Pass this command a string, and it will output it to standard error + as a warning message. + +- `tmpdir($dir)` + + Pass this command the name of a binary package, it will return the + name of the tmp directory that will be used as this package's + package build directory. Typically, this will be `debian/package`. + +- `compat($num)` + + Pass this command a number, and if the current compatibility level + is less than or equal to that number, it will return true. + Looks at `DH_COMPAT` to get the compatibility level. + +- `pkgfile($package, $basename)` + + Pass this command the name of a binary package, and the base name of a + file, and it will return the actual filename to use. This is used + for allowing debhelper programs to have configuration files in the + `debian/` directory, so there can be one config file per binary + package. The convention is that the files are named + `debian/package.filename`, and `debian/filename` is also allowable for + the `$dh{MAINPACKAGE}`. If the file does not exist, nothing is returned. + + If the *entire* behavior of a command, when run without any special + options, is determined by the existence of 1 or more pkgfiles, + or by the existence of a file or directory in a location in the + tmpdir, it can be marked as such, which allows dh to automatically + skip running it. Please see "Optimization techniques" below. + +- `pkgext($package)` + + Pass this command the name of a binary package, and it will return + the name to prefix to files in `debian/` for this package. For the + `$dh{MAINPACKAGE}`, it returns nothing (there is no prefix), for the other + packages, it returns `package.`. + +- `isnative($package)` + + Pass this command the name of a package, it returns 1 if the package + is a native debian package. + As a side effect, `$dh{VERSION}` is set to the version number of the + package. + +- `autoscript($package, $scriptname, $snippetname, $substparam)` + + Pass parameters: + - binary package to be affected + - script to add to + - filename of snippet. For testing purposes, you can set the + environment variable `DH_DATAFILES` containing a autoscripts + directory, which can be used to shadow the snippets provided + in `/usr/share/debhelper/autoscripts` (or to test newly added + snippets). + Older versions of debhelper (<< 13.1~) do not support + `DH_DATAFILES`. If you need to support debhelper (<< 13.1~) + then you can set `DH_AUTOSCRIPTDIR` to a directory containing + the snippets instead (note it should point to the autoscripts + directory unlike `DH_DATAFILES`). + + - (optional) A substitution parameter, which is one of 3 types: + - sed commands to run on the snippet, e.g. `s/#PACKAGE#/$PACKAGE/`. + Note: Passed to the shell inside double quotes. + - a perl sub to invoke with `$_` set to each line of the snippet + in turn. + - a hashref, where each key will substitute `#${key}#` with the + value that `$key` points to. [debhelper (>= 10.7)] + + This command automatically adds shell script snippets to a debian + maintainer script (like the postinst or prerm). + Note that in v6 mode and up, the snippets are added in reverse + order for the removal scripts. + +- `autotrigger($package, $trigger_type, $trigger_target)` + + This command automatically adds a trigger to the package. The + parameters: + - binary package to be affected + - the type of trigger (e.g. "activate-noawait") + - the target (e.g. `ldconfig` or `/usr/share/foo`) + +- `dirname($pathname)` + + Return directory part of pathname. + +- `basename($pathname)` + + Return base of pathname, + +- `addsubstvar($package, $substvar, $deppackage, $verinfo, $remove)` + + This function adds a dependency on some package to the specified + substvar in a package's substvar's file. It needs all these + parameters: + - binary package that gets the item + - name of the substvar to add the item to + - the package that will be depended on + - version info for the package (optional) (i.e. ">= 1.1") + - if this last parameter is passed, the thing that would be added + is removed instead. This can be useful to ensure that a debhelper + command is idempotent. (However, we generally don't bother, + and rely on the user calling `dh_prep`.) Note that without this + parameter, if you call the function twice with the same values it + will only add one item to the substvars file. + +- `delsubstvar($package, $substvar)` + + This function removes the entire line for the substvar from the + package's shlibs file. + +- `excludefile($filename)` + + This function returns true if `-X` has been used to ask for the file + to be excluded. + +- `is_udeb($package)` + + Returns true if the package is marked as a udeb in the control + file. + +- `getpackages($type)` + + Returns a list of packages in the control file. + Pass "arch" or "indep" to specify arch-dependent or + -independent. If `$type` is omitted, returns all + packages (including packages that are not built + for this architecture). Pass "both" to get the union + of "arch" and "indep" packages. + Note that "both" is *not* the same omitting the `$type` parameter. + As a side effect, populates `%package_arches` and `%package_types` with + the types of all packages (not only those returned). + +- `get_source_date_epoch()` + + Return the value of `$ENV{SOURCE_DATE_EPOCH}` if exists. + Otherwise compute the value from the first changelog entry, + use it to set the ENV variable and return it. + +- `inhibit_log()` + + Prevent logging the program's successful finish to + `debian/*debhelper.log` + + Since debhelper 12.9, this can be done by passing the `inhibit_log` + option with a value of 1 to `init()` instead. E.g. + + init('inhibit_log' => 1); + +- `load_log($package, $hashref)` + + Loads the log file for the given package and returns a list of + logged commands. + (Passing a hashref also causes it to populate the hash.) + +- `write_log($cmd, $package ...)` + + Writes the log files for the specified package(s), adding + the cmd to the end. + +- `restore_file_on_clean($file)` + + Store a copy of `$file`, which will be restored by `dh_clean`. + The `$file` *must* be a relative path to the package root and + *must* be a real regular file. Dirs, devices and symlinks + (and everything else) *cannot* be restored by this. + If `$file` is passed multiple times (e.g. from different programs) + only the first version is stored. + CAVEAT: This *cannot* undo arbitrary "rm -fr"'ing. The dir, + which the `$file` is/was in, must be present when `dh_clean` is + called. + +- `make_symlink($src, $dest, $tmp)` + + Creates a Policy compliant system link called `$dest` pointing to + `$src`. If `$tmp` is given, then `$tmp` will be prefixed to `$dest` + when creating the actual symlink. + +- `install_dh_config_file($src, $dest)` + + Installs `$src` into `$dest` using mode 0644. + If compat is 9 (or later) and `$src` is executable, `$src` will + be executed instead and its output will be used to generate the + `$dest` file. + +- `install_dir(@dirs)` / `mkdirs(@dirs)` + + Create the directories denoted by the paths in `@dirs` and all + parent entries as well (as needed). It uses mode 0755. + If a directory listed in `@dirs` already exists, the function + silently skips that directory (similar to `mkdir -p`). + + The `install_dir` function should be used for directories + installed in a final package while `mkdirs` should be used + for other directories. The difference is related to whether + the change will be shown via -v/--verbose or not. The + `mkdirs` function requires `debhelper (>= 13.11~)`. + +- `install_file($src, $dest)` + + Installs `$src` into `$dest` with mode 0644. The parent dir of + `$dest` must exist (can be created with `install_dir`). + This is intended for installing regular non-executable files. + +- `install_prog($src, $dest)` + + Installs `$src` into `$dest` with mode 0755. The parent dir of + `$dest` must exist (can be created with `install_dir`). + This is intended for installing scripts or binaries. + +- `install_lib($src, $dest)` + + Installs a library at the path `$src` into `$dest`. The parent + dir of `$dest` must exist (can be created with `install_dir`). + This is intended for installing libraries. + +- `reset_perm_and_owner($mode, $path...)` + + Resets the ownership and mode (POSIX permissions) of `$path` + This is useful for files created directly by the script, but + it not necessary for files installed via the `install_*` + functions. + The file owner and group is set to "root:root". The change + is only done on the exact paths listed (i.e. it is *not* + recursive). + Mode should be passed as an integer (not a string). + +- `open_gz($file)` + + Open `$file`, read from it as a gzip-compressed file and return + the file handle. + Depending on runtime features, it might be a pipe from an + external process (which will die with a "SIGPIPE" if you + do not consume all the input) + +- `deprecated_functionality($warn_msg[, $rm_compat[, $rm_msg]])` + + Emit `$warn_msg` as a deprecation warning, or error out if `$rm_compat` + is provided and equal to (or greater than) the active compat level. + The `$rm_msg` parameter can be used to provide a custom error message + in the latter case (if omitted, `$warn_msg` will be used in both cases). + The function will provide a separate diagnostic about which compat + level that will remove/removed the functionality if `$rm_compat` is + given. + +- `log_installed_files($package, @paths)` + + Creates a logfile (in `debian/.debhelper/generated`) for the helper's + processing of `$package`, which installed the files listed in + `@paths`. This logfile will later be used by the `dh_missing` helper. + Paths should be relative to the package root (i.e. the directory + containing `debian/`) and should not have superfluous segments + (e.g. avoid `foo/../bar` or `foo/./bar`). + If a directory is listed, it and all paths recursively beneath is + also considered installed. + +- `on_pkgs_in_parallel($code)` - prototype: (&) + + Short hand for `on_items_in_parallel` with `$dh{DOPACKAGES}` as + as list of packages. + +- `on_items_in_parallel($item_list_ref, $code)` + + Splits all the items in `$item_list_ref` into a number of groups + based on the max parallel (as decided by `DEB_BUILD_OPTIONS`) + A subprocess is forked for each group (minimum 1 process will be + forked) and each subprocess will be given a group of items + to process. Each group is passed to the `$code` sub, which will + then process it and return normally on success. + Example: + + my @all_packages = getpackages(); + on_items_in_parallel(\@all_packages, sub { + for my $package (@_) { + my $tmp=tmpdir($package); + my $pkgfile = pkgfile($package, 'foo'); + ...; + } + }); + my @work_list = compute_work_list(); + on_items_in_parallel(\@work_list, sub { + for my $item (@_) { + ...; + } + }); + + If there is an error, which should stop the build, please invoke + either `error()` or `error_exitcode`. Alternatively, a trappable + error (e.g. `die($msg)`) can also be used. + + Keep in mind that the sub will always be run in a subprocess, + so it cannot update global state. + +## Sequence Addons + +The [dh(1)] command has a `--with ` parameter that can be used to load +a sequence addon module named `Debian::Debhelper::Sequence::`. +These modules can add/remove commands to the dh command sequences, by +calling some functions from `Dh_Lib`: + +- `insert_before($existing_command, $new_command)` + + Insert `$new_command` in sequences before `$existing_command` + + Compatible with "arch-only"/"indep-only" modes if the command + appears only in a compatible sequence. + +- `insert_after($existing_command, $new_command)` + + Insert `$new_command` in sequences after `$existing_command` + + Compatible with "arch-only"/"indep-only" modes if the command + appears only in a compatible sequence. + +- `remove_command($existing_command)` + + Remove `$existing_command` from the list of commands to run + in all sequences. + + Cannot be used in "arch-only"/"indep-only" mode. + +- `add_command($new_command, $sequence)` + + Add `$new_command` to the beginning of the specified sequence. + If the sequence does not exist, it will be created. + + Compatible with "arch-only"/"indep-only" modes if `$sequence` + is an "-arch" or "-indep" sequence (respectively). + +- `add_command_options($command, $opt1, $opt2, ...)` + + Append `$opt1`, `$opt2` etc. to the list of additional options which + dh passes when running the specified `$command`. These options are + not relayed to debhelper commands called via `$command` override. + + Cannot be used in "arch-only"/"indep-only" mode. + +- `remove_command_options($command)` + + Clear all additional `$command` options previously added with + `add_command_options()`. + + Cannot be used in "arch-only"/"indep-only" mode. + +- `remove_command_options($command, $opt1, $opt2, ...)` + + Remove `$opt1`, `$opt2` etc. from the list of additional options which + dh passes when running the specified `$command`. + + Cannot be used in "arch-only"/"indep-only" mode. + +- `declare_command_obsolete([$error_compat, ]$command)` + + Declare `$command` as obsolete, which make dh warn about leftover + override / hook targets. Note that `$command` *MUST NOT* be present + in the sequence! + + The `$error_compat` parameter defines the compat level where + referencing this command via a hook target will become an error. + This must be at least 13 (which is the default if omitted). + Be careful with using already closed compat levels as error compat + for new commands as it will cause FTBFS. + + Cannot be used in "arch-only"/"indep-only" mode. + +## Optimization techniques + +Most debhelper tools will have situations where they are not useful and can +be skipped. To support this, dh will look for a "NOOP PROMISE" as a part of +a comment in the command before running it. These promises have the form: + + # PROMISE: DH NOOP WITHOUT pkgfile-logged(pkgfileA) pkgfile-logged(pkgfileB) tmp(need/this) cli-options() + +The following keywords are defined: + +- `pkgfile(X)`: The command might do something if `debian/X` (or `debian/.X`) + exist for any of the packages it will be run for. If the debhelper tool + interacts with `dh_missing`, you always want to use `pkgfile-logged(X)` instead. + +- `pkgfile-logged(X)`: Same as `pkgfile(X)` but it will also register which files + it handles so `dh_missing` can see it. + +- `tmp(X)`: The command might do something if `debian//X` exists. + +- `cli-options(--foo|--bar)`: The command might do something if *either* `--foo` + OR `--bar` are passed to the command. + +- `cli-options(BUILDSYSTEM)`: The command is a build system command (`dh_auto_*`) + and will react to standard build system command line options. + +- `cli-options()`: Special variant of `cli-options()` to declare that command + line options will not affect whether the tool will do something. This enables + dh to skip commands even when passed custom options. Without an explicit + `cli-option(...)` hint, dh will assume the command might react to it. + +If the hint is present and ALL of the keywords imply that the command can be +skipped, dh will skip the command. + +## Logging helpers and dh_missing + +Since debhelper 10.3, debhelper has had a helper called `dh_missing`. It +takes over the `--list-missing` and `--fail-missing` options from `dh_install` +and as the advantage that it can "see" what other helpers have installed. + +Under the hood, this works by the helpers logging the source files +they (would) install to a hidden log file. When `dh_missing` is called, +it reads all these log files to determine which files have would been +installed and compare them to what is present. + +If you are writing a helper that need to integrate with `dh_missing`, +here is what you do: + +### Dh_Lib-based helpers + +- Replace `@{$dh{DOPACKAGES}}` with `getpackages()` and use + `process_pkg($package)` to determine if the helper should actually + install anything. +- Call `log_installed_files` at least once per package (even on the ones + that are not to be acted on) with a list of source files that would be + installed. + - You can list entire directories even if there are files under + it that are ignored. + - Please call `log_installed_files` *even if* the list is empty for that + packages. This enables `dh_missing` to see that the helper has been run + and nothing should be installed for that package. + - Prefer calling `log_installed_files` *exactly once* per package as + this is what it is optimized for. +- If your helper has a `PROMISE`, it must use `pkgfile-logged()` + for its config files. (See [#867246]) + - CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior + to that version, debhelper will wrongly optimize your helper out. +- Consider using `dh_installman` or `dh_installexamples` as examples. + +### Other helpers - via dh_assistant log-installed-files + +This process requires debhelper/13.10 or later. + +- The helper must compile a list of files it would have installed for + each package (even packages that are not acted on). The file list + should be relative to the source package root (e.g. + `debian/tmp/usr/bin/bar`). + - This list can also contain directories. They will be flagged as + installed along with their content (recursively). +- Invoke `dh_assistant log-installed-files --on-behalf-of-cmd=${HELPER_NAME} -p${package} ${PATHS}` + - Invoking `dh_assistant` when your tool has no paths to log is + still recommended to let dh_missing that your tool had nothing + to record. + - Prefer calling `dh_assistant log-installed-files` *exactly once* + per package per invocation of your tool as this is what it is + optimized for. +- If your helper has a PROMISE, it must use `pkgfile-logged()` + for its config files (see [#867246]). + +### Other helpers - manually + +- The helper must compile a list of files it would have installed for + each package (even packages that are not acted on). The file list + should be relative to the source package root (e.g. + `debian/tmp/usr/bin/bar`). + - This list can also contain directories. They will be flagged as + installed along with their content (recursively). +- The helper must append to the file (create it if missing): + `debian/.debhelper/generated/${package}/installed-by-${HELPER_NAME}` + - Example: `debian/.debhelper/generated/lintian/installed-by-dh_install` + - The file should be created even if it is empty. This enables `dh_missing` + to see that the helper has been run and nothing would be installed for + that package. +- Please append to the file if it exists as the helper may be called multiple + times (once with `-a` and once with `-i`). It is completely fine if this + leaves duplicate entries as dh_missing will deduplicate these. +- If your helper has a PROMISE, it must use `pkgfile-logged()` + for its config files (see [#867246]). + CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior + to that version, debhelper will wrongly optimize your helper out. + +## Buildsystem Classes + +The `dh_auto_*` commands are frontends that use debhelper buildsystem +classes. These classes have names like `Debian::Debhelper::Buildsystem::foo`, +and are derived from `Debian::Debhelper::Buildsystem`, or other, related +classes. + +A buildsystem class needs to inherit or define these methods: `DESCRIPTION`, +`check_auto_buildable`, `configure`, `build`, `test`, `install`, `clean`. See +the comments inside `Debian::Debhelper::Buildsystem` for details. Note that +this interface is still subject to change. + +Note that third-party buildsystems will not automatically be used by +default. The package maintainer will either have to explicitly enable +it via the `--buildsystem` parameter OR the build system should be +registered in debhelper. The latter is currently needed to ensure a +stable and well-defined ordering of the build systems. + +[dh(1)]: https://manpages.debian.org/dh.1 "dh - debhelper command sequencer" +[debhelper(7)]: https://manpages.debian.org/debhelper.7 "debhelper - the debhelper tool suite" +[#867246]: https://bugs.debian.org/867246 "dh_installman incorrectly optimized away when using --fail-missing and building arch-any packages only" + +-- Joey Hess diff -Nru debhelper-13.6ubuntu1/.editorconfig debhelper-13.11.6ubuntu1~ppa~jammy/.editorconfig --- debhelper-13.6ubuntu1/.editorconfig 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/.editorconfig 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,11 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true + +[*.py] +indent_style = space + +[*.{pl,pm}] +indent_style = tab diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/autoconf.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/autoconf.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/autoconf.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/autoconf.pm 2023-08-28 11:25:23.000000000 +0000 @@ -8,7 +8,7 @@ use strict; use warnings; -use Debian::Debhelper::Dh_Lib qw(%dh dpkg_architecture_value sourcepackage compat); +use Debian::Debhelper::Dh_Lib qw(%dh dpkg_architecture_value get_buildoption sourcepackage compat); use parent qw(Debian::Debhelper::Buildsystem::makefile); sub DESCRIPTION { @@ -85,7 +85,13 @@ sub test { my $this=shift; + + my $parallel = $this->get_parallel(); + my @autotest; + push @autotest, "-j$parallel"; + push @autotest, "--verbose" if not get_buildoption("terse"); $this->make_first_existing_target(['test', 'check'], + "TESTSUITEFLAGS=@autotest", "VERBOSE=1", @_); } diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/cmake.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/cmake.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/cmake.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/cmake.pm 2023-08-28 11:25:23.000000000 +0000 @@ -8,7 +8,7 @@ use strict; use warnings; -use Debian::Debhelper::Dh_Lib qw(%dh compat dpkg_architecture_value error is_cross_compiling get_buildoption); +use Debian::Debhelper::Dh_Lib qw(%dh compat dpkg_architecture_value error is_cross_compiling get_buildoption print_and_doit); use parent qw(Debian::Debhelper::Buildsystem); my @STANDARD_CMAKE_FLAGS = qw( @@ -19,6 +19,7 @@ -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON + -DFETCHCONTENT_FULLY_DISCONNECTED=ON ); my %DEB_HOST2CMAKE_SYSTEM = ( @@ -78,6 +79,12 @@ return $this; } +sub _get_cmake_env { + my $update_env = {}; + $update_env->{DEB_PYTHON_INSTALL_LAYOUT} = 'deb' unless $ENV{DEB_PYTHON_INSTALL_LAYOUT}; + return $update_env; +} + sub configure { my $this=shift; # Standard set of cmake flags @@ -87,8 +94,8 @@ push(@flags, '-DCMAKE_INSTALL_RUNSTATEDIR=/run') if not compat(10); # Speed up installation phase a bit. push(@flags, "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON") if not compat(12); - # Reproducibility #962474 - push(@flags, "-DCMAKE_SKIP_RPATH=ON", '-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON') if not compat(13); + # Reproducibility #962474 / #1004939 + push(@flags, '-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON') if not compat(13); if (exists($TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend})) { my $generator = $TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend}; push(@flags, "-G${generator}"); @@ -134,9 +141,16 @@ $ENV{CXXFLAGS} .= ' ' . $ENV{CPPFLAGS}; } + if (get_buildoption("nocheck") && ! compat(13)) { + push(@flags, "-DBUILD_TESTING:BOOL=OFF"); + } + $this->mkdir_builddir(); eval { - $this->doit_in_builddir("cmake", @flags, @_, $this->get_source_rel2builddir()); + my %options = ( + update_env => _get_cmake_env(), + ); + $this->doit_in_builddir(\%options, "cmake", @flags, @_, $this->get_source_rel2builddir()); }; if (my $err = $@) { if (-e $this->get_buildpath("CMakeCache.txt")) { @@ -177,4 +191,26 @@ return $this->SUPER::test(@_); } +sub install { + my $this = shift; + my $target = $this->get_targetbuildsystem; + + if (compat(13)) { + $target->install(@_); + } else { + # In compat 14 `cmake --install` is preferred to `make install`, + # see https://bugs.debian.org/1020732 + my $destdir = shift; + my %options = ( + update_env => { + 'LC_ALL' => 'C.UTF-8', + 'DESTDIR' => $destdir, + %{ _get_cmake_env() }, + } + ); + print_and_doit(\%options, 'cmake', '--install', $this->get_buildpath, @_); + } + return 1; +} + 1 diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/makefile.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/makefile.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/makefile.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/makefile.pm 2023-08-28 11:25:23.000000000 +0000 @@ -142,11 +142,17 @@ return 0; } +sub _should_inject_cross_build_tools { + my ($this) = @_; + return ref($this) eq 'Debian::Debhelper::Buildsystem::makefile'; +} + + sub build { my $this=shift; if (not $this->_is_targetbuildsystem - and ref($this) eq 'Debian::Debhelper::Buildsystem::makefile' - and is_cross_compiling()) { + and is_cross_compiling() + and $this->_should_inject_cross_build_tools) { # Only inject build tools variables during cross-compile when # makefile is the explicit *main* build system. for my $var (sort(keys(%DEB_DEFAULT_TOOLS))) { diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/meson.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/meson.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem/meson.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem/meson.pm 2023-08-28 11:25:23.000000000 +0000 @@ -7,7 +7,7 @@ use strict; use warnings; -use Debian::Debhelper::Dh_Lib qw(compat dpkg_architecture_value is_cross_compiling doit warning error generated_file); +use Debian::Debhelper::Dh_Lib qw(compat dpkg_architecture_value is_cross_compiling doit warning error generated_file qx_cmd); use parent qw(Debian::Debhelper::Buildsystem); sub DESCRIPTION { @@ -48,9 +48,24 @@ return $this; } +sub _get_meson_env { + my $update_env = { + LC_ALL => 'C.UTF-8', + }; + $update_env->{DEB_PYTHON_INSTALL_LAYOUT} = 'deb' unless $ENV{DEB_PYTHON_INSTALL_LAYOUT}; + return $update_env; +} + sub configure { my $this=shift; + eval { require Dpkg::Version; }; + error($@) if $@; + + my $output = qx_cmd('meson', '--version'); + chomp $output; + my $version = Dpkg::Version->new($output); + # Standard set of options for meson. my @opts = ( '--wrap-mode=nodownload', @@ -62,6 +77,11 @@ my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH"); push @opts, "--libdir=lib/$multiarch"; push(@opts, "--libexecdir=lib/$multiarch") if compat(11); + # There was a behaviour change in Meson 1.2.0: previously + # byte-compilation wasn't supported, but since 1.2.0 it is on by + # default. We can only use this option to turn it off in versions + # where the option exists. + push(@opts, "-Dpython.bytecompile=-1") if $version >= '1.2.0'; if (is_cross_compiling()) { # http://mesonbuild.com/Cross-compilation.html @@ -92,9 +112,9 @@ $this->mkdir_builddir(); eval { my %options = ( - update_env => { LC_ALL => 'C.UTF-8'}, + update_env => _get_meson_env(), ); - $this->doit_in_builddir(\%options, "meson", $this->get_source_rel2builddir(), @opts, @_); + $this->doit_in_builddir(\%options, "meson", "setup", $this->get_source_rel2builddir(), @opts, @_); }; if ($@) { if (-e $this->get_buildpath("meson-logs/meson-log.txt")) { @@ -115,9 +135,7 @@ # In compat 13 with meson+ninja, we prefer using "meson test" # over "ninja test" my %options = ( - update_env => { - 'LC_ALL' => 'C.UTF-8', - } + update_env => _get_meson_env(), ); if ($this->get_parallel() > 0) { $options{update_env}{MESON_TESTTHREADS} = $this->get_parallel(); @@ -133,6 +151,23 @@ } return 1; } + +sub install { + my ($this, $destdir, @args) = @_; + my $target = $this->get_targetbuildsystem; + + if (compat(13) or $target->NAME ne 'ninja') { + $target->install($destdir, @args); + } else { + # In compat 14 with meson+ninja, we prefer using "meson install" + # over "ninja install" + my %options = ( + update_env => _get_meson_env(), + ); + $this->doit_in_builddir(\%options, 'meson', 'install', '--destdir', $destdir, @args); + } + return 1; +} diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Buildsystem.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Buildsystem.pm 2023-08-28 11:25:23.000000000 +0000 @@ -413,7 +413,7 @@ sub mkdir_builddir { my $this=shift; if ($this->get_builddir()) { - install_dir($this->get_builddir()); + mkdirs($this->get_builddir()); } } diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/DH/AddonAPI.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/DH/AddonAPI.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/DH/AddonAPI.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/DH/AddonAPI.pm 2023-08-28 11:25:23.000000000 +0000 @@ -167,7 +167,7 @@ } sub add_command_at_end { my ($command, $sequence) = @_; - _assert_not_conditional_sequence_addon('add_command'); + _assert_not_conditional_sequence_addon('add_command_at_end'); _register_cmd_added_by_addon($command); if (not exists($Debian::Debhelper::DH::SequenceState::sequences{$sequence})) { _add_sequence($sequence, SEQUENCE_NO_SUBSEQUENCES, _seq_cmd($command)); diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Buildsystems.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Buildsystems.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Buildsystems.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Buildsystems.pm 2023-08-28 11:25:23.000000000 +0000 @@ -296,6 +296,7 @@ TMPDIR => 1, CLEANUP => 1, ); + chmod(0700, $xdg_runtime_dir->dirname) or error("chmod(0700, $xdg_runtime_dir) failed: $!"); $ENV{'XDG_RUNTIME_DIR'} = $xdg_runtime_dir->dirname; } eval { diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Getopt.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Getopt.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Getopt.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Getopt.pm 2023-08-28 11:25:23.000000000 +0000 @@ -11,7 +11,7 @@ use Debian::Debhelper::Dh_Lib; use Getopt::Long; -my (%exclude_package, %internal_excluded_package, %explicitly_reqested_packages, %profile_enabled_packages, +my (%exclude_package, %internal_excluded_package, %explicitly_requested_packages, %profile_enabled_packages, $profile_excluded_pkg); sub showhelp { @@ -44,7 +44,7 @@ elsif ($option eq 'p' or $option eq 'package') { assert_opt_is_known_package($value, '-p/--package'); %profile_enabled_packages = map { $_ => 1 } getpackages('both') if not %profile_enabled_packages; - $explicitly_reqested_packages{$value} = 1; + $explicitly_requested_packages{$value} = 1; # Silently ignore packages that are not enabled by the # profile. if (exists($profile_enabled_packages{$value})) { @@ -73,7 +73,8 @@ } # Add another item to the exclude list. -sub AddExclude { my($option,$value)=@_; +sub AddExclude { + my($option,$value)=@_; push @{$dh{EXCLUDE}},$value; } @@ -228,7 +229,7 @@ @ARGV_extra=split_options_string($ENV{DH_OPTIONS}); my $ret=getoptions(\@ARGV_extra, %params); if (!$ret) { - warning("warning: ignored unknown options in DH_OPTIONS"); + warning("ignored unknown options in DH_OPTIONS"); } } @@ -272,12 +273,10 @@ # Remove excluded packages from the list of packages to act on. # Also unique the list, in case some options were specified that # added a package to it twice. - my @package_list; - my $package; - my %packages_seen; + my (@package_list, $package, %packages_seen); foreach $package (@{$dh{DOPACKAGES}}) { if (defined($dh{EXCLUDE_LOGGED}) && - grep { $_ eq basename($0) } load_log($package)) { + grep { $_ eq $Debian::Debhelper::Dh_Lib::TOOL_NAME } load_log($package)) { $exclude_package{$package}=1; } if (! $exclude_package{$package}) { @@ -292,16 +291,16 @@ if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) { if (! $dh{BLOCK_NOOP_WARNINGS}) { my %archs; - if (%explicitly_reqested_packages) { + if (%explicitly_requested_packages) { # Avoid sending a confusing error message when debhelper must exclude a package given via -p. # This commonly happens due to Build-Profiles or/and when build only a subset of the packages # (e.g. dpkg-buildpackage -A vs. -B vs. none of the options) - for my $pkg (sort(keys(%explicitly_reqested_packages))) { + for my $pkg (sort(keys(%explicitly_requested_packages))) { if (exists($internal_excluded_package{$pkg}) or not exists($profile_enabled_packages{$pkg})) { - delete($explicitly_reqested_packages{$pkg}); + delete($explicitly_requested_packages{$pkg}); } } - if (not %explicitly_reqested_packages) { + if (not %explicitly_requested_packages) { warning('All requested packages have been excluded' . ' (e.g. via a Build-Profile or due to architecture restrictions).'); exit(0); @@ -317,11 +316,11 @@ } if (defined $dh{U_PARAMS}) { - # Split the U_PARAMS up into an array. - my $u=$dh{U_PARAMS}; - undef $dh{U_PARAMS}; - push @{$dh{U_PARAMS}}, split(/\s+/,$u); - } + # Split the U_PARAMS up into an array. + my $u=$dh{U_PARAMS}; + undef $dh{U_PARAMS}; + push @{$dh{U_PARAMS}}, split(/\s+/,$u); + } # Anything left in @ARGV is options that appeared after a -- # These options are added to the U_PARAMS array, while the diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Lib.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Lib.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Dh_Lib.pm 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Dh_Lib.pm 2023-08-28 15:14:12.000000000 +0000 @@ -124,6 +124,7 @@ package_multiarch package_section package_arch + package_type process_pkg compute_doc_main_package isnative @@ -133,6 +134,7 @@ qw( basename dirname + mkdirs install_file install_prog install_lib @@ -203,6 +205,7 @@ write_log commit_override_log debhelper_script_subst + debhelper_script_per_package_subst is_make_jobserver_unavailable clean_jobserver_makeflags set_buildflags @@ -226,6 +229,7 @@ (?: - [0-9A-Za-z.+:~]+ )* # Optional debian revision (+ upstreams versions with hyphens) /xoa; our $MAINTSCRIPT_TOKEN_REGEX = qr/[A-Za-z0-9_.+]+/o; +our $TOOL_NAME = basename($0); # From Policy 5.1: # @@ -373,7 +377,7 @@ # expect. return if not -f 'debian/control'; if (compat(9, 1) || $ENV{DH_INTERNAL_OVERRIDE}) { - write_log(basename($0), @{$dh{DOPACKAGES}}); + write_log($TOOL_NAME, @{$dh{DOPACKAGES}}); } } @@ -485,6 +489,35 @@ goto \&_doit; } +sub _post_fork_setup_and_exec { + my ($close_stdin, $options, @cmd) = @_; + if (defined($options)) { + if (defined(my $dir = $options->{chdir})) { + if ($dir ne '.') { + chdir($dir) or error("chdir(\"${dir}\") failed: $!"); + } + } + if ($close_stdin) { + open(STDIN, '<', '/dev/null') or error("redirect STDIN failed: $!"); + } + if (defined(my $output = $options->{stdout})) { + open(STDOUT, '>', $output) or error("redirect STDOUT failed: $!"); + } + if (defined(my $update_env = $options->{update_env})) { + while (my ($k, $v) = each(%{$update_env})) { + if (defined($v)) { + $ENV{$k} = $v; + } else { + delete($ENV{$k}); + } + } + } + } + # Force execvp call to avoid shell. Apparently, even exec can + # involve a shell if you don't do this. + exec { $cmd[0] } @cmd or error('exec (for cmd: ' . escape_shell(@cmd) . ") failed: $!"); +} + sub _doit { my (@cmd) = @_; my $options = ref($cmd[0]) ? shift(@cmd) : undef; @@ -498,29 +531,7 @@ return 1 if $dh{NO_ACT}; my $pid = fork() // error("fork(): $!"); if (not $pid) { - if (defined($options)) { - if (defined(my $dir = $options->{chdir})) { - if ($dir ne '.') { - chdir($dir) or error("chdir(\"${dir}\") failed: $!"); - } - } - open(STDIN, '<', '/dev/null') or error("redirect STDIN failed: $!"); - if (defined(my $output = $options->{stdout})) { - open(STDOUT, '>', $output) or error("redirect STDOUT failed: $!"); - } - if (defined(my $update_env = $options->{update_env})) { - while (my ($k, $v) = each(%{$update_env})) { - if (defined($v)) { - $ENV{$k} = $v; - } else { - delete($ENV{$k}); - } - } - } - } - # Force execvp call to avoid shell. Apparently, even exec can - # involve a shell if you don't do this. - exec { $cmd[0] } @cmd; + _post_fork_setup_and_exec(1, $options, @cmd) // error("Assertion error: sub should not return!"); } return waitpid($pid, 0) == $pid && $? == 0; } @@ -559,8 +570,12 @@ sub qx_cmd { my (@cmd) = @_; + my $options = ref($cmd[0]) ? shift(@cmd) : undef; my ($output, @output); - open(my $fd, '-|', @cmd) or error('fork+exec (' . escape_shell(@cmd) . "): $!"); + my $pid = open(my $fd, '-|') // error('fork (for cmd: ' . escape_shell(@cmd) . ") failed: $!"); + if ($pid == 0) { + _post_fork_setup_and_exec(0, $options, @cmd) // error("Assertion error: sub should not return!"); + } if (wantarray) { @output = <$fd>; } else { @@ -654,28 +669,42 @@ } } -sub install_dir { - my @to_create = grep { not -d $_ } @_; - return if not @to_create; + +sub _mkdirs { + my ($log, @dirs) = @_; + return if not @dirs; + if ($log && $dh{VERBOSE}) { + verbose_print(sprintf('install -m0755 -d %s', escape_shell(@dirs))); + } + return 1 if $dh{NO_ACT}; state $_loaded; if (not $_loaded) { $_loaded++; require File::Path; } - verbose_print(sprintf('install -d %s', escape_shell(@to_create))) - if $dh{VERBOSE}; - return 1 if $dh{NO_ACT}; + my %opts = ( + # install -d uses 0755 (no umask), make_path uses 0777 (& umask) by default. + # Since we claim to run install -d, then ensure the mode is correct. + 'chmod' => 0755, + ); eval { - File::Path::make_path(@to_create, { - # install -d uses 0755 (no umask), make_path uses 0777 (& umask) by default. - # Since we claim to run install -d, then ensure the mode is correct. - 'chmod' => 0755, - }); + File::Path::make_path(@dirs, \%opts); }; if (my $err = "$@") { $err =~ s/\s+at\s+\S+\s+line\s+\d+\.?\n//; error($err); } + return; +} + +sub mkdirs { + my @to_create = grep { not -d $_ } @_; + return _mkdirs(0, @to_create); +} + +sub install_dir { + my @dirs = @_; + return _mkdirs(1, @dirs); } sub rename_path { @@ -848,7 +877,7 @@ my ($message) = @_; # ensure the error code is well defined. $! = 255; - die(_color(basename($0), 'bold') . ': ' . _color('error', 'bold red') . ": $message\n"); + die(_color($TOOL_NAME, 'bold') . ': ' . _color('error', 'bold red') . ": $message\n"); } # Output a warning. @@ -856,7 +885,7 @@ my ($message) = @_; $message //= ''; - print STDERR _color(basename($0), 'bold') . ': ' . _color('warning', 'bold yellow') . ": $message\n"; + print STDERR _color($TOOL_NAME, 'bold') . ': ' . _color('warning', 'bold yellow') . ": $message\n"; } # Returns the basename of the argument passed to it. @@ -1229,14 +1258,13 @@ } } - if (-e $outfile && ($script eq 'postrm' || $script eq 'prerm') - && !compat(5)) { + if (-e $outfile && ($script eq 'postrm' || $script eq 'prerm')) { # Add fragments to top so they run in reverse order when removing. if (not defined($sed) or ref($sed)) { verbose_print("[META] Prepend autosnippet \"$filename\" to $script [${outfile}.new]"); if (not $dh{NO_ACT}) { open(my $out_fd, '>', "${outfile}.new") or error("open(${outfile}.new): $!"); - print {$out_fd} '# Automatically added by ' . basename($0) . "/${tool_version}\n"; + print {$out_fd} '# Automatically added by ' . $TOOL_NAME . "/${tool_version}\n"; autoscript_sed($sed, $infile, undef, $out_fd); print {$out_fd} "# End automatically added section\n"; open(my $in_fd, '<', $outfile) or error("open($outfile): $!"); @@ -1247,7 +1275,7 @@ close($out_fd) or error("close(${outfile}.new): $!"); } } else { - complex_doit("echo \"# Automatically added by ".basename($0)."/${tool_version}\"> $outfile.new"); + complex_doit("echo \"# Automatically added by ".$TOOL_NAME."/${tool_version}\"> $outfile.new"); autoscript_sed($sed, $infile, "$outfile.new"); complex_doit("echo '# End automatically added section' >> $outfile.new"); complex_doit("cat $outfile >> $outfile.new"); @@ -1257,13 +1285,13 @@ verbose_print("[META] Append autosnippet \"$filename\" to $script [${outfile}]"); if (not $dh{NO_ACT}) { open(my $out_fd, '>>', $outfile) or error("open(${outfile}): $!"); - print {$out_fd} '# Automatically added by ' . basename($0) . "/${tool_version}\n"; + print {$out_fd} '# Automatically added by ' . $TOOL_NAME . "/${tool_version}\n"; autoscript_sed($sed, $infile, undef, $out_fd); print {$out_fd} "# End automatically added section\n"; close($out_fd) or error("close(${outfile}): $!"); } } else { - complex_doit("echo \"# Automatically added by ".basename($0)."/${tool_version}\">> $outfile"); + complex_doit("echo \"# Automatically added by ".$TOOL_NAME."/${tool_version}\">> $outfile"); autoscript_sed($sed, $infile, $outfile); complex_doit("echo '# End automatically added section' >> $outfile"); } @@ -1332,7 +1360,7 @@ }x; print {$ofd} $line; } - print {$ofd} '# Triggers added by ' . basename($0) . "/${tool_version}\n"; + print {$ofd} '# Triggers added by ' . $TOOL_NAME . "/${tool_version}\n"; print {$ofd} "${trigger_type} ${trigger_target}\n"; close($ofd) or error("closing ${triggers_file}.new failed: $!"); close($ifd); @@ -1349,72 +1377,99 @@ my $dir = "debian/.debhelper/generated/${package}"; my $path = "${dir}/${filename}"; $mkdirs //= 1; - install_dir($dir) if $mkdirs; + mkdirs($dir) if $mkdirs; return $path; } +sub _update_substvar { + my ($substvar_file, $update_logic, $insert_logic) = @_; + my @lines; + my $changed = 0; + if ( -f $substvar_file) { + open(my $in, '<', $substvar_file) // error("open($substvar_file): $!"); + while (my $line = <$in>) { + chomp($line); + my $orig_value = $line; + my $updated_value = $update_logic->($line); + $changed ||= !defined($updated_value) || $orig_value ne $updated_value; + push(@lines, $updated_value) if defined($updated_value); + } + close($in); + } + my $len = scalar(@lines); + push(@lines, $insert_logic->()) if $insert_logic; + $changed ||= $len != scalar(@lines); + if ($changed && !$dh{NO_ACT}) { + open(my $out, '>', "${substvar_file}.new") // error("open(${substvar_file}.new, \"w\"): $!"); + for my $line (@lines) { + print {$out} "$line\n"; + } + close($out) // error("close(${substvar_file}.new): $!"); + rename_path("${substvar_file}.new", $substvar_file); + } + return; +} + # Removes a whole substvar line. sub delsubstvar { - my $package=shift; - my $substvar=shift; - - my $ext=pkgext($package); - my $substvarfile="debian/${ext}substvars"; - - if (-e $substvarfile) { - complex_doit("grep -a -s -v '^${substvar}=' $substvarfile > $substvarfile.new || true"); - rename_path("${substvarfile}.new", $substvarfile); - } + my ($package, $substvar) = @_; + my $ext = pkgext($package); + my $substvarfile = "debian/${ext}substvars"; + + return _update_substvar($substvarfile, sub { + my ($line) = @_; + return $line if $line !~ m/^\Q${substvar}\E[?]?=/; + return; + }); } # Adds a dependency on some package to the specified # substvar in a package's substvar's file. sub addsubstvar { - my $package=shift; - my $substvar=shift; - my $deppackage=shift; - my $verinfo=shift; - my $remove=shift; - - my $ext=pkgext($package); - my $substvarfile="debian/${ext}substvars"; - my $str=$deppackage; - $str.=" ($verinfo)" if defined $verinfo && length $verinfo; - - # Figure out what the line will look like, based on what's there - # now, and what we're to add or remove. - my $line=""; - if (-e $substvarfile) { - my %items; - open(my $in, '<', $substvarfile) || error "read $substvarfile: $!"; - while (<$in>) { - chomp; - if (/^\Q$substvar\E=(.*)/) { - %items = map { $_ => 1} split(", ", $1); - - last; - } - } - close($in); - if (! $remove) { - $items{$str}=1; - } - else { - delete $items{$str}; + my ($package, $substvar, $deppackage, $verinfo, $remove) = @_; + my ($present); + my $ext = pkgext($package); + my $substvarfile = "debian/${ext}substvars"; + my $str = $deppackage; + $str .= " ($verinfo)" if defined $verinfo && length $verinfo; + + if (not defined($deppackage) and not $remove) { + error("Bug in helper: Must provide a value for addsubstvar (or set the remove flag, but then use delsubstvar instead)") + } + + if (defined($str) and $str =~ m/[\n]/) { + $str =~ s/\n/\\n/g; + # Per #1026014 + warning('Unescaped newlines in the value of a substvars can cause broken substvars files (see #1025714).'); + warning("Hint: If you really need a newline character, provide it as \"\${Newline}\"."); + error("Bug in helper: The substvar must not contain a raw newline character (${substvar}=${str})"); + } + + my $update_logic = sub { + my ($line) = @_; + return $line if $line !~ m/^\Q${substvar}\E([?]?=)(.*)/; + my $assignment_type = $1; + my %items = map { $_ => 1 } split(", ", $2); + $present = 1; + if ($remove) { + # Unchanged; we can avoid rewriting the file. + return $line if not exists($items{$str}); + delete($items{$str}); + my $replacement = join(", ", sort(keys(%items))); + return "${substvar}${assignment_type}${replacement}" if $replacement ne ''; + return; } - $line=join(", ", sort keys %items); - } - elsif (! $remove) { - $line=$str; - } + # Unchanged; we can avoid rewriting the file. + return $line if %items and exists($items{$str}); - if (length $line) { - complex_doit("(grep -a -s -v ${substvar} $substvarfile; echo ".escape_shell("${substvar}=$line").") > $substvarfile.new"); - rename_path("$substvarfile.new", $substvarfile); - } - else { - delsubstvar($package,$substvar); - } + $items{$str} = 1; + return "${substvar}${assignment_type}" . join(", ", sort(keys(%items))); + }; + my $insert_logic = sub { + return ("${substvar}=${str}") if not $present and not $remove; + return; + }; + return _update_substvar($substvarfile, $update_logic, $insert_logic); } sub _glob_expand_error_default_msg { @@ -1749,6 +1804,7 @@ sub _strip_spaces { my ($v) = @_; + return if not defined($v); $v =~ s/^\s++//; $v =~ s/\s++$//; return $v; @@ -1979,7 +2035,7 @@ } $package_arches{$package} = $arch; $package_multiarches{$package} = _strip_spaces($field_values{'multi-arch'} // ''); - $package_sections{$package} = _strip_spaces($field_values{'section'} // $source_section);; + $package_sections{$package} = _strip_spaces($field_values{'section'} // $source_section); $package_cross_type{$package} = $cross_type; push(@{$packages_by_type{'all-listed-in-control-file'}}, $package); @@ -2149,17 +2205,24 @@ return $package_cross_type{$package} // 'host'; } +sub package_type { + my ($package) = @_; + + if (! exists $package_types{$package}) { + warning "package $package is not in control info"; + return DEFAULT_PACKAGE_TYPE; + } + return $package_types{$package}; +} + # Return true if a given package is really a udeb. sub is_udeb { my $package=shift; - if (! exists $package_types{$package}) { - warning "package $package is not in control info"; - return 0; - } - return $package_types{$package} eq 'udeb'; + return package_type($package) eq 'udeb'; } + sub process_pkg { my ($package) = @_; state %packages_to_process = map { $_ => 1 } @{$dh{DOPACKAGES}}; @@ -2209,6 +2272,24 @@ }; } +sub debhelper_script_per_package_subst { + my ($package, $provided_subst) = @_; + my %vars = %{$provided_subst}; + $vars{'PACKAGE'} = $package if not exists($vars{'PACKAGE'}); + for my $var (keys(%{$provided_subst})) { + if ($var !~ $Debian::Debhelper::Dh_Lib::MAINTSCRIPT_TOKEN_REGEX) { + warning("User defined token ${var} does not match ${Debian::Debhelper::Dh_Lib::MAINTSCRIPT_TOKEN_REGEX}"); + error("Invalid provided token ${var}: It cannot be substituted as it does not follow the token name rules"); + } + if ($var =~ m/^pkg[.]\Q${package}\E[.](.+)$/) { + my $new_key = $1; + $vars{$new_key} = $provided_subst->{$var}; + } + } + return \%vars; +} + + # Handles #DEBHELPER# substitution in a script; also can generate a new # script from scratch if none exists but there is a .debhelper file for it. sub debhelper_script_subst { @@ -2526,7 +2607,7 @@ XDG_DATA_DIRS XDG_RUNTIME_DIR ); - install_dir(@paths); + mkdirs(@paths); for my $envname (@clear_env) { delete($ENV{$envname}); } @@ -2593,7 +2674,7 @@ } elsif ($opt =~ m/^dherroron=(\S*)$/ && $wanted eq 'dherroron') { my $value = $1; if ($value ne 'obsolete-compat-levels') { - warning("Unknown value \"${value}\" as parameter for \"dherrron\" seen in DEB_BUILD_OPTIONS"); + warning("Unknown value \"${value}\" as parameter for \"dherroron\" seen in DEB_BUILD_OPTIONS"); } return $value; } elsif ($opt eq $wanted) { @@ -2622,7 +2703,7 @@ # The interpreter did not like the file for some reason. # Lets check if the maintainer intended it to be # executable. - if (not is_so_or_exec_elf_file($source) and not _has_shbang_line($source)) { + if (not is_so_or_exec_elf_file($source) and not _has_shebang_line($source)) { warning("${source} is marked executable but does not appear to an executable config."); warning(); warning("If ${source} is intended to be an executable config file, please ensure it can"); @@ -2642,15 +2723,14 @@ # the package. Under compat 9+ it may execute the file and use its # output instead. # -# install_dh_config_file(SOURCE, TARGET[, MODE]) +# install_dh_config_file(SOURCE, TARGET) sub install_dh_config_file { - my ($source, $target, $mode) = @_; - $mode = 0644 if not defined($mode); + my ($source, $target) = @_; if (!compat(8) and -x $source) { my @sstat = stat(_) || error("cannot stat $source: $!"); open(my $tfd, '>', $target) || error("cannot open $target: $!"); - chmod($mode, $tfd) || error("cannot chmod $target: $!"); + chmod(0644, $tfd) || error("cannot chmod $target: $!"); open(my $sfd, '-|', $source) || error("cannot run $source: $!"); while (my $line = <$sfd>) { print ${tfd} $line; @@ -2662,7 +2742,7 @@ # Set the mtime (and atime) to ensure reproducibility. utime($sstat[9], $sstat[9], $target); } else { - _install_file_to_path($mode, $source, $target); + install_file($source, $target); } return 1; } @@ -2672,7 +2752,7 @@ my $bucket_index = 'debian/.debhelper/bucket/index'; my $bucket_dir = 'debian/.debhelper/bucket/files'; my $checksum; - install_dir($bucket_dir); + mkdirs($bucket_dir); if ($file =~ m{^/}) { error("restore_file_on_clean requires a path relative to the package dir"); } @@ -2780,8 +2860,14 @@ my ($package, @patterns) = @_; return if $dh{NO_ACT}; + my $tool = $TOOL_NAME; + if (ref($package) eq 'HASH') { + my $options = $package; + $tool = $options->{'tool_name'} // error('Missing mandatory "tool_name" option for log_installed_files'); + $package = $options->{'package'} // error('Missing mandatory "package" option for log_installed_files'); + } - my $log = generated_file($package, 'installed-by-' . basename($0)); + my $log = generated_file($package, 'installed-by-' . $tool); open(my $fh, '>>', $log) or error("open $log: $!"); for my $src (@patterns) { print $fh "$src\n"; @@ -2837,7 +2923,7 @@ return 1; } -sub _has_shbang_line { +sub _has_shebang_line { my ($file) = @_; open(my $fd, '<', $file) or error("open $file: $!"); my $line = <$fd>; diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Sequence/installsysusers.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Sequence/installsysusers.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Sequence/installsysusers.pm 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Sequence/installsysusers.pm 2023-08-28 11:25:23.000000000 +0000 @@ -0,0 +1,9 @@ +#!/usr/bin/perl +# Enable dh_installsysusers + +use strict; +use warnings; + +insert_after('dh_install', 'dh_installsysusers'); + +1; diff -Nru debhelper-13.6ubuntu1/lib/Debian/Debhelper/Sequence/root_sequence.pm debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Sequence/root_sequence.pm --- debhelper-13.6ubuntu1/lib/Debian/Debhelper/Sequence/root_sequence.pm 2022-02-07 15:03:12.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/lib/Debian/Debhelper/Sequence/root_sequence.pm 2023-08-28 11:25:23.000000000 +0000 @@ -48,8 +48,8 @@ dh_installinfo dh_installinit }, - $include_if_compat_X_or_newer->(13, 'dh_installtmpfiles'), $include_if_compat_X_or_newer->(14, 'dh_installsysusers'), + $include_if_compat_X_or_newer->(13, 'dh_installtmpfiles'), $include_if_compat_X_or_newer->(11, 'dh_installsystemd'), $include_if_compat_X_or_newer->(12, 'dh_installsystemduser'), qw{ @@ -64,8 +64,8 @@ dh_installgsettings }, (!compat(11) ? qw(dh_installinitramfs) : qw()), + (compat(13) ? qw(dh_installalternatives) : qw()), qw{ - dh_installalternatives dh_bugfiles dh_ucf dh_lintian @@ -74,6 +74,9 @@ dh_usrlocal dh_link +}, + (!compat(13) ? qw(dh_installalternatives) : qw()), +qw{ dh_installwm dh_installxfonts dh_strip_nondeterminism diff -Nru debhelper-13.6ubuntu1/Makefile debhelper-13.11.6ubuntu1~ppa~jammy/Makefile --- debhelper-13.6ubuntu1/Makefile 2022-02-07 15:46:32.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/Makefile 2023-08-28 11:25:23.000000000 +0000 @@ -65,7 +65,7 @@ LANG_TARGETS = endif -build: $(LANG_TARGETS) version debhelper.7 debhelper-obsolete-compat.7 $(MANPAGES) +build: $(LANG_TARGETS) version debhelper.7 debhelper-compat-upgrade-checklist.7 debhelper-obsolete-compat.7 $(MANPAGES) po4a-stamp: @@ -85,6 +85,9 @@ $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | LC_ALL=C sort` | \ $(POD2MAN) $(POD2MAN_FLAGS) --name="debhelper" --section=7 > debhelper.$$lang.7; \ fi; \ + if [ -e $$dir/debhelper-compat-upgrade-checklist.pod ]; then \ + $(POD2MAN) $(POD2MAN_FLAGS) --name="debhelper" --section=7 $$dir/debhelper-compat-upgrade-checklist.pod > debhelper-compat-upgrade-checklist.$$lang.7; \ + fi ; \ if [ -e $$dir/debhelper-obsolete-compat.pod ]; then \ $(POD2MAN) $(POD2MAN_FLAGS) --name="debhelper" --section=7 $$dir/debhelper-obsolete-compat.pod > debhelper-obsolete-compat.$$lang.7; \ fi @@ -105,7 +108,7 @@ $(MAKEMANLIST) $(COMMANDS) | \ $(POD2MAN) $(POD2MAN_FLAGS) --name="debhelper" --section=7 > $@ -debhelper-obsolete-compat.7: debhelper-obsolete-compat.pod +%.7: %.pod $(POD2MAN) $(POD2MAN_FLAGS) --name="debhelper" --section=7 $^ > $@ clean: diff -Nru debhelper-13.6ubuntu1/man/po4a/po/debhelper.pot debhelper-13.11.6ubuntu1~ppa~jammy/man/po4a/po/debhelper.pot --- debhelper-13.6ubuntu1/man/po4a/po/debhelper.pot 2022-02-07 15:59:07.000000000 +0000 +++ debhelper-13.11.6ubuntu1~ppa~jammy/man/po4a/po/debhelper.pot 2023-08-28 15:14:12.000000000 +0000 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-12-20 12:51+0000\n" +"POT-Creation-Date: 2023-08-14 19:10+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,9 +17,10 @@ "Content-Transfer-Encoding: 8bit\n" #. type: =head1 -#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 -#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 -#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3 +#: debhelper.pod:3 debhelper-compat-upgrade-checklist.pod:3 +#: debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 +#: dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 +#: dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3 #: dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 #: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 #: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5 @@ -40,19 +41,20 @@ msgstr "" #. type: =head1 -#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:22 dh_auto_build:16 -#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 -#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16 -#: dh_fixperms:16 dh_gencontrol:16 dh_icons:16 dh_install:15 -#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15 -#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 +#: debhelper.pod:7 debhelper-compat-upgrade-checklist.pod:7 +#: debhelper-obsolete-compat.pod:5 dh:22 dh_auto_build:16 dh_auto_clean:16 +#: dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 dh_bugfiles:15 +#: dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16 dh_fixperms:16 +#: dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17 +#: dh_installchangelogs:16 dh_installcron:15 dh_installdeb:15 +#: dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 #: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15 #: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15 #: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16 #: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15 #: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15 #: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15 -#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17 +#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:18 #: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9 #: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17 msgid "SYNOPSIS" @@ -61,24 +63,24 @@ #. type: textblock #: debhelper.pod:9 msgid "" -"BI<*> [B<-v>] [B<-a>] [B<-i>] [B<--no-act>] [B<-p>I] " -"[B<-N>I] [B<-P>I]" +"BI<*> [B<-v>] [B<-a>] [B<-i>] [B<--no-act>] [B<-p>I] [B<-" +"N>I] [B<-P>I]" msgstr "" #. type: =head1 -#: debhelper.pod:11 dh:26 dh_auto_build:20 dh_auto_clean:20 -#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19 -#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20 -#: dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21 -#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19 -#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 +#: debhelper.pod:11 debhelper-compat-upgrade-checklist.pod:17 dh:26 +#: dh_auto_build:20 dh_auto_clean:20 dh_auto_configure:20 dh_auto_install:22 +#: dh_auto_test:20 dh_bugfiles:19 dh_builddeb:21 dh_clean:19 dh_compress:21 +#: dh_dwz:20 dh_fixperms:20 dh_gencontrol:20 dh_icons:20 dh_install:19 +#: dh_installcatalogs:21 dh_installchangelogs:20 dh_installcron:19 +#: dh_installdeb:19 dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 #: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19 #: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19 #: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20 #: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19 #: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19 #: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19 -#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21 +#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:22 #: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13 #: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21 msgid "DESCRIPTION" @@ -100,9 +102,9 @@ #: debhelper.pod:21 msgid "" "A typical F file that uses debhelper will call several " -"debhelper commands in sequence, or use L to automate this " -"process. Examples of rules files that use debhelper are in " -"F" +"debhelper commands in sequence, or use L to automate this process. " +"Examples of rules files that use debhelper are in F" msgstr "" #. type: textblock @@ -212,11 +214,11 @@ #: debhelper.pod:87 msgid "" "In some rare cases, you may want to have different versions of these files " -"for different architectures or OSes. If files named " -"debian/I.foo.I or debian/I.foo.I exist, where " -"I and I are the same as the output of \"B\" / \"B\", then they " -"will be used in preference to other, more general files." +"for different architectures or OSes. If files named debian/I.foo." +"I or debian/I.foo.I exist, where I and I are " +"the same as the output of \"B\" / " +"\"B\", then they will be used in " +"preference to other, more general files." msgstr "" #. type: textblock @@ -351,8 +353,8 @@ #. type: textblock #: debhelper.pod:179 msgid "" -"Expands to the relevant L value (similar to " -"I)." +"Expands to the relevant L value (similar to I)." msgstr "" #. type: textblock @@ -413,8 +415,8 @@ #. type: textblock #: debhelper.pod:207 msgid "" -"This can be useful if you need to include a literal whitespace character " -"(e.g. space) where it would otherwise be stripped or used as a separator." +"This can be useful if you need to include a literal whitespace character (e." +"g. space) where it would otherwise be stripped or used as a separator." msgstr "" #. type: =item @@ -459,8 +461,8 @@ #. type: textblock #: debhelper.pod:231 msgid "" -"If you need additional flexibility, many of the debhelper tools " -"(e.g. L) support executing a config file as a script." +"If you need additional flexibility, many of the debhelper tools (e.g. " +"L) support executing a config file as a script." msgstr "" #. type: textblock @@ -468,9 +470,9 @@ msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " -"it and use the output of the script. In many cases, you can use " -"L as interpreter of the config file to retain most of the " -"original syntax while getting the additional flexibility you need." +"it and use the output of the script. In many cases, you can use L as interpreter of the config file to retain most of the original " +"syntax while getting the additional flexibility you need." msgstr "" #. type: textblock @@ -518,7 +520,8 @@ #. type: textblock #: debhelper.pod:271 -msgid "The following command line options are supported by all debhelper programs." +msgid "" +"The following command line options are supported by all debhelper programs." msgstr "" #. type: =item @@ -528,89 +531,96 @@ #. type: textblock #: debhelper.pod:277 -msgid "Verbose mode: show all commands that modify the package build directory." +msgid "Verbose mode: show commands that modify the package build directory." +msgstr "" + +#. type: textblock +#: debhelper.pod:279 +msgid "" +"Note that verbose mode may also output other \"internal\" commands that do " +"not directly affect the package build directory." msgstr "" #. type: =item -#: debhelper.pod:279 dh:266 +#: debhelper.pod:282 dh:307 msgid "B<--no-act>" msgstr "" #. type: textblock -#: debhelper.pod:281 +#: debhelper.pod:284 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." msgstr "" #. type: =item -#: debhelper.pod:284 +#: debhelper.pod:287 msgid "B<-a>, B<--arch>" msgstr "" #. type: textblock -#: debhelper.pod:286 +#: debhelper.pod:289 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." msgstr "" #. type: =item -#: debhelper.pod:289 +#: debhelper.pod:292 msgid "B<-i>, B<--indep>" msgstr "" #. type: textblock -#: debhelper.pod:291 +#: debhelper.pod:294 msgid "Act on all architecture independent packages." msgstr "" #. type: =item -#: debhelper.pod:293 +#: debhelper.pod:296 msgid "B<-p>I, B<--package=>I" msgstr "" #. type: textblock -#: debhelper.pod:295 +#: debhelper.pod:298 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." msgstr "" #. type: =item -#: debhelper.pod:298 +#: debhelper.pod:301 msgid "B<-s>, B<--same-arch>" msgstr "" #. type: textblock -#: debhelper.pod:300 +#: debhelper.pod:303 msgid "Deprecated alias of B<-a>." msgstr "" #. type: textblock -#: debhelper.pod:302 dh_install:80 dh_install:89 +#: debhelper.pod:305 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "" #. type: =item -#: debhelper.pod:304 +#: debhelper.pod:307 msgid "B<-N>I, B<--no-package=>I" msgstr "" #. type: textblock -#: debhelper.pod:306 +#: debhelper.pod:309 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." msgstr "" #. type: =item -#: debhelper.pod:309 +#: debhelper.pod:312 msgid "B<--remaining-packages>" msgstr "" #. type: textblock -#: debhelper.pod:311 +#: debhelper.pod:314 msgid "" "Do not act on the packages which have already been acted on by this " "debhelper command earlier (i.e. if the command is present in the package " @@ -620,22 +630,23 @@ msgstr "" #. type: =item -#: debhelper.pod:317 +#: debhelper.pod:320 msgid "B<-P>I, B<--tmpdir=>I" msgstr "" #. type: textblock -#: debhelper.pod:319 -msgid "Use I for package build directory. The default is debian/I" +#: debhelper.pod:322 +msgid "" +"Use I for package build directory. The default is debian/I" msgstr "" #. type: =item -#: debhelper.pod:321 +#: debhelper.pod:324 msgid "B<--mainpackage=>I" msgstr "" #. type: textblock -#: debhelper.pod:323 +#: debhelper.pod:326 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -644,12 +655,12 @@ msgstr "" #. type: =item -#: debhelper.pod:328 +#: debhelper.pod:331 msgid "B<-O=>I