-
dpkg (1.20.9ubuntu1) hirsute; urgency=medium
* Merge with Debian; remaining changes:
- Change native source version/format mismatch errors into warnings
until the dust settles on Debian bug 737634 about override options.
- Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
tools can get untranslated dpkg terminal log messages while at the
same time having translated debconf prompts.
- Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
- Map unqualified package names of multiarch-same packages to the native
arch instead of throwing an error, so that we don't break on upgrade
when there are unqualified names stored in the dpkg trigger database.
- Apply a workaround from mvo to consider ^rc packages as multiarch,
during the dpkg consistency checks. (see LP: 1015567 and 1057367).
- dpkg-gencontrol: Fix Package-Type override handling for ddeb support.
- Add Zstd compression and decompression support for binary packages.
- scripts/Dpkg/Vendor/Ubuntu.pm: set 'nocheck' in build options by default
on Ubuntu/riscv64. Overridable in debian/rules with
'DEB_BUILD_OPTIONS := $(filter-out nocheck,$(DEB_BUILD_OPTIONS))'.
- scripts/Dpkg/Vendor/Ubuntu.pm, scripts/dpkg-buildpackage.pl:
Set 'nocheck' for riscv64 using a new 'update-buildopts' hook and make
it effective with old style debhelper, too.
- Dpkg::Vendor::Debian: Add new lto feature in new optimize area, taken
from
https://git.hadrons.org/cgit/debian/dpkg/dpkg.git/log/?h=next/1.21.x
- dpkg-dev: Depend on lto-disabled-list.
- dpkg-buildflags: Read package source names from lto-disabled-list,
to build without lto optimizations. When adding a source package to the
list, please also file a launchpad issue and tag it with 'lto'.
- Turn on LTO optimizations on amd64, arm64, ppc64el, s390x.
See https://wiki.ubuntu.com/ToolChain/LTO for more information.
- scripts/Dpkg/Vendor/Ubuntu.pm: set 'noudeb' build profile by
default. Override this by exporting DEB_BUILD_PROFILE='!noudeb' which
will be stripped, and thus building with udebs. LP: #1884836
dpkg (1.20.9) unstable; urgency=medium
[ Guillem Jover ]
* Test suite:
- Pass --ignore-builtin-builddeps to dpkg-buildpackage.
dpkg (1.20.8) unstable; urgency=medium
[ Guillem Jover ]
* start-stop-daemon: Open the --output file in append mode.
* dpkg: Fix --auto-deconfigure for essential and protected during
installation. Reported by Julian Andres Klode <email address hidden>.
See #983014.
* dpkg-realpath: Fix resolution for absolute symlinks on «/».
Closes: #983855
* dpkg-realpath: Fix symlink loop tracker.
* Perl modules:
- Test::Dpkg: Fix test data path fetching on CPAN.
- Dpkg::Exit: Preserve exit code in END block.
* Build system:
- Group Test::Dpkg changelog entries into “Perl modules” section.
* Packaging:
- Run autopkgtest test suites in verbose mode.
* Test suite:
- Set PERL in the perl test suite.
- Use gunzip instead of zcat and assume it might not be present.
- Mock dpkg and gcc for architecture detection code.
- Initialize DEB_BUILD_ARCH and DEB_HOST_ARCH to avoid computing them.
- Update suppressions for cppcheck 2.4.
[ Update man pages translations ]
* Dutch (Frans Spiesschaert). Closes: #981884
* German (Helge Kreutzmann).
* Portuguese (Américo Monteiro). Closes: #980018
[ Update programs translations ]
* Dutch (Frans Spiesschaert). Closes: #981882
[ Update scripts translations ]
* German (Helge Kreutzmann). Closes: #983865
-- Matthias Klose <email address hidden> Wed, 14 Apr 2021 12:32:22 +0200
-
dpkg (1.20.7.1ubuntu4) hirsute; urgency=medium
* Turn on LTO optimizations on amd64, arm64, ppc64el, s390x.
-- Matthias Klose <email address hidden> Fri, 19 Mar 2021 14:44:20 +0100
-
dpkg (1.20.7.1ubuntu3) hirsute; urgency=medium
* scripts/Dpkg/Vendor/Ubuntu.pm: set 'noudeb' build profile by
default. Override this by exporting DEB_BUILD_PROFILE='!noudeb' which
will be stripped, and thus building with udebs. LP: #1884836
-- Dimitri John Ledkov <email address hidden> Thu, 18 Feb 2021 19:58:48 +0000
-
dpkg (1.20.7.1ubuntu2) hirsute; urgency=medium
* Dpkg::Vendor::Debian: Add new lto feature in new optimize area, taken
from
https://git.hadrons.org/cgit/debian/dpkg/dpkg.git/log/?h=next/1.21.x
* dpkg-dev: Depend on lto-disabled-list.
* dpkg-buildflags: Read package source names from lto-disabled-list,
to build without lto optimizations. When adding a source package to the
list, please also file a launchpad issue and tag it with 'lto'.
* LTO optimizations are still turned off. To turn them on for a package
build, append 'optimize=+lto' to DEB_BUILD_MAINT_OPTIONS before calling
dpkg-buildflags.
-- Matthias Klose <email address hidden> Thu, 28 Jan 2021 10:00:33 +0100
-
dpkg (1.20.7.1ubuntu1) hirsute; urgency=medium
* Merge with Debian; remaining changes:
- Change native source version/format mismatch errors into warnings
until the dust settles on Debian bug 737634 about override options.
- Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
tools can get untranslated dpkg terminal log messages while at the
same time having translated debconf prompts.
- Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
- Map unqualified package names of multiarch-same packages to the native
arch instead of throwing an error, so that we don't break on upgrade
when there are unqualified names stored in the dpkg trigger database.
- Apply a workaround from mvo to consider ^rc packages as multiarch,
during the dpkg consistency checks. (see LP: 1015567 and 1057367).
- dpkg-gencontrol: Fix Package-Type override handling for ddeb support.
- Add Zstd compression and decompression support for binary packages.
- scripts/Dpkg/Vendor/Ubuntu.pm: set 'nocheck' in build options by default
on Ubuntu/riscv64. Overridable in debian/rules with
'DEB_BUILD_OPTIONS := $(filter-out nocheck,$(DEB_BUILD_OPTIONS))'.
- scripts/Dpkg/Vendor/Ubuntu.pm, scripts/dpkg-buildpackage.pl:
Set 'nocheck' for riscv64 using a new 'update-buildopts' hook and make
it effective with old style debhelper, too.
dpkg (1.20.7.1) unstable; urgency=medium
* Regenerate source package to include disappeared top-level Makefile.in.
dpkg (1.20.7) unstable; urgency=medium
[ Guillem Jover ]
* libdpkg: Do not consider the database locked with a missing lock file.
Reported by David Kalnischkies <email address hidden>.
* Documentation:
- man: Clarify and expand information on dpkg-realpath(1) man page.
Closes: #979564
* Packaging:
- Update copyright notices in debian/copyright.
- Bump Standards-Version to 4.5.1 (no changes required).
* Test suite:
- On as-root mode do not use sudo if already running as root.
- Print WARN instead of FAIL for maintscript fd leaks.
[ Update man pages translations ]
* German (Helge Kreutzmann).
[ Update programs translations ]
* German (Sven Joachim).
dpkg (1.20.6) unstable; urgency=medium
[ Guillem Jover ]
* libdpkg: Fix undefined behavior in varbuf functions.
Reported by KOLANICH <email address hidden>.
* libdpkg: Fix memory leaks in tar_extractor().
* libdpkg: Fix memory leak in trigger deferred processing.
Reported by KOLANICH <email address hidden>.
* libdpkg: Fix memory leak in filesystem treewalk node free function.
* libdpkg: Fix memory leak in filesystem treewalk iterator.
* libdpkg: Fix single-instance memory leak with fsys dir.
* libdpkg: Fix short-lived memory leaks.
* libdpkg: Reset error context errmsg after free().
* dpkg: Fix memory leak for cidir.
Reported by KOLANICH <email address hidden>.
* dpkg: Fix short-lived memory leak in --force-help output.
Based on a patch by KOLANICH <email address hidden>.
* dpkg-deb: Fix single-instance memory leak on missing conffiles control
file.
* dpkg-divert: Fix short-lived memory leaks.
* dpkg-realpath: Add new -z, --zero option.
Requested by Johannes Schauer <email address hidden>.
* dpkg-deb: Make decompression error message more descriptive.
Closes: #968442
* dpkg-architecture: Add a --print-format option.
Prompted by #968963.
* dpkg-buildpackage: Warn on known R³ values in uppercase.
Reported by Niels Thykier <email address hidden>.
* dpkg-buildpackage: Error out on R³ "yes" value.
Requested by Niels Thykier <email address hidden>.
* dpkg-buildpackage: Clarify R³ keyword diagnostic messages.
* dpkg-deb, dpkg-split: Fix time handling to support 64-bit time.
* libdpkg: Check that the ar archive time is within bounds.
* libdpkg: Ignore not-installed packages for source related virtual fields.
Closes: #972580
* libdpkg: Make source version parsing more robust on missing data.
See #972580.
* libdpkg: Do not forget not-installed packages that are set on hold.
Reported by David Kalnischkies <email address hidden>.
* update-alternatives: Fix memory leaks for alternative database context on
load errors.
* update-alternatives: Fix short-lived memory leaks for alternative structs.
* update-alternatives: Fix memory leaks with new_choice.
* update-alternatives: Fix short-lived memory leaks for log_file and admdir.
* dpkg-buildflags: Add support for DFLAGS. Closes: #975896
* dpkg-parsechanaglog: Document --file in --help output.
* libdpkg: Fix allocation size wrap around when growing a varbuf.
* dpkg-query: Do not print database loading progress. Closes: #977240
* Rename taint tag to merged-usr-via-aliased-dirs.
* dpkg-buildflags: Enable reproducible=fixfilepath by default.
Thanks to Vagrant Cascadian <email address hidden>.
See https://lists.debian.org/debian-devel/2020/10/msg00222.html.
Closes: #974087
* start-stop-daemon: Move umask setup before any file has been created.
* start-stop-daemon: Add a new --output option to redirect stderr and stdout.
* dpkg-maintscript-helper: Do not pass DPKG_ROOT prefixed pathmames to
dpkg-realpath.
* dpkg: When removing old files check the pathname with diversion and
instdir.
* dpkg-realpath: Make 'link includes root prefix' error more verbose.
* libdpkg: Make sure we do not walk on rootless trees.
* dpkg: Fix incorrect logic around printing dependency warnings.
Thanks to Jessica Clarke <email address hidden>.
Reported by Helmut Grohne <email address hidden>.
* Support remove-on-upgrade conffile flag via DEBIAN/conffiles.
Based on a patch by Niels Thykier <email address hidden>. Closes: #822462
* dpkg-fsys-usrunmess: New program.
* Perl modules:
- Dpkg::Index: Add new item_opts option.
- Dpkg::Exit: Fix exit handler on program termination. Closes: #966083
- Dpkg::Changelog::Entry::Debian: Fix format string.
Prompted by #967911.
- Dpkg::Changelog::Parse: Add new verbose option.
Prompted by #967911.
- Dpkg::Changelog::Parse: Document 'label' option.
- Dpkg::Source::Package::V1: Print a message when verifying tarball
signatures.
- Dpkg::Path: Fix pathname traversal check for symlinks. Closes: #971203
- Dpkg::Source::Package: Honor no_check for directory traversal checks.
See #971203.
- Dpkg::Source::Package: Call syserr() instead of syserror().
Reported by Drew Parsons <email address hidden>.
See #849752. Closes: #976249
- Dpkg::Path: Check first whether the files are the same by comparing
string-wise. Closes: #849752
- Dpkg::OpenPGP: Refactor gpg armor code into its own function.
* Documentation:
- man: Fix typo in --print-unset option reference.
Reported by Ferenc Wágner <email address hidden>. Closes: #966110
- man: Clarify that dpkg-architecture uses some of its own variables.
Closes: #966111
- man: Fix casing and namespacing in VARIABLES definitions.
- man: Fix typo in dpkg-source(1).
Thanks to Paul Wise <email address hidden>.
- man: Add a reference to deb-symbols(5) in deb-src-symbols(5) DESCRIPTION.
Prompted by #970083.
- man: Specify that symbol, version and id are separated by a single
whitespace. Closes: #970083
- man: Clarify day-of-month format in deb-changelog(5).
Reported by Axel Beckert <email address hidden>.
See #971977.
- man: Update update-alternatives maintainer script usage information.
Prompted by Niels Thykier <email address hidden>.
- man: Switch to use L<> markup for URLs instead of B<>.
- doc, man: Clarify that R³ values are case sensitive.
Prompted by Niels Thykier <email address hidden>.
- man: Add references to deb822(5) to file formats based on it.
Prompted by Niels Thykier <email address hidden>.
- man: Clarify config-files state in dpkg(1).
Prompted by Stuart Prescott <email address hidden>.
- man: Fix typos.
- man: Hyphenate multiple words in deb-override(5) format description.
- man: Uppercase acronyms and logic operators.
- man: Empty or whitespace-only lines in deb-conffiles(5) are not accepted.
* Code internals:
- libcompat, dpkg: Stop using deprecated security_context_t data type.
- update-alternatives: Refactor alternative database context freeing into a
new function.
- libdpkg: Do not define the clamp macro when compiling C++ code.
Reported by Helmut Grohne <email address hidden>.
- libdpkg: Replace FSF address by pointing to the gnu.org URL.
- libdpkg: Initialize pkgbin's newhash to NULL.
Prompted by Steinar H. Gunderson <email address hidden>.
- libdpkg: Use memset() instead of open-coding struct blanking.
Prompted by Steinar H. Gunderson <email address hidden>.
- Do not call fsys_hash_init() before command actions.
Prompted by Steinar H. Gunderson <email address hidden>.
- libdpkg: Fix m_pipe() function definition prototype to match declaration.
- libdpkg: Refactor new str_rtrim_spaces().
Based on a patch by Niels Thykier <email address hidden>.
- dpkg: Call fsys_hash_find_node() outside tar_fsys_namenode_queue_push().
- Use a conffilename variable to track the actual conffile name in the
buffer.
Thanks to Niels Thykier <email address hidden>.
* Build system:
- Add new gen-changelog tool.
- Pre-process the curses header before parsing it. Closes: #970545
- Fix variable substitution in man pages.
Reported by Niels Thykier <email address hidden>. Closes: #978983
- Add a README.cpan to be installed as README in the CPAN distribution.
- Do not try to use <sys/sysctl.h> on GNU/Linux.
- Fix «make distcheck» for man pages.
- Update GitLab CI configuration to use built-in functional test suite.
- Make it possible to override PKGDATADIR on built scripts too.
- Disable umask to 0 for Docker executor in GitLab CI.
- Disable functional test suite debug mode on GitLab CI.
- Sort po4a entries in po4a.cfg.
* Packaging:
- Do not fail the bug-script if readlink fails. Closes: #968397
- Improve cron file robustness on missing or empty backup files.
Closes: #969472
- Use AUTOPKGTEST_TMP instead of writing into the source tree.
- Hook the functional test suite into autopkgtest.
- Remove trailing comma from lintian profile file.
- Do not hardcode libdpkg-perl dependency on perl:any.
Thanks to Sven Joachim <email address hidden>.
* Test suite:
- Fix short lived memory leaks in unit tests.
- Print the ehandle unit test error output on verbose mode.
- Improve dpkg-divert test to output stdout and stderr.
- Use intermediate variable for directory traversal item iteration.
- Refactor root handling in Dpkg::Path unit tests.
- Refactor test verbose check into an inline function.
- Make it possible to include test.h from benchmarks.
- Disable hash reports in benchmark tests unless verbose.
- Add support for basic test try/catch/finally keywords.
- Merge the dpkg-tests.git repository into tests/.
- Update merged functional test suite assumptions.
- Remove redundant test cases from the functional test suite.
- Remove source package building support from functional test suite.
- When using DPKG_BUILDTREE add scripts/ to DPKG_PATH.
[ Add man pages translations ]
* Portuguese (Américo Monteiro). Closes: #964751
[ Update dselect translations ]
* Dutch (Frans Spiesschaert). Closes: #968294
* French (Didier Vidal). Closes: #964749
[ Update man pages translations ]
* Dutch (Frans Spiesschaert). Closes: #968743
* German (Helge Kreutzmann).
[ Update programs translations ]
* Dutch (Frans Spiesschaert). Closes: #968744
* German (Sven Joachim).
[ Update scripts translations ]
* German (Helge Kreutzmann).
-- Matthias Klose <email address hidden> Tue, 12 Jan 2021 12:45:46 +0100
-
dpkg (1.20.5ubuntu3) hirsute; urgency=medium
* scripts/Dpkg/Vendor/Ubuntu.pm, scripts/dpkg-buildpackage.pl:
Set 'nocheck' for riscv64 using a new 'update-buildopts' hook and make it
effective with old style debhelper, too.
-- Balint Reczey <email address hidden> Fri, 16 Oct 2020 21:18:40 +0200
-
dpkg (1.20.5ubuntu2) groovy; urgency=medium
* scripts/Dpkg/Vendor/Ubuntu.pm: set 'nocheck' in build options by default
on Ubuntu/riscv64. Overridable in debian/rules with
'DEB_BUILD_OPTIONS := $(filter-out nocheck,$(DEB_BUILD_OPTIONS))'.
LP: #1891686.
-- Steve Langasek <email address hidden> Mon, 31 Aug 2020 00:34:46 +0000