* 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_Lib: Avoid passing invalid parameters to a function, which
caused tons of "package ARRAY(...) is not in control info"
warnings from dh in some cases. It triggers when dh thinks
the package might have architecture qualified debhelper config
files. The warning is harmless (besides the noise) for all
native builds and most cross builds, but it did invalidate
attempt to make pkgfile() use "DEB_TARGET_ARCH{,_OS}"
(see 11.1.5~alpha1). Thanks to Andreas Beckmann for reporting
the issue. (Closes: #891546)
* dh: Refactor handling of sequences to simplify some code paths.
* autopkgtests: Remove "use-name" tests as it no longer works.
The debhelper module makes assumptions in which directory it is
run from and the test breaks these assumptions.
* debian/control: Comment out versioned dependency on make.
It is not strictly necessary for Debian and causes issues with
make-guile. On the other hand, it is useful for people
backporting debhelper on derivatives and hench leaving it as a
comment. (Closes: #892586)
* debian/control: Bump dependency on dh-autoreconf for the fix for
#889567.
* dh_installinfo: Accept --sourcedir like the documentation says
for compat 11. Prevently the option was incorrectly silently
ignored. Thanks to Nicolas Boulenguez for the report and the
patch. (Closes: #894226)
* dh_ucf.1: Apply patch from Nicolas Boulenguez to add missing
documentation of the "--all" and non-option parameters.
(Closes: #894228)
* dh_installxfonts: Apply patch from Nicolas Boulenguez. This
ensures that the generated maintscript snippets are bit-for-bit
reproducible when a package ships xfons in multiple fonts
directories. (Closes: #894227)
* Dh_Lib: Improve the "make_symlink" code to avoid non-compliant
symlinks when the link name was not a normalized path. Note
that ".."-segments are now disallowed in the link name (but not
the link target). Thanks to Nicolas Boulenguez for reporting
the bug plus the test cases. (Closes: #894229)
* dh_installinfo: Report installed files to dh_missing. Thanks
to Daniel Kahn Gillmor for reporting this omission.
(Closes: #893160)
* Dh_Lib: Make Dh_Lib loadable again without a debian/control being
present. This makes the autopkgtests work again.
* 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.
* Upload to unstable.
* Add a warning for using the new experimental feature for
requesting the compat level via the Build-Depends field.
* dh_installdocs: Add missing documentation about --sourcedir
in compat 11.
* dh_installdocs: Document that d/tmp is used by default
in compat 11.
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* meson.pm: Apply patch from Jakub Wilk to fix typo in the name
of the "C.UTF-8" locale.
* autoscripts/postinst-systemd-restart: Apply patch from
Christoph Biedl to fix indentation. (Closes: #890373)
* dh_testroot: With the advent of DEB_RULES_REQUIRES_ROOT, it
no longer needs to read debian/control to tell whether root
is needed or not. However, the warning remains for calling
dh_testroot outside the source root (as we may need to check
the compat level in a future version of debhelper).
* makefile.pm: Synchronize output from make (via -O) when
make runs in parallel except when STDOUT is a TTY. Thanks
to Goswin von Brederlow for the suggestion. (Closes: #768791)
* dh_gencontrol: Avoid uninitialized value warning when there
are no build-ids (e.g. because the builder disabled the
dbgsym building via DEB_BUILD_OPTIONS). This regression
was introduced in 11.1. Thanks to Christian Marillat for
reporting the bug. (Closes: #890736)
* Dh_Lib: pkgfile() now properly uses for DEB_TARGET_ARCH{,_OS}
when the package is set to be built for the target
architecture.
* d/control: Drop dependency on binutils; it does not reflect
our actual requirement and the package or builder will ensure
that the current binutils is installed for other reasons
any way. Thanks to Helmut Grohne for the report.
(Closes: #891187)
* Dh_Lib: Add an experimental feature to determine the requested
compat level from the Build-Depends field.
* 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.
* qmake.pm/qmake4.pm: Avoid global state in the build systems.
* dh_makeshlibs: Fix --no-act, which could still cause writes
to the shlibs file. Thanks to Sven Joachim for reporting it.
(Closes: #888974)
* dh_installdocs: Discard auto-detected main doc package when
passed -A/--all as it causes file-conflicts.
(Closes: #886108, #888294)
* Dh_Lib: Fix regression where "foo{bar}" would not be matched
when the pattern was handled as a glob. The bug was
introduced in debhelper/10.6. Thanks to Wouter Verhelst for
finding the bug. (Closes: #888251)
* d/control: Update the Vcs-* fields to point to
salsa.debian.org as a part of the migration from alioth.
* d/control: Update maintainer address debhelper@packages.d.o
as a part of the migration from alioth. Any subscription
to debhelper-devel@lists.alioth.debian.org should be
replaced by a subscription in tracker.debian.org or
salsa.debian.org.
* d/control: Remove Bernhard R. Link from uploaders as he does
not appear to be active in debhelper at the moment. Thanks
to Bernhard for his past contributions.
* d/control: Bump (Build-)Dependency on dpkg to ensure that
dpkg provides DEB_RULES_REQUIRES_ROOT and DEB_GAIN_ROOT_CMD
as a part of its Rules-Requires-Root support.
* Dh_Lib.pm: Rely on DEB_RULES_REQUIRES_ROOT instead of the
field to determine whether or not tools may "root-only"
actions (such as chown'ing).
* d/control: Bump dependency on dh-autoreconf to ensure that
packages do not experience #887482.
* makefile.pm: Ensure that command line arguments are passed
deterministically to make when cross-compiling.
* 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.
* 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)
* 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.
* dh: Fix non-sense error about a missing "startpoint object
method".
* 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)
[ 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)
* 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.
[ Niels Thykier ]
* dh_installdeb: Do basic validation of rm_conffile and mv_conffile
parameters in "maintscript" parameters in compat 10 and newer.
In compat 12, this is an error. Thanks to Andreas Beckmann for
the suggestions. (Closes: #882626)
* dh_strip: Fix bug where the Build-Id field would not be properly
filled when using --dbg-package. Thanks to Paul Wise for finding
and reporting the bug. (Closes: #884152)
* d/control: Bump Standards-Version to 4.1.2 - no changes required.
* dh_installsystemd: Remove neutering of dh_installsystemd in compat
levels prior to 11 now that compat 11 is stable.
[ Chris Leick ]
* debhelper.pod: Improve the wording of two parapraphs.
[ Translations ]
* Update Portuguese translation (Américo Monteiro)
(Closes: #883635)
* Update German translation (Chris Leick) (Closes: #884205)
* 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.
[ 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".
* 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.
[ Niels Thykier ]
* Document that compat 11 is now in its open beta phase.
* Dh_Getopt: Improve warning message when a package is excluded
due to profiles or architecture restrictions.
* dh_install: Properly allow patterns to be excluded without
complaining about missing files. (Closes: #881658)
* qmake.pm: Ensure that the qmake cross-build config file
survives until clean.
[ Dmitry Shachnev ]
* qmake.pm: Set QMAKE_LINK correctly for cross-builds.
* Revert e5fce9b0a40357f9ed54426f2e04495b1442e8f1,
breaking libguestfs dh_install usr/lib/*-*/ regex
* 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.
* dh_strip: Fix a regression that caused debug symbols for
executables to be discarded instead of included into
debug packages.
* Dh_Lib: Ensure that $dh{U_PARAMS} is always defined as a
list. Thanks to Adrian Bunk for the bug report.
[ Axel Beckert ]
* Cleanup trailing whitespace in ancient debian/changelog entries and
debian/rules.
* Fix typo "belive" in debian/copyright and ancient debian/changelog
entries.
* Use HTTPS in debian/copyright format URL.
[ Niels Thykier ]
* Remove support for named compat levels.
* dh_perl: Make dh_perl faster on packages with large doc
directories by pruning the entire doc directory.
* dh,dh_auto_*: Support skipping all of the dh_auto_* helpers if the
package does not seem to have a build system (and there are no build
system related options passed to dh).
* Dh_Lib.pm: Define a (hardcoded) extension for dbgsym packages.
* dh_gencontrol: Pass -DPackage-Type to dpkg-gencontrol when the
package type for dbgsym is different than for regular deb packages.
* dh_builddeb: Automatically handle renaming of dbgsym packages when
the extension of the dbgsym packages are different than for regular
deb packages.
* dh_installsystemd,dh_systemd_start: Use "restart" instead of the
"try-restart" action. This ensures that newly added services are
started the first time they are installed. (Closes: #879727,
LP: #1707880)
* dh_install: Fix regression where it was no longer possible to
exclude an entire pattern / source file. Thanks to James Cowgill
for the report. (Closes: #814856, LP: #1554979)
* dh_installsystemd: Permit missing explicitly requested file in
package as long as another on being acted on ships it.
* dh_installsystemd: Optimize the search for files installed in the
tmpfiles.d directories to only look in the tmpfiles.d directories.
* Add experimental support for building some packages for "TARGET"
rather than "HOST" via the X-DH-Build-For-Type field. The field
is subject to removal and changes without notice. The field is
not considered by dpkg tooling and therefore you will still have
to manually work around tools like dpkg-gencontrol (even when
called via dh_gencontrol).
* dh_makeshlibs: Ignore non-ELF files even if they are named ".so".
(Closes: #880480)
* Dh_Lib: Improve the performance of isnative by using
Dpkg::Changelog::Parse instead of calling dpkg-parsechangelog as
an external process. This improves the performance of
dh_installchangelogs by ~10%.
[ Felipe Sateler ]
* dh_installsystemd: Fix a bug where dh_installsystemd would generate
invalid maintscript, when there were no units to start or enable.
Thanks to Ben Hutchings and Bastian Blank for the bug report.
(Closes: #881190)
* 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.
* meson.pm: Add missing import of generated_file that broke
cross building.
* Dh_Lib: Fix regression where an empty line before the source
paragraph in d/control would cause parse error.
(Closes: #879762)
* 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.
* meson.pm: Keep the meson cross file until dh_clean is
called as otherwise ninja tries and fails to regenerate the
build rules. Thanks to Helmut Grohne for reporting the
bug. (Closes: #879658)
* dh_dwz: Add new experimental tool to run dwz(1) to deduplicate
ELF debugging symbols. It should be generally be run before
dh_strip (as dh_strip compresses the debug symbols and dwz
expects uncompressed debug symbols). (Closes: #878888)
* dwz.pm: New sequence to add dh_dwz to the sequence.
* d/control: Add a Suggets on dwz for the optional dh_dwz tool.
* Dh_Lib.pm: Fix regression where the source section would not
be parsed leading to dbgsym packages possibly getting an
incorrect value in the Section field. Thanks to Mihai
Moldovan for reporting the issue. (Closes: #879667)
* dh_strip: Skip the entire directory when an exclude rule
parameter matches it.
* dh_fixperms: Improve the documentation to assume less familarity
with "Rules-Requires-Root" (R³).
* dh_usrlocal: Ditto.
* dh_builddeb: Ditto.
* dh_usrlocal: Correct the group name when creating directories
owned by "root:staff". Thanks to Paul Gevers for reporting
the bug. (Closes: #879643)
* dh_usrlocal: Fix inverted boolean logic that made dh_usrlocal
ignore ownership of directories when it should have preserved
them.
* Dh_Lib: Fix uninitialized warning in find_hardlinks that
broke dh_compress's ability to deal with hardlinks. Thanks
to Ondřej Surý for finding the bug.
* debhelper.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.
* 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 ]
* 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 ]
* 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<pkg> and <pkg> is disabled by a Build-Profile.
* debhelper.7: Document how package selections interact with
Build-Profiles. Thanks to Helmut Grohne for the report.
(Closes: #872745)
* dh_installdocs: Validate that the package passed to
--doc-main-package are listed in debian/control.
* dh_installexamples: Ditto.
* dh_systemd_start: Regex escape two paths used in a regex.
* Dh_Lib: Open compat 12.
* dh_clean: Defer making -k an error until compat 12.
* Dh_Getopt: Defer making -s an error until compat 12.
* dh_installinit: Defer making --no-restart-on-upgrade an error
until compat 12.
* Dh_Lib: Defer making the "shell-spawning bug" in doit an error
until compat 12.
* dh_systemd_enable: Fix regression in debhelper/10.9 where
template units would be installed as regular units (and
possibly replace regular units). (Closes: #877989)
* dh_systemd_enable: Drop versioned dependency on
init-system-helpers that is satisfied in oldstable.
* Dh_Lib: Fix regression where --no-act would actually create
maintscript snippets.
* dh_systemd_*: If an unit file cannot be read (e.g. to check for
the [Install] section), error out instead of emitting a warning
and continuing.
* t: Add tests for dh_systemd_* based on WIP tests from Felipe
Sateler related to a new dh_installsystemd helper.
* dh_systemd_enable: Properly quote unit names to preserve
escaped names like "\x2d". Thanks to Bernd Zeimetz for
reporting the issue. (Closes: #764730)
* dh_systemd_start: Ditto.
* meson.pm: Add prototype support for cross building by relying
on /usr/share/meson/debcrossgen. Note that this is currently
not functional due to #875703.
* debian/control: Bump Standards-Versions to 4.1.1 - No changes
required.
[ Dmitry Shachnev ]
* qmake.pm: Add basic cross-building support. (Closes: #877357)
[ Niels Thykier ]
* debhelper.pod: Fix typo.
* dh_fixperms: Reset permissions of .scss and .sass files to
0644. Thanks to Jonas Smedegaard for the suggestion.
(Closes: #875586)
* dh_shlibdeps: Disable unused file(1) tests.
* dh_strip: In compat 11, rely on file headers/magic to
determine whether files are ELF binaries worth processing
instead of using filenames/extensions. (Closes: #35733)
* dh_shlibdeps: Ditto.
* d/control: Bump Standards-Versions to 4.1.0:
- Bump priority of dh-systemd to "optional".
* dh_makeshlibs: Avoid gratious warning about a non-existing
directory, when the packaging directory does not exist.
(Closes: #626685)
* dh_gencontrol: Ensure that dbgsym packages do not inherit the
"Important" field.
* dh_installinfo: Merge two chmod calls into one to save a
fork+exec.
* dh_builddeb: Use -z6 compression for udebs (up from -z1).
Thanks to Adrian Bunk for the suggestion and Aurelien Jarno
for confirming it would be fine for d-i. (Closes: #870201)
* dh_fixperms: Set the permissions of /usr/lib/nodejs/*/{cli,bin}.js
to 0755. Thanks to Pirate Praveen for the report.
(Closes: #840913)
* Dh_lib.pm: Expand *_doit and doit to also support a chdir in the
child process.
* Dh_Getopt.pm: Validate package names passed via -p and -N to ensure
they are present in d/control. Thanks to Matthias Klose for the
report. (Closes: #795432)
* debhelper.7: Fix typo of compatibility.
[ Felipe Sateler ]
* dh_systemd_enable: Refactor and add support for timer units.
(Closes: #841746)
[ Niels Thykier ]
* Dh_Lib: Introduce a qx_cmd sub to behave like a mix of qx
and doit (i.e. avoid the shell while capturing stdout).
* dh_makeshlibs: Avoid forking a shell when calling objdump in
compat 11.
* dh_shlibdeps: Avoid forking a shell when calling file.
* dh_shlibdeps: Avoid passing files with "newline" to
subprocesses.
* dh_installdocs: Ignore missing files in compat 11 for packages
that are not processed (e.g. arch:all packages during a -B build).
Thanks to Jens Reyer for reporting the issue. (Closes: #870892)
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_compress: Avoid forking a shell for a find command.
* dh_gconf: Ditto.
* dh_installgsettings: Ditto.
* dh_perl: Avoid forking a shell for a dpkg call.
* dh_gencontrol: Set the priority of all dbgsym packages to
optional to be compliant with Standards-Version 4.0.1.
Thanks to Mattia Rizzolo for the report. (Closes: #870905)
* dh_installdocs: Accept "nodoc" via DEB_BUILD_OPTIONS as well.
Thanks to Sébastien Villemot for the suggestion.
(Closes: #866619)
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_installwm: Ditto.
* debhelper.pod: Tweak text for some compat 11 changes.
* dh_installdeb: Stop emitting versioned Pre-Depends on dpkg for
symlink_to_dir and dir_to_symlink maintscripts. The version
requirements are satisfied in oldoldstable.
* dh_installdocs: Merge two chmod calls to save a fork+exec.
* dh_strip: Disable parallelism when --dbg-package is used as it
causes non-deterministic failures in some cases. Thanks to
Helmut Grohne for reporting the issue. (Closes: #872007)
* dh_installdocs: Auto-detect "main package" for documentation
packages in compat 11 to assist with Debian policy §12.3. This
auto-detection can be overruled with the new --doc-main-package.
(Closes: #824221)
* dh_installexamples: Ditto.
* dh_update_autotools_config: Improve detection to also catch very
old versions of config.{guess,sub} that do not have the
"timestamp" variable. Thanks to Guillem Jover for reporting the
bug. (Closes: #872510)
[ Adam Conrad ]
* dh_gencontrol: Change the synopsis of dbgsym packages so it
follows best practises. (Closes: #872274)
[ Geoffrey Thomas ]
* Support building debhelper on case-insensitive filesystems by
moving the Debian (perl package) to the lib subdirectory.
(Closes: #873043)
* Define U_PARAMS correctly in dh_builddeb, and don't try to use it when it
isn't defined.
* 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.
* Dh_Lib: Fix inverted boolean logic that causes a
compatibility rule to be ignored. Thanks to Adrian Bunk,
Andreas Beckmann, Markus Koschany and Emmanuel Bourg for
reporting and analysing the issue. (Closes: #870339)
* Dh_Lib: Fix doit's new call to ensure it does not call a shell
(like the documentation promises).
* dh: Ensure that we do not fork a shell for running a simple
command.
* autoconf: Revert expansion of ${var} variables passed to
configure as several packages implicitly assume that are not
expanded. E.g. liblockfile relies on ${prefix} being
unexpanded for DESTDIR to work. Reopens: #813266
[ Niels Thykier ]
* dh_usrlocal: Fix call to doit to avoid making it fork a shell.
* autoconf.pm: Ditto.
* cmake.pm: Ditto.
* meson.pm: Ditto.
* dh_installmodules: Ensure maintscripts are reproducible even with
multiple kernel versions detected.
* Apply patches from gregor herrmann to improve autopkgtests.
* Dh_Lib: Introduce a print_and_complex_doit.
* Buildsystem: Introduce a complex_doit_in_builddir, which is needed
by gradle-debian-helper.
* Dh_Lib: Fix bug in doit + doit_* that made them fork a shell in
some cases. For backwards compatibility, there is detection code
that should make it warn for this case and retain bug-compatibility.
This can cause a weird "Please specify the compatibility level in
debian/compat" error if the tools have chdir to a different directory.
* Dh_Lib: Support an optional hashref in doit + doit_* to enable some
trivial operations in the child process (e.g. redirect stdout).
* dh_installman: Avoid forking a shell where a simple subprocess call
is sufficient.
* Dh_Lib: Avoid forking 2 to 7 subprocesses for adding an autosnippet
when helper tools use a subroutine rather then a sed snippet.
* Dh_Lib: Extend autoscript to accept a hashref and use that for
substituting into the snippet. This variant (like the subroutine
variant) avoids forking a lot of subprocesses and need not worry
about a shell possibly interpreting metacharacters.
* dh_installman: Pass "-l" to man when recoding the manpages.
* dh_icons: Use hashref based autoscripts generation.
* dh_installcatalogs: Ditto.
* dh_installemacsen: Ditto.
* dh_installmenu: Ditto.
* dh_installmodules: Ditto.
* dh_installwm: Ditto.
* dh_installxfonts: Ditto.
* dh_systemd_enable: Ditto.
* dh_systemd_start: Ditto.
* Dh_Lib: Reduce the use of shell and external commands for
generating the final maintscripts.
* Dh_Lib: Make getpackages without any arguments return all
packages as the documentation promises it should. Previously,
it would hide packages not built (e.g. due to Build-Profiles).
* Dh_Lib: Provide a better error message when getpackages() is called
by a helper in the wrong directory. Unfortunately, dh cannot rely
on dh_testdir to do this as dh_testdir is called too late.
* dh: optimize out the call to dh_testdir. It is useless for
printing a helpful error message when called by dh.
* dh_installdocs: Apply patch from Sven Joachim to revert an
incorrect regression "fix". Thanks to Adrian Bunk for
reporting the issue. (Closes: #868649)
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_gencontrol: Rewrite code that ensures that misc:Depends and
misc:Pre-Depends are present to avoid relying external processes
for this.
* dh_builddeb: Let dpkg-deb choose the default compression level for
dbgsym packages instead of using xz -1e. The current default (xz -6)
is likely to be a better default value for dbgsym packages. Thanks to
Adrian Bunk for the suggestion. (Closes: #868674)
* cmake.pm: Pass -DCMAKE_INSTALL_RUNSTATEDIR=/run to cmake in compat 11.
Thanks to Felix Geyer for the suggestion. (Closes: #869697)
* cmake.pm: Avoid using the user specific cmake package registry. Thanks
to Christian Seiler and Felix Geyer. (Closes: #868584)
[ Colin Watson ]
* Quote assignment to $recommended_compat in case it isn't a valid Perl
version string (e.g. for Debian derivatives). Fix typos that caused it
not to be used correctly. Use the /g flag so that all instances of the
substitution variable are handled. (Closes: #869780)
[ Isaac Jurado ]
* Make the autoconf buildsystem expand "${var}" values send to configure
(e.g. pass --mandir=/usr/share/man instead of --mandir=${prefix}/share/man).
(Closes: #813266)
* 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.
* 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.
* 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.
* 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.
* Makefile: Enable running some tasks in parallel to better
utilize multiple cores.
* Dh_Lib: Revert a change that caused dh_install (and other
tools) to take filenames as absolute if they started with
a leading slash. Thanks to Sven Joachim for the prompt
discovery and notification. (Closes: #866570)
* dh_install: Make optimization conditional on compat 11
for now. (Closes: #866405)
* dh_installinfo: Use "xargs" so it works even if there are
"a lot" of info files.
* Dh_Lib: Introduce a is_build_profile_active function, which
can be used to check if a given Build-Profile was specified.
* dh_installdocs: Ignore given documentation files when the
"nodoc" build profile is specified in DEB_BUILD_PROFILES.
Note that dh_installdocs is not a complete noop in this case
as it still ensures the package has a copyright file (or a
symlinked doc directory). (Closes: #865869)
* dh_installman: Fix regression in compat 5 that could make it
ignore one manpage per invocation.
* dh_installdocs: Warn if a pattern in the config file matches
nothing. In compat 11, this becomes a hard error.
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_installexamples: Support missing documentation under the nodoc
profile.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_installwm: Ditto. (Closes: #865707)
* dh_installdocs: Log installed files so dh_missing can see them.
* dh_installexamples: Ditto. (Closes: #863456)
* dh_installinfo: Ditto.
* dh_installdocs: In compat 11, automatically fall back to debian/tmp
if the files are not found in ".". Furthermore, accept the option
--sourcedir with the same meaning as dh_install.
* dh_installexamples: Ditto.
* dh_installinfo: Ditto.
* dh_installman: Ditto.
* dh_installman: Fix bug in how it handled language auto-detection in
compat 11. Previously, it did not work as intended.
* dh_installdocs: Revert change in compat 11, where it would install
documentation into /usr/share/doc/mainpackage. (Reopens: #824221)
* Dh_Lib: Stop setting PERL_USE_UNSAFE_INC in compat 11.
* perl_build.pm: Stop passing -I. to perl in compat 11.
* perl_makemaker.pm: Ditto.
* Dh_Lib.pm: Fix rounding error when computing how many processes
to use. This rounding error could cause dh-tools to use one more
process than permitted by DEB_BUILD_OPTIONS.
* Dh_Lib.pm: Check return value of open+close when creating a log of
installed files.
* Dh_Lib.pm: Implement subroutines to facility file removal and
symlink creation without a fork+exec.
* Dh_Lib: Avoid a fork+exec for rm -f and ln -s.
* dh_compress: Ditto.
* dh_installman: Ditto.
* dh_clean: Avoid a fork+exec for rm -f.
* dh_installdeb: Ditto.
* dh_makeshlibs: Ditto.
* dh_md5sums: Ditto.
* dh_installdocs: Avoid a fork+exec for ln -s.
* dh_strip: Ditto.
* Dh_Lib: Avoid 1-2 stat calls in make_symlink by reusing existing
stat calls.
* dh_installman: Avoid a fork+exec for renaming a path.
* dh_installdocs: Avoid unnecssary stat call.
* dh_installman: Ditto.
* dh_strip: Ditto.
* dh_shlibdeps: Fix a regression where non-detached debug symbol files
where not properly processed. Thanks to Sven Joachim for reporting
the issue. (Closes: #865982)
* dh_installman: When re-encoding manpages, use the actual manpages as
tasks to split rather than packages. This provides a much better
performance if the manpages are unevenly split between the packages.
* dh_install: Optimize some patterns into bulked "cp" calls. This
optimization is only applicable in some cases (notably, it is always
disabled by --exclude).
* dh_builddeb: Account for dbgsym packages separately when determining
how many tasks can be run in parallel.
* dh_strip: Process packages in parallel.
* Upload to unstable. (Closes: #865363)
[ Niels Thykier ]
* dh_installman: Remove unncessary "chown" call that made things a
lot slower. Thanks to Kurt Roeckx for reporting it.
* dh_installman: Fix wrong permission of man pages (set 0755 instead
of 0644). Regression introduced in 10.2.2.
* dh_installman: Batch chmod calls to reduce the overhead for
packages with many manpages.
* dh: Undo an unsafe optimisation that caused "-indep" and "-arch"
override targets to be ignored. Thanks to Gianfranco Costamagna
for reporting it and Iain Lane for tracing it to the commit
that introduced the issue. (Closes: #863887)
* dh_clean, dh_prep: Bulk delete most files and directories, which
gives a noticeable speed up for source packages building many
binary packages.
* dh_shlibdeps: Avoid creating debian/<pkg>/DEBIAN directory if it
is not needed.
* Dh_Lib.pm: Fix typo in error message.
* Dh_Lib.pm: Rewrite install_* to use File::Copy to avoid the
overhead of a fork+exec per file. For simplicity, the verbose
output still claim debhelper uses "install -p -m <mode>" for this.
* Dh_Lib.pm: Replace most of the fork+exec calls to mv for simple
file renames.
* Dh_Lib.pm: Add sub to make common dh_* tools do their thing in
parallel with very little coding effort. This parallel support
accounts for DEB_BUILD_OPTIONS to set the upper limit.
* dh_fixperms: Run package updates in parallel if DEB_BUILD_OPTIONS
permits it.
* dh_installchangelogs: Ditto.
* dh_compress: Ditto.
* dh_installman: Ditto.
* dh_genchanges: Ditto.
* dh_shlibdeps: Ditto.
* dh_md5sums: Ditto.
* dh_builddeb: Rewrite the hand-written parallel code to use the new
simpler way of doing it.
* dh_shlibdeps: Avoid calling file(1) on debug symbols.
* SUPPORT-POLICY: Include new document that describes the current
support policy of debhelper compat levels.
* Dh_Lib.pm: Pass ":unix" layer when using the ":gzip" layer due to
PerlIO-gzip bug RT#114557.
* Dh_Lib.pm: Ignore empty dpkg-architecture variables.
(Closes: #862844)
* dh_installchangelogs: Avoid trying to install a directory by default
as a changelog file. Thanks to Markus Koschany for reporting the
issue. (Closes: #861852)
* dh_installwm.1: Correct documentation to reflect the behaviour in
compat 10. Thanks to Robert Luberda for reporting the issue.
(Closes: #865708)
* dh_installcatalogs: Use explicit await triggers to avoid trigger
a lintian warning.
* dh_installman: In compat 11, attempt to detect the language of the
manpage based on the directory (/man/<LANG>/manX/) before using the
extension. This is more reliably for packages using dh_installman
to install manpages from the temporary install dir.
(Closes: #761024)
* dh_installcatalogs: Check the return code of close when generating
a catalog for sgml-base.
* Dh_Lib.pm: Emulate "install -d" with File::Path to avoid a fork+exec
for creating directories. For simplicity, the verbose output still
claim debhelper uses "install -d" for this.
* dh_auto_install: In compat 11, do noot create package build
directories (except if one of them happens to be the default
"destdir" for dh_auto_install).
[ Iain Lane ]
* Dh_Lib: Re-add warning + exit 0 for the -i/-a shortcut that was
added in 10.3. (Closes: #863961)
* dh_install: Pass --exclude/-X to dh_missing. (Closes: #863447)
[ Michael Stapelberg ]
* Dh_Getopt: Provide a more detailed error message when there are
no buildable packages caused by architecture restrictions.
(Closes: #858467)
* Dh_Lib: Split package_arch($package) into three distinct functions.
* 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)
* 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.
* 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)
[ 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)
* Restore maintainer ability to override ddeb compression (LP: #1691078)
* 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.
* 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.
[ Translations ]
* Add Japanese translation (Hideki Yamane) (Closes: #852520)
[ 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)
[ 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)
* 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.
* 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 usin the "make" build-system for the
heavy lifting). (Closes: #839681)
* dh_installdirs: In compat 11, avoid creating debian/<pkg>
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.
* 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.
* Apply patch from Peter Pentchev to fix some typos.
* Apply patch from Michael Biebl to undo a major
regression where all of debhelpers 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.
* 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,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.
* 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.
[ 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)
* 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)
* 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.
* 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.
* 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)
* 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".
* Dh_Lib.pm: Reject requests for compat 4 instead of
silently accepting it (while all helpers no longer
check for it).
* 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.
* 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.
* d/control: Requre 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.
* 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.
* 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 ]
* 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/<pkg>/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)
* 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).
* 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)
* 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.
* 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 ]
* 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)
* 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.
* dh_strip: Document that dbgsym packages are built by
default.
* Dh_Lib: Cache the results of getpackages.
* dh_gencontrol: Create debug symbol packages with the same
component as the original package.
* 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)
* 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 ]
* 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 ]
* 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)
* 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 ]
* 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 snippts for tmpfiles.d
files even if the package has no sysvinit script or
explicit debian/<package>.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: 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: 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
deattached 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)
* 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.
* 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).
* 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 ]
* 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)
* Add /experimental/ ddebs support if the environment
variable DH_BUILD_DDEBS is set to 1.
* dh_compress: REVERT change to avoid compressing ".xhtml"
files due to #784016. (Reopens: #740405, Closes: #784016)
[ 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: 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: 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.1: 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: 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 ]
* 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.
* Add missing entry about #747141.
* Fix typo in comment in dh_installman. Thanks to Raphael
Geissert for spotting it. (Closes: #772502)
[ 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)
* I'm leaving Debian, and Debhelper needs a new maintainer.
* dh_installdeb: Sort conffile list so there is a stable order for
reproducible builds. Closes: #766384 Thanks, Jérémy Bobbio.
[ 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
* dh_clean: Skip over .git, .svn, .bzr, .hg, and CVS directories
and avoid cleaning their contents. Closes: #760033
* Added Portuguese translation of the man pages, by Américo Monteiro.
Closes: #758043
* Updated German translation from Chris Leick.
Closes: #735610
* 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
* 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.
* Fix breakage in no-act mode introduced in last release.
* 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.
[ 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 ]
* 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
* dh_compress: Exclude several more compressed file formats.
Closes: #730483
* 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
* Fix (horrible) make output parsing code to work with make 4.0.
Closes: #728800 Thanks, Julien Pinon
[ 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.
<https://lists.alioth.debian.org/mailman/listinfo/debhelper-devel>
* 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
* 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.
* 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
* perl_build: Use -- long option names, for compatibility with
Module::Build::Tiny. Closes: #714544
(Thanks, gregor herrmann)
* dh_strip: Run readelf in C locale. Closes: #714187
* 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?
* dh_installchangelogs: Fix bug preventing automatic installation of
upstream changelog. Closes: #711131
* 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
* 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
* Revert unsetting INSTALL_BASE. Closes: #708452 Reopens: #705141
* dh_installinit: Remove obsolete systemd-tempfiles 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
* 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 existance 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)
* dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially 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 presense 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
* 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
* dh_installcatalogs: Adjust catalog conffile conversion to avoid
dpkg conffile prompt when upgrading from a removed package.
Closes: #681194
* 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
* dh_installcatalogs: Turn /etc/sgml/$package.cat into conffiles
and introduce dependency on trigger-based sgml-base. Closes: #477751
Thanks, Helmut Grohne
* Spanish translation update. Closes: #673629 Thanks, Omar Campagne
* Set Multi-Arch: foreign. Closes: #674193
* Fix versioned dependency on dpkg for xz options. Closes: #672895
* dh_link: Doc improvement. Closes: #672988
* 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 yeilding the best compressions for udebs. Thanks, Philipp Kern.
* Depend on a new enough dpkg for above features. Backporters will need
to revert these changes.
* 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
* Fix compat level checking for cmake. Closes: #669181
* cmake: Only pass CPPFLAGS in CFLAGS in v9.
* 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 ]
* 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
* 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
* Also include CFLAGS in ld line for perl. Closes: #662666
* 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.
* 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
* Typo. Closes: #653006
* Typo. Closes: #653339
* 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?
* 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
* Fix broken option passing to objcopy. Closes: #649044
* 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
* 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
* 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.
* 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 precidence 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.
* dh_installlogcheck: Add support for --name. Closes: #639020
Thanks, Gergely Nagy
* 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
* 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)
* dh: Remove obsolete optimisation hack that caused sequence breakage
in v9 with a rules file with an explict build target. Closes: #634784
* dh: Support make 3.82. Closes: #634385
* 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)
* 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.
* dh_ucf: Fix missing space before ']'s in postrm autoscript.
* 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
* 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 ]
* 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.
* Fix logging at end of an override target that never actually runs
the overridden command. Closes: #613418
* 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 ]
* 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
[ 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.
* perl_makemaker: import compat(). Closes: #587654
* 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.
* 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
* 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
* Memoize architecture comparisons in samearch, and avoid calling
dpkg-architecture at all for simple comparisons that clearly
do not involve architecture wildcards. Closes:# 579317
* dh_gconf: Depend on new gconf2 that uses triggers, and stop
calling triggered programs manually. Closes: #577179
* 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.
* 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.
* 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 existance of a makefile target. Closes: #570443
* dh: Disable option bundling to avoid mis-parsing bundled options such
as "-Bpython-support". Closes: #570039
* dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586
* Fix handling of -O with options specified by commands. Closes: #568081
* 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
* 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)
* 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
* Typo. Closes: #558654
* dh_installinit: Fix installation of defaults file when an upstart job is
installed. Closes: #558782
* 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)
* make: Avoid infinite make recursion that occurrs when testing existence
of a target in a certian 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
* Update --list to reflect buildsystem autoselection changes.
* Remove last vestiages of support for /usr/X11R6.
* cmake: Fix deep recursion in test. Closes: #557299
* ant: Fix auto-selection breakage. Closes: #557006 (Cyril Brulebois)
* 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)
[ 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)
* 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/<package>.<name>.udev
to rules.d/<priority>-<name>, the same as debian/<name>.udev
is installed for the first package. Closes: #546337
[ 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
* Optimise -s handling to avoid running dpkg-architecture if a package
is arch all. This was, suprisingly, 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
* 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)
* 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/.
[ 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
[ 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
* 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.
* perl_build: Fix Build check to honor source directory setting.
* 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.
* cmake: Avoid forcing rpath off as this can break some test suites.
It gets stripped by cmake at install time. Closes: #538977
* Fix t/override_target to use ./run. Closes: #538315
* First upload of buildsystems support to unstable.
Summary: Adds --buildsystem (modular, OO buildsystem classes),
--sourcedirectory, --builddirectory, and support for cmake
and ant.
* perl_makemaker: Re-add fix for #496157, lost in rewrite.
[ 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.
* Merged debhelper 7.2.24.
* Add ant buildsystem support. Closes: #537021
* Merged debhelper 7.2.22.
* Merged debhelper 7.2.21.
* Merged debhelper 7.2.20.
* 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.
* dh_install: Add test suite covering the last 5 bugs.
* dh_install: Fix support for the case where debian/tmp is
explicitly specified in filename paths despite being searched by
default. Closes: #537140
* 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
* Add a versioned dep on perl-base, to get a version that supports
GetOptionsFromArray. Closes: #536310
* dh_install: Fix installation of entire top-level directory
from debian/tmp. Closes: #535367
* 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)
* 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
* 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
* dh_gconf: Add missed half of postrm fragment removal. Closes: #531035
* 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
* dh: Avoid writing log after override_dh_clean is run. Closes: #529228
* dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL.
Closes: #528235
* dh_auto_configure: Revert --skipdeps change
Closes: #528647, reopens: #528235
* 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)
* 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
* 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).
* 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.
* 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
* Examples files updated to add dh_bugfiles, remove obsolete
dh_python.
* dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck. Closes: #519374
* 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, unfortunatly. I hope its behavior will
change.
* dh_makeshlibs: Fix --add-udeb, for real. Closes: #518706
* 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 accidentially added here).
* 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.
* Merged debhelper 7.0.52.
* 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).
* dh_install(1): Order options alphabetically. Closes:# 503896
* Fix some docs that refered 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.)
* 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.
* dh: Fix make parsing to not be broken by locale settings.
Closes: #517617
* dh: Man page typos. Closes: #517549, #517550
* 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).
[ 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
* dh: Avoid passing --with on to subcommands. Closes: #490886
* dh_installchangelogs: When searching for changelog in v7 mode, skip
empty files. Closes: #490937
* dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918
* Load python-support sequence file first, to allow ones loaded later to
disable it.
* 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
* 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.
* 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
* dh_compress: Do not compress index.sgml files, as generated by gtk-doc.
Closes: #484772
* 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
* 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.
* dh_installxfonts: Fix precidence problem that exposes a new warning
message in perl 5.10.
* dh_auto_test: Correct Module::Build tests.
* Convert copyright file to new format.
* dh_test*: inhibit logging. Closes: #478958
* Fix underescaped $ in Makefile. Closes: #478475
* dh_auto_test: Run tests for Module::Build packages. (Florian Ragwitz)
* 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.
* 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.
* 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.
* 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).
* 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
* 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
* dh_perl: Remove empty directories created by MakeMaker.
* dh_installman: Don't recode symlinks. Closes: #471196
* dh_installman: Convert all man pages in the build directory to utf-8, not
just those installed by the program.
* 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.)
* dh_compress: Pass -n to gzip to yeild 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 completly random
(hash key order), so sort it. Closes: #468959
* dh_installman: Recode all man pages to utf-8 on installation.
Closes: #462937 (Colin Watson)
* Depend on a new enough version of man-db.
* 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.
* 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
* Revert slightly broken refactoring of some exclude code.
Closes: #460340, #460351
* 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.
* 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.
* dh_installdocs: Tighten doc-base document id parsing to only accept
the characters that the doc-base manual allows in the id. Closes: #445541
* 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.
* 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
* 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.
* dh_installdeb: Add support for dpkg triggers, by installing
debian/package.triggers files.
* dh_clean: append "/" to the temp dir name to avoid removing
a file with the same name. Closes: #445638
* 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.
* dh_installmodules: Since modutils is gone, stop supporting
debian/*.modutils files. Warn about such files. Closes: #443127
* 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
* 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
* dh_icons: Check for index.theme files before updating the cache.
Closes: #432824
* Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach.
Closes: #432321
* 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
* 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)
* 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.
* Remove use of #SECTION# from dh_installinfo postinst snippet
that was accidentially re-added in 5.0.46 due to a corrupt svn checkout.
Closes: #419849
* Fix absurd typo. How did I test for an hour and miss that? Closes: #419612
* Fix a typo in postinst-udev.
* 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 fragement reversal only in v6, since it can break certian
third party programs such as dh_installtex. Closes: #419060
* 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
[ 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.
[ Valery Perrin ]
* Update french translation with recents 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 ]
* 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
[ Valery Perrin ]
* Update french translation with recent change in dh_python
[ Joey Hess ]
* Tighten conflict with python-central. Closes: #391463
* dh_python: Also be a no-op if there's a Python-Version control file field.
[ 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.
* Non-maintainer upload.
* Update of dh_python
- when buidling 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 unitialized value. Closes: #374776
- fix typos in POD documentation. Closes: #375936
* 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.
* Non-maintainer upload.
* Integrate the new dh_python implementing the new Python policy. Closes: #370833
* 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-<kvers> <kvers>
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
[ 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.
* 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
* dh_installcatalogs: Make sure that /etc/sgml exists. Closes: #364946
[ 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
* dh_installudev: Include rules.d directory so symlink can be made even
before udev is installed. Closes: #363307
[ Valery Perrin ]
* Update french translation with recents 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.
* 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.
* 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.
* dh_makeshlibs: Fix udeb package name regexp. Closes: #361677
[ 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
* dh_installinit: Fix badly generated code in maint scripts 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.
* dh_installdebconf: For udebs, misc:Depends will now contain cdebconf-udeb.
[ 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)
* 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
* 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.
* dh_installman: correct mistake that broke translated man page installation
Closes: #349995
* Minor bug fix from last release.
* dh_installman: add support for --language option to override man page
language guessing. Closes: #193221
* 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
* 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
* Fix dangling markup in dh_installinit pod. Closes: #348073
* Updated French translation from Valéry Perrin. Closes: #348074
* Fix ghastly option parsing error in last release that broke
--noscripts (-n was ok). Thanks, Marc Haber. Closes: #347577
* 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 ]
* 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.
* dh_installdocs: document that -X affects doc-base file installation.
Closes: #345291
* French translation update. Closes: #344133
* dh_installdocs: Fix bug introduced by empty file skipping that prevented
errors for nonexistent files. Closes: #342729
* 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
* 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
* Patch from Valéry Perrin to update Frensh 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
* Pass --name in debhelper.pod pod2man run. Closes: #338349
* Create Dh_Version.pm before running syntax test. Closes: #338337
* 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
* 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.
* Sometimes it's a good idea to edit more files than just the changelog
before releasing.
* dh_installinfo: Escape section with \Q \E. Closes: #337215
* 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
* Patches from Ghe Rivero to fix outdated paths in French and Spanish
translations of dh_installmenus(1). Closes: #335314
* add.fr update. Closes: #335727
* 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
* dh_strip: Man page typo fix. Closes: #332747
* dh_installdeb: Don't autogenerate conffiles for udebs.
Let's ignore conffiles (and shlibs) files for udebs too.
Closes: #331237
* Patch from Valéry Perrin to update the Spanish translation.
Closes: #329132
* Patch from Valéry Perrin to use po4a for localised manpages. Thanks!
Closes: #328791
* dh_shlibdeps: Avoid a use strict warning in some cases if
LD_LIBRARY_PATH is not set.
* ACK NMU. Closes: #327209
* 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
* Spelling patch from Kumar Appaiah. Closes: #324892
* dh_installdocs: Fix stupid and horrible typo. Closes: #325098
* dh_installdocs: Install symlinks to in -x mode, same as in non exclude
mode. Closes: #324161
* 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 distroties in
/usr/local, but only subdirectories thereof, in accordance with policy.
Closes: #319181
* 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 necesary for sanity.
* Dh_Lib: Make COMPLEX_DOIT properly escape wildcards for use with
complex_doit. Before they were unescaped, which could lead to subtle
breakage.
* Fix typo in postrm-modules fragment. Closes: #316069
Recommend any dh_installmodules users rebuild ASAP.
* Fix typo in dh_install example. Closes: #314964
* Fix deprecation message. Closes: #315517
* Fix typo in dh_strip.
* 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 simplfy 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.
* Spanish translation update for dh_installdebconf(1).
* YA man page typo fix. Closes: #308182
* Man page typo fixes. Closes: #305809, #305804, #305815, #305810
Closes: #305812, #305814, #305819, #305818, #305817, #305822
* The infinite number of monkeys release.
* dh_md5sums: don't crash if PWD contains an apostrophe. Closes: #305226
* 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)
* 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.
* 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
* dh_installmime: Patch from Loïc Minier to add support for instlaling
"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.
* dh_installdocs Spanish manpage update
* dh_installlogcheck: change permissions of logcheck rulefules from 600 to
644, at request of logcheck maintainer. Closes: #288357
* dh_installlogcheck: fix indentation
* dh_python: Add 2.4 to python_allversions. Closes: #285608
* dh_desktop: Fix underescaping of *.desktop in call to find.
Closes: #284832
* 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
* dh_shlibdeps: Only set LD_LIBRARY_PATH when calling dpkg-shlibdeps.
Closes: #283413
* Spanish man page updates.
* Improve the documentation of dh_makeshlibs behavior in v4 mode.
Closes: #280676
* Fix typo introduced last release. Closes: #278727
* 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
* Add dh_desktop, from Ross Burton. Closes: #275454
* dpkg-cross is fixed in unstable, version the conflict. Closes: #265777
* Conflict with dpkg-cross since it breaks dh_strip.
* 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
* Spanish man page updates from Ruben Porras. Closes: #261516
* dh_gconf: fix glob escaping in find for schemas. Closes: #260488
* dh_gconf: deal with problems if /etc/gconf/schemas doesn't exist any more
(#258901)
* Make dh_gconf postinst more portable.
* Strip spoch when generating udeb filenames. Closes: #258864
* 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 innaccuracy 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.
* dh_installinit: Added --error-handler option. Based on work by Thom May.
Closes: #209090
* dh_installmodules: Look for .ko files too. Closes: #248624
* dh_fixperms: fix permissions of .h files. Closes: #252492
* 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
* dh_installinfo: escape '&' characters in INFO-DIR-SECTION when calling
sed. Also support \1 etc for completeness. Closes: #246301
* Spanish translation of dh_installppp from Ruben Porras. Closes: #240844
* dh_fixperms: Make executable files in /usr/games. Closes: #243404
* Add support for cron.hourly. Closes: #240733
* Bump dh_strip's recommended bintuils dep to current. Closes: #237304
* Spanish man page updates by Ruben Possas and Rudy Godoy.
* 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 behavor with globs
passed in from the shell. See bug #234105
* dh_movefiles: use xargs -0 to safely remove files with whitespace,
etc. Patch from Yann Dirson. Closes: #233226
* dh_shlibdeps: Turn on for udebs. It's often wrong (and ignored by d-i),
but occasionally right and necessary.
* 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
* Added udeb support, as pioneered by di-packages-build. Understands
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for
details.
* Dh_Lib: 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 substiture #DEBHELPER# tokens in
postinst scripts for udebs.
* dh_installdebconf: skip config script for udebs, still do templates
* 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
* dh_scrollkeeper: Make postinst /dev/null stdout of which test.
* dh_strip: Fix a unquoted string in regexp in the dbg symbols code.
Closes: #228272
* dh_gconf: Add proper parens around the package version in the misc:Depends
setting.
* dh_gconf: Fix man page typos, thanks Ruben Porras. Closes: #228076
* dh_gconf: Spanish man page from Ruben Porras. Closes: #228075
* dh_install: add missing parens to the $installed regexp. Closes: #227963
* dh_install: improve wording of --list-missing messages
* 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..
* Clarify dh_install's autodest behavior with wildcards. Closes: #224707
* Add remove guard to prerm-info. Closes: #223617
* Remove #INITPARMS# from call to update-rc.d in postrm-init. Closes: #224090
* 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.
* Add the Spanish manpages I missed last time. Closes: #218718
* dh_installman: support compressed man pages when finding .so links.
Closes: #218136
* 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
* dh_installcatalogs: Fixed to create dir in tmpdir. Closes: #218237
* Remove the "L" from reference to menufile(5). Closes: #216042
* Patch from Andrew Suffield <asuffield@debian.org> 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.
* dh_install: add --fail-missing option. Closes: #120026
* Fix mispelling in prerm-sgmlcatalog. Closes: #215189
* Only list dh_installman once in example rules.indep. Closes: #211567
* Really fix the prerm-sgmlcatalog, not the postrm. Closes: #209131
* dh_installcatalogs: in prerm on upgrade, call update-catalog on the
advice of Adam DiCarlo. Closes: #209131
* Switch from build-depends-indep to just build-depends.
* dh_installman: match .so links with whitespace after the filename
Closes: #208753
* Typo. Closes: #207999
* Typo, typo. Closes: #208171 :-)
* 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
* dh_installppp: correct filenames on man page. Closes: #206893
* dh_installinit: man page typo fix and enhancement. Closes: #206891
* 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
* dh_python: Another patch, for pythonX.Y-foo packages.
* dh_link: Improve error message if link destination is a directory.
Closes: #206689
* 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.
* 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.
* dh_python: Add a -V flag to choose the python version modules in a package
use. Patch from Josselin, of course.
* dh_python: patch from Josselin to fix generated depends. Closes: #204717
* dh_pythn: also stylistic and tab damage fixes
* Fix a bug in quoted section parsing that put the quotes in the parsed
out section number. Closes: #204731
* dh_makeshlibs: only scan files matching *.so.* and *.so, not *.so*.
Closes: #204559
* dh_python: support python ver 2.3. Closes: #204556
* dh_installman: support .TH lines with quotes. Closes: #204527
* Typo, Closes: #203907
* dh_python: clan compiled files on downgrade, upgrade, not only
removal. Closes: #204286
* dh_install: Add LIMITATIONS section and other changes to clarify
renaming. Closes: #203548
* 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.
* dh_strip: do not strip files multiple times.
* dh_scrollkeeper: fix postrm to not run if scrollkeeper is not present
* dh_scrollkeeper: fixed some overenthusiastic quoting. Closes: #201810
* 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
* 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
* dh_clean: make -X work for debian/substvars file.
* dh_installman: Don't require trailing whitespace after the seciton number
in the TH line.
* dh_python typo fix Closes: #197679
* dh_link: don't complain if tmp dir does not exist yet when doing pre-link
scan.
* dh_install: recalculate automatic $dest eash time through the glob loop.
It might change if there are multiple wildcards Closes: #196344
* 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.
* Typo fixes from Adam Garside.
* dh_python: don't bother terminating the regexp, 2.2.3c1 for example.
Closes: #194531
* dh_python: allow for a + at the end of the python version, as in the
python in stable, version 2.1.3+.
* dh_python: Honour -n flag. Closes: #192804
* Fix stupid typo in dh_movefiles. Closes: #188833
* dh_movefiles: Do not pass --remove-files to tar, since that makes
it break hard links (see #188663).
* Fix build with 077 umask. Closes: #187757
* Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
* Add calls to dh_installcatalogs to example rules files. Closes: #186819
* Fixed dh_installcatalog's references to itself on man page.
Closes: #184411
* dh_installdebconf: Set umask to sane before running po2debconf or
debconf-mergetemplates
* dh_installmenu: Refer to menufile(5) instead of 5L so as not to confuse
pod2man. Closes: #184013
* Rename debhelper.1 to debhelper.7.
* Typo, Closes: #183267
* Removed vegistal substvars stuff from dh_inistallinit.
* Update debhelper(1).
* 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
* 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.
* Added dh_installcatalogs, for sgml (and later xml) catalogs. By
Adam DiCarlo. Closes: #90025
* Turned dh_undocumented into a no-op, as policy does not want
undocumented.7 links anymore.
* 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.
* Fix dh_install to install empty directories even if it is excluding some
files from installation.
* 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.
* dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass extra
params to dpkg-deb. Closes: #170330
* Added a dh_python command, by Josselin Mouette
<josselin.mouette@ens-lyon.org>.
* Various minor changes based on suggestions by luca.
* Still run potodebconf after warning about templates.ll files.
* 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
* 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
* typo in dh_shlibdeps(1), Closes: #167421
* dh_movefiles: make --list-missing respect --sourcedir. Closes: #168441
* Added note to dh_installdebconf(1) about postinst sourcing debconf
confmodule. (Cf #106070)
* Added an example to dh_install(1). Closes: #166402
* Use dpkg-architecture instead of dpkg --print-architecture (again?)
See #164863
* typo fix Closes: #164958 The rest seems clear enough from context, so
omitted.
* dh_installinit: added --no-start for rcS type scripts. Closes: #136502
* 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
* 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
* dh_fixperms: Make sure .pm files are 0644. Closes: #163418
* dh_installdebconf: Support po-debconf debian/po directories.
Closes: #163128
* 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).
* 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.
* Depend on coreutils | fileutils. Closes: #161452
* Fixed over-escaping of period when generating EXCLUDE_FIND.
Closes: #159155
* 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.
* dh_builddeb(1): It's --filename, not --name. Closes: #160151
* Clarified dh_perl man page. Closes: #159332
* Fixed excessive escaping around terms in DH_EXCLUDE_FIND. Closes: #159155
* Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl
Closes: #156243
* 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 transtions to using the flag
easier. Closes: #90976 and sorry it took me so long to verify you were
right.
* Typo, Closes: #155323
* Added a -L flag to dh_shlibdeps that is a nice alternative to providing a
shlibs.local.
* Remove /usr/doc manglement code from postinst and prerm.
Do not use this verion of debhelper for woody backports!
* Removed dh_installxaw.
* 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.
* 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.
* In dh_install, don't limit to -type f when doing the find due to -X.
This makes it properly install syml8inks, cf my rpm bug.
* 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
* Stupid, evil typo.
* Fixed the tests clint didn't show me.
* In script fragments, use more posix tests, no -a or -o, no parens.
Closes: #150403
* 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.
* Fixed debconf-utils dependency.
* dh_compress: always compress .pcf files in
/usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy.
* 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
* dh_install: glob relative to --sourcedir. Closes: #147908
* Documented what globbing is allowed.
* Don't leak regex characters from -X when generating DH_EXCLUDE_FIND.
* 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).
* Make dh_clean remove autom4te.cache.
* Removing perl warning message.
* 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 <eric@debian.org> 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.
* Corrects misbuild with CVS dirs in deb. Closes: #146576
* dh_install: delay globbing until after destintations have been found.
Closes: #143234
* 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
* 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 reproting 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 independantly. 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 incouraged 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 occured 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.)
* Fixed an uninitialized value warning, Closes: #141729
* Typo, Closes: #139176
* Fixed dh_md5sums conffile excluding/including.
* Fix to #99169 was accidentually reverted in 3.0.42; reinstated.
* Fixed dh_installdocs and dh_installexamples to support multiple -X's.
* Fixed dh_movefiles. Closes: #135479, #135459
* dh_movefiles: Allow for deeper --sourcedir. Closes: #131363
* Thanks to Benjamin Drieu <benj@debian.org>, 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
* dh_perl: don't gripe if there is no substvar file. Closes: #133140
* Typo, Closes: #132454
* Ignore leading/trailing whitespace in DH_OPTIONS, Closes: #132645
* dh_installxfonts: separate multiple commands with \n so sed doesn't get
upset. Closes: #131322
* 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, supplimenting the ${shlibs:Depends} and ${perl:Depends} substvars.
Hmm, this appears to be based loosely on an idea by Masato Taruishi
<taru@debian.org>, filtered through a long period of mulling it over.
Closes: #76352
* Use the addsubstvar function I wrote for the above in dh_perl too.
* Improved dh_installxfonts some more:
- Better indenting of generated code.
- Better ordering of generated code (minor fix).
* 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 arn'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 perfer now.
- Other changes, chould fully comply with Debian X font policy now.
* Fixed programmer's documentation of DOINDEP and DOARCH, Closes: #128546
* Fixed dh_builddeb SYNOPSIS, Closes: #128548
* 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 referneces 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.)
* Added a version to the perl build dep, Closes: #126677
* 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
* Typo, Closes: #122679
* Export dirname from Dh_Lib, and related cleanup, Closes: #125770
* Document dirname, basename in PROGRAMMING
* Man page cleanups, Closes: #119335
* 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
* More informative error, Closes: #118767
* Added .zip and .jar to list of things to compress (Closes: #115735),
and modified docs (Closes: #115733).
* dh_installman: documented translated man page support, and made it work
properly. It was not stripping the language part from the installed
filenames.
* Typo, Closes: #114135
* dh_installxfonts: Do not specify /usr/sbin/ paths; that should be in
the path and dpkg enforces it. Closes: #112385
* Added dh_strip to rules.multi2, and removed .TODO.swp. Closes: #110418
* dh_perl: made it use doit commands so -v mode works. Yeah, uglier.
Closes: #92826
Also some indentation fixes.
* dh_movefiles: Typo, Closes: #106532
* Use -x to test for existance 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
* Typo, Closes: #104405
* dh_compress: Don't compress .bz2 files, Closes: #102935
* fixed doc bog, Closes: #102130
* Spellpatch, Closes: #101553
* Whoops, I forgot to revert dh_perl too. Closes: #101477
* Revert change of 3.0.30. This broke too much stuff. Maybe I'll
change it in debhelper v4..
* Unimportant spelling fix. Closes: #100666
* dh_gencontrol: Work around very strange hurd semantics
which allow "" to be an empty file. Closes: #100542
* Check that update-modules is present before running it, since modutils
is not essential. Closes: #100430
* Remove dh_testversion from example rules file, Closes: #99901
* 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 certian 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 suprised 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")
* Added -X flag to dh_makeshlibs, for packages with wacky plugins that
look just like shared libs, but are not.
* dh_clean: clean up temp files used by earlier versons of debhelper.
Closes: #99169
* Fixed issues with extended parameters to dh_gencontrol including spaces
and quotes. This was some histirical 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.
* 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
* dh_makeshlins: append to LD_LIBRARY_PATH at start, not each time
through loop. Closes: #98598
* Missing semi-colon.
* Call dh_shlibdeps as part of build process, as simple guard against
this (dh_* should be called, really).
* dh_shlibdeps: the -l switch now just adds to LD_LIBRARY_PATH, if it is
already set. Newer fakeroots set it, and clobbering their settings
breaks things since they LD_PRELOAD a library that is specified in the
LD_LIBRARY_PATH. (blah) Closes: #97494
* dh_installinfo: doc enchancement, 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
* Corrected bashism (echo -e, DAMNIT), in rules file that resulted in a
corrupted Dh_Version.pm. Closes: #97236
* 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
* 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
* 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.
* dh_shlibdeps: document that -l accepts multiple dirs, and
make multiple dirs absolute properly, not just the first.
* Documented -isp, Closes: #93983
* Typo, Closes: #92407
* dh_strip: ensure that the file _ends_ with `.a'. Closes: #90647
* dh_makeshlibs: more support for nasty soname formats, Closes: #90520
* Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -e
to mkfontdir. Closes: #89418
* 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
* 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
* 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 dependancies
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 dependancies.
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
* dh_perl update
* dh_makeshlibs: only generate call to ldconfig if it really looks like
a given *.so* file is indeed a shared library.
* Corrected some uninitialized value stuff in dh_suidregister (actually
quite a bad bug).
* dh_installman: fixed variable socoping error, so file conversions
should work now.
* 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.
* Build-depends on perl-5.6, since it uses 2 argument pod2man.
* Cleanups of debhelper.1 creation process.
* 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 reccommend 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 dependancies 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 usefullness, 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 appropriatly (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..
* Fixed a stupid typo in dh_suidregister, Closes: #85110
* dh_installinit -r: stop init script in prerm on package removal,
Closes: #84974
* dh_shlibdeps -l can handle relative paths now. Patch from Colin Watson
<cjw44@flatline.org.uk>, Closes: #84408
* Added a suggests to debconf-utils, Closes: #83643
I may chenge this to a dependancy at some point in the future,
since one debconf command needs the package to work.
* dh_installdebconf: marge in templates with a .ll_LL extension,
they were previously ignored.
* Bah, reverted that last change. It isn't useful because
dpkg-buildpackage reads the real control file and gets confused.
* 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.
* Corrected globbing issue with dh_movefiles in v3 mode. Closes: #81431
* Fixed a man page typo, Closes: #82371:
* Added note to dh_strip man page, Closes: #82220
* 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.
* Fixed dh_installwm. Oops. Closes: #81124
* dh_shlibdeps: re-enabled -l flag, it's needed again. Closes: #80560
* Fixed perl wanring, Closes: #80242
* dh_installwm: Moved update-alternatives --remove call to prerm,
Closes: #80209
* ALso guarded all update-alternatives --remove calls.
* Spelling patch.
* typo: Closes, #78567
* Oops, it was not expanding wildcard when it should.
* dh_movefiles: added error message on file not found
* 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
* 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
* 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 underetimate the annoyance of
backwards-compatibility.
* 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 <taru@debian.org> (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.
* 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
* Typo, Closes: #77441
* Completed the fix from the last version.
* Ok, I tihnk we have a db3 fix that will really work now.
* I retract 2.1.23, the hack doesn't help make dpkg-shlibdeps work; db3
is broken upstream.
* 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.
* Fixed dh_perl to work with perl 5.6, Closes: #76508
* dh_movefiles: no longer does the symlink ordering hack, as
this is supported by dpkg itself now. Added a dependancy 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.
* dh_suidregister: do not unregister on purge, since it will have already
been unregistered then, and a warning will result.
* dh_builddeb: Ok, it is cosmetic, but it annoyed me.
* dh_builddeb: added a --filename option to specify the output filename.
This is intended to be used when building .udebs for the debian
installer.
* 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
* 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 <bod@debian.org> 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.
* dh_installwm: patched a path in some backwards compatibility code.
Closes: #75283
* Rats, the previous change makes duplicate lines be created in the
shlibs file, and lintian conplains. Added some hackery that should
prevent that. Closes: #73052
* 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
* Rebuild to remove cvs junk, Closes: #72610
* dh_installmanpages: don't install files that start with .#* -- these
are CVS files..
* Modified to allow no spaces between control file field name and value
(this appears to be logal).
* 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
* Fixed a stupid typo. Closes: #69750
* 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.
* dh_strip: now knows about the DEB_BUILD_OPTIONS=nostrip thing.
* dh_installxfonts: corrected a problem during package removal that was
silently neglecting to remove the fonts.dir/alias files.
* Whoops, I forgot to add v3 to cvs, so it was missing from a few
versions.
* 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.
* Minor man page updates as Overfiend struggles with debhelperizing X
4.0.
* Never refer to root, always uid/gid "0". Closes: #67508
* 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/<package> 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).
* Put dh_installogrotate in the examples, Closes: #66986
* Added dh_installlogrotate. Yuck, 3 l's, but I want to folow my
standard..
* 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
* Killed the fixlinks stuff, since there are no longer any symlinks in
the source package.
* 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 postist is called for
error unwinds. Closes: #66673
* Implemented dh_clean -X, to allow specification of files to not delete,
Closes: #66670
* dh_installmodules will now install modiles 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
* dh_installdebconf: Automatically merge localized template
files. If you use this feature, you should build-depend on
debconf-utils to get debconf-mergetemplate.
* dh_installinfo: changed test to see if an info file is the head file to
just skip files that end in -\d+.
* dh_installmodules: still add depmod -a calls if run on a package that
has no debian/modules file, but does contain modules.
* Fixes for perl 5.6.
* Spelling fixes.
* examples/rules.multi2: binary-indep and binary-arch targets need to
depend on the build and install targets.
* Patch from Pedro Guerreiro to make install-docs only be called on
configure and remove/upgrade. Closes: #62513
* Detect changelog parse failures and use a better error message.
Closes: #62058
* Fixed a silly typo in dh_installmanpages, Closes: #60727
* Fixed dh_testversion; broken in last release.
* Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (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/<package>.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.
* Copyright update: files in the examples directory are public domain.
* Documented that lynx is used to convert html changelogs. Closes: #54055
* dh_testroot: don't call init(), so it may be run even if it's not in the
right place. Closes: #55065
* Downgraded fileutils dependancy just a bit for the Hurd foks.
Closes: #54620
* Make all examples rules files executable.
* Copyright date updates.
* 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.
* Added dh_installmime calls to examples, Closes: #54056
* dh_installxaw: Patch from Josip Rodin to update to fhs paths,
Closes: #53029
* Type fix, Closes: #52652
* Corrected mispellings, Closes: #52013
* dh_fixperms: chown symlinks as well as normal files. Closes: #51169.
* 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.
* dh_installmanpages:
- Added support for translated man pages, with a patch from Kis Gergely
<kisg@lme.linux.hu>. 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 depreacted for nearly 2 years now..
* This changelog was automatically generated from CVS commit information.
Fear makechangelog.
* Fixed typo in dh_installmenu.1, Closes: #51332
* 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.
* Actually, debhelper build-depends on perl-5.005.
* Corrected slash substitution problem in dh_installwm.
* Oh, the build dependancies include all of debhelper's regular
dependancies as well, since it builds using itself.
* Added build dependancies 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.
* 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 dependancies. 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.
* dh_installxfonts: Patch from Anthony Wong to fix directory searching.
Closes: #48931
* dh_installdebconf: Modified to use new confmodule debconf library.
* Fixed some problems with dh_installxfonts font dirs.
* dh_builddeb: -u can be passed to this command now, followed by
any extra parameters you want to pass to dpkg-deb (Closes: #48394)
* Corrected a path name in dh_installxfonts. Closes: #48315
* Removed install-stamp cruft in all example rules files. Closes: #47175
* Fixed problem with dh_installemacsen options not working, patch from
Rafael Laboissiere <rafael@icp.inpg.fr>, Closes: #47738
* Added new dh_installxfonts script by Changwoo Ryu
<cwryu@dor17988.kaist.ac.kr>. Closes: #46684
I made some changes, though:
- I rewrote lots of this script to be more my style of perl.
- I removed all the verbisity 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 satisfactorally anyway.
- So, the snippet is 9 lines long now, down from 20-some.
- I realize this isn't following the reccommendations 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
* Clarified rules.multi2 comment. Closes: #46828
* dh_compress: After compressing an executable, changes the file mode to
644. Executable .gz files are silly. Closes: #46383
* dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink,
leaves it alone, assumming that the maintainer knows what they're doing
and is probably linking to the doc dir of another package.
(Closes: #46183)
* Dh_Lib.pm: fixed bug in xargs() that made boundry words be skipped.
* Added note to man pages of commands that use autoscript to note they are
not idempotent.
* 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
* Fixed quoting problem in examples/rules.multi (Closes: #46254)
* 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.
* Minor changes to rules.multi2.
* dh_movefiles: if the wildcards in the filelist expand to nothing,
don't do anything, rather than crashing.
* 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.
* Oops. Fixed dh_shlibdeps so it actually generates dependancies, broke in
last version.
* dh_shlibdeps: detect statically linked binaries and don't pass them to
dpkg-shlibdeps.
* dh_installdeb: debconf support.
* 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 dependancies to be generated.
* dh_undocumented: installs links for X11 man pages to the undocumented.7
page in /usr/share/man. (Closes: #44909)
* dh_installemacsen: the script fragments it generates now test for the
existance 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.
* 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)
* dh_compress: fixed #ARGV bug (again) Closes: #44853
* Corrected example rules files, which had some messed up targets.
* dh_installinfo: failed pretty miserably if the info file's section
contained '/' characters. Doesn't now.
* dh_installinfo: use FHS info dir. I wonder how I missed that..
* FHS complience. Patch from Johnie Ingram <johnie@netgod.net>.
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/<package> a compatibility symlink to
/usr/share/doc/<package>. Note that currently if something exists in
/usr/doc/<package> when the postinst is run, it will silently not make
the symlink. I'm considering more intellingent 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.
* 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 independntly, via binary-<package>
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.
* dh_shlibdeps: Fixed quoting problem that made it fail on weird file names.
Patch from Devin Carraway <debianbug-debhelper@devin.com>, Closes: #44016
* Oops, dh_installpam was omitted from the package. Added back.
Closes: #43652
* 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.
* 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.
* dh_installdocs: Handle trailing whitespace after Document: name.
Closes: #43148.
* Fixed makefile commit target.
* Misc changes to make CVS dirs not be copies into package.
* 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.
* 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 <reiter@netspace.net.au> to make it use those id's instead
of coming up with it's own. (Closes: #42650)
* dh_perl: Patch from Raphael Hertzog <rhertzog@hrnet.fr> to allow
specification on the command line of alternate paths to search for perl
modules. (Closes: #42171)
* dh_installinfo: fixed bug if a info file had no section.
* dh_installxaw: fixed multiple stanza problem, for real this time (patch
misapplied last time). (Closes: #41862)
* dh_clean: compat() wasn't exported.
* 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 happenning, but it pays to be safe.
* 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)
* 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 dependancy. (Closes:
#41174)
* dh_installxaw: Patch from Josip Rodin <joy@cibalia.gkvk.hr> to fix
multiple-stanza xaw file support. (Closes: #41173)
* dh_fixperms: FHS fixes (#41058)
* dh_installinfo: fixed #SECTION# substitution.
* 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)
* 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 accessable
at that name.
* dh_compress: removed the usr/share/X11R6/man bit. Note part of FHS.
* 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 transiotion), dh_compress now compresses
various files in /usr/share/{man,doc,info}. (Closes: #40892)
* dh_*: redirect cd output to /den/null, because CD can actually output
things if CDPATH is set.
* Added dh_perl calls to example rules files.
* Now depends on perl5 | perl, I'll kill the | perl bit later on, but it
seems to make sense for the transition.
* 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.
* Patch from Raphael Hertzog <rhertzog@hrnet.fr> to make dh_perl support a
-d flag that makes it add a dependancy on the sppropriate perl-XXX-base
package. Few packages will really need this. (Closes: #40631)
* Depend on file >= 2.23-1, because dh_perl uses file -b, introduced at
that version. (Closes: #40589)
* If you're going to use v2, it's reccommended 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...
* Actually include doc/v2 this time round.
* 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/<package> 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.
* 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: docuimented DH_COMPAT
* examples/*: added DH_COMAPT=1 to top of rules files
* dh_perl: fixed substvars typo. Urgency medium since a lot of people will
be using this script RSN.
* dh_installinit: applied patch from Yann Dirson <ydirson@multimania.com>
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.
* dh_link: fixed bug #40159 and added a regression test for it. It was
failing if it was given absolute filenames.
* Changed perl version detection.
* Changed call to find.
* Added dh_perl by Raphael Hertzog <rhertzog@hrnet.fr>. dh_perl handles
finding dependancies 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.
* Really include dh_installpam.
* dh_installpam: new program by Sean <shaleh@foo.livenet.net>
* Wrote man page for same.
* 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
happyily attempt to chown a dangling symlink, which makes them fail.
(Closes: #38911)
* dh_installemacsen: fixed perms of install, remove scripts.
(closes: #39082)
* 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!
* 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)
* 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).
* Fixed a typo (closes: #38881)
* dh_installmanpages: Properly quoted metacharacters in $dir in regexp.
(#38263).
* Don't include Test.pm in the binary package.
* 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 simetimes (#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).
* dh_installmodules: fixed type that made the program not work.
* examples/rules.multi: dh_shlibdeps must be run before dh_gencontrol
(#37346)
* Added to docs.
* dh_installmime: new command (#37093, #32684).
* dh_installxaw: updated to work with xaw-wrappers 0.90 and above. It
actually has to partially parse the xaw-wrappers config files now.
* dh_installemacsen: added support for site-start files. Added --flavor
and --number to control details of installation. (#36832)
* 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.
* dh_installexamples.1: recycled docs fix.
* dh_builddeb: added --destdir option, which lets you tell it where
to put the generated .deb's. Default is .. of course.
* autoscripts/postinst-suid: use /#FILE# in elif test (#36297).
* examples/*: killed trailing spaces after diff: target
* 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)
* Various man page enhancements.
* dh_md5sums: supports -X to make it skip including files in the
md5sums (#35819).
* 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.
* 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.
* dh_installmodules: new program, closes #32546.
* Another very minor typo fix.
* Very minor typo fix.
* 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)
* dh_fixperms.1: improved documentation. (#34968)
* 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).
* doc/README: pointer to maint-guide.
* dh_installwm.1: fixed two errors (#34534, #34535)
* debhelper.1: list all other debhelper commands with synopses
(automatically generated by build process).
* dh_fixperms: has been mostly broken when used with -X, corrected this.
* 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.
* dh_m5sums: don't generate bogus md5sums file if the package contains no
files. Yes, someone found a legitimate reason to do that.
* README: minor typo fix.
* Let's just say 1.2.39 is not a good version of debhelper to use and
leave it at that. :-)
* dh_installcron: install files in cron.d with correct perms.
* dh_clean: don't try to delete directories named "core".
* dh_installdocs: Patch from Jim Pick <jim@jimpick.com>, fixes regexp error (Closes: #33431).
* dh_installxaw: new program by Daniel Martin
<Daniel.Martin@jhu.edu>, handles xaw-wrappers integration.
* dh_installxaw.1: wrote man page.
* dh_compress.1: Fixed typo in man page. (Closes: #33364)
* autoscripts/postinst-menu-method: fixed typo. (Closes: #33376)
* Dh_Lib.pm filearray(): Deal with multiple spaces and spaces at the
beginning of lines in files. (closes: #33161)
* 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/<package>.doc-base.<doc-id>.
* dh_compress: removed warning message (harmless).
* 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 harlinks. Thanks to
Craig Small for spotting this.
* 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.
* dh_installinit.1: minor typo fix (closes: #32753)
* dh_fixperms: cut down the number of chmod commands that are executed
from 3 to 1, no change in functionality.
* Do not include bogus chsh, chfn, passwd links in debhelper binary!
These were acidentially left in after dh_link testing I did as I was
working on the last version of debhelper.
* dh_link: fixed bug that prevent multiple links to the same source from
being made. (#23255)
* autoscripts/menu: "test", not "text"!
* dh_installdocs: use prerm-doc-base script fragement. Was using
postrm-doc-base, for some weird reason.
* autoscripts/menu: It turns out that "command" is like test -w, it will
still return true if update-menus is not executable. This can
legitimatly 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.
* 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.
* autoscripts/postrm-wm: use "=", not "==" (#31727).
* Reversed change in last version; don't clobber mode (#31628).
* dh_installdocs: Added doc-base support, if debian/<package>.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.
* dh_compress: handle the hard link stuff properly, it was broken. Also
faster now.
* 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 truely 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.
* dh_fixperms: was not fixing permissions of files in usr/doc/ to 644,
this has been broken since version 1.2.3.
* 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)
* 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)
* Just a re-upload, last upload failed for some obscure reason.
* 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.
* Spelling and typo fixes.
* 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).
* 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!)
* examples/*: added dh_link calls to example rules files.
* Added dh_link, which generates policy complient symlinks in binary
packages, painlessly.
* Suggest dh-make (#29376).
* dh_movefiles: Fixed another bug.
* dh_movefiles: fixed non-integer comparison (#29476)
* 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.
* 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..)
* 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.
* 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 undocuemented.7.gz in the same directory.
* dh_strip, dh_installinit: rewrite in perl.
* A new unstable dist means I'm back to converting more of debhelper to
perl.. Since 1.1 has actually stabalized, 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.
* 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.
* dh_clean: At the suggestion of James Troup <james@nocrew.org> now deletes
files named *.P in .deps/ subdirectories. They are generated by automake.
* dh_fixperms: quoting fix from Roderick Schertler <roderick@argon.org>
* 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)
* Added install to .PHONY target of example rules files.
* 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).
* dh_installmanpages: look at basename of man pacges specified on command
line to skip, for backwards compatibility.
* dh_installemacsen: substitute package name for #PACKAGE# when setting
up postinst and prerm (#26560).
* 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.
* dh_fixperms: remove execute bits from static libraries as well as
shared libraries. (#26414)
* 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.
* 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)
* dh_installmanpages: rewritten in perl. Allows me to fix bug #26221 (long
symlink problem after .so conversion), and is about twice as fast.
* 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.
* dh_installchangelogs: added -k flag, that will make it install a symlink
to the original name of the upstream changelog.
* 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
intented 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, intorduced 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 sepererate file, so dh_testversion
doesn't have to be generated when a new version of debhelper is built.
* Removed bogus menu file.
* dh_fixperms: has been removing the +x bits of all doc/*/examples/* files
since version 0.97 or so. Fixed.
* 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 equivilant to -u for this program. You should
really use --dpkg-gencontrol-params.
* 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
<branden@purdue.edu> for looking that up.
* dh_movefiles: don't die on symlinks (#25642). (Hope I got the fix right
this time..)
* 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 deprected :-)
* 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: accidentially didn't check DH_VERBOSE if commands were not
passed any switches.
* Dh_Getopt.pm: --noscripts was broken.
* dh_md5sums: -x was broken since version 1.1.1 - fixed.
* dh_lib: 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: completly 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.
* 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.
* 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.
* 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 debheper 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)
* 1.0 at last!
* This relelase 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.
* dh_debstd: only warn about scripts that actually lack #DEBHELPER#.
(#25514)
* dh_movefiles: Fixed a over-eager sanity check introduced in the last
version.
* dh_movefiles: allow passing of files to move on the command line. Only
rarely does this make sense. (#25197)
* dh_installcron: now supports /etc/cron.d (#25112).
* !!!! WARNING: Debhelper (specifically dh_compress) is broken with
!!!! libtricks. Use fakeroot instead until this is fixed.
* dh_compress: applied patch from Herbert Xu <herbert@gondor.apana.org.au>
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?
* dh_lib: isnative: pass -l<changelog> to dpkg-parsechangelog, to support
odd packages with multiple different debian changelogs.
* doc/PROGRAMMING: cleaned up the docs on DH_EXCLUDE_FIND.
* doc/from-debstd: fixed a typo.
* examples/*: install-stamp no longer depends on phony build targey; now
install-stamp depends on build-stamp instead (#24234).
* dh_fixperms: applied patch from Herbert Xu <herbert@gondor.apana.org.au>
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.
* dh_movefiles: fixed serious breakage introduced in the last version.
* dh_movefiles: really order all symlinks last.
* some minor reorganization of the source tree.
* dh_movefiles: move even very strangly named files. (#23775) Unfortunatly,
I had to use a temporary file. Oh well..
* 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.
* Depend on file, since several dh_*'s use it.
* 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.
* dh_installdocs: support debian/<package>.{README.Debian,TODO}
* 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 completly 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, becuase
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/<package> is empty. (#23054)
* dh_compress, dh_installdirs: always cd into $TMP and back out, even if
--no-act is on. (#23054)
* 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.
* 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)
* dh_compress: don't try to re-compress *.gz files. Eliminates warning
messages in some cases, shouldn't actually change the result at all.
* 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.
* 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.
* 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.
* dh_movefiles: empty $tomove (#20495).
* 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 <bdale@gag.com> and Adam Heath
<adam.heath@usa.net> 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.
* 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 genrated by libtool.
* Fixed a nasty bug in dh_makeshlibs when it was called with -V, but with
no version string after the -V.
* 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.
* Actually exit if there is an unknown option on the command line (oooops!)
* Fix .so file conversion to actually work (#19933).
* 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!
* Fixed typo in dh_suidregister.1
* Applied patch from Yann Dirson <ydirson@a2points.com> to add a
--init-script parameter to dh_installinit. (#19227)
* Documented this new switch.
* dh_makeshlibs: -V flag was broken: if just -V was specified,
dh_makeshlibs would die. Corrected this.
* dh_lib: 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.
* dh_lib: autoscript(): no longer add the modification date to the
comments aurrounding debhelper-added code. I don't think this date was
gaining us anything, so let's remove it and save some disk space.
* Refer to suidregister (8), not (1). Bug #19149.
* Removed junk file from debian/ dir.
* Document that README.debian files are installed as README.Debian (#19089).
* Added PROGRAMMING document that describes the interface of dh_lib, to
aid others in writing and understanding debhelper programs.
* 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".
* dh_installdocs.1, dh_movefiles.1: clarified documentation for Che.
* Removed some junk (a whole old debhelper source tree!) that had gotten
into the source package by accident.
* Removed some debugging output from dh_installmanpages.
* du_du: no longer does anything, becuase 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)
* 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.
* dh_installmanpages: Add / to end of egrep -v regexp, fixes it so
debian/icewm.1 can be found.
* 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.
* 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)
* Fixed bug #17597 - DH_VERBOSE wasn'talways taking effect.
* Depend on perl 5.004 or greater (for Getopt::Long).
* dh_compress: Applied patch from Yann Dirson <ydirson@a2points.com>,
to make it not abort of one of the find's fails.
* dh_clean: delete substvarsfiles probperly 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
* dh_lib: 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).
* 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/<mainpackage>.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)
* dh_compress: compress file belongs in debian/. It was looking in ./
This has been broken since version 0.30.
* 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.
* 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 certian 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: 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.
* 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.
* dh_undocumented: exit with an error message if the man page specified
does not have a section.
* dh_lib: 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.
* Fixed typo #16215.
* examples/*: use prefix, instead of PREFIX, becuase 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.
* Split dh_installdebfiles into 3 programs (dh_installdeb, dh_shlibdeps,
and dh_gencontrol). dh_installdebfiles still works, but is depricated.
* Added an examples/rules.indep file.
* examples/rules.multi: changed dh_du -a to dh_du -i in binary-indep
section.
* Fixed man page typos #15685.
* dh_md5sumes, dh_installdirs, dh_compress: fixed assorted cd bugs.
* dh_lib: 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().
* dh_makeshlibs: fixes type that caused the program to crash (#15536).
* README: fixed typoes (one serious).
* Ran ispell on all the documentation.
* 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).
* dh_compress: was not reading debian/compress file - fixed.
* examples/*: moved dh_clean call to after make clean is run.
* dh_clean: no longer clean up empty (0 byte) files (#15240).
* Now depends on fileutils (>= 3.16-4), becuase with any earlier version
of fileutils, install -p will not work (#14680)
* dh_installdocs: Install README.debian as README.Debian (of course,
README.Debian is installed with the same name..)
* dh_installinit: on removal, fixed how update-rc.d is called.
* Added dh_installinit, which installs an init.d script, and edits the
postinst, postrm, etc.
* dh_installmenu.1: menufile is in section 5, not 1.
* 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: 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 seperatly.
* Added dh_installdirs, automatically creates subdirectories (for
compatibility with debstd's debian/dirs file.
* dh_lib: fixed problem with -P flag.
* dh_compress: always compress changelog and upstream changelog, no
matter what their size (#14604) (policy 5.8)
* 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.
* dh_fixperms: leave permissions on files in /usr/doc/packages/examples
unchanged.
* Install examples/rules* executable.
* Added dh_makeshlibs, automatically generates a shlibs file.
* Fixed mispelling of dh_md5sums in examples rules files and README.
(#13990) Thanks, Adrian.
* dh_md5sums: behavior modification: do not generate md5sums for conffiles.
(Thanks to Charles Briscoe-Smith <cpb4@ukc.ac.uk>) #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).
* 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.
* Added dh_suidregister, interfaces to to the suidmanager package.
* dh_installdebfiles: fixed typo on man page.
* Added dh_md5sum, generates a md5sums file.
* dh_clean: fixed to echo all commands when verbose mode is on.
* 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.)
* Got rid of bashisms - this package should work now if /bin/sh is ash.
* Added dh_installcron to install cron jobs.
* Added dh_strip to strip binaries and libraries.
* Fixed several man pages.
* Added support for automatic generation of debian install scripts to
dh_installmenu and dh_installdebfiles and dh_clean.
* Removed some pointless uses of cat.
* 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.
* First release. This is a snapshot of my work so far, and it not yet
ready to replace debstd.