-
dpkg (1.21.21ubuntu1) 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.
- 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-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'.
- 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
- Fix dpkg handling of --path-exclude for read-only paths (LP: #2003789).
-- Gianfranco Costamagna <email address hidden> Thu, 02 Mar 2023 09:31:57 +0100
-
dpkg (1.21.20ubuntu2) 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.
- 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-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'.
- 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
- Fix dpkg handling of --path-exclude for read-only paths (LP: #2003789).
-- Gianfranco Costamagna <email address hidden> Wed, 08 Feb 2023 08:32:52 +0100
-
dpkg (1.21.20ubuntu1) 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.
- 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-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'.
- 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
- Fix dpkg handling of --path-exclude for read-only paths (LP: #2003789).
dpkg (1.21.20) unstable; urgency=medium
[ Guillem Jover ]
* Documentation:
- man: Remove duplicate word in dpkg-buildflags(1).
Thanks to Peter Krefting <email address hidden>.
* Packaging:
- Fix versioned Build-Depends on debhelper. Closes: #1030288
- Update lintian overrides.
* Test suite:
- Update suppressions for cppcheck 2.10.
- Skip auto-generated policykit policy file.
* Localization:
- Add Dutch scripts translation. Closes: #1030712
Thanks to Frans Spiesschaert <email address hidden>.
- Unfuzzy translations due to typo fix.
- Update Czech translations. Closes: #1029706, #1030267
Thanks to Miroslav Kure <email address hidden>.
- Update Dutch translations. Closes: #1030710, #1030711
Thanks to Frans Spiesschaert <email address hidden>.
- Update French man page translation. Closes: #1030618
Thanks to Jean-Pierre Giraud <email address hidden>.
- Update French programs translations.
Thanks to Sébastien Poher <email address hidden>.
- Update Hungarian programs translation.
Thanks to Nagy Elemér Károly <email address hidden>.
- Update Korean dselect translation.
Thanks to Sangdo Jun <email address hidden>.
- Update Occitan programs translation.
Thanks to Quentin PAGÈS <email address hidden>.
- Update Portuguese programs translation.
Thanks to Miguel Figueiredo <email address hidden>.
- Update Romanian programs translation.
Thanks to Remus-Gabriel Chelu <email address hidden>.
- Update Russian translations. Closes: #1030162, #1030378
Thanks to Yuri Kozlov <email address hidden>.
- Update Simplified Chinese translations.
Thanks to Boyuan Yang <email address hidden>.
- Update Spanish dselect translation.
Thanks to jonatan porras <email address hidden>.
- Update Swedish translations.
Thanks to Peter Krefting <email address hidden>.
- Update Thai programs translation.
Thanks to Theppitak Karoonboonyanan <email address hidden>.
- Update Traditional Chinese dselect translation.
Thanks to Cheng-Chia Tseng <email address hidden>.
- Workaround po4a formatting issue in French translation.
-- Gianfranco Costamagna <email address hidden> Wed, 08 Feb 2023 08:32:52 +0100
-
dpkg (1.21.19ubuntu3) lunar; urgency=medium
* Fix dpkg handling of --path-exclude for read-only paths (LP: #2003789).
-- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 31 Jan 2023 17:59:24 +0100
-
dpkg (1.21.19ubuntu2) 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.
- 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-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'.
- 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
-- Gianfranco Costamagna <email address hidden> Thu, 26 Jan 2023 22:53:58 +0100
-
dpkg (1.21.19ubuntu1) 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.
- 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::Ubuntu: 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
-- Gianfranco Costamagna <email address hidden> Thu, 26 Jan 2023 22:53:58 +0100
-
dpkg (1.21.18ubuntu3) lunar; urgency=medium
* scripts/Dpkg/Vendor/Ubuntu.pm: Move debugpath-related changes to
here.
* scripts/Dpkg/Vendor/Debian.pm: Revert debugpath-related changes;
they're Ubuntu-specific.
-- Sergio Durigan Junior <email address hidden> Sun, 15 Jan 2023 23:01:44 -0500
-
dpkg (1.21.18ubuntu2) lunar; urgency=medium
[ Shengjing Zhu ]
* Dpkg::Vendor::Ubuntu: Respect options env when override features
(LP: #2002582)
-- Gianfranco Costamagna <email address hidden> Fri, 13 Jan 2023 17:36:24 +0100
-
dpkg (1.21.18ubuntu1) lunar; urgency=medium
* 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.
- 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::Ubuntu: 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.
- set default zstd compression level to 19
- scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
- scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
- man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
* Drop changes included in Debian:
- Add Zstd compression and decompression support for binary packages.
dpkg (1.21.18) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Dpkg::BuildFlags: Fix strip method to always work with duplicates.
Closes: #1028044
* Documentation:
- man: Add a note to dpkg-fsys-usrunmess(8) about Debian support.
Closes: #1008486
* Code internals:
- libdpkg: Move compression level max bound check from dpkg-deb.
- libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma.
- libdpkg: Split compression filter operation tracking from its status.
- libdpkg: Generalize compression stream action handling.
- libdpkg: Abstract compression stream status tracking.
- libdpkg: Add zstd support for .deb archives. Closes: #892664
* Build system:
- Update .mailmap mappings.
* Packaging:
- Update copyright years.
* Test suite:
- Add dpkg-deb build and extract tests.
-- Gianfranco Costamagna <email address hidden> Thu, 12 Jan 2023 22:05:02 +0100
-
dpkg (1.21.17ubuntu5) lunar; urgency=medium
* scripts/Dpkg/Vendor/Debian.pm: Fix FTBFS caused by some typos and
a missing variable declaration.
-- Sergio Durigan Junior <email address hidden> Mon, 09 Jan 2023 13:45:27 -0500
-
dpkg (1.21.17ubuntu4) lunar; urgency=medium
[ Gianfranco Costamagna ]
* Cherry-pick 1.21.12ubuntu2 change, lost during merge
[ Sergio Durigan Junior ]
* scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
* scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
* man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
-- Gianfranco Costamagna <email address hidden> Mon, 09 Jan 2023 17:36:35 +0100
-
dpkg (1.21.17ubuntu3) lunar; urgency=medium
[ Gianfranco Costamagna ]
* Upload the work from Zhu
* Reduce delta even more by stripping duplicated orig files.
[ Shengjing Zhu ]
* Remove duplicated lto flags (LP: #2002201)
* Move lto-disabled hook to Dpkg::Vendor::Ubuntu
-- Gianfranco Costamagna <email address hidden> Mon, 09 Jan 2023 13:19:52 +0100
-
dpkg (1.21.17ubuntu2) lunar; urgency=medium
* Reduce the delta from Debian, from Guillem Jover!
-- Gianfranco Costamagna <email address hidden> Mon, 09 Jan 2023 13:19:52 +0100
-
dpkg (1.21.17ubuntu1) lunar; urgency=medium
* 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.17) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-genbuildinfo: Do not fail if the cross-compiler cannot compile.
Closes: #1027966
* Code internals:
- dpkg-buildinfo: Fix indentation.
* Packaging:
- Stop shipping the «git log» changelog in exchange for no trimming.
Closes: #1027716
dpkg (1.21.16) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-deb: Fix buffer overflow on long directory names with old deb formats.
Reported by Georgy Yakovlev <email address hidden>.
* Perl modules:
- Dpkg::Compression: Pass --no-adjust to xz to force compression threaded
mode.
- Dpkg::Compression: Make xz not emit warnings nor exit non-zero on
warnings.
- Dpkg::OpenPGP::Backend::SOP: Add sqop as an alternative SOP
implementation.
- Dpkg::Source::Package::V3::Git: Move error() argument out of g_() call.
* Code internals:
- libdpkg: Make xz not emit warnings nor exit non-zero on warnings.
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
dpkg (1.21.15) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Dpkg::BuildFlags: Add new get_feature() method.
- Dpkg::Vendor::Debian: Use get_feature() instead of use_feature() for PIE.
Reported by Helmut Grohne <email address hidden>.
- Dpkg: Temporarily silence deprecation warnings.
* Test suite:
- Improve TAP descriptions to clarify we are testing patch(1).
[ Sven Joachim ]
* Localization:
- Update German programs translation.
dpkg (1.21.14) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-source: Add new --threads-max option to control threaded compressors.
* dpkg-buildflags: Add support for features handled as builtin defaults.
* Perl modules:
- Dpkg::Compression::Process: Unify and simplify cmdline handling.
- Dpkg::Compression: Change $COMP hashref into a %COMP hash.
- Dpkg::Compression: Add new compression_get_file_extension() and switch to
it.
- Dpkg::Compression: Move the POD for each function immediately before it.
- Dpkg::Compression: Clarify the compression_get/set_default_level() are
global.
- Dpkg::Compression: Use %COMP directly in functions when it is safe.
- Dpkg::Compression: Add new compression_get/set_level() and switch to it.
- Dpkg::Compression: Add new compression_get/set_cmdline_de/compress().
- Dpkg::Compression: Deprecate compression_get_property().
- Dpkg::Compression: Add multi-threaded xz support.
- Dpkg::Vendor::Devuan: Add new vendor module.
Requested by Ivan J. <email address hidden>.
- Dpkg::BuildFlags: Make it possible to not load the vendor defaults on
new().
- Dpkg::BuildFlags: Add a new use_feature() method.
- Dpkg::BuildFlags: Add a new set/get_option_value() private methods.
- Dpkg::BuildFlags: Add missing feature area to is_maintainer_modified()
POD.
- Dpkg::BuildFlags: Add support for builtin build flags.
- Dpkg::Vendor::Debian: Track option values state as a build flag options.
- Dpkg::Vendor::Debian: Generalize feature areas defaults.
- Dpkg::Vendor::Ubuntu: Use a string comparison instead of debarch_eq().
- Dpkg::Vendor::Ubuntu: Use new build flag option override support to set
-O3.
- Dpkg::Vendor::Ubuntu: Handle LTO by default using new feature overrides.
- Dpkg::BuildEnv: Rename from Dpkg::Build::Env.
- Dpkg::BuildTypes: Rename from Dpkg::Build::Types.
- Dpkg::BuildInfo: New module to deprecate the Dpkg::Build::Info module.
* Documentation:
- man: Document dpkg-source -q option.
- doc: Update TODO.
- man: Document start-stop-daemon options that might be no-ops on some
systems.
- man: Turn spaces followed by tabs into spaces in start-stop-daemon(8).
- man: Use stanza instead of paragraph, block or record for deb822 parts.
* Code internals:
- libdpkg: Use correct return type in meminfo functions definitions.
- libdpkg: Split DPKG_ATTR_ declarations.
- lib: Refactor format attributes into a common *_ATTR_FMT.
- lib: Use __name__ format for attributes.
- lib: Use __has_attribute() to check for attribute availability.
- libdpkg: Mark tar on-disk members with attribute nonstring.
- scripts: Use stanza instead of entry or block.
- libdpkg: Rename functions with names containing record to stanza.
- dselect: Rename functions with names containing block to stanza.
- perl: Add missing space around equal-based operators.
- scripts: Fix indentation.
- perl: Fix list and hash literals indentation.
- scripts: Cuddle else and elsif.
- perl: Remove excess blank lines.
- dselect, src, utils: Remove excess blank lines.
- dpkg-scansources: Turn spaces followed by tabs into spaces.
* Packaging:
- Clarify new xz multi-threaded support is for decompression.
- Bump Standards-Version to 4.6.2.
* Test suite:
- Add unit tests for most of Dpkg::Compression.
* Localization:
- Update Dutch translations.
Thanks to Frans Spiesschaert <email address hidden>.
Closes: #1027312, #1027313
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
-- Gianfranco Costamagna <email address hidden> Sat, 07 Jan 2023 13:19:13 +0100
-
dpkg (1.21.15ubuntu2) lunar; urgency=medium
* 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.
-- Gianfranco Costamagna <email address hidden> Wed, 04 Jan 2023 14:21:18 +0100
-
dpkg (1.21.15ubuntu1) lunar; urgency=medium
* 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.
-- Gianfranco Costamagna <email address hidden> Wed, 04 Jan 2023 14:21:18 +0100
-
dpkg (1.21.13ubuntu1) 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.13) unstable; urgency=medium
[ Guillem Jover ]
* Perl modules:
- Test::Dpkg: Refactor OpenPGP requisite into test_needs_openpgp_backend().
- Dpkg::Backend::GnuPG: Ensure future signing interop with gpg --openpgp.
* Documentation:
- man: Move parallel-safe note from dpkg-buildpackage -j option to
--jobs-force.
* Code internals:
- start-stop-daemon: Cast struct sockaddr_un to struct sockaddr on bind()
call.
- lib: Stop using register keyword.
- libcompat: Remove unused arguments from ngettext() fallback macro.
- libcompat: Switch manual copying to memcpy() in obstack module.
- libcompat: Switch obstack to use size_t.
- libcompat: Use an union to track chunkfun and freefun.
- dpkg-architecture: Fix indentation.
- libdpkg: Fix pdb_lax_stanza_parser and pdb_allow_empty aliased values.
- libcompat: Add noreturn and sentinel C attributes.
- utils: Switch to use libcompat attributes.
- libdpkg: Add new multi-threaded xz decompression support. Closes: #956452
- libdpkg: Pass -T+1 instead of -T1 to xz when compressing.
- libdpkg: On threads-max > 0 pass --no-adjust to xz to force threaded
mode.
- Use hyphenated multi-threaded in text.
* Build system:
- Consider lib and utils prefixes as internal in gen-changelog.
- Fix m4 files coding style.
- Include <stdio.h> for printf() usage in __progname check.
* Packaging:
- Require liblzma >= 5.4.0 for multi-threaded compressor support.
- Clarify versioned dependency rationale comments.
- Add pkgconf as main Build-Depends alternative to pkg-config.
* Test suite:
- Skip deb-format tests if required compressors are not present.
- Use a custom dpkg database directory for dpkg-buildpackage tests.
- Switch Dpkg::Source::Package test to use test_needs_openpgp_backend().
- Skip deb-format tests if gzip is not present.
- Skip dpkg-source tests if xz is not present.
- Use the PERL detected at configure time in autotests.
- Use perl instead of yes+dd to generate a data-file for deb-split.
* Localization:
- Update Simplified Chinese programs translation.
Thanks to Boyuan Yang <email address hidden>. Closes: #1025625
dpkg (1.21.12) unstable; urgency=medium
[ Guillem Jover ]
* dpkg-architecture: Properly compute required information to gather.
Reported by Sören Tempel <email address hidden>.
* Code internals:
- dpkg-architecture: Rename information tracking constants and variables.
* Packaging:
- Set paths for configure in autopkgtests to match installed ones.
- Add libmd-dev to libdpkg-dev Depends.
Reported by Alexandre Detiste <email address hidden>.
-- Gianfranco Costamagna <email address hidden> Sat, 24 Dec 2022 15:57:09 +0100
-
dpkg (1.21.12ubuntu2) lunar; urgency=medium
* scripts/Dpkg/Vendor/Debian.pm: Always include "-fdebug-prefix-map"
to build flags. Map path to "/usr/src/PKGNAME-PKGVER" instead of
".", honouring the DWARF standard which prohibits relative paths
in DW_AT_comp_dir.
* scripts/{mk/buildflags.mk,t.mk}: Add support for DEB_BUILD_DEBUGPATH.
* man/dpkg-buildflags.pod: Document new behaviour of "fdebugmap" and
new DEB_BUILD_DEBUGPATH variable.
-- Sergio Durigan Junior <email address hidden> Sat, 10 Dec 2022 14:57:41 -0500
-
dpkg (1.21.12ubuntu1) lunar; urgency=medium
* 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.
-- Gianfranco Costamagna <email address hidden> Tue, 06 Dec 2022 15:51:24 +0100
-
dpkg (1.21.11ubuntu2) 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.
-- Gianfranco Costamagna <email address hidden> Sat, 03 Dec 2022 10:11:38 +0100
-
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 <email address hidden>. 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 <email address hidden>.
Closes: #1011191
* dpkg: Make -E also take into account the architecture.
Thanks to Ian Jackson <email address hidden>. 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 <email address hidden>.
* 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 张丹丹 <email address hidden>. 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 <email address hidden> (on IRC).
- Dpkg::Vendor: Avoid duplicate file loading attempts.
- Dpkg::Vendor: Prefer loading lowercase vendor file first as documented.
Reported by Niels Thykier <email address hidden> (on IRC).
- Dpkg::Vendor: Prefer loading capitalized vendor modules.
- Dpkg::Vendor: Use a normalized key to access the cached objects.
Reported by Niels Thykier <email address hidden> (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 <email address hidden> (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 <email address hidden> (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 <email address hidden>.
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 <email address hidden>.
- 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 <email address hidden>.
- 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 <email address hidden> (on IRC).
- Dpkg::OpenPGP: Add Stateless OpenPGP (SOP) backend support.
* Make fragments:
- Switch Fortran compiler variables to use gfortran.
Spotted by Enrico Zini <email address hidden>. 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 <email address hidden>.
See #953911.
- man: Clarify when package names get arch-qualified in dpkg-query output.
Reported by Jakub Wilk <email address hidden> (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 <email address hidden>. 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 <email address hidden>.
Closes: #1023376
- Update Catalan translations.
- Update Dutch translations.
Thanks to Frans Spiesschaert <email address hidden>.
Closes: #1021442, #1021443
- Update Portuguese man pages translation.
Thanks to Américo Monteiro <email address hidden>. Closes: #1018682
- Update Simplified Chinese programs translation.
Thanks to Boyuan Yang <email address hidden>. Closes: #1021281
- Update Swedish translations.
Thanks to Peter Krefting <email address hidden>. Closes: #1021091
[ Helge Kreutzmann ]
* Localization:
- Update German man pages translation.
- Update German scripts translation.
[ Sven Joachim ]
* Localization:
- Update German programs translation.
-- Gianfranco Costamagna <email address hidden> Sat, 03 Dec 2022 10:11:38 +0100
-
dpkg (1.21.9ubuntu1) kinetic; 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.
-- Gianfranco Costamagna <email address hidden> Sun, 03 Jul 2022 00:00:34 +0200