[ubuntu/lunar-proposed] dpkg 1.21.11ubuntu1 (Accepted)
Gianfranco Costamagna
locutusofborg at debian.org
Sat Dec 3 09:30:15 UTC 2022
dpkg (1.21.11ubuntu1) lunar; urgency=low
* Merge from Debian unstable. 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.
- build: Switch default dpkg-deb compression from xz to zstd.
Keep compressing dpkg.deb with xz to help bootstrapping on non-Ubuntu
systems.
- Don't install dpkg-fsys-usrunmess script.
dpkg (1.21.11) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-genbuildinfo: Do not fail if there is no cross-comiler.
Closes: #1025273
* Documentation:
- doc: Update Doxyfile after code reorganization.
- doc: Update Doxygen configuration from version 1.9.4.
- man: Remove B<> or replace with S< >.
* Code internals:
- libdpkg: Document str_end parameter for str_strip_quotes().
* Packaging:
- Add libmd-dev to the test-root and test-not-root autopkgtests.
- Add source lintian-overrides.
- Remove obsolete libncursesw5-dev alternative from Build-Depends.
- Update copyright years.
* Localization:
- Unfuzzy translations after markup fixes.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
dpkg (1.21.10) unstable; urgency=medium
[ Guillem Jover ]
* dpkg: Avoid setgid(2) call if not needed.
Thanks to Christian Göttsche <cgzones at googlemail.com>. Closes: #1014332
* dpkg-architecture: Do not compute values that are not required.
* dpkg-buildpackage: Fix swapped long options for -m/-e.
* dpkg-buildpackage: Add --source-by and --changed-by aliases for -m/-e.
* dpkg-deb: Add support for DPKG_DEB_COMPRESSOR_TYPE/LEVEL. Closes: #550475
* dpkg-genbuildinfo: Refactor build-tainted-by gathering into a function.
* dpkg-genbuildinfo: Add new can-execute-cross-built-programs tainted flag.
Thanks to Johannes Schauer Marin Rodrigues <josch at mister-muffin.de>.
Closes: #1011191
* dpkg: Make -E also take into account the architecture.
Thanks to Ian Jackson <ijackson at chiark.greenend.org.uk>. Closes: #1014476
* dpkg-source: Fix confusing regex match for option arguments.
* dpkg-buildpackage: Fix --jobs and --jobs-try parsing with no «=».
* dpkg-buildpackage: Rename --jobs/--jobs-try argument in --help output.
* dpkg-buildpackage: Add new --jobs-force option.
* dpkg-buildpackage: Change -j, --jobs semantics to non-force mode.
Closes: #905835
* dpkg, dpkg-statoverride: Install SELinux log callback to filter messages.
Thanks to Christian Göttsche <cgzones at googlemail.com>.
* dselect: Clarify non-free section as optional not free software component.
Closes: #30972
* dselect: Require the Dpkg modules for the ftp access method.
* dpkg-buildpackage: Remove blank line around signfile output lines.
* dpkg-buildpackage: Add new --sign-keyid and alias --sign-key to it.
* dpkg-buildpackage: Add --sign-keyfile and DEB_SIGN_KEYFILE support.
* dpkg-buildpackage: Add --sign-backend to specify the OpenPGP backend.
* dpkg-source: Translate source format specific --help option descriptions.
* dpkg-shlibdeps: Cache soname check against shlibs files. Closes: #1022766
* libdpkg, dpkg: Switch triggers database to use reproducible package names.
Closes: #990712
* update-alternatives: Switch point at which we increment alternative
refcount.
* dpkg: Fix setting admindir when root is set.
* dpkg-split: Add support for --root and --admindir.
* Architecture support:
- Move i386 and ia64 in an alphabetical-ish order in the cputable.
- Add support for loong64 CPU.
Based on a patch by 张丹丹 <zhangdandan at loongson.cn>. Closes: #1023486
* Perl modules:
- Dpkg::Source::Package::V1: Remove redundant exit handler for erasedir().
- Dpkg::Source::Package::V2: Update and clarify patch header metadata
template.
- Dpkg::Deps: Merge dependency string into a single line when parsing.
Closes: #1019565
- Dselect::Ftp: Switch to current mirror list for ftp method output.
- Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
- Dpkg::Source::Package: Verify signatures before printing source files
addition.
- Dpkg::Source::Package: Print verifying signature for all source formats.
- Dpkg::Vendor: Rename @tries variable to @names.
- Dpkg::Vendor: Fix get_vendor_file() to return on first match.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Avoid duplicate file loading attempts.
- Dpkg::Vendor: Prefer loading lowercase vendor file first as documented.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Prefer loading capitalized vendor modules.
- Dpkg::Vendor: Use a normalized key to access the cached objects.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Fix vendor file loading for vendors with special
characters.
- Dpkg::Vendor: Fix module loading for vendors with special characters.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Deprecate loading vendor files with no special character
mapping.
- Dpkg::Vendor: Deprecate loading vendor module names starting lower-cased.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Test::Dpkg: Refactor test files search into _test_get_files function().
- Dselect::Ftp: Declare %CONFIG with «our» instead of «my».
- Dselect::Ftp: Conditionally load perl modules shipped in the perl
package.
- Test::Dpkg: Make test_get_temp_path() remove the path before creating it.
- Dpkg::File: Add new file_dump() function.
- Dpkg::File: Add new file_touch() function.
- Dpkg::OpenPGP: Remove unused $exec_opts argument from _exec_openpgp().
- Dpkg::OpenPGP: Pass opts as a hash ref on the first argument.
- Dpkg::OpenPGP: Refactor _gpg_import_keys() out of import_key().
- Dpkg::OpenPGP: Refactor GnuPG common options into functions.
- Dpkg::OpenPGP: Require gpgv and do not fallback to gpg to verify
signatures.
- Dpkg::OpenPGP: Refactor _gpg_verify() out from verify_signature().
- Dpkg::OpenPGP: Split verify_signature() into verify() and
inline_verify().
- Dpkg::OpenPGP: Rename keyrings option to certs.
- Dpkg::OpenPGP: Rename and namespace GnuPG specific symbols.
- Dpkg::OpenPGP: Refactor is_armored() out from openpgp_sig_to_asc().
- Dpkg::OpenPGP: Refactor armoring code into an armor() function.
- Dpkg::Source::Package: Add armor_original_tarball_signature() member.
- Dpkg::OpenPGP: Merge ASCII armored key import into signature
verification.
- Dpkg::OpenPGP: Add native helpers for ASCII Armor.
Thanks to Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
See https://salsa.debian.org/debian/devscripts/-/merge_requests/286.
- Dpkg::OpenPGP: Switch armor() to use native OpenPGP armor functions.
- Dpkg::OpenPGP: Add new dearmor() function.
- Dpkg::OpenPGP: Use dearmor() instead of _gpg_import_keys() in
_gpg_verify().
- Dpkg::OpenPGP: Move status check from _gpg_exec() to _gpg_verify().
- Dpkg::OpenPGP: Make it a class.
- Dpkg::OpenPGP::KeyHandle: Refactor new key handle from dpkg-buildpackage.
- Dpkg::OpenPGP: Pass an array instead of an arrayref to _gpg_exec().
- Dpkg::OpenPGP::ErrorCodes: Add new module.
- Dpkg::OpenPGP: Switch functions to return Dpkg::OpenPGP::ErrorCodes.
- Dpkg::OpenPGP: Change inline_verify to take an output file.
Requested by Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
- Dpkg::OpenPGP: Make armor idempotent.
- Dpkg::Source::Package: Call armor() unconditionally for signature
conversion.
- Dpkg::OpenPGP: Remove now unnecessary is_armored() method.
Prompted by Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
- Dpkg::OpenPGP: Call dearmor() unconditionally for GnuPG certificate
imports.
- Dpkg::OpenPGP: Reintroduce gpg fallback for signature verification.
- Dpkg::OpenPGP: Automatically detect both cmd and cmdv.
- Dpkg::OpenPGP: Refactor trusted keyrings from Dpkg::Source::Package.
- Dpkg::OpenPGP: Refactor signing code from dpkg-buildpackage.
- Dpkg::OpenPGP::KeyHandle: Add new needs_keystore() method.
- Dpkg::OpenPGP::Backend: Refactor GnuPG functions from Dpkg::OpenPGP.
- Dpkg::OpenPGP::Backend: Add new has_verify_cmd() method.
- Dpkg::OpenPGP: Add multi-backend loading support.
- Dpkg::OpenPGP: Add Sequoia backend support.
- Dpkg::OpenPGP: Handle backend requiring a keystore daemon for signing.
- Dpkg::Gettext: Fix typo in POD.
- Dpkg::Changelog: Rename __sanity_check_range method to _sanitize_range.
- Dpkg: Rename _sanity_check and _sanity_check_opts to _check_opts.
- Dpkg::Source::Package: Rename _sanity_check to _check_workdir.
- Dpkg::Shlibs::Objdump: Rename ELF constants to match more closely the
spec.
- Dpkg::Gettext: Add new gettext compatibility stub.
- Dpkg::Shlibs: Handle unknown executable file formats.
Reported by Helmut Grohne <helmut at subdivi.de> (on IRC).
- Dpkg::OpenPGP: Add Stateless OpenPGP (SOP) backend support.
* Make fragments:
- Switch Fortran compiler variables to use gfortran.
Spotted by Enrico Zini <enrico at debian.org>. Closes: #1024421
* Documentation:
- doc: Spell SELinux correctly.
- man: Clarify how --build-by and --release-by get passed to
dpkg-genchanges.
- doc: Use https:// URLs instead of http:// when possible (round four).
- doc: Switch releases download link from ftp.debian.org to deb.debian.org.
- doc: Update git repo URL and mention it being the primary one.
- doc: Fix typos.
- man: Fix typo in markup.
- man: Add description of bug closure Perl regex in deb-changelog(5).
Based on a patch by Daniel Shahaf <danielsh at apache.org>.
See #953911.
- man: Clarify when package names get arch-qualified in dpkg-query output.
Reported by Jakub Wilk <jwilk at jwilk.net> (on IRC).
- doc: Do not use UTF-8 quotes in POD.
- doc: Remove __END__ marker for ending POD documentation.
- doc: Fix typos in coding-style.txt.
- doc: Do not use «e.g.» outside parenthesis.
- doc: Use US English spelling.
- man: Switch debian-installer modules.txt reference to a git URL.
- man: Clarify that dpkg-buildpackage --build components imply a single
type. Closes: #927265
- man: Clarify «hold» behavior with explicit actions in --force-hold
text.
See #985749.
- man: Add references to deb-src-symbols(5) from deb-symbols(5).
- doc: Fix «i.e.» usage.
- man: Clarify dpkg-maintscript-helper switched symlinks/dirs need be
shipped. Closes: #974053
- man: Clarify Build-Profiles syntax in deb-src-control(5).
Thanks to Christoph Berg <myon at debian.org>. Closes: #1022237
- man: Clarify dpkg-buildpackage --sign-key description.
- man: Mark «lto» as bold in list title in dpkg-buildflags(1).
- man: Clarify PIE and ASLR acronyms and grammar in dpkg-buildflags(1).
- man: Fix --depotdir default pathname in dpkg-split(1).
* Code internals:
- dpkg-genbuildinfo: Use Dpkg::Version to parse source version.
- libdpkg: Fix type name for AIX dpkg_get_progname() implementation.
- dpkg-deb: Move DPKG_DEB_THREADS_MAX parsing from libdpkg.
- dpkg-deb: Refactor parse_compress_type() from set_compress_type().
- dpkg: Remove redundant «continue» keyword at the end of a loop.
- dpkg-fsys-usrunmess: Do not pass to print a ref to *STDERR.
- update-alternatives: Call tzset() explicitly now that we use
localtime_r().
- dpkg-name: Use none() instead of ad-hoc comparisons.
- dpkg: Rename struct relationinfo string member to op.
- dpkg: Rewrite relationinfos array variable definition.
- dpkg: Use explicit EXIT_SUCCESS/EXIT_FAILURE instead of 0/1 in
relationinfos.
- libdpkg, dselect: Reformat enum declarations.
- libdpkg: Add new varbuf_add_dir() function.
- libdpkg, dpkg: Use varbuf_add_dir() instead of _add_str() + _add_char().
- libdpkg: Use updatesdir when using the updates directory.
- libdpkg: Use pkg_infodb_get_dir() on opendir() instead of oldname.
- libdpkg: Associate each varbuf_state to a varbuf.
- libdpkg: Add new varbuf_rollback_len() and varbuf_rollback_start()
functions.
- libdpkg: Switch updatefn handling to use varbuf snapshots.
- libdpkg: Rewrite fnis array variable definition.
- libdpkg: Remove trailing «/» from UPDATESDIR definition.
- dpkg-genchanges: Use intermediate variables to access fields.
- dpkg-genchanges: Refactor $is_backport check into a boolean.
- dselect: Unconditionally load perl modules included in perl-base.
- dselect: Remove unused Net::FTP import from ftp method scripts.
- scripts: Switch to use file_slurp() instead of open coding it.
- scripts: Switch to use file_dump() instead of open coding it.
- scripts: Switch to use file_touch() instead of open coding it.
- dpkg-buildpackage: Rename $signkey to $signkeyid.
- dpkg-buildpackage: Move error report into singfile().
- dselect: Use %zd instead of %jd for pointer difference in format string.
- libdpkg: Refactor system meminfo gathering into its own module.
- libdpkg: Refactor meminfo gathering into a filename generic function.
- libdpkg: Use an enum for meminfo return error codes.
- libdpkg: Fix available memory computation for xz thread scaling.
Closes: #1023870
- dselect: Declare constructor with one argument as explicit.
- libdpkg: Fix doxygen comment to match function argument.
- libdpkg: Refactor database trigger await option parse/dump.
- libdpkg: Parse and dump the explicit trigger await option on interest
changes.
- libdpkg: Switch trk_explicit_interest_change() to use
pkg_spec_parse_pkg().
- libdpkg: Add a new pnaw_same package name printing mode.
- libdpkg: Remove unneeded intermediate variable in dpkg_fsys_set_dir().
- dpkg-trigger: Refactor trigger activation into a new function.
- dpkg-trigger: Turn do_check() into a cipaction function.
- dpkg-trigger: Use ACTION macros and cipaction for CLI action selection.
- dpkg-divert: Load database only from within relevant actions.
- dpkg-statoverride: Load database only from within relevant actions.
- src: Handle --help and --version as proper actions.
- libdpkg: Refactor debug_parse_mask().
- libdpkg: Add support for a new DPKG_DEBUG environment variable.
- src: Make instdir static.
- src: Avoid using instdir directly except for initialization.
- libdpkg: Add new options-dirs module to handle directory option parsing.
- libdpkg: Automatically initialize fsys and db dirs on demand.
Reported by stackomatiker (on stackoverflow).
See https://stackoverflow.com/questions/73529576.
* Build system:
- Add the author testing dependencies to Build-Depends under a profile.
- Fully switch to libmd for MD5 implementation.
- Simplify author testing.
- Consider Dselect prefixes as perl modules too in gen-changelog.
- Move authorcheck target to tap.am.
- Sort test_data variables.
- Use long options for lcov invocations.
- Fix coverage reports after code restructuring.
- Use long options for autotools commands.
- Do not ignore Makefile under the functional test suite.
- Consider src and scripts prefixes as internal in gen-changelog.
- Consider scripts/mk prefixes as new «Make fragments» in gen-changelog.
* Packaging:
- Bump Standards-Version to 4.6.1 (no changes needed).
- Properly install specs under /usr/share/doc/dpkg/spec/.
- Do not compress spec files.
- Update bogus lintian tag format.
- Update debbugs usertags.
- Switch from gpg to gnupg for author testing Build-Depends.
- Add build dependencies for release process.
* Test suite:
- Do not use unportable -a option to cp.
- Use «perl» instead of «stat -c '%s'».
- Redirect dd stderr to /dev/null instead of using status=none argument.
- Remove stray backslash before comma.
- Add Dpkg::File unit tests.
- Improve OpenPGP unit tests and check verification and signing.
- Add unit tests for meminfo module.
- Refactor total number of expected known architectures into a variable.
- Use long options for aspell invocation.
- Use --quiet instead of -q on cppcheck invocations.
- Move active line-based cppcheck suppressions into inline comments.
- Make cppcheck unknownMacro suppression more specific.
- Tell cppcheck the C/C++ standards the code intends to comply with.
- Remove unused cppcheck suppressions.
- Use pkginstance in a new unit test.
- Switch NULL to DPKG_NULL in header file.
- Add functional tests for triggers database handling.
- Fix typo in update-alternatives test comment.
- Fix typo in DPKG_GEN_FSYS_LINK m4 macro.
- Rename m4 variables that matched environment variable names.
- Add functional tests for --root, --instdir and --admindir options.
* Localization:
- Fix typo in Japanese translation.
Thanks to Kisaragi Marine <kisaragi.effective at gmail.com>.
Closes: #1023376
- Update Catalan translations.
- Update Dutch translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert at yucom.be>.
Closes: #1021442, #1021443
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <a_monteiro at gmx.com>. Closes: #1018682
- Update Simplified Chinese programs translation.
Thanks to Boyuan Yang <byang at debian.org>. Closes: #1021281
- Update Swedish translations.
Thanks to Peter Krefting <peter at softwolves.pp.se>. Closes: #1021091
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
Date: Sat, 03 Dec 2022 10:11:38 +0100
Changed-By: Gianfranco Costamagna <locutusofborg at debian.org>
Maintainer: Dpkg Developers <debian-dpkg at lists.debian.org>
https://launchpad.net/ubuntu/+source/dpkg/1.21.11ubuntu1
-------------- next part --------------
Format: 1.8
Date: Sat, 03 Dec 2022 10:11:38 +0100
Source: dpkg
Built-For-Profiles: noudeb
Architecture: source
Version: 1.21.11ubuntu1
Distribution: lunar
Urgency: medium
Maintainer: Dpkg Developers <debian-dpkg at lists.debian.org>
Changed-By: Gianfranco Costamagna <locutusofborg at debian.org>
Closes: 30972 550475 905835 927265 974053 990712 1011191 1014332 1014476 1018682 1019565 1021091 1021281 1021442 1021443 1022237 1022766 1023376 1023486 1023870 1024421 1025273
Changes:
dpkg (1.21.11ubuntu1) lunar; urgency=low
.
* Merge from Debian unstable. 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.
- build: Switch default dpkg-deb compression from xz to zstd.
Keep compressing dpkg.deb with xz to help bootstrapping on non-Ubuntu
systems.
- Don't install dpkg-fsys-usrunmess script.
.
dpkg (1.21.11) unstable; urgency=medium
.
[ Guillem Jover ]
* dpkg-genbuildinfo: Do not fail if there is no cross-comiler.
Closes: #1025273
* Documentation:
- doc: Update Doxyfile after code reorganization.
- doc: Update Doxygen configuration from version 1.9.4.
- man: Remove B<> or replace with S< >.
* Code internals:
- libdpkg: Document str_end parameter for str_strip_quotes().
* Packaging:
- Add libmd-dev to the test-root and test-not-root autopkgtests.
- Add source lintian-overrides.
- Remove obsolete libncursesw5-dev alternative from Build-Depends.
- Update copyright years.
* Localization:
- Unfuzzy translations after markup fixes.
.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
.
dpkg (1.21.10) unstable; urgency=medium
.
[ Guillem Jover ]
* dpkg: Avoid setgid(2) call if not needed.
Thanks to Christian Göttsche <cgzones at googlemail.com>. Closes: #1014332
* dpkg-architecture: Do not compute values that are not required.
* dpkg-buildpackage: Fix swapped long options for -m/-e.
* dpkg-buildpackage: Add --source-by and --changed-by aliases for -m/-e.
* dpkg-deb: Add support for DPKG_DEB_COMPRESSOR_TYPE/LEVEL. Closes: #550475
* dpkg-genbuildinfo: Refactor build-tainted-by gathering into a function.
* dpkg-genbuildinfo: Add new can-execute-cross-built-programs tainted flag.
Thanks to Johannes Schauer Marin Rodrigues <josch at mister-muffin.de>.
Closes: #1011191
* dpkg: Make -E also take into account the architecture.
Thanks to Ian Jackson <ijackson at chiark.greenend.org.uk>. Closes: #1014476
* dpkg-source: Fix confusing regex match for option arguments.
* dpkg-buildpackage: Fix --jobs and --jobs-try parsing with no «=».
* dpkg-buildpackage: Rename --jobs/--jobs-try argument in --help output.
* dpkg-buildpackage: Add new --jobs-force option.
* dpkg-buildpackage: Change -j, --jobs semantics to non-force mode.
Closes: #905835
* dpkg, dpkg-statoverride: Install SELinux log callback to filter messages.
Thanks to Christian Göttsche <cgzones at googlemail.com>.
* dselect: Clarify non-free section as optional not free software component.
Closes: #30972
* dselect: Require the Dpkg modules for the ftp access method.
* dpkg-buildpackage: Remove blank line around signfile output lines.
* dpkg-buildpackage: Add new --sign-keyid and alias --sign-key to it.
* dpkg-buildpackage: Add --sign-keyfile and DEB_SIGN_KEYFILE support.
* dpkg-buildpackage: Add --sign-backend to specify the OpenPGP backend.
* dpkg-source: Translate source format specific --help option descriptions.
* dpkg-shlibdeps: Cache soname check against shlibs files. Closes: #1022766
* libdpkg, dpkg: Switch triggers database to use reproducible package names.
Closes: #990712
* update-alternatives: Switch point at which we increment alternative
refcount.
* dpkg: Fix setting admindir when root is set.
* dpkg-split: Add support for --root and --admindir.
* Architecture support:
- Move i386 and ia64 in an alphabetical-ish order in the cputable.
- Add support for loong64 CPU.
Based on a patch by 张丹丹 <zhangdandan at loongson.cn>. Closes: #1023486
* Perl modules:
- Dpkg::Source::Package::V1: Remove redundant exit handler for erasedir().
- Dpkg::Source::Package::V2: Update and clarify patch header metadata
template.
- Dpkg::Deps: Merge dependency string into a single line when parsing.
Closes: #1019565
- Dselect::Ftp: Switch to current mirror list for ftp method output.
- Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation.
- Dpkg::Source::Package: Verify signatures before printing source files
addition.
- Dpkg::Source::Package: Print verifying signature for all source formats.
- Dpkg::Vendor: Rename @tries variable to @names.
- Dpkg::Vendor: Fix get_vendor_file() to return on first match.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Avoid duplicate file loading attempts.
- Dpkg::Vendor: Prefer loading lowercase vendor file first as documented.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Prefer loading capitalized vendor modules.
- Dpkg::Vendor: Use a normalized key to access the cached objects.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Fix vendor file loading for vendors with special
characters.
- Dpkg::Vendor: Fix module loading for vendors with special characters.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Dpkg::Vendor: Deprecate loading vendor files with no special character
mapping.
- Dpkg::Vendor: Deprecate loading vendor module names starting lower-cased.
Reported by Niels Thykier <niels at thykier.net> (on IRC).
- Test::Dpkg: Refactor test files search into _test_get_files function().
- Dselect::Ftp: Declare %CONFIG with «our» instead of «my».
- Dselect::Ftp: Conditionally load perl modules shipped in the perl
package.
- Test::Dpkg: Make test_get_temp_path() remove the path before creating it.
- Dpkg::File: Add new file_dump() function.
- Dpkg::File: Add new file_touch() function.
- Dpkg::OpenPGP: Remove unused $exec_opts argument from _exec_openpgp().
- Dpkg::OpenPGP: Pass opts as a hash ref on the first argument.
- Dpkg::OpenPGP: Refactor _gpg_import_keys() out of import_key().
- Dpkg::OpenPGP: Refactor GnuPG common options into functions.
- Dpkg::OpenPGP: Require gpgv and do not fallback to gpg to verify
signatures.
- Dpkg::OpenPGP: Refactor _gpg_verify() out from verify_signature().
- Dpkg::OpenPGP: Split verify_signature() into verify() and
inline_verify().
- Dpkg::OpenPGP: Rename keyrings option to certs.
- Dpkg::OpenPGP: Rename and namespace GnuPG specific symbols.
- Dpkg::OpenPGP: Refactor is_armored() out from openpgp_sig_to_asc().
- Dpkg::OpenPGP: Refactor armoring code into an armor() function.
- Dpkg::Source::Package: Add armor_original_tarball_signature() member.
- Dpkg::OpenPGP: Merge ASCII armored key import into signature
verification.
- Dpkg::OpenPGP: Add native helpers for ASCII Armor.
Thanks to Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
See https://salsa.debian.org/debian/devscripts/-/merge_requests/286.
- Dpkg::OpenPGP: Switch armor() to use native OpenPGP armor functions.
- Dpkg::OpenPGP: Add new dearmor() function.
- Dpkg::OpenPGP: Use dearmor() instead of _gpg_import_keys() in
_gpg_verify().
- Dpkg::OpenPGP: Move status check from _gpg_exec() to _gpg_verify().
- Dpkg::OpenPGP: Make it a class.
- Dpkg::OpenPGP::KeyHandle: Refactor new key handle from dpkg-buildpackage.
- Dpkg::OpenPGP: Pass an array instead of an arrayref to _gpg_exec().
- Dpkg::OpenPGP::ErrorCodes: Add new module.
- Dpkg::OpenPGP: Switch functions to return Dpkg::OpenPGP::ErrorCodes.
- Dpkg::OpenPGP: Change inline_verify to take an output file.
Requested by Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
- Dpkg::OpenPGP: Make armor idempotent.
- Dpkg::Source::Package: Call armor() unconditionally for signature
conversion.
- Dpkg::OpenPGP: Remove now unnecessary is_armored() method.
Prompted by Daniel Kahn Gillmor <dkg at fifthhorseman.net>.
- Dpkg::OpenPGP: Call dearmor() unconditionally for GnuPG certificate
imports.
- Dpkg::OpenPGP: Reintroduce gpg fallback for signature verification.
- Dpkg::OpenPGP: Automatically detect both cmd and cmdv.
- Dpkg::OpenPGP: Refactor trusted keyrings from Dpkg::Source::Package.
- Dpkg::OpenPGP: Refactor signing code from dpkg-buildpackage.
- Dpkg::OpenPGP::KeyHandle: Add new needs_keystore() method.
- Dpkg::OpenPGP::Backend: Refactor GnuPG functions from Dpkg::OpenPGP.
- Dpkg::OpenPGP::Backend: Add new has_verify_cmd() method.
- Dpkg::OpenPGP: Add multi-backend loading support.
- Dpkg::OpenPGP: Add Sequoia backend support.
- Dpkg::OpenPGP: Handle backend requiring a keystore daemon for signing.
- Dpkg::Gettext: Fix typo in POD.
- Dpkg::Changelog: Rename __sanity_check_range method to _sanitize_range.
- Dpkg: Rename _sanity_check and _sanity_check_opts to _check_opts.
- Dpkg::Source::Package: Rename _sanity_check to _check_workdir.
- Dpkg::Shlibs::Objdump: Rename ELF constants to match more closely the
spec.
- Dpkg::Gettext: Add new gettext compatibility stub.
- Dpkg::Shlibs: Handle unknown executable file formats.
Reported by Helmut Grohne <helmut at subdivi.de> (on IRC).
- Dpkg::OpenPGP: Add Stateless OpenPGP (SOP) backend support.
* Make fragments:
- Switch Fortran compiler variables to use gfortran.
Spotted by Enrico Zini <enrico at debian.org>. Closes: #1024421
* Documentation:
- doc: Spell SELinux correctly.
- man: Clarify how --build-by and --release-by get passed to
dpkg-genchanges.
- doc: Use https:// URLs instead of http:// when possible (round four).
- doc: Switch releases download link from ftp.debian.org to deb.debian.org.
- doc: Update git repo URL and mention it being the primary one.
- doc: Fix typos.
- man: Fix typo in markup.
- man: Add description of bug closure Perl regex in deb-changelog(5).
Based on a patch by Daniel Shahaf <danielsh at apache.org>.
See #953911.
- man: Clarify when package names get arch-qualified in dpkg-query output.
Reported by Jakub Wilk <jwilk at jwilk.net> (on IRC).
- doc: Do not use UTF-8 quotes in POD.
- doc: Remove __END__ marker for ending POD documentation.
- doc: Fix typos in coding-style.txt.
- doc: Do not use «e.g.» outside parenthesis.
- doc: Use US English spelling.
- man: Switch debian-installer modules.txt reference to a git URL.
- man: Clarify that dpkg-buildpackage --build components imply a single
type. Closes: #927265
- man: Clarify «hold» behavior with explicit actions in --force-hold
text.
See #985749.
- man: Add references to deb-src-symbols(5) from deb-symbols(5).
- doc: Fix «i.e.» usage.
- man: Clarify dpkg-maintscript-helper switched symlinks/dirs need be
shipped. Closes: #974053
- man: Clarify Build-Profiles syntax in deb-src-control(5).
Thanks to Christoph Berg <myon at debian.org>. Closes: #1022237
- man: Clarify dpkg-buildpackage --sign-key description.
- man: Mark «lto» as bold in list title in dpkg-buildflags(1).
- man: Clarify PIE and ASLR acronyms and grammar in dpkg-buildflags(1).
- man: Fix --depotdir default pathname in dpkg-split(1).
* Code internals:
- dpkg-genbuildinfo: Use Dpkg::Version to parse source version.
- libdpkg: Fix type name for AIX dpkg_get_progname() implementation.
- dpkg-deb: Move DPKG_DEB_THREADS_MAX parsing from libdpkg.
- dpkg-deb: Refactor parse_compress_type() from set_compress_type().
- dpkg: Remove redundant «continue» keyword at the end of a loop.
- dpkg-fsys-usrunmess: Do not pass to print a ref to *STDERR.
- update-alternatives: Call tzset() explicitly now that we use
localtime_r().
- dpkg-name: Use none() instead of ad-hoc comparisons.
- dpkg: Rename struct relationinfo string member to op.
- dpkg: Rewrite relationinfos array variable definition.
- dpkg: Use explicit EXIT_SUCCESS/EXIT_FAILURE instead of 0/1 in
relationinfos.
- libdpkg, dselect: Reformat enum declarations.
- libdpkg: Add new varbuf_add_dir() function.
- libdpkg, dpkg: Use varbuf_add_dir() instead of _add_str() + _add_char().
- libdpkg: Use updatesdir when using the updates directory.
- libdpkg: Use pkg_infodb_get_dir() on opendir() instead of oldname.
- libdpkg: Associate each varbuf_state to a varbuf.
- libdpkg: Add new varbuf_rollback_len() and varbuf_rollback_start()
functions.
- libdpkg: Switch updatefn handling to use varbuf snapshots.
- libdpkg: Rewrite fnis array variable definition.
- libdpkg: Remove trailing «/» from UPDATESDIR definition.
- dpkg-genchanges: Use intermediate variables to access fields.
- dpkg-genchanges: Refactor $is_backport check into a boolean.
- dselect: Unconditionally load perl modules included in perl-base.
- dselect: Remove unused Net::FTP import from ftp method scripts.
- scripts: Switch to use file_slurp() instead of open coding it.
- scripts: Switch to use file_dump() instead of open coding it.
- scripts: Switch to use file_touch() instead of open coding it.
- dpkg-buildpackage: Rename $signkey to $signkeyid.
- dpkg-buildpackage: Move error report into singfile().
- dselect: Use %zd instead of %jd for pointer difference in format string.
- libdpkg: Refactor system meminfo gathering into its own module.
- libdpkg: Refactor meminfo gathering into a filename generic function.
- libdpkg: Use an enum for meminfo return error codes.
- libdpkg: Fix available memory computation for xz thread scaling.
Closes: #1023870
- dselect: Declare constructor with one argument as explicit.
- libdpkg: Fix doxygen comment to match function argument.
- libdpkg: Refactor database trigger await option parse/dump.
- libdpkg: Parse and dump the explicit trigger await option on interest
changes.
- libdpkg: Switch trk_explicit_interest_change() to use
pkg_spec_parse_pkg().
- libdpkg: Add a new pnaw_same package name printing mode.
- libdpkg: Remove unneeded intermediate variable in dpkg_fsys_set_dir().
- dpkg-trigger: Refactor trigger activation into a new function.
- dpkg-trigger: Turn do_check() into a cipaction function.
- dpkg-trigger: Use ACTION macros and cipaction for CLI action selection.
- dpkg-divert: Load database only from within relevant actions.
- dpkg-statoverride: Load database only from within relevant actions.
- src: Handle --help and --version as proper actions.
- libdpkg: Refactor debug_parse_mask().
- libdpkg: Add support for a new DPKG_DEBUG environment variable.
- src: Make instdir static.
- src: Avoid using instdir directly except for initialization.
- libdpkg: Add new options-dirs module to handle directory option parsing.
- libdpkg: Automatically initialize fsys and db dirs on demand.
Reported by stackomatiker (on stackoverflow).
See https://stackoverflow.com/questions/73529576.
* Build system:
- Add the author testing dependencies to Build-Depends under a profile.
- Fully switch to libmd for MD5 implementation.
- Simplify author testing.
- Consider Dselect prefixes as perl modules too in gen-changelog.
- Move authorcheck target to tap.am.
- Sort test_data variables.
- Use long options for lcov invocations.
- Fix coverage reports after code restructuring.
- Use long options for autotools commands.
- Do not ignore Makefile under the functional test suite.
- Consider src and scripts prefixes as internal in gen-changelog.
- Consider scripts/mk prefixes as new «Make fragments» in gen-changelog.
* Packaging:
- Bump Standards-Version to 4.6.1 (no changes needed).
- Properly install specs under /usr/share/doc/dpkg/spec/.
- Do not compress spec files.
- Update bogus lintian tag format.
- Update debbugs usertags.
- Switch from gpg to gnupg for author testing Build-Depends.
- Add build dependencies for release process.
* Test suite:
- Do not use unportable -a option to cp.
- Use «perl» instead of «stat -c '%s'».
- Redirect dd stderr to /dev/null instead of using status=none argument.
- Remove stray backslash before comma.
- Add Dpkg::File unit tests.
- Improve OpenPGP unit tests and check verification and signing.
- Add unit tests for meminfo module.
- Refactor total number of expected known architectures into a variable.
- Use long options for aspell invocation.
- Use --quiet instead of -q on cppcheck invocations.
- Move active line-based cppcheck suppressions into inline comments.
- Make cppcheck unknownMacro suppression more specific.
- Tell cppcheck the C/C++ standards the code intends to comply with.
- Remove unused cppcheck suppressions.
- Use pkginstance in a new unit test.
- Switch NULL to DPKG_NULL in header file.
- Add functional tests for triggers database handling.
- Fix typo in update-alternatives test comment.
- Fix typo in DPKG_GEN_FSYS_LINK m4 macro.
- Rename m4 variables that matched environment variable names.
- Add functional tests for --root, --instdir and --admindir options.
* Localization:
- Fix typo in Japanese translation.
Thanks to Kisaragi Marine <kisaragi.effective at gmail.com>.
Closes: #1023376
- Update Catalan translations.
- Update Dutch translations.
Thanks to Frans Spiesschaert <Frans.Spiesschaert at yucom.be>.
Closes: #1021442, #1021443
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <a_monteiro at gmx.com>. Closes: #1018682
- Update Simplified Chinese programs translation.
Thanks to Boyuan Yang <byang at debian.org>. Closes: #1021281
- Update Swedish translations.
Thanks to Peter Krefting <peter at softwolves.pp.se>. Closes: #1021091
.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
Checksums-Sha1:
e76a774ea121e5b58a27545fd91b0ee8df16ba9b 3012 dpkg_1.21.11ubuntu1.dsc
19c874a0766a48d01d9535131e73e79592fa3643 5163700 dpkg_1.21.11ubuntu1.tar.xz
9b0689c6e78ae09ee0d73ad23e665b4a4cb90355 8424 dpkg_1.21.11ubuntu1_source.buildinfo
Checksums-Sha256:
3b5755db0c2a4a99c5249651c86b26e8562027640bdf609d6fa32c6ba08790c8 3012 dpkg_1.21.11ubuntu1.dsc
2f6dfc626baed524538a5018cf8b1a43f6d73380534b9749ca1feff7ada5a58a 5163700 dpkg_1.21.11ubuntu1.tar.xz
da8fd4c089a6971995dc8e628e814f12361c65913cda0fb74fe5342d1b3da722 8424 dpkg_1.21.11ubuntu1_source.buildinfo
Files:
f9aa8328358e8ab30d1f8ee0e5d67870 3012 admin required dpkg_1.21.11ubuntu1.dsc
14164890413265421bf01ea4cafb8dbe 5163700 admin required dpkg_1.21.11ubuntu1.tar.xz
4d1733af21d9fd1cdcbb48496a2eb89c 8424 admin required dpkg_1.21.11ubuntu1_source.buildinfo
More information about the lunar-changes
mailing list