Changelog
dpkg (1.19.2) unstable; urgency=medium
[ Guillem Jover ]
* dpkg: Fix --force-not-root for chown() and chmod() based syscalls, and
give a more meaningful error message on chroot(). Closes: #614126
* dpkg-divert, dpkg-statoverride: Add new --instdir and --root options,
and make the commands honor the DPKG_ROOT environment variable.
* libdpkg: Call the pager with «$SHELL -c» to respect POSIX. Closes: #910009
* libdpkg: Do not spawn a pager if we are going to call «cat».
* libdpkg: Honor DPKG_PAGER when spawning a pager.
Suggested by Craig Sanders <email address hidden>.
* libdpkg: Set LESS to “-FRSXMQ” if not already set, when spawning a pager.
* libdpkg: Ignore SIGPIPE when setting up a pager, and then ignore EPIPE
errors when writing to stdout, otherwise if we quit the pager early, the
program will exit with an error code.
* libdpkg: Set stdout to be fully buffered when using a pager.
* dpkg, dpkg-query: Add new --no-pager option. For dpkg this is also a
configuration option. Closes: #909754
* Perl modules:
- Dpkg::OpenPGP: Ignore Version field in enarmored output.
Fixes CPAN#127217.
- Dpkg::OpenPGP: Do not read the gpg user configuration file.
- Dpkg::Source::Functions: Reimplement is_binary() w/o using diff(1).
- Dpkg::Source::Package::V2: Split the BinaryFiles module into its own
file, and give it a more generic name (Dpkg::Source::BinaryFiles).
- Dpkg::Source::Package::V2: Move binary file detection to BinaryFiles
module.
* Documentation:
- dpkg-buildpackage(1): Clarify --build=source explanation.
- dsc(5): Clarify what “flattened” means in Testsuite-Triggers.
Prompted by Mattia Rizzolo <email address hidden>.
- dsc(5): Add a reference to where the source formats are described.
Prompted by Manuel A. Fernandez Montecelo <email address hidden>.
- dpkg-source(1): Improve documentation on vendor-specific series files.
- deb-control(5): Document Build-Ids field.
Prompted by Stuart Prescott <email address hidden>.
- dpkg(1): Clarify which fields are affected by dependency options.
Prompted by James Clarke <email address hidden>.
- dpkg-query(1): Document the PAGER environment variable usage.
- Dpkg(1): Add POD documentation about the module hierarchy and API.
* Code internals:
- dpkg-split: Use nfstrnsave() instead of nfmalloc() + memcpy().
- libdpkg: Add new fsys-dir module.
- libdpkg: Pass the file contents to the pager instead of the filename.
- libdpkg: Add a pager kill switch, so that it can be forcefully disabled.
* Build system:
- Distribute a LICENSE file on CPAN.
- Do not make the Build.PL script executable.
- Generalize PACKAGE_CPAN_SIGN by setting PACKAGE_DIST_IS_RELEASE instead.
- Add a release_status key to the CPAN metadata.
- Fix typo in CPAN recommends key.
- Improve test and author CPAN dependencies.
* Packaging:
- Break libapt-pkg5.0 instead of apt. Closes: #909959
Analysis by Sven Joachim <email address hidden>.
* Test suite:
- Skip version checks involving «dpkg --compare-versions» if not available.
This is relevant on CPAN or on non-dpkg-based systems.
[ Updated programs translations ]
* Polish (Łukasz Dulny).
[ Updated man pages translations ]
* German (Helge Kreutzmann).
-- Guillem Jover <email address hidden> Mon, 08 Oct 2018 11:43:48 +0200