]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
apt: upgrade 2.6.1 -> 3.0.3
authorGyorgy Sarvari <skandigraun@gmail.com>
Wed, 3 Sep 2025 18:03:43 +0000 (20:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Sep 2025 17:02:37 +0000 (18:02 +0100)
commit1413a6144679a8347a3487f1950612ee20ff382c
treeae11658e149601541d3833b22bb7b922f9da0dea
parent39d10137b86ebb6d1f20c36ae50a7771e6c76251
apt: upgrade 2.6.1 -> 3.0.3

Changelog:
https://metadata.ftp-master.debian.org/changelogs/main/a/apt/apt_3.0.3_changelog

Dropped patches which are included in this release, or became obsolete:
0001-Fix-compilation-error-with-clang-libc-18.patch - included in this release
0001-Fix-musl-build.patch - included in this release
0001-Raise-cmake_minimum_required-to-3.13-to-avoid-warnin.patch - included in this release
0001-Remove-using-std-binary_function.patch - became obsolete, fixed upstream
0001-aptwebserver.cc-Include-array.patch - became obsolete, fixed upstream
0001-strutl-Add-missing-include-cstdint-gcc-15.patch - included in this release

Added a new patch to avoid compilation error with musl:
error: 'basename' was not declared in this scope; did you mean 'rename'?

Adapted DEPENDS list - gnutls and gcrypt dependencies were dropped in favor of openssl
in version 2.9.19.

Added a new PACKAGECONFIG, 'usrmerge', which displays a gentle warning if the system
isn't a usrmerge system during package installation.

Added new COMMON_ARCH CMake argument - if it is not defined, CMake is trying to
determine the value of this variable by running dpkg, which is usually a futile
endeavour. It is used in config creation, and to print some system info.

Also adapt a self test: the apt-key command has been deprecated since a while,
and in this release it was completely removed. Instead sources.list file
contains the signature data, on a per-repository basis.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 files changed:
meta/lib/oeqa/runtime/cases/apt.py
meta/recipes-devtools/apt/apt/0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch
meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
meta/recipes-devtools/apt/apt/0001-Fix-compilation-error-with-clang-libc-18.patch [deleted file]
meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch [deleted file]
meta/recipes-devtools/apt/apt/0001-Raise-cmake_minimum_required-to-3.13-to-avoid-warnin.patch [deleted file]
meta/recipes-devtools/apt/apt/0001-Remove-using-std-binary_function.patch [deleted file]
meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
meta/recipes-devtools/apt/apt/0001-aptwebserver.cc-Include-array.patch [deleted file]
meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
meta/recipes-devtools/apt/apt/0001-fix-compilation-with-musl.patch [new file with mode: 0644]
meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch [deleted file]
meta/recipes-devtools/apt/apt_3.0.3.bb [moved from meta/recipes-devtools/apt/apt_2.6.1.bb with 88% similarity]