[ Guillem Jover ] * Switch update-alternatives back to a fatal error on out of range priority on --install. * Document dpkg-deb --debug in --help output. * Bump Standards-Version to 3.9.4 (no changes needed). * Use the new canonical dpkg git Vcs URLs. * Remove ancient version from zlibg1-dev Build-Depends. * Add compression development packages to libdpkg-dev Depends. * Man pages cleanup: - Disable justification and hyphenation in SEE ALSO sections. - Remove unneeded double quotes in .SH headings. - Do not use “header” when “format” or “field” is meant. - Move dangers of installing via dpkg-deb from BUGS to a NOTES section. - Remove BUGS sections containing obvious or misplaced information. - Move BUGS sections before EXAMPLES and SEE ALSO sections. - Place ENVIRONMENT and FILES sections contiguously. - Move EXIT STATUS section before ENVIRONMENT. - Rename CAVEATS sections to NOTES. - Fold BACKWARD COMPATIBILITY section into other sections. - Document since when DEB_*_MULTIARCH variables are supported. - Move compiler flags subsection from ENVIRONMENT to NOTES. - Unify WARNING and ERROR sections into DIAGNOSTICS. - Unify command-line options into a single OPTIONS section. - Mark programs, variables, fields and command-line options in bold. - Fold dpkg-architecture(1) DEBIAN/RULES section into EXAMPLES. - Fix dpkg-architecture(1) debian/rules usage documentation. - Move dpkg-buildflags(1) HARDENING into a new FEATURE AREAS subsection. - Improve dpkg-buildflags(1) usage documentation. Thanks to Matthijs Kooijman <matthijs@stdin.nl>. Closes: #657627 - Clarify that DPKG_MAINTSCRIPT_PACKAGE is not arch-qualified. - Add triggers to the list of binary control information files. Thanks to Charles Plessy <plessy@debian.org>. * Use colon instead of dot for user:group in dpkg debug output. * Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian. * Fix update-alternatives to use the current alternative link as the first best value, to avoid flip-flops of alternatives with equal priority. Closes: #699807 * Fix clang warnings due to change of alignment requirements. * Change copyright file to point to GPL-2 instead of GPL. * Do not pass -e in shell script shebangs, set it in the body. * Add new dpkg-parsechangelog --show-field option to print a field value. Closes: #284664 * Add new dpkg-buildpackage --force-sign option. * By default do not sign builds for UNRELEASED uploads on dpkg-buildpackage. Closes: #635117 * Also check Build-Depends-Arch for minimal versions in dpkg-shlibdeps. Closes: #681470 * Document dpkg-buildflags export mode usage in man page. Closes: #691449 Thanks to Jonathan Nieder <jrnieder@gmail.com>. * Rename dpkg-buildflags configure exporter to cmdline, but preserve configure as a legacy alias. * Mask fortify hardening option from dpkg-buildflags output on noopt. New glibc 2.16 and later, issue a warning on this condition. Closes: #691745 * Refer to path instead of file on dpkg-statoverride. * Always print a descriptive architecture column, even for empty or missing architectures on «dpkg-query --list». * Rework SELinux code on unpack to reload the label database if it has changed, for example while upgrading the SELinux policy package. * Execute maintainer scripts in a new execution context, based on the current one and the specific maintainer script filename, and if it's not different to the current one, use "dpkg_script_t" as a fallback. * Do not unnecessarily create a dpkg update log record on remove or purge. * Always reset want status when removing or purging a package; so this now resets holds among others. Closes: #163763 * Always reset want status when installing a package; so this now resets holds among others. Closes: #162541 * Defer cleanup of .dpkg-new and .dpkg-tmp paths on removal to the point when we are definitely removing the main path. * Activate file triggers on removal more accurately, only when we know we are inevitably removing things. * Change dir to / before executing maintainer scripts. Closes: #686782 * Add new dpkg-deb --deb-format option and base --new and --old on it, as the latter are not future-proof, and neither can be guaranteed to produce a reliable output file format. * Drop archtable. It serves no purpose, it's Debian specific, it's usually outdated, and everyone should be using dpkg-architecture anyway. * Add musl-linux support to ostable and triplettable. Requested-by Kevin Bortis <wermut@gmail.com>. * Remove update-alternatives, dpkg-divert and dpkg-statoverride compatibility symlinks under /usr/sbin/. * Remove install-info wrapper. * Only ignore older packages if the existing version is informative. This allows any program using libdpkg to parse the available file to see again packages with versions lesser than 0-0 (like 0~0-0). Closes: #676664 * Fix Dpkg::Control::Hash set_options() to take a hash as argument instead of two scalars. * Add a new Dpkg::Vendor get_vendor_dir() function. * Print correct path to vendor directory on error message in dpkg-vendor. * Do not hardcode the dpkg system configuration directory in perl scripts, respect build time setting. * Deprecate Dpkg lowercase and exported by default variables, replaced by new unified uppercase non-exported by default ones. * Do not set -fstack-protector in the default build flags on arm64 (it's not yet supported). Thanks to Matthias Klose <doko@ubuntu.com>. Closes: #711936 * Add GCJFLAGS support to dpkg-buildflags. Closes: #708375 * Clarify that dpkg --set-selections needs an up-to-date available db, by documenting it on the dpkg(1) man page, and warning whenever dpkg finds unknown packages while setting the selections. Closes: #703092 * Print nicer error messages in perl scripts using Getopt::Long by trapping $SIG{__WARN__} to call usageerr() on option parse errors. * Move the exit call out from usage() in dpkg-scansources so that usageerr() gives a correct exit code. Thanks to Bernhard R. Link <brlink@debian.org>. * Print correct error message on unknown dpkg-name options before --. * Require at least one filename on dpkg-name after --. * Switch program usage errors to not print entire --help output. Closes: #681371 * Document that «dpkg-parsechangelog -l-» can be used to read from stdin. * Support parsing compressed changelog files transparently. Closes: #684196 * Sort files inside new diffs generated by dpkg-source lexicographically. Closes: #689193 * Add support for a build_arch option in Dpkg::Deps deps_parse(). Thanks to Colin Watson <cjwatson@ubuntu.com>. Closes: #697297 * Move epoch-less or revision-less output logic to Dpkg::Version. Based on a patch by Bernhard R. Link <brlink@debian.org>. * Catch mismatches between version strings and format versions in dpkg-source. Ensure that a 3.0 (quilt) package has a non-native version and that a 3.0 (native) package has a native version. Closes: #700177 Thanks to Bernhard R. Link <brlink@debian.org>. * Add support for mipsn32(el) and mips64(el) to arch tables. Thanks to YunQiang Su <wzssyqa@gmail.com>. Closes: #685096, #707323 * Document --file and --label parser options in dpkg-parsechangelog(1). * Add a new configure --with-dpkg-deb-compressor option to allow selecting the default dpkg-deb compressor, mainly for downstreams. * Switch dpkg-deb default compressor from gzip to xz. Build dpkg.deb using gzip to make debootstrap life easier on non-Debian based systems. * Add support for gzip compression strategies to dpkg-deb. The new strategies are: filtered, huffman, rle and fixed. * Change dpkg and dpkg-deb help output to recommend apt instead of dselect as a user-friendly frontend. * Remove temporary file on error during «dpkg-divert --rename». * Fix value caching in Dpkg::Arch by not shadowing the variables. * Fix chmod() arguments order in Dpkg::Source::Quilt. Closes: #710265 Thanks to Pablo Oliveira <pablo@sifflez.org>. * Add new dpkg-shlibdeps -l option to add private shared library directories. This should be used instead of abusing LD_LIBRARY_PATH to pass the paths, which might be problematic when cross-compiling. Closes: #698881 * Only apply empy line and comma cleanups when doing substvar replacements on fields where those are relevant. Closes: #659814 * Do not scan control files twice for PGP signature presence.
[ Raphaël Hertzog ] * Fix dpkg-maintscript-helper rm_conffile and mv_conffile to do nothing when the conffile is no longer owned by the current (or named) package. Thanks to Steve Langasek for the patch. Closes: #716948 * Improve dpkg-maintscript-helper behaviour in “Multi-Arch: same” packages by arch-qualifying package names read from the environment. Also add a warning about this potential problem in the manual page. * Fix usage of non-existent _() function in multiple places of the Perl code. Thanks to Lincoln Myers <lincoln@netapp.com> for the patch. Closes: #708607
[ Updated programs translations ] * Fix typo in Spanish translation of update-alternatives. Thanks to Javier Fernandez-Sanguino <jfs@debian.org>. Closes: #713020
[ Added man page translations ] * Italian (Beatrice Torracca). Closes: #711647
[ Updated man page translations ] * Fix wrong translation of "fortify" in French dpkg-buildflags(1) man page. Thanks to Christian Perrier <bubulle@debian.org>. Closes: #712976 * Fix typo in dpkg-source(1) man page French translation. Thanks to Cédric Boutillier <boutil@debian.org>. Closes: #708292 * Japanese (TAKAHASHI Motonobu). Closes: #704240