Bump libopenssl, python3, kodi, ffmpeg
v8 cover Bump libopenssl, python3, kodi, ffmpeg
Hi,
this series bumps libopenssl to version 4.0.3 and ffmpeg to 9.0.2. It also includes as RFC the bumps of python3 to 3.15.0rc3 and kodi to 22.0rc1.
The decision to remove the 9000+ lines long patch to build python3 3.14.8 with libopenssl 4.0.3 was made due to the many bumps to python packages in preparation for the upcoming release of python 3.15.0. The series was tested with all patches James sent but were not yet applied to buildroot.
Please be aware of the following depencies:
The current kodi version 21.3 is incompatible with python 3.15 and no updates to this kodi version are expected, kodi tagged 22.0rc1 last week which adds compatibility with python 3.15 but also needs a newer ffmpeg version which in turn needs some fixes for current packages.
This series consists of the following parts:
0001-0003: package removals
0004-0056: - version bumps that provide compatibility with OpenSSL 4.x
- upstream fixes for packages without a released version that provides compatibility with OpenSSL 4.x
0006-0021 belong to the boost patch series
The luvi package needs to be bumped first so the upstream fix for OpenSSL 4.x can be applied
Until here this is the latest version of the libopenssl bump series. None of the patches 0001-0056 depend on the libopenssl bump, they all build fine with libopenssl 3.6.x.
0057-0060: build fixes for ffmpeg 9.0.2
None of the patches 0057-0060 depend on the ffmpeg bump.
The following changes will break bisectability...
0061-0062: bump python3 to 3.15.0rc3 (RFC)
This bump depends on the ncurses fix
This bump will break kodi 21.3
0063: bump libopenssl to 4.0.3
Due to the python3 bump no new breakages are expected
0064-0065: bump ffmpeg to 9.0.2
libcamera-apps 1.10.1 is incompatible with our current ffmpeg version, to reduce the impact on bisectability we bump it right before the ffmpeg bump
This bump will add a further breakage to kodi 21.3
0066-0068: version bumps to prepare the kodi bump
These bump are incompatible with our current kodi version
0069-0084: bump kodi to 22.0rc1-Piers (RFC)
Regards, Bernd
v8:
- rebased
- changed libopenssl fix for freeswitch to upstream patches instead of tweaking autoconf variables
- replaced libopenssl fix for python 3.14.8 with bump to 3.15.0rc3
- added kodi & ffmpeg bumps to series
v7:
- rebased
- added output of 'utils/get-developers --cc' to individual patches to avoid sending the whole series to all devs (Thomas)
- bumped libopenssl to 4.0.3
- removed qt6/qt6opcua as well (to-do from v3)
- please note that this series depends on the security bump of libopenssl to 3.6.5:
https://patchwork.buildroot.org/project/buildroot/patch/20260929175300.1838821-1-bernd-NSqj7jyE675eoWH0uzbU5w@public.gmane.org/
v6:
- rebased
- created PR for package/squid/0001*.patch
- added OpenSSL fix for mender-artifact
- added Michael's boost series:
https://lists.buildroot.org/pipermail/buildroot/2026-September/810503.html
v5:
- rebased
- fixed mender build by using an Ubuntu patch
v4, only minor changes, not sent CC to all maintainers:
- renumbered patches in cover letter
- added Upstream: tag to patch package/resiprocate/0001
- mentioned resiprocate changes in v3
v3:
- rebased
the current tree, also containing unrelated build fixes, can be found here:
https://gitlab.com/bkuhls/buildroot/-/commits/c60dc5542041aef205b874e875a3da582ebb6811
- added systemd fix
- removed resiprocate removal, bumped to 1.14.0 and added OpenSSL fixes
- removed mender removal for the time being from the series the tree mentioned above still contains the removal, then the revert of the removal and Adam's bump to 5.1.0 which is broken with the bump to OpenSSL 4.0.2:
https://lists.buildroot.org/pipermail/buildroot/2026-September/810147.html
v2:
- squashed BR2_TOOLCHAIN_HAS_GCC_BUG_101916 removal into heirloom-mailx removal patch
- added qt6 bump which also fixes build with OpenSSL 4.0
Bernd Kuhls (69):
package/qt5/qt5knx: remove package
package/qt5/qt5opcua: remove package package/qt6/qt6opcua: remove package
package/domoticz: bump version to 2026.3 package/libtorrent-rasterbar: bump version to 2.1.1 package/boost: bump version to 1.92.0 package/openvmtools: bump version to 13.1.0 package/poco: bump version to 1.15.3
package/snort3: fix build error with numa support package/snort3: Fix build with OpenSSL 4.0.0 package/xtables-addons: use kernel-module infra package/xtables-addons: bump version to 3.31 package/boinc: Fix build with OpenSSL 4.0.0 package/clamav: Fix build with OpenSSL 4.0.0 package/freeradius-server: Add support for OpenSSL 4.0.0 package/freeswitch: Add support for OpenSSL 4.0.0 package/ibm-sw-tpm2: Fix build with OpenSSL 4.{0, 1} package/ibrdtnd: Fix build with OpenSSL 4.0.0 package/lftp: Add support for OpenSSL 4.0.0 package/libesmtp: Fix build with OpenSSL 4.0.0 package/libkrb5: Add support for OpenSSL 4.0.0 package/luvi: fix build without c++
package/luvi: bump version to 102-g9fa6c141a package/luvi: Fix build with OpenSSL 4.0.0 package/mender-artifact: Fix build with OpenSSL 4.0.0 package/perl-net-ssleay: Add support for OpenSSL 4.0.0 package/qpid-proton: Fix build with OpenSSL 4.0.0 package/qt5/qt5base: Add support for OpenSSL 4.0.0 package/rauc: Fix build with OpenSSL 4.0.0 package/redis: Fix build with OpenSSL 4.0.0 package/socat: Add support for OpenSSL 4.0.0 package/sofia-sip: Fix build with OpenSSL 4.0.0 package/softhsm2: Fix build with OpenSSL 4.0.0 package/squid: Fix build with OpenSSL 4.0.0 package/sudo: Add support for OpenSSL 4.0.0 package/systemd: Fix build with OpenSSL 4.0.0 package/tpm2-openssl: Fix build with OpenSSL 4.0.0 package/trousers: Fix build with OpenSSL 4.0.0 package/uboot-tools: Fix build with OpenSSL 4.0.0 package/xmrig: Add support for OpenSSL 4.0.0 package/znc: Fix build with OpenSSL 4.0.0 package/freeswitch: fix build with ffmpeg 8.x package/gstreamer1/gst1-libav: fix build with ffmpeg 9.x package/opencv4: fix build with ffmpeg 9.x package/shairport-sync: fix build with ffmpeg 9.x package/ncurses: install wide-char headers in usr/include/ncursesw/ package/python3: bump version to 3.15.0rc3 package/libopenssl: bump version to 4.0.3 package/libcamera-apps: bump version to 1.10.1 package/ffmpeg: bump version to 9.0.2
package/libcec: bump version to 8.1.7 package/libplatform: remove package
package/bento4: bump version to 1.6.0-641-6-Piers package/kodi: bump to 22.0rc1-Piers package/kodi-audiodecoder-*: mass version bump to Piers package/kodi-audioencoder-*: mass version bump to Piers package/kodi-imagedecoder-*: mass version bump to Piers package/kodi-inputstream-*: mass version bump to Piers package/kodi-peripheral-*: mass version bump to Piers package/kodi-pvr-hts: bump version to 22.9.2-Piers package/kodi-pvr-plutotv: bump version to 22.3.1-Piers package/kodi-pvr-waipu: bump version to 22.10.0-Piers package/kodi-pvr-zattoo: bump version to 22.2.3-Piers package/kodi-pvr-*: mass version bump to Piers package/kodi-screensaver-rsxs: bump version to 22.0.5-Piers package/kodi-screensaver-*: mass version bump to Piers package/kodi-skin-confluence: bump version package/kodi-vfs-*: mass version bump to Piers package/kodi-visualisation-*: mass version bump to Piers
Michael Nosthoff (15):
package/boost: add new charconv and cobalt library package/boost: add switch for boost-process package/boost: program_options needs container package/boost: thread needs more dependencies package/boost: contract needs thread package/boost: fix coroutine dependencies package/boost: fiber needs exception package/boost: update graph dependencies package/boost: math needs container package/boost: log needs serialization package/boost: test needs exception package/boost: wave needs thread package/boost: update locale dependencies package/boost: update C++ version dependencies package/boost: system: update description
.checkpackageignore | 13 +-
Config.in.legacy | 64 +
DEVELOPERS | 4 -
package/Config.in | 1 -
package/apr-util/Config.in | 1 -
package/bento4/bento4.hash | 2 +-
package/bento4/bento4.mk | 4 +-
...fix-a-build-failure-with-openssl-4.0.patch | 26 +
...xit_code-guard-static_asserts-on-MIP.patch | 59 +
.../0001-unordered-fix-copy-assign.patch | 22 -
...-for-duplicate-definition-of-SIGLOST.patch | 30 +
package/boost/0003-Fix-build.patch | 39 +
package/boost/0004-Fix-build.patch | 40 +
package/boost/0005-Fix-build.patch | 64 +
package/boost/Config.in | 190 +-
package/boost/boost.hash | 4 +-
package/boost/boost.mk | 10 +-
...-crypto-Remove-cl_ASN1_GetTimeT-1731.patch | 136 +
package/domoticz/Config.in | 7 +-
package/domoticz/domoticz.hash | 3 +-
package/domoticz/domoticz.mk | 27 +-
package/dovecot/Config.in | 1 -
...-x86-yuv2rgb-Fix-build-without-SSSE3.patch | 24 +-
...264-skip-decode-if-pic-has-no-slices.patch | 13 +-
.../0003-libavutil-Fix-mips-build.patch | 17 +-
...igure-add-extralibs-to-extralibs_xxx.patch | 14 +-
...0005-avcodec-mmaldec-Fix-build-error.patch | 32 -
...ay-dvd-Use-correct-pointer-types-on-.patch | 52 -
...hwcontext-vaapi-use-the-correct-type.patch | 28 -
package/ffmpeg/ffmpeg.hash | 4 +-
package/ffmpeg/ffmpeg.mk | 15 +-
package/ffmpeg/libpostproc-0001.diff | 9833 +++++++++++++++++
package/fluent-bit/Config.in | 1 -
...ING-functions-for-OpenSSL-4.0-compat.patch | 80 +
...robe-TLS_method-to-detect-libssl-Ope.patch | 38 +
...tem-Fix-build-against-OpenSSL-4-3185.patch | 67 +
...elated-to-signalwire-freeswitch-2202.patch | 103 +
package/freeswitch/freeswitch.mk | 3 +
...av-Fix-build-failure-with-FFmpeg-9.0.patch | 72 +
.../0002-tpm-Update-to-OpenSSL-4.1.patch | 28 +
...ateManager.cpp-fix-build-with-OpenSS.patch | 41 +
.../kodi-audiodecoder-modplug.hash | 2 +-
.../kodi-audiodecoder-modplug.mk | 2 +-
.../kodi-audiodecoder-nosefart.hash | 2 +-
.../kodi-audiodecoder-nosefart.mk | 2 +-
.../kodi-audiodecoder-sidplay.hash | 2 +-
.../kodi-audiodecoder-sidplay.mk | 2 +-
.../kodi-audiodecoder-snesapu.hash | 2 +-
.../kodi-audiodecoder-snesapu.mk | 2 +-
.../kodi-audiodecoder-stsound.hash | 2 +-
.../kodi-audiodecoder-stsound.mk | 2 +-
.../kodi-audiodecoder-timidity.hash | 2 +-
.../kodi-audiodecoder-timidity.mk | 2 +-
.../kodi-audiodecoder-vgmstream.hash | 2 +-
.../kodi-audiodecoder-vgmstream.mk | 2 +-
.../kodi-audioencoder-flac.hash | 2 +-
.../kodi-audioencoder-flac.mk | 2 +-
.../kodi-audioencoder-lame.hash | 2 +-
.../kodi-audioencoder-lame.mk | 2 +-
.../kodi-audioencoder-vorbis.hash | 2 +-
.../kodi-audioencoder-vorbis.mk | 2 +-
.../kodi-audioencoder-wav.hash | 2 +-
.../kodi-audioencoder-wav.mk | 2 +-
.../kodi-imagedecoder-heif.hash | 2 +-
.../kodi-imagedecoder-heif.mk | 2 +-
.../kodi-imagedecoder-raw.hash | 2 +-
.../kodi-imagedecoder-raw.mk | 2 +-
.../kodi-inputstream-adaptive.hash | 2 +-
.../kodi-inputstream-adaptive.mk | 2 +-
.../kodi-inputstream-ffmpegdirect.hash | 2 +-
.../kodi-inputstream-ffmpegdirect.mk | 2 +-
.../kodi-inputstream-rtmp.hash | 2 +-
.../kodi-inputstream-rtmp.mk | 2 +-
.../kodi-jsonschemabuilder.mk | 2 +-
.../kodi-peripheral-joystick.hash | 2 +-
.../kodi-peripheral-joystick.mk | 2 +-
.../kodi-peripheral-xarcade.hash | 2 +-
.../kodi-peripheral-xarcade.mk | 2 +-
.../kodi-pvr-argustv/kodi-pvr-argustv.hash | 2 +-
package/kodi-pvr-argustv/kodi-pvr-argustv.mk | 2 +-
.../kodi-pvr-dvblink/kodi-pvr-dvblink.hash | 2 +-
package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk | 2 +-
.../kodi-pvr-dvbviewer.hash | 2 +-
.../kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk | 2 +-
package/kodi-pvr-filmon/kodi-pvr-filmon.hash | 2 +-
package/kodi-pvr-filmon/kodi-pvr-filmon.mk | 2 +-
package/kodi-pvr-hts/0001-gcc15.patch | 26 -
package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +-
package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +-
.../kodi-pvr-iptvsimple.hash | 2 +-
.../kodi-pvr-iptvsimple.mk | 2 +-
.../kodi-pvr-mediaportal-tvserver.hash | 2 +-
.../kodi-pvr-mediaportal-tvserver.mk | 2 +-
package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash | 2 +-
package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk | 2 +-
.../kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash | 2 +-
package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk | 2 +-
package/kodi-pvr-njoy/kodi-pvr-njoy.hash | 2 +-
package/kodi-pvr-njoy/kodi-pvr-njoy.mk | 2 +-
.../kodi-pvr-octonet/kodi-pvr-octonet.hash | 2 +-
package/kodi-pvr-octonet/kodi-pvr-octonet.mk | 2 +-
package/kodi-pvr-pctv/kodi-pvr-pctv.hash | 2 +-
package/kodi-pvr-pctv/kodi-pvr-pctv.mk | 2 +-
package/kodi-pvr-plutotv/Config.in | 2 +-
.../kodi-pvr-plutotv/kodi-pvr-plutotv.hash | 2 +-
package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk | 4 +-
.../kodi-pvr-stalker/kodi-pvr-stalker.hash | 2 +-
package/kodi-pvr-stalker/kodi-pvr-stalker.mk | 2 +-
package/kodi-pvr-vbox/kodi-pvr-vbox.hash | 2 +-
package/kodi-pvr-vbox/kodi-pvr-vbox.mk | 2 +-
.../kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash | 2 +-
.../kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk | 2 +-
package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash | 2 +-
package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk | 2 +-
package/kodi-pvr-waipu/Config.in | 2 +-
package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +-
package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 4 +-
package/kodi-pvr-wmc/kodi-pvr-wmc.hash | 2 +-
package/kodi-pvr-wmc/kodi-pvr-wmc.mk | 2 +-
package/kodi-pvr-zattoo/Config.in | 2 +-
package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +-
package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 4 +-
.../kodi-screensaver-asteroids.hash | 2 +-
.../kodi-screensaver-asteroids.mk | 2 +-
.../kodi-screensaver-asterwave.hash | 2 +-
.../kodi-screensaver-asterwave.mk | 2 +-
.../kodi-screensaver-biogenesis.hash | 2 +-
.../kodi-screensaver-biogenesis.mk | 2 +-
.../kodi-screensaver-cpblobs.hash | 2 +-
.../kodi-screensaver-cpblobs.mk | 2 +-
.../kodi-screensaver-greynetic.hash | 2 +-
.../kodi-screensaver-greynetic.mk | 2 +-
.../kodi-screensaver-matrixtrails.hash | 2 +-
.../kodi-screensaver-matrixtrails.mk | 2 +-
.../kodi-screensaver-pingpong.hash | 2 +-
.../kodi-screensaver-pingpong.mk | 2 +-
.../kodi-screensaver-pyro.hash | 2 +-
.../kodi-screensaver-pyro.mk | 2 +-
.../0001-Fix-build-with-CMake-4.x.patch | 346 -
.../kodi-screensaver-rsxs.hash | 2 +-
.../kodi-screensaver-rsxs.mk | 2 +-
.../kodi-screensaver-stars.hash | 2 +-
.../kodi-screensaver-stars.mk | 2 +-
.../kodi-skin-confluence.hash | 2 +-
.../kodi-skin-confluence.mk | 2 +-
...rePacker-allow-build-with-giflib-6.x.patch | 71 -
.../kodi-texturepacker/kodi-texturepacker.mk | 3 +-
.../kodi-vfs-libarchive.hash | 2 +-
.../kodi-vfs-libarchive.mk | 2 +-
package/kodi-vfs-rar/kodi-vfs-rar.hash | 2 +-
package/kodi-vfs-rar/kodi-vfs-rar.mk | 2 +-
package/kodi-vfs-sftp/kodi-vfs-sftp.hash | 2 +-
package/kodi-vfs-sftp/kodi-vfs-sftp.mk | 2 +-
.../kodi-visualisation-fishbmc.hash | 2 +-
.../kodi-visualisation-fishbmc.mk | 2 +-
.../kodi-visualisation-goom.hash | 2 +-
.../kodi-visualisation-goom.mk | 2 +-
.../kodi-visualisation-matrix.hash | 2 +-
.../kodi-visualisation-matrix.mk | 2 +-
.../kodi-visualisation-shadertoy.hash | 2 +-
.../kodi-visualisation-shadertoy.mk | 2 +-
.../kodi-visualisation-spectrum.hash | 2 +-
.../kodi-visualisation-spectrum.mk | 2 +-
.../kodi-visualisation-starburst.hash | 2 +-
.../kodi-visualisation-starburst.mk | 2 +-
.../kodi-visualisation-waveform.hash | 2 +-
.../kodi-visualisation-waveform.mk | 2 +-
...rePacker-allow-build-with-giflib-6.x.patch | 71 -
.../0003-RegExp-remove-unused-methods.patch | 127 -
.../0004-Introduce-PCRE2-dependency.patch | 192 -
...igrate-PCRE-to-PCRE2-and-remove-PCRE.patch | 486 -
...006-cmake-Set-ARCH-to-CPU-by-default.patch | 41 -
package/kodi/Config.in | 8 +-
package/kodi/kodi.hash | 15 +-
package/kodi/kodi.mk | 52 +-
.../0002-allow-build-with-OpenSSL-4.x.patch | 56 +
...ore-Switch-libcamera-string-controls.patch | 46 -
package/libcamera-apps/libcamera-apps.hash | 3 +-
package/libcamera-apps/libcamera-apps.mk | 5 +-
...DeviceLanguage-accepts-3-char-ISO-co.patch | 66 -
...Python-wrapper-against-SWIG-4.5-whic.patch | 78 -
package/libcec/Config.in | 1 -
package/libcec/libcec.hash | 4 +-
package/libcec/libcec.mk | 4 +-
package/libcoap/Config.in | 1 -
...-with-OpenSSL-4.0-opaque-ASN1_STRING.patch | 36 +
...eck_host-to-verify-KKDCP-server-cert.patch | 252 +
...Improve-future-OpenSSL-compatibility.patch | 327 +
package/libks/Config.in | 1 -
package/libldns/libldns.mk | 8 +-
package/libopenssl/Config.in | 34 -
package/libopenssl/libopenssl.hash | 4 +-
package/libopenssl/libopenssl.mk | 18 +-
package/libp11/Config.in | 1 -
package/libp11/libp11.mk | 3 +-
package/libplatform/Config.in | 7 -
package/libplatform/libplatform.hash | 3 -
package/libplatform/libplatform.mk | 13 -
package/librelp/Config.in | 1 -
package/libssh/Config.in | 1 -
.../0001-fix-more-c-17-that-made-it-in.patch | 53 +
package/libtorrent-rasterbar/Config.in | 8 +-
.../libtorrent-rasterbar.hash | 5 +-
.../libtorrent-rasterbar.mk | 22 +-
package/log4cxx/Config.in | 5 +
...eLists.txt-only-require-a-C-compiler.patch | 48 +
...ly-disable-GCC-diagnostics-in-ocsp.c.patch | 80 -
...isable-Wincompatible-pointer-types-f.patch | 54 -
.../luvi/0002-feat-support-openssl-4.0.patch | 403 +
package/luvi/Config.in | 1 -
package/luvi/luvi.hash | 2 +-
package/luvi/luvi.mk | 2 +-
.../0001-openssl-v4-update.patch | 180 +
package/mender/Config.in | 1 -
package/mtd/Config.in | 1 -
package/ncurses/ncurses.mk | 7 +
...FFmpeg-after-AVCodec-pix_fmts-remova.patch | 58 +
...se-avcodec_get_supported_config-for-.patch | 76 +
package/openssh/openssh.mk | 8 +-
.../0001-configure.ac-disable-Werror.patch | 32 +
.../openvmtools/0001-no_cflags_werror.patch | 18 -
.../0002-dont-force-cppflags.patch | 21 -
...-not-force-I-usr-include-in-CPPFLAGS.patch | 36 +
..._poll-h-to-fix-build-failure-on-musl.patch | 813 --
...to-vm_poll.h-to-fix-build-failure-on.patch | 133 +
...ns-about-glibc-being-only-libc-imple.patch | 27 +-
...e-configure-test-for-struct-timespec.patch | 31 +-
...finition-of-ALLPERMS-and-ACCESSPERMS.patch | 35 +-
...-test-for-feature-instead-of-platfor.patch | 74 +-
...onfigure-test-for-sys-stat.h-include.patch | 21 +-
...gfs-fuse-fsutils.h-fix-build-on-mus.patch} | 8 +-
...FromNtTimeNsec-aware-of-64-bit-time_.patch | 51 +
...on-discards-const-qualifier-from-poi.patch | 148 +
...FromNtTimeNsec-aware-of-64-bit-time_.patch | 80 -
...GLib-g_free-macro-redefinition-erro.patch} | 11 +-
...uthorization-on-incoming-guestOps-re.patch | 41 -
...-2025-22247-1100-1225-VGAuth-updates.patch | 383 -
package/openvmtools/openvmtools.hash | 3 +-
package/openvmtools/openvmtools.mk | 22 +-
.../0002-Fix-SSLv3-in-OpenSSL-4.0.0.patch | 39 +
...emove-support-for-some-TLS-functions.patch | 197 +
...SSLeay-to-support-opaque-ASN1_STRING.patch | 179 +
...-removal-of-SSLv2-Client-Hello-suppo.patch | 66 +
...Net-SSLeay-OPENSSL_info-return-value.patch | 45 +
...r-OPenSSL-4-support-and-update-tests.patch | 94 +
...but-if-with-else-to-avoid-duplicate-.patch | 83 +
package/poco/poco.hash | 2 +-
package/poco/poco.mk | 2 +-
package/python-libconfig/Config.in | 5 +-
...e-the-build-of-pyc-files-conditional.patch | 14 +-
.../0002-Add-an-option-to-disable-pydoc.patch | 24 +-
.../0003-Add-an-option-to-disable-IDLE.patch | 18 +-
...move-PY_STDLIB_MOD_SET_NA-further-up.patch | 8 +-
...option-to-disable-the-sqlite3-module.patch | 16 +-
...d-an-option-to-disable-the-tk-module.patch | 18 +-
...-option-to-disable-the-curses-module.patch | 14 +-
.../0008-Add-an-option-to-disable-expat.patch | 14 +-
...ac-detect-unusable-termio-operations.patch | 16 +-
...mpilation-of-Modules-_remote_debuggi.patch | 55 -
package/python3/python3.hash | 4 +-
package/python3/python3.mk | 6 +-
...1-PROTON-2937-Add-OpenSSL-4.x-compat.patch | 80 +
package/qt5/Config.in | 2 -
package/qt5/qt5base/0009-openssl4.patch | 52 +
package/qt5/qt5base/0010-openssl4.patch | 139 +
package/qt5/qt5base/0011-openssl4.patch | 89 +
package/qt5/qt5knx/Config.in | 12 -
package/qt5/qt5knx/qt5knx.hash | 6 -
package/qt5/qt5knx/qt5knx.mk | 15 -
package/qt5/qt5opcua/Config.in | 9 -
package/qt5/qt5opcua/qt5opcua.hash | 10 -
package/qt5/qt5opcua/qt5opcua.mk | 19 -
package/qt6/Config.in | 1 -
package/qt6/qt6opcua/Config.in | 14 -
package/qt6/qt6opcua/qt6opcua.hash | 10 -
package/qt6/qt6opcua/qt6opcua.mk | 40 -
...N1_STRING_get0_data-and-ASN1_STRING_.patch | 48 +
package/rauc/Config.in | 2 -
package/rauc/rauc.mk | 3 +-
...emove-Werror-deprecated-declarations.patch | 28 +
package/resiprocate/Config.in | 4 +
...lution-code-1-to-be-multithreaded-2-.patch | 76 +
.../0001-Rename-numa.h-to-numa_snort.h.patch | 79 +
...fix-const-qualifiers-for-OpenSSL-4.0.patch | 63 +
...penSSL-4.0-use-ASN1_STRING-accessors.patch | 35 +
...001-Fix-build-error-with-OpenSSL-4.0.patch | 42 +
...mory-leak-in-OSSL-byteString2oid-863.patch | 49 +
...in-EdDSA-PrintableString-handling-85.patch | 98 +
package/softhsm2/Config.in | 1 -
.../0001-Fix-OpenSSL-4.0-compatibility.patch | 368 +
...-for-getting-an-ASN1_STRING-s-length.patch | 46 +
...compilation-with-openssl-4.0.0-beta1.patch | 86 +
...TRING-and-X509_NAME-access-for-OpenS.patch | 87 +
package/trousers/0004-openssl4.patch | 26 +
...se-the-new-lavc-supported-config-API.patch | 99 +
...Add-support-for-OpenSSL-Provider-API.patch | 304 +
package/unbound/Config.in | 1 -
package/unbound/unbound.mk | 1 +
.../0001-Fix-build-with-OpenSSL-4.0.0.patch | 40 +
package/xtables-addons/Config.in | 2 +-
package/xtables-addons/xtables-addons.hash | 2 +-
package/xtables-addons/xtables-addons.mk | 9 +-
package/zmqpp/Config.in | 5 +-
...-Fix-build-error-with-OpenSSL-4-2024.patch | 57 +
304 files changed, 15996 insertions(+), 3957 deletions(-)
create mode 100644 package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch
create mode 100644 package/boost/0001-fix-process-v2-exit_code-guard-static_asserts-on-MIP.patch
delete mode 100644 package/boost/0001-unordered-fix-copy-assign.patch
create mode 100644 package/boost/0002-Add-check-for-duplicate-definition-of-SIGLOST.patch
create mode 100644 package/boost/0003-Fix-build.patch
create mode 100644 package/boost/0004-Fix-build.patch
create mode 100644 package/boost/0005-Fix-build.patch
create mode 100644 package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch
delete mode 100644 package/ffmpeg/0005-avcodec-mmaldec-Fix-build-error.patch
delete mode 100644 package/ffmpeg/0006-avcodec-pcm-bluray-dvd-Use-correct-pointer-types-on-.patch
delete mode 100644 package/ffmpeg/0007-avutil-hwcontext-vaapi-use-the-correct-type.patch
create mode 100644 package/ffmpeg/libpostproc-0001.diff
create mode 100644 package/freeradius-server/0009-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch
create mode 100644 package/freeswitch/0004-sac-openssl.m4-probe-TLS_method-to-detect-libssl-Ope.patch
create mode 100644 package/freeswitch/0005-Build-System-Fix-build-against-OpenSSL-4-3185.patch
create mode 100644 package/freeswitch/0006-Fixes-related-to-signalwire-freeswitch-2202.patch
create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-Fix-build-failure-with-FFmpeg-9.0.patch
create mode 100644 package/ibm-sw-tpm2/0002-tpm-Update-to-OpenSSL-4.1.patch
create mode 100644 package/ibrdtnd/0003-SecurityCertificateManager.cpp-fix-build-with-OpenSS.patch
delete mode 100644 package/kodi-pvr-hts/0001-gcc15.patch
delete mode 100644 package/kodi-screensaver-rsxs/0001-Fix-build-with-CMake-4.x.patch
delete mode 100644 package/kodi-texturepacker/0001-TexturePacker-allow-build-with-giflib-6.x.patch
delete mode 100644 package/kodi/0002-TexturePacker-allow-build-with-giflib-6.x.patch
delete mode 100644 package/kodi/0003-RegExp-remove-unused-methods.patch
delete mode 100644 package/kodi/0004-Introduce-PCRE2-dependency.patch
delete mode 100644 package/kodi/0005-Migrate-PCRE-to-PCRE2-and-remove-PCRE.patch
delete mode 100644 package/kodi/0006-cmake-Set-ARCH-to-CPU-by-default.patch
create mode 100644 package/lftp/0002-allow-build-with-OpenSSL-4.x.patch
delete mode 100644 package/libcamera-apps/0002-core-Switch-libcamera-string-controls.patch
delete mode 100644 package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch
delete mode 100644 package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch
create mode 100644 package/libesmtp/0001-Fix-build-with-OpenSSL-4.0-opaque-ASN1_STRING.patch
create mode 100644 package/libkrb5/0002-Use-X509_check_host-to-verify-KKDCP-server-cert.patch
create mode 100644 package/libkrb5/0003-Improve-future-OpenSSL-compatibility.patch
delete mode 100644 package/libplatform/Config.in
delete mode 100644 package/libplatform/libplatform.hash
delete mode 100644 package/libplatform/libplatform.mk
create mode 100644 package/libtorrent-rasterbar/0001-fix-more-c-17-that-made-it-in.patch
create mode 100644 package/luvi/0001-CMakeLists.txt-only-require-a-C-compiler.patch
delete mode 100644 package/luvi/0001-Selectively-disable-GCC-diagnostics-in-ocsp.c.patch
delete mode 100644 package/luvi/0002-CMakeLists.txt-disable-Wincompatible-pointer-types-f.patch
create mode 100644 package/luvi/0002-feat-support-openssl-4.0.patch
create mode 100644 package/mender-artifact/0001-openssl-v4-update.patch
create mode 100644 package/opencv4/0001-videoio-support-FFmpeg-after-AVCodec-pix_fmts-remova.patch
create mode 100644 package/opencv4/0002-videoio-ffmpeg-use-avcodec_get_supported_config-for-.patch
create mode 100644 package/openvmtools/0001-configure.ac-disable-Werror.patch
delete mode 100644 package/openvmtools/0001-no_cflags_werror.patch
delete mode 100644 package/openvmtools/0002-dont-force-cppflags.patch
create mode 100644 package/openvmtools/0002-m4-do-not-force-I-usr-include-in-CPPFLAGS.patch
delete mode 100644 package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch
create mode 100644 package/openvmtools/0003-Rename-poll.h-into-vm_poll.h-to-fix-build-failure-on.patch
rename package/openvmtools/{0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch => 0009-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch} (86%)
create mode 100644 package/openvmtools/0010-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
create mode 100644 package/openvmtools/0011-fix-initialization-discards-const-qualifier-from-poi.patch
delete mode 100644 package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
rename package/openvmtools/{0015-glib_stubs-avoid-GLib-g_free-macro-redefinition-error.patch => 0012-glib_stubs-avoid-GLib-g_free-macro-redefinition-erro.patch} (84%)
delete mode 100644 package/openvmtools/0013-Properly-check-authorization-on-incoming-guestOps-re.patch
delete mode 100644 package/openvmtools/0014-CVE-2025-22247-1100-1225-VGAuth-updates.patch
create mode 100644 package/perl-net-ssleay/0002-Fix-SSLv3-in-OpenSSL-4.0.0.patch
create mode 100644 package/perl-net-ssleay/0003-OpenSSL-4.0.0-remove-support-for-some-TLS-functions.patch
create mode 100644 package/perl-net-ssleay/0004-Fix-Net-SSLeay-to-support-opaque-ASN1_STRING.patch
create mode 100644 package/perl-net-ssleay/0005-Update-tests-for-removal-of-SSLv2-Client-Hello-suppo.patch
create mode 100644 package/perl-net-ssleay/0006-Add-default-for-Net-SSLeay-OPENSSL_info-return-value.patch
create mode 100644 package/perl-net-ssleay/0007-Add-Changes-for-OPenSSL-4-support-and-update-tests.patch
create mode 100644 package/perl-net-ssleay/0008-Do-not-use-elif-but-if-with-else-to-avoid-duplicate-.patch
delete mode 100644 package/python3/0010-gh-139275-Fix-compilation-of-Modules-_remote_debuggi.patch
create mode 100644 package/qpid-proton/0001-PROTON-2937-Add-OpenSSL-4.x-compat.patch
create mode 100644 package/qt5/qt5base/0009-openssl4.patch
create mode 100644 package/qt5/qt5base/0010-openssl4.patch
create mode 100644 package/qt5/qt5base/0011-openssl4.patch
delete mode 100644 package/qt5/qt5knx/Config.in
delete mode 100644 package/qt5/qt5knx/qt5knx.hash
delete mode 100644 package/qt5/qt5knx/qt5knx.mk
delete mode 100644 package/qt5/qt5opcua/Config.in
delete mode 100644 package/qt5/qt5opcua/qt5opcua.hash
delete mode 100644 package/qt5/qt5opcua/qt5opcua.mk
delete mode 100644 package/qt6/qt6opcua/Config.in
delete mode 100644 package/qt6/qt6opcua/qt6opcua.hash
delete mode 100644 package/qt6/qt6opcua/qt6opcua.mk
create mode 100644 package/rauc/0001-signature-use-ASN1_STRING_get0_data-and-ASN1_STRING_.patch
create mode 100644 package/redis/0004-Remove-Werror-deprecated-declarations.patch
create mode 100644 package/shairport-sync/0001-Update-the-convolution-code-1-to-be-multithreaded-2-.patch
create mode 100644 package/snort3/0001-Rename-numa.h-to-numa_snort.h.patch
create mode 100644 package/snort3/0002-ssl-fix-const-qualifiers-for-OpenSSL-4.0.patch
create mode 100644 package/socat/0002-Fix-build-with-OpenSSL-4.0-use-ASN1_STRING-accessors.patch
create mode 100644 package/sofia-sip/0001-Fix-build-error-with-OpenSSL-4.0.patch
create mode 100644 package/softhsm2/0001-Fix-the-memory-leak-in-OSSL-byteString2oid-863.patch
create mode 100644 package/softhsm2/0002-Fix-memory-leak-in-EdDSA-PrintableString-handling-85.patch
create mode 100644 package/squid/0001-Fix-OpenSSL-4.0-compatibility.patch
create mode 100644 package/sudo/0002-Use-accessor-for-getting-an-ASN1_STRING-s-length.patch
create mode 100644 package/systemd/0001-various-fix-compilation-with-openssl-4.0.0-beta1.patch
create mode 100644 package/tpm2-openssl/0001-Fix-ASN1_OCTET_STRING-and-X509_NAME-access-for-OpenS.patch
create mode 100644 package/trousers/0004-openssl4.patch
create mode 100644 package/tvheadend/0002-transcoding-use-the-new-lavc-supported-config-API.patch
create mode 100644 package/uboot-tools/0003-Add-support-for-OpenSSL-Provider-API.patch
create mode 100644 package/xmrig/0001-Fix-build-with-OpenSSL-4.0.0.patch
create mode 100644 package/znc/0001-Fix-build-error-with-OpenSSL-4-2024.patchSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 1/84 package/qt5/qt5knx: remove package
Build is broken with the upcoming bump of OpenSSL to 4.0.3:
ssl/qsslsocket_openssl_symbols.cpp: In function 'QDateTime QKnxPrivate::q_getTimeFromASN1(const ASN1_TIME*)':
ssl/qsslsocket_openssl_symbols.cpp:1352:31: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1352 | size_t lTimeLength = aTime->length;
ssl/qsslsocket_openssl_symbols.cpp:1353:35: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1353 | char *pString = (char *) aTime->data;
ssl/qsslsocket_openssl_symbols.cpp:1355:14: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1355 | if (aTime->type == V_ASN1_UTCTIME) {
ssl/qsslsocket_openssl_symbols.cpp:1415:21: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1415 | } else if (aTime->type == V_ASN1_GENERALIZEDTIME) {
Last update of the package dates back to 2020:
https://github.com/qt/qtknx/branches/all
--- Config.in.legacy | 7 +++++++ DEVELOPERS | 1 - package/qt5/Config.in | 1 - package/qt5/qt5knx/Config.in | 12 ------------ package/qt5/qt5knx/qt5knx.hash | 6 ------ package/qt5/qt5knx/qt5knx.mk | 15 --------------- 6 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 package/qt5/qt5knx/Config.in delete mode 100644 package/qt5/qt5knx/qt5knx.hash delete mode 100644 package/qt5/qt5knx/qt5knx.mk
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.11" +config BR2_PACKAGE_QT5KNX + bool "qt5knx has been removed" + select BR2_LEGACY + help + The qt5knx package has been removed because it is + incompatible with OpenSSL >= 4.x + config BR2_PACKAGE_PYTHON3_2TO3 bool "python module 2to3 has been removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -254,7 +254,6 @@ F: package/python-spidev/ F: package/python-web2py/ F: package/qpdf/ F: package/qt5/qt5coap/ -F: package/qt5/qt5knx/ F: package/qt5/qt5mqtt/ F: package/rtl8723ds/ F: package/rtl8723ds-bt/
package/qt5/Config.in +0 -1
@@ -44,7 +44,6 @@ source "package/qt5/qt5doc/Config.in" source "package/qt5/qt5enginio/Config.in" source "package/qt5/qt5graphicaleffects/Config.in" source "package/qt5/qt5imageformats/Config.in" -source "package/qt5/qt5knx/Config.in" source "package/qt5/qt5location/Config.in" source "package/qt5/qt5lottie/Config.in" source "package/qt5/qt5mqtt/Config.in"
package/qt5/qt5knx/Config.in deleted +0 -12
@@ -1,12 +0,0 @@ -config BR2_PACKAGE_QT5KNX - bool "qt5knx" - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt KNX module implements the client side of a connection - between a client and a KNXnet/IP server. This connection - can be used to send messages to the KNX bus and to control - the functionalities of the KNX devices. - - https://doc.qt.io/QtKNX/index.html
package/qt5/qt5knx/qt5knx.hash deleted +0 -6
@@ -1,6 +0,0 @@ -# Hash locally calculated -sha256 1648bd6d7e5d8fc91aaa6db1bf9d2744d0385a087ba78a00080f99f1d5027c8b qt5knx-5.15.2-git4.tar.gz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
package/qt5/qt5knx/qt5knx.mk deleted +0 -15
@@ -1,15 +0,0 @@ -################################################################################ -# -# qt5knx -# -################################################################################ - -QT5KNX_VERSION = 5.15.2 -QT5KNX_SITE = https://code.qt.io/qt/qtknx.git -QT5KNX_SITE_METHOD = git -QT5KNX_INSTALL_STAGING = YES -QT5KNX_LICENSE = GPL-3.0 with exception -QT5KNX_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT -QT5KNX_SYNC_QT_HEADERS = YES - -$(eval $(qmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 2/84 package/qt5/qt5opcua: remove package
In reply to Bernd KuhlsBuild is broken with the upcoming bump of OpenSSL to 4.0.3:
x509/openssl_symbols.cpp: In function 'QDateTime q_getTimeFromASN1(const ASN1_TIME*)':
x509/openssl_symbols.cpp:1244:31: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1244 | size_t lTimeLength = aTime->length;
x509/openssl_symbols.cpp:1245:35: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1245 | char *pString = (char *) aTime->data;
x509/openssl_symbols.cpp:1247:14: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1247 | if (aTime->type == V_ASN1_UTCTIME) {
x509/openssl_symbols.cpp:1307:21: error: invalid use of incomplete type 'const ASN1_TIME' {aka 'const struct asn1_string_st'}
1307 | } else if (aTime->type == V_ASN1_GENERALIZEDTIME) {
and mbed TLS since it was bumped from 2.28.10 to 3.6.3.1 with buildroot commit 3481a9643fc7223e400ed877f08ade34d44e6b78 as seen by the autobuilders.
The last release of the 5.x series dates back to 2020:
https://github.com/qt/qtopcua/releases/tag/v5.15.2
Fixes:
https://autobuild.buildroot.net/results/1f0/1f06b1efdde65fcd99ff79a63ed01b749788dec8/
--- Config.in.legacy | 7 +++++++ DEVELOPERS | 1 - package/qt5/Config.in | 1 - package/qt5/qt5opcua/Config.in | 9 --------- package/qt5/qt5opcua/qt5opcua.hash | 10 ---------- package/qt5/qt5opcua/qt5opcua.mk | 19 ------------------- 6 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 package/qt5/qt5opcua/Config.in delete mode 100644 package/qt5/qt5opcua/qt5opcua.hash delete mode 100644 package/qt5/qt5opcua/qt5opcua.mk
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.11" +config BR2_PACKAGE_QT5OPCUA + bool "qt5opcua has been removed" + select BR2_LEGACY + help + The qt5opcua package has been removed because it is + incompatible with OpenSSL >= 4.x and mbed TLS 3.x + config BR2_PACKAGE_QT5KNX bool "qt5knx has been removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -203,7 +203,6 @@ N: Andreas Naumann <[email protected]> F: package/evemu/ F: package/libevdev/ F: package/pkg-qmake.mk -F: package/qt5/qt5opcua/ F: package/qt6/qt6opcua/ N: Andreas Ziegler <[email protected]>
package/qt5/Config.in +0 -1
@@ -48,7 +48,6 @@ source "package/qt5/qt5location/Config.in" source "package/qt5/qt5lottie/Config.in" source "package/qt5/qt5mqtt/Config.in" source "package/qt5/qt5multimedia/Config.in" -source "package/qt5/qt5opcua/Config.in" source "package/qt5/qt5quickcontrols/Config.in" source "package/qt5/qt5quickcontrols2/Config.in" source "package/qt5/qt5quicktimeline/Config.in"
package/qt5/qt5opcua/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_QT5OPCUA - bool "qt5opcua" - depends on BR2_PACKAGE_QT5 - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt OPC UA module implements a Qt API to interact with - OPC UA on top of a 3rd party OPC UA stack.
package/qt5/qt5opcua/qt5opcua.hash deleted +0 -10
@@ -1,10 +0,0 @@ -# Hash locally calculated -sha256 fa8e0e87aae6f321aecac2605e6ac1b858ba1ed4db3c4a78a193eb7b547ab224 qt5opcua-5.15.2-git4.tar.gz - -# Hashes for license files: -sha256 d93cc415382f0013088fa276d9cf82373badf244c78220a926f15ee46f0fe3c4 LICENSE-CC0 -sha256 f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d LICENSE.FDL -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde LICENSE.GPLv2 -sha256 75d800e60c8d58c2e7f0338e8552ea6123a9ce7e5dd8e1cdf2095e013b737488 LICENSE.LGPLv3
package/qt5/qt5opcua/qt5opcua.mk deleted +0 -19
@@ -1,19 +0,0 @@ -################################################################################ -# -# qt5opcua -# -################################################################################ - -QT5OPCUA_VERSION = 5.15.2 -QT5OPCUA_SITE = https://code.qt.io/qt/qtopcua.git -QT5OPCUA_SITE_METHOD = git -QT5OPCUA_INSTALL_STAGING = YES -QT5OPCUA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) CC0-1.0 -QT5OPCUA_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL LICENSE-CC0 -QT5OPCUA_SYNC_QT_HEADERS = YES - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -QT5OPCUA_DEPENDENCIES += mbedtls -endif - -$(eval $(qmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 3/84 package/qt6/qt6opcua: remove package
In reply to Bernd KuhlsBuild is broken with the upcoming bump of OpenSSL to 4.0.3.
--- Config.in.legacy | 7 ++++++ DEVELOPERS | 1 - package/qt6/Config.in | 1 - package/qt6/qt6opcua/Config.in | 14 ----------- package/qt6/qt6opcua/qt6opcua.hash | 10 -------- package/qt6/qt6opcua/qt6opcua.mk | 40 ------------------------------ 6 files changed, 7 insertions(+), 66 deletions(-) delete mode 100644 package/qt6/qt6opcua/Config.in delete mode 100644 package/qt6/qt6opcua/qt6opcua.hash delete mode 100644 package/qt6/qt6opcua/qt6opcua.mk
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.11" +config BR2_PACKAGE_QT6OPCUA + bool "qt6opcua has been removed" + select BR2_LEGACY + help + The qt6opcua package has been removed because it is + incompatible with OpenSSL >= 4.x and mbed TLS 3.x + config BR2_PACKAGE_QT5OPCUA bool "qt5opcua has been removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -203,7 +203,6 @@ N: Andreas Naumann <[email protected]> F: package/evemu/ F: package/libevdev/ F: package/pkg-qmake.mk -F: package/qt6/qt6opcua/ N: Andreas Ziegler <[email protected]> F: package/mpd/
package/qt6/Config.in +0 -1
@@ -52,7 +52,6 @@ source "package/qt6/qt6grpc/Config.in" source "package/qt6/qt6languageserver/Config.in" source "package/qt6/qt6mqtt/Config.in" source "package/qt6/qt6multimedia/Config.in" -source "package/qt6/qt6opcua/Config.in" source "package/qt6/qt6positioning/Config.in" source "package/qt6/qt6quick3d/Config.in" source "package/qt6/qt6quicktimeline/Config.in"
package/qt6/qt6opcua/Config.in deleted +0 -14
@@ -1,14 +0,0 @@ -config BR2_PACKAGE_QT6OPCUA - bool "qt6opcua" - select BR2_PACKAGE_QT6BASE_NETWORK - # qt6opcua needs host-qt6opcua, and host-qt6opcua needs - # network support in qt6base. - select BR2_PACKAGE_HOST_QT6BASE_NETWORK - - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt6opcua module. - - https://doc.qt.io/qt-6/qtopcua-index.html
package/qt6/qt6opcua/qt6opcua.hash deleted +0 -10
@@ -1,10 +0,0 @@ -# Locally computed -sha256 41982d99b93bfde68f9ee5997376cd64f62d0e7cdca1a08e582a034840528ca1 qt6opcua-6.11.2-git4.tar.gz - -# Hashes for license files -sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt -sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6opcua/qt6opcua.mk deleted +0 -40
@@ -1,40 +0,0 @@ -################################################################################ -# -# qt6opcua -# -################################################################################ - -QT6OPCUA_VERSION = $(QT6_VERSION) -QT6OPCUA_SITE = $(QT6_GIT)/qt/qtopcua.git -QT6OPCUA_SITE_METHOD = git -QT6OPCUA_INSTALL_STAGING = YES -QT6OPCUA_SUPPORTS_IN_SOURCE_BUILD = NO - -QT6OPCUA_CMAKE_BACKEND = ninja - -QT6OPCUA_LICENSE = \ - GPL-2.0 or GPL-3.0 or LGPL-3.0, \ - GFDL-1.3 no invariants (docs), \ - BSD-3-Clause (examples + buildsystem) - -QT6OPCUA_LICENSE_FILES = \ - LICENSES/BSD-3-Clause.txt \ - LICENSES/GFDL-1.3-no-invariants-only.txt \ - LICENSES/GPL-2.0-only.txt \ - LICENSES/GPL-3.0-only.txt \ - LICENSES/LGPL-3.0-only.txt - -QT6OPCUA_CONF_OPTS = \ - -DQT_HOST_PATH=$(HOST_DIR) \ - -DBUILD_WITH_PCH=OFF - -QT6OPCUA_DEPENDENCIES = \ - qt6base \ - host-qt6opcua - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -QT6OPCUA_DEPENDENCIES += openssl -endif - -$(eval $(cmake-package)) -$(eval $(host-cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 4/84 package/domoticz: bump version to 2026.3
In reply to Bernd KuhlsAdded new dependency jwt-cpp needed since 2025.1:
https://github.com/domoticz/domoticz/commit/b30d9e9436ad428a2cbfd1fbb273461bdbf50a82
Added _EXTRA_DOWNLOAD for libwebem after its split from domoticz:
https://github.com/domoticz/domoticz/commit/7de4834e9959e8a9a21a2b82bb7700ea5af6e618
to avoid fetching git submodules. Use version number from upstream repo:
https://github.com/domoticz/domoticz/tree/2026.3/extern
Raised minimum gcc version because libwebem depends on c++17:
https://github.com/domoticz/libwebem/blob/master/README.md
Removed configure option USE_BUILTIN_MQTT due to its upstream removal:
https://github.com/domoticz/domoticz/commit/be95eec094bf524c1ab011eebcd797d3b19b17fc
Link to libatomic to fix a build error
output/per-package/domoticz/host/opt/ext-toolchain/bin/../lib/gcc/arc-buildroot-linux-uclibc/15.3.0/../../../../arc-buildroot-linux-uclibc/bin/ld:
CMakeFiles/domoticz.dir/hardware/Matter.cpp.o:
undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0'
detected by the Gitlab pipelines which is introduced by upstream commit
https://github.com/domoticz/domoticz/commit/ec5488a7df963af4b260a92bfecea53edc20b136
that added hardware/Matter.cpp in version 2026.2.
--- package/domoticz/Config.in | 7 ++++--- package/domoticz/domoticz.hash | 3 ++- package/domoticz/domoticz.mk | 27 +++++++++++++++++++++++---- 3 files changed, 29 insertions(+), 8 deletions(-)
package/domoticz/Config.in +4 -3
@@ -2,7 +2,7 @@ config BR2_PACKAGE_DOMOTICZ bool "domoticz" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mosquitto depends on BR2_INSTALL_LIBSTDCPP
@@ -17,6 +17,7 @@ config BR2_PACKAGE_DOMOTICZ select BR2_PACKAGE_BOOST_THREAD select BR2_PACKAGE_CEREAL select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_JWT_CPP select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_MINIZIP_ZLIB select BR2_PACKAGE_MOSQUITTO
@@ -32,11 +33,11 @@ config BR2_PACKAGE_DOMOTICZ http://domoticz.com -comment "domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 6, NPTL, wchar, dynamic library" +comment "domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 7, NPTL, wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ !BR2_PACKAGE_LUA_5_3
package/domoticz/domoticz.hash +2 -1
@@ -1,3 +1,4 @@ # Locally computed: -sha256 d87113d7cacd0b52b9126fcc1ef24e140a4f7042d5bc6262e86e4b4752f5cf38 domoticz-2024.4.tar.gz +sha256 10053191b4f6becdf244d2a416b9e655c91d357b51dd8280832c6e36f7d5d5c7 domoticz-2026.3.tar.gz +sha256 937e31bfb4b414bb33e70cad1403afd023dfff6cebba3213ec62a9c91525dcab libwebem-9126af0ce3456c24b936dfb20d1b5a8bdb797104.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 License.txt
package/domoticz/domoticz.mk +23 -4
@@ -4,16 +4,30 @@ # ################################################################################ -DOMOTICZ_VERSION = 2024.4 +DOMOTICZ_VERSION = 2026.3 DOMOTICZ_SITE = $(call github,domoticz,domoticz,$(DOMOTICZ_VERSION)) DOMOTICZ_LICENSE = GPL-3.0 DOMOTICZ_LICENSE_FILES = License.txt DOMOTICZ_CPE_ID_VENDOR = domoticz + +DOMOTICZ_LIBWEBEM_VERSION = 9126af0ce3456c24b936dfb20d1b5a8bdb797104 +DOMOTICZ_EXTRA_DOWNLOADS = \ + $(call github,domoticz,libwebem,$(DOMOTICZ_LIBWEBEM_VERSION))/libwebem-$(DOMOTICZ_LIBWEBEM_VERSION).tar.gz + +define DOMOTICZ_INSTALL_SUBPROJECTS + rm -rf $(@D)/extern/libwebem + mkdir -p $(@D)/extern/libwebem + $(TAR) --strip-components=1 -C $(@D)/extern/libwebem \ + -xf $(DOMOTICZ_DL_DIR)/libwebem-$(DOMOTICZ_LIBWEBEM_VERSION).tar.gz +endef +DOMOTICZ_POST_EXTRACT_HOOKS += DOMOTICZ_INSTALL_SUBPROJECTS + DOMOTICZ_DEPENDENCIES = \ boost \ cereal \ host-pkgconf \ jsoncpp \ + jwt-cpp \ libcurl \ lua \ minizip-zlib \
@@ -25,6 +39,11 @@ DOMOTICZ_DEPENDENCIES = \ # Disable precompiled header as it needs cmake >= 3.16 DOMOTICZ_CONF_OPTS = -DUSE_PRECOMPILED_HEADER=OFF +# Uses __atomic_load_8 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DOMOTICZ_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + # Due to the dependency on mosquitto, domoticz depends on # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF DOMOTICZ_CONF_OPTS += \
@@ -32,12 +51,12 @@ DOMOTICZ_CONF_OPTS += \ -DUSE_OPENSSL_STATIC=OFF # Do not use any built-in libraries which are enabled by default for -# jsoncpp, fmt, minizip, sqlite and mqtt +# jsoncpp, jwt-cpp, minizip and sqlite DOMOTICZ_CONF_OPTS += \ -DUSE_BUILTIN_JSONCPP=OFF \ + -DUSE_BUILTIN_JWTCPP=OFF \ -DUSE_BUILTIN_MINIZIP=OFF \ - -DUSE_BUILTIN_SQLITE=OFF \ - -DUSE_BUILTIN_MQTT=OFF + -DUSE_BUILTIN_SQLITE=OFF ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) DOMOTICZ_DEPENDENCIES += libexecinfo
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 5/84 package/libtorrent-rasterbar: bump version to 2.1.1
In reply to Bernd Kuhlshttps://github.com/arvidn/libtorrent/blob/v2.1.1/ChangeLog
Switched to sha256 tarball hash provided by upstream.
Updated license hash due to copyright year bumps:
https://github.com/arvidn/libtorrent/commit/d3f7a363c2a413f4b3b4ddfd6cbe5a3208016b1c
https://github.com/arvidn/libtorrent/commit/fb2ab9946a130df7b5ee290ec363aa2214256e00
Added patch 0001 to fix a build error with gcc-9.3.0 detected by the Gitlab pipelines which would be introduced by this bump.
Raised minimum gcc version to 8 to fix a build error detected by the
Gitlab pipelines which would be introduced by this bump:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-aarch64-glibc-old/build/libtorrent-rasterbar-2.1.1/include/libtorrent/string_view.hpp:13:23:
fatal error: string_view: No such file or directory
Added dependency to BR2_USE_MMU to fix a build error detected by the
Gitlab pipelines which would be introduced by this bump:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-armv7m-uclibc/build/libtorrent-rasterbar-2.1.1/src/mmap.cpp:283:19:
error: ‘::madvise’ has not been declared; did you mean ‘advise’?
Switched build system to cmake due to upstream removal of autotools:
https://github.com/arvidn/libtorrent/commit/d7db28663d3b6827c2fa8d5a44fad7c73828108a
Added new configure option webtorrent
https://github.com/arvidn/libtorrent/commit/4ef8be818fea440c921c39e5f90e5818a4749086
to disable the dependency to OpenSSL for libdatachannel:
https://github.com/paullouisageneau/libdatachannel/blob/a02b751917ac8afc8c58dc6f4461d25ff9465d48/CMakeLists.txt#L452
which was added to libtorrent-rasterbar in version 2.1.0:
https://github.com/arvidn/libtorrent/commit/8d7d82b0330f16297b21e77a5d7c355813687e16
--- .../0001-fix-more-c-17-that-made-it-in.patch | 53 +++++++++++++++++++ package/libtorrent-rasterbar/Config.in | 8 +-- .../libtorrent-rasterbar.hash | 5 +- .../libtorrent-rasterbar.mk | 22 +++----- 4 files changed, 67 insertions(+), 21 deletions(-) create mode 100644 package/libtorrent-rasterbar/0001-fix-more-c-17-that-made-it-in.patch
package/libtorrent-rasterbar/0001-fix-more-c-17-that-made-it-in.patch new file +53 -0
@@ -0,0 +1,53 @@ +From 2638789b7048e17aba7cc8674305f36bd349c795 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Mon, 14 Sep 2026 17:31:24 +0200 +Subject: [PATCH] fix more c++17 that made it in +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Patch was inspired by https://github.com/arvidn/libtorrent/pull/4805 +and fixes a build error with gcc-9.3.0 + +buildroot/output/build/libtorrent-rasterbar-2.1.1/src/torrent_info.cpp:855:16: + error: function ‘libtorrent::torrent_info& libtorrent::torrent_info::operator=(libtorrent::torrent_info&&)’ + defaulted on its redeclaration with an exception-specification that + differs from the implicit exception-specification ‘’ + +Upstream: https://github.com/arvidn/libtorrent/pull/8869 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + include/libtorrent/torrent_info.hpp | 2 +- + src/torrent_info.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp +index 8843179a2..add61c2d7 100644 +--- a/include/libtorrent/torrent_info.hpp ++++ b/include/libtorrent/torrent_info.hpp +@@ -213,7 +213,7 @@ TORRENT_VERSION_NAMESPACE_4 + + // hidden + torrent_info& operator=(torrent_info const&) = delete; +- torrent_info& operator=(torrent_info&&) noexcept; ++ torrent_info& operator=(torrent_info&&); + + // The file_storage object contains the information on how to map the + // pieces to files. It is separated from the torrent_info object as the +diff --git a/src/torrent_info.cpp b/src/torrent_info.cpp +index 0a4b90b04..6fe584c39 100644 +--- a/src/torrent_info.cpp ++++ b/src/torrent_info.cpp +@@ -856,7 +856,7 @@ namespace { + TORRENT_VERSION_NAMESPACE_4 + + torrent_info::torrent_info(torrent_info const&) = default; +- torrent_info& torrent_info::operator=(torrent_info&&) noexcept = default; ++ torrent_info& torrent_info::operator=(torrent_info&&) = default; + + #if TORRENT_ABI_VERSION < 4 + void torrent_info::remap_files(file_storage const& f) +-- +2.47.3 +
package/libtorrent-rasterbar/Config.in +5 -3
@@ -1,8 +1,9 @@ -comment "libtorrent-rasterbar needs a toolchain w/ C++, threads, wchar, gcc >= 4.9" +comment "libtorrent-rasterbar needs a toolchain w/ C++, threads, wchar, gcc >= 8" depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_8 comment "libtorrent-rasterbar needs exception_ptr" depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
@@ -11,9 +12,10 @@ comment "libtorrent-rasterbar needs exception_ptr" config BR2_PACKAGE_LIBTORRENT_RASTERBAR bool "libtorrent-rasterbar" depends on BR2_INSTALL_LIBSTDCPP # boost - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # string_view depends on BR2_TOOLCHAIN_HAS_THREADS # boost depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK + depends on BR2_USE_MMU # madvise() depends on BR2_USE_WCHAR # boost depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr select BR2_PACKAGE_BOOST
package/libtorrent-rasterbar/libtorrent-rasterbar.hash +3 -2
@@ -1,3 +1,4 @@ +# From https://github.com/arvidn/libtorrent/releases/tag/v2.1.1 +sha256 0f163516ecef2e3331500266751de3098835a3c3ae0c2290448046c632bc0e93 libtorrent-rasterbar-2.1.1.tar.gz # Locally calculated -sha256 ccbf8e8c21dc81635de95166b498922b4725f9725a23b2cfe2a6b2fead6fb9fc libtorrent-rasterbar-1.2.20.tar.gz -sha256 f3a5dd1558cce616b12edad521427ec8976ce2bb0af33f7f359cfa648bf55ad8 COPYING +sha256 f4b492afbde73d2f4e051050a619622876a13b77e7b8b6ea3ec2868a6929b31b COPYING
package/libtorrent-rasterbar/libtorrent-rasterbar.mk +6 -16
@@ -4,7 +4,7 @@ # ################################################################################ -LIBTORRENT_RASTERBAR_VERSION = 1.2.20 +LIBTORRENT_RASTERBAR_VERSION = 2.1.1 LIBTORRENT_RASTERBAR_SITE = \ https://github.com/arvidn/libtorrent/releases/download/v$(LIBTORRENT_RASTERBAR_VERSION) LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause
@@ -13,10 +13,7 @@ LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES -LIBTORRENT_RASTERBAR_CONF_OPTS = \ - --with-boost-libdir=$(STAGING_DIR)/usr/lib \ - --disable-invariant-checks -LIBTORRENT_RASTERBAR_CXXFLAGS = $(TARGET_CXXFLAGS) -std=c++11 +LIBTORRENT_RASTERBAR_CXXFLAGS = $(TARGET_CXXFLAGS) # Internal error, aborting at dwarf2cfi.c:2802 in connect_traces # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864
@@ -28,20 +25,13 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) LIBTORRENT_RASTERBAR_CXXFLAGS += -O0 endif -LIBTORRENT_RASTERBAR_CONF_OPTS += CXXFLAGS="$(LIBTORRENT_RASTERBAR_CXXFLAGS)" - -ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) -LIBTORRENT_RASTERBAR_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBTORRENT_RASTERBAR_CONF_OPTS += --with-libiconv -else -LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv -endif +LIBTORRENT_RASTERBAR_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBTORRENT_RASTERBAR_CXXFLAGS)" ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBTORRENT_RASTERBAR_DEPENDENCIES += openssl -LIBTORRENT_RASTERBAR_CONF_OPTS += --enable-encryption +LIBTORRENT_RASTERBAR_CONF_OPTS += -Dencryption=ON -Dwebtorrent=ON else -LIBTORRENT_RASTERBAR_CONF_OPTS += --disable-encryption +LIBTORRENT_RASTERBAR_CONF_OPTS += -Dencryption=OFF -Dwebtorrent=OFF endif -$(eval $(autotools-package)) +$(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 05/84] package/libtorrent-rasterbar: bump version to 2.1.1
Quoted 31 lines · Bernd Kuhls
https://github.com/arvidn/libtorrent/blob/v2.1.1/ChangeLog
Switched to sha256 tarball hash provided by upstream.
Updated license hash due to copyright year bumps:
https://github.com/arvidn/libtorrent/commit/d3f7a363c2a413f4b3b4ddfd6cbe5a3208016b1c
https://github.com/arvidn/libtorrent/commit/fb2ab9946a130df7b5ee290ec363aa2214256e00Added patch 0001 to fix a build error with gcc-9.3.0 detected by the Gitlab pipelines which would be introduced by this bump.
Raised minimum gcc version to 8 to fix a build error detected by the
Gitlab pipelines which would be introduced by this bump:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-aarch64-glibc-old/build/libtorrent-rasterbar-2.1.1/include/libtorrent/string_view.hpp:13:23:
fatal error:string_view: No such file or directoryAdded dependency to
BR2_USE_MMUto fix a build error detected by the
Gitlab pipelines which would be introduced by this bump:
/builds/bkuhls/buildroot/br-test-pkg/bootlin-armv7m-uclibc/build/libtorrent-rasterbar-2.1.1/src/mmap.cpp:283:19:
error: ‘::madvise’ has not been declared; did you mean ‘advise’?Switched build system to cmake due to upstream removal of autotools:
https://github.com/arvidn/libtorrent/commit/d7db28663d3b6827c2fa8d5a44fad7c73828108aAdded new configure option webtorrent
https://github.com/arvidn/libtorrent/commit/4ef8be818fea440c921c39e5f90e5818a4749086
to disable the dependency to OpenSSL for libdatachannel:
https://github.com/paullouisageneau/libdatachannel/blob/a02b751917ac8afc8c58dc6f4461d25ff9465d48/CMakeLists.txt#L452
which was added to libtorrent-rasterbar in version 2.1.0:
https://github.com/arvidn/libtorrent/commit/8d7d82b0330f16297b21e77a5d7c355813687e16
Quoted 2 lines
Signed-off-by Bernd Kuhls <[email protected]>Cc Philipp Richter <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 6/84 package/boost: bump version to 1.92.0
In reply to Bernd Kuhlshttps://www.boost.org/releases/1.92.0/
https://www.boost.org/releases/1.91.0/
https://www.boost.org/releases/1.90.0/
https://www.boost.org/releases/1.89.0/
https://www.boost.org/releases/1.88.0/
https://www.boost.org/releases/1.87.0/
https://www.boost.org/releases/1.86.0/
https://www.boost.org/releases/1.85.0/
https://www.boost.org/releases/1.84.0/
Removed patch which is included in this release.
Added patch 0001 to fix a build error introduced by upstream commit
https://github.com/boostorg/process/commit/406cd3ecf36c19b94b4376241a4b3b43d1eae308
first included in version 1.85.0.
Added patches 0002-0005 to fix more build errors detected by the Gitlab pipelines.
Updated supported archs according to
https://www.boost.org/doc/libs/1_92_0/libs/context/doc/html/context/architectures.html
sparc64 passed Gitlab pipeline:
https://gitlab.com/bkuhls/buildroot/-/jobs/16491117298
loongarch64 passed this defconfig:
BR2_loongarch64=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_BOOST=y
BR2_PACKAGE_BOOST_CONTRACT=y
BR2_PACKAGE_BOOST_COROUTINE=y
BR2_PACKAGE_BOOST_DATE_TIME=y
BR2_PACKAGE_BOOST_EXCEPTION=y
BR2_PACKAGE_BOOST_FIBER=y
BR2_PACKAGE_BOOST_GRAPH=y
BR2_PACKAGE_BOOST_GRAPH_PARALLEL=y
BR2_PACKAGE_BOOST_IOSTREAMS=y
BR2_PACKAGE_BOOST_JSON=y
BR2_PACKAGE_BOOST_LOCALE=y
BR2_PACKAGE_BOOST_LOG=y
BR2_PACKAGE_BOOST_MATH=y
BR2_PACKAGE_BOOST_MPI=y
BR2_PACKAGE_BOOST_NOWIDE=y
BR2_PACKAGE_BOOST_PROGRAM_OPTIONS=y
BR2_PACKAGE_BOOST_STACKTRACE=y
BR2_PACKAGE_BOOST_SYSTEM=y
BR2_PACKAGE_BOOST_TEST=y
BR2_PACKAGE_BOOST_TIMER=y
BR2_PACKAGE_BOOST_TYPE_ERASURE=y
BR2_PACKAGE_BOOST_URL=y
BR2_PACKAGE_BOOST_WAVE=y
Updated module dependencies according to the Boost Dependency Report:
https://pdimov.github.io/boostdep-report/boost-1.92.0/module-overview.html
--- ...xit_code-guard-static_asserts-on-MIP.patch | 59 +++++++++++++++++ .../0001-unordered-fix-copy-assign.patch | 22 ------- ...-for-duplicate-definition-of-SIGLOST.patch | 30 +++++++++ package/boost/0003-Fix-build.patch | 39 +++++++++++ package/boost/0004-Fix-build.patch | 40 ++++++++++++ package/boost/0005-Fix-build.patch | 64 +++++++++++++++++++ package/boost/Config.in | 12 ++-- package/boost/boost.hash | 4 +- package/boost/boost.mk | 2 +- 9 files changed, 242 insertions(+), 30 deletions(-) create mode 100644 package/boost/0001-fix-process-v2-exit_code-guard-static_asserts-on-MIP.patch delete mode 100644 package/boost/0001-unordered-fix-copy-assign.patch create mode 100644 package/boost/0002-Add-check-for-duplicate-definition-of-SIGLOST.patch create mode 100644 package/boost/0003-Fix-build.patch create mode 100644 package/boost/0004-Fix-build.patch create mode 100644 package/boost/0005-Fix-build.patch
package/boost/0001-fix-process-v2-exit_code-guard-static_asserts-on-MIP.patch new file +59 -0
@@ -0,0 +1,59 @@ +From 670ad64ea1f012bc06ed4d657e6b8a4b530abd82 Mon Sep 17 00:00:00 2001 +From: WXbet <[email protected]> +Date: Sat, 1 Aug 2026 17:01:19 +0200 +Subject: [PATCH] fix: process/v2/exit_code: guard static_asserts on MIPS + +glibc 2.44 added sysdeps/unix/sysv/linux/mips/bits/waitstatus.h +(commit c19cdbf66ff62a4578ac2117d43ebb306ae36aeb) which defines +WIFSTOPPED and WIFSIGNALED as `static inline int` functions rather +than macros so that MIPS's SIGRTMAX=127 special-case (status 0x7f) +can be handled. Since those inline functions are not constexpr, the +four static_assert lines guarding still_active fail to compile on +MIPS with + + error: non-constant condition for static assertion + error: call to non-'constexpr' function 'int __WIFSTOPPED(int)' + +whenever env.cpp (or any other TU pulling exit_code.hpp) is compiled. + +Earlier glibc versions used the generic macro-based header on MIPS +too and Boost.Process compiled fine there. musl has taken the same +approach for MIPS since 2018 (musl commit 41c632824c...); this is the +same class of problem previously reported for is_running.hpp / musl +in issue #48, which was fixed by the v1 rewrite but resurfaced in +v2's exit_code.hpp. + +The asserts are compile-time sanity checks on Boost's own still_active +constant (0x17f); the semantics on MIPS are unchanged (WIFSTOPPED +returns true, the other three return false, as intended). Guard the +block with `#ifndef __mips__` so the checks keep firing on every port +where they can, and are skipped only on the one arch where glibc +implements the underlying primitives as inline functions. + +Upstream: https://github.com/boostorg/process/pull/565 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + boost/process/v2/exit_code.hpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/boost/process/v2/exit_code.hpp b/boost/process/v2/exit_code.hpp +index 24e51fa..b87c544 100644 +--- a/boost/process/v2/exit_code.hpp ++++ b/boost/process/v2/exit_code.hpp +@@ -73,10 +73,12 @@ typedef int native_exit_code_type; + namespace detail + { + constexpr native_exit_code_type still_active = 0x17f; ++#ifndef __mips__ + static_assert(WIFSTOPPED(still_active), "Expected still_active to indicate WIFSTOPPED"); + static_assert(!WIFEXITED(still_active), "Expected still_active to not indicate WIFEXITED"); + static_assert(!WIFSIGNALED(still_active), "Expected still_active to not indicate WIFSIGNALED"); + static_assert(!WIFCONTINUED(still_active), "Expected still_active to not indicate WIFCONTINUED"); ++#endif + } + + inline bool process_is_running(int code) +-- +2.47.3 +
package/boost/0001-unordered-fix-copy-assign.patch deleted +0 -22
@@ -1,22 +0,0 @@ -Upstream Patch for Unordered - -Prevent erroneous copying of groups data, update max load to properly propagate - -Signed-off-by: Michael Nosthoff <[email protected]> -Upstream: https://github.com/boostorg/unordered/commit/067884a4e213352e7c81c441f1453c54735c39f3 -diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp -index 239d05d3..7ae9f2c8 100644 ---- a/boost/unordered/detail/foa/core.hpp -+++ b/boost/unordered/detail/foa/core.hpp -@@ -1870,9 +1870,10 @@ private: - - void fast_copy_elements_from(const table_core& x) - { -- if(arrays.elements){ -+ if(arrays.elements&&x.arrays.elements){ - copy_elements_array_from(x); - copy_groups_array_from(x); -+ size_ctrl.ml=std::size_t(x.size_ctrl.ml); - size_ctrl.size=std::size_t(x.size_ctrl.size); - } - }
package/boost/0002-Add-check-for-duplicate-definition-of-SIGLOST.patch new file +30 -0
@@ -0,0 +1,30 @@ +From ea71ce1995ca861b1bbfacf01ed0d2e5fea50237 Mon Sep 17 00:00:00 2001 +From: John Paul Adrian Glaubitz <[email protected]> +Date: Tue, 17 Feb 2026 09:35:57 +0100 +Subject: [PATCH] Add check for duplicate definition of SIGLOST + +Closes #545 + +Upstream: https://github.com/boostorg/process/commit/ea71ce1995ca861b1bbfacf01ed0d2e5fea50237 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + libs/process/src/error.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libs/process/src/error.cpp b/libs/process/src/error.cpp +index 3427072..0c93fb3 100644 +--- a/libs/process/src/error.cpp ++++ b/libs/process/src/error.cpp +@@ -112,7 +112,7 @@ struct exit_code_category final : public error_category + # if defined(SIGKILL) + case SIGKILL: return "SIGKILL: Kill signal"; + # endif +-# if defined(SIGLOST) ++# if defined(SIGLOST) && SIGLOST != SIGPWR + case SIGLOST: return "SIGLOST: File lock lost (unused)"; + # endif + # if defined(SIGPIPE) +-- +2.47.3 +
package/boost/0003-Fix-build.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 22d487b7c02fab4e9633b8d9d3fada15c9ca70d0 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sun, 13 Sep 2026 23:53:34 +0200 +Subject: [PATCH] Fix build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In file included from ./boost/charconv/detail/fast_float/fast_float.hpp:11, + from output/build/boost-1.92.0/libs/charconv/build/../src/from_chars.cpp:16: +./boost/charconv/detail/fast_float/float_common.hpp:349:20: error: conflicting declaration ‘constexpr const boost::uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa []’ [-Wtemplate-body] + 349 | constexpr uint64_t binary_format_lookup_tables<double, U>::max_mantissa[]; + +./boost/charconv/detail/fast_float/float_common.hpp:318:34: note: previous declaration as ‘constexpr const uint64_t boost::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa [24]’ + 318 | static constexpr std::uint64_t max_mantissa[] = { + +Upstream: https://github.com/boostorg/charconv/pull/307 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + boost/charconv/detail/fast_float/float_common.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/boost/charconv/detail/fast_float/float_common.hpp b/boost/charconv/detail/fast_float/float_common.hpp +index 0b9d3ae..627f97f 100644 +--- a/boost/charconv/detail/fast_float/float_common.hpp ++++ b/boost/charconv/detail/fast_float/float_common.hpp +@@ -315,7 +315,7 @@ struct binary_format_lookup_tables<double, U> { + + // Largest integer value v so that (5**index * v) <= 1<<53. + // 0x10000000000000 == 1 << 53 +- static constexpr std::uint64_t max_mantissa[] = { ++ static constexpr uint64_t max_mantissa[] = { + UINT64_C(0x10000000000000), + UINT64_C(0x10000000000000) / UINT64_C(5), + UINT64_C(0x10000000000000) / (UINT64_C(5) * UINT64_C(5)), +-- +2.47.3 +
package/boost/0004-Fix-build.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 3d5659f0a06b68864a2daed145c0897a4b18c893 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Mon, 14 Sep 2026 00:02:41 +0200 +Subject: [PATCH] Fix build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In file included from ./boost/json/detail/charconv/detail/fast_float/fast_float.hpp:11, + from ./boost/json/detail/charconv/impl/from_chars.ipp:14, + from ./boost/json/src.hpp:59: +./boost/json/detail/charconv/detail/fast_float/float_common.hpp:307:20: error: conflicting declaration ‘constexpr const boost::uint64_t boost::json::detail::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa []’ [-Wtemplate-body] + 307 | constexpr uint64_t binary_format_lookup_tables<double, U>::max_mantissa[]; + +./boost/json/detail/charconv/detail/fast_float/float_common.hpp:276:34: note: previous declaration as ‘constexpr const uint64_t boost::json::detail::charconv::detail::fast_float::binary_format_lookup_tables<double, U>::max_mantissa [24]’ + 276 | static constexpr std::uint64_t max_mantissa[] = { + +Upstream: https://github.com/boostorg/json/pull/1197 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + boost/json/detail/charconv/detail/fast_float/float_common.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/boost/json/detail/charconv/detail/fast_float/float_common.hpp b/boost/json/detail/charconv/detail/fast_float/float_common.hpp +index ef31140..a280095 100644 +--- a/boost/json/detail/charconv/detail/fast_float/float_common.hpp ++++ b/boost/json/detail/charconv/detail/fast_float/float_common.hpp +@@ -273,7 +273,7 @@ struct binary_format_lookup_tables<double, U> { + + // Largest integer value v so that (5**index * v) <= 1<<53. + // 0x10000000000000 == 1 << 53 +- static constexpr std::uint64_t max_mantissa[] = { ++ static constexpr uint64_t max_mantissa[] = { + UINT64_C(0x10000000000000), + UINT64_C(0x10000000000000) / UINT64_C(5), + UINT64_C(0x10000000000000) / (UINT64_C(5) * UINT64_C(5)), +-- +2.47.3 +
package/boost/0005-Fix-build.patch new file +64 -0
64 lines not on this page · raw message
package/boost/Config.in +7 -5
@@ -41,9 +41,11 @@ config BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS default y if ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) default y if (BR2_aarch64 || BR2_aarch64_be) default y if BR2_i386 + default y if BR2_loongarch64 default y if BR2_mips default y if BR2_mipsel default y if BR2_powerpc + default y if BR2_sparc64 default y if BR2_x86_64 config BR2_PACKAGE_BOOST_CONTEXT
@@ -73,9 +75,7 @@ config BR2_PACKAGE_BOOST_COROUTINE depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-context depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread - select BR2_PACKAGE_BOOST_CHRONO select BR2_PACKAGE_BOOST_CONTEXT - select BR2_PACKAGE_BOOST_THREAD help deprecated coroutine library, the non-deprecated coroutine2 library is a header-only library and does not need to be
@@ -154,6 +154,8 @@ config BR2_PACKAGE_BOOST_IOSTREAMS bool "boost-iostreams" select BR2_PACKAGE_BZIP2 select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_BOOST_RANDOM + select BR2_PACKAGE_BOOST_REGEX help Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
@@ -219,6 +221,7 @@ comment "boost-log needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_MATH bool "boost-math" depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 + select BR2_PACKAGE_BOOST_RANDOM help Boost.Math includes several contributions in the domain of mathematics:
@@ -266,6 +269,7 @@ config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS config BR2_PACKAGE_BOOST_PYTHON bool "boost-python" depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_BOOST_GRAPH help The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++
@@ -308,7 +312,6 @@ config BR2_PACKAGE_BOOST_SYSTEM config BR2_PACKAGE_BOOST_TEST bool "boost-test" depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_BOOST_TIMER help Support for simple program testing, full unit testing, and for program execution monitoring.
@@ -326,7 +329,6 @@ comment "boost-thread needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_TIMER bool "boost-timer" - select BR2_PACKAGE_BOOST_CHRONO help Event timer, progress timer, and progress display classes.
@@ -362,7 +364,7 @@ config BR2_PACKAGE_BOOST_WAVE depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_BOOST_SERIALIZATION help The Boost.Wave library is a Standards conformant, and highly configurable implementation of the mandated C99/C++
package/boost/boost.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://www.boost.org/users/history/version_1_83_0.html -sha256 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e boost_1_83_0.tar.bz2 +# From https://www.boost.org/releases/1.92.0/ +sha256 5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c boost_1_92_0.tar.bz2 # Locally computed sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt
package/boost/boost.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -BOOST_VERSION = 1.83.0 +BOOST_VERSION = 1.92.0 BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2 BOOST_SITE = https://archives.boost.io/release/$(BOOST_VERSION)/source BOOST_INSTALL_STAGING = YES
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 7/84 package/boost: add new charconv and cobalt library
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 29 +++++++++++++++++++++++++++++ package/boost/boost.mk | 6 +++++- 2 files changed, 34 insertions(+), 1 deletion(-)
package/boost/Config.in +29 -0
@@ -22,11 +22,40 @@ config BR2_PACKAGE_BOOST_ATOMIC help C++11-style atomic<>. +config BR2_PACKAGE_BOOST_CHARCONV + bool "boost-charconv" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + help + An Implementation of <charconv> in C++11. + +comment "boost-charconv needs a toolchain w/ C++11, gcc>=4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + config BR2_PACKAGE_BOOST_CHRONO bool "boost-chrono" help Useful time utilities. C++11. +config BR2_PACKAGE_BOOST_COBALT + bool "boost-cobalt" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context + select BR2_PACKAGE_BOOST_CONTEXT + select BR2_PACKAGE_BOOST_CONTAINER + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_EXCEPTION + help + Basic algorithms and types for C++20 coroutines. + +comment "boost-cobalt needs a toolchain w/ C++20, gcc>=10" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +comment "boost-cobalt needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + + config BR2_PACKAGE_BOOST_CONTAINER bool "boost-container" help
package/boost/boost.mk +5 -1
@@ -40,7 +40,9 @@ endif HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \ --without-libraries=$(subst $(space),$(comma),\ atomic \ + charconv \ chrono \ + cobalt \ container \ context \ contract \
@@ -68,7 +70,7 @@ HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \ timer \ type_erasure \ url \ - wave\ + wave \ ) HOST_BOOST_OPTS += toolset=gcc threading=multi \
@@ -120,7 +122,9 @@ BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv) endif BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHARCONV),,charconv) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COBALT),,cobalt) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTRACT),,contract)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 8/84 package/boost: add switch for boost-process
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
since boost 1.86 this is a buildable module.
--- package/boost/Config.in | 22 ++++++++++++++++++++++ package/boost/boost.mk | 2 ++ 2 files changed, 24 insertions(+)
package/boost/Config.in +22 -0
@@ -287,6 +287,28 @@ config BR2_PACKAGE_BOOST_NOWIDE help Library for cross-platform, unicode aware programming. +config BR2_PACKAGE_BOOST_PROCESS + bool "boost-process" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-context + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + select BR2_PACKAGE_BOOST_CONTAINER + select BR2_PACKAGE_BOOST_CONTEXT + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + help + Library to create processes in a portable way. + +comment "boost-process needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +comment "boost-process needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-context + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS bool "boost-program_options" help
package/boost/boost.mk +2 -0
@@ -60,6 +60,7 @@ HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \ math \ mpi \ nowide \ + process \ program_options \ python \ random \
@@ -142,6 +143,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOG),,log) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MATH),,math) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MPI),,mpi) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_NOWIDE),,nowide) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROCESS),,process) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROGRAM_OPTIONS),,program_options) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PYTHON),,python) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 9/84 package/boost: program_options needs container
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -311,6 +311,7 @@ comment "boost-process needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS bool "boost-program_options" + select BR2_PACKAGE_BOOST_CONTAINER help The program_options library allows program developers to obtain program options, that is (name, value) pairs from the
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 10/84 package/boost: thread needs more dependencies
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/boost/Config.in +6 -1
@@ -370,13 +370,18 @@ config BR2_PACKAGE_BOOST_TEST config BR2_PACKAGE_BOOST_THREAD bool "boost-thread" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception + select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_CONTAINER + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_EXCEPTION help Portable C++ multi-threading. C++11, C++14. comment "boost-thread needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 config BR2_PACKAGE_BOOST_TIMER
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 11/84 package/boost: contract needs thread
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/boost/Config.in +3 -2
@@ -90,8 +90,9 @@ comment "boost-context needs a toolchain w/ C++11, gcc>=4.8" config BR2_PACKAGE_BOOST_CONTRACT bool "boost-contract" - # pthread_condattr_setclock - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_condattr_setclock + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread -> atomic + select BR2_PACKAGE_BOOST_THREAD help Contract programming for C++.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 12/84 package/boost: fix coroutine dependencies
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/boost/Config.in +3 -3
@@ -102,21 +102,21 @@ comment "boost-contract needs a toolchain w/ NPTL" config BR2_PACKAGE_BOOST_COROUTINE bool "boost-coroutine" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-context - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context select BR2_PACKAGE_BOOST_CONTEXT + select BR2_PACKAGE_BOOST_EXCEPTION help deprecated coroutine library, the non-deprecated coroutine2 library is a header-only library and does not need to be selected. comment "boost-coroutine needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 comment "boost-coroutine needs a toolchain not affected by GCC bug 64735" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 config BR2_PACKAGE_BOOST_DATE_TIME
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 13/84 package/boost: fiber needs exception
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -147,6 +147,7 @@ config BR2_PACKAGE_BOOST_FIBER depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 select BR2_PACKAGE_BOOST_CONTEXT select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_EXCEPTION help C++11 userland threads library.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 14/84 package/boost: update graph dependencies
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
needs match, serialization and thread
--- package/boost/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
package/boost/Config.in +5 -0
@@ -170,7 +170,12 @@ config BR2_PACKAGE_BOOST_FILESYSTEM config BR2_PACKAGE_BOOST_GRAPH bool "boost-graph" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + select BR2_PACKAGE_BOOST_MATH select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_SERIALIZATION + select BR2_PACKAGE_BOOST_THREAD help The BGL graph interface and graph components are generic, in the same sense as the the Standard Template Library (STL).
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 15/84 package/boost: math needs container
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -257,6 +257,7 @@ comment "boost-log needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_MATH bool "boost-math" depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 + select BR2_PACKAGE_BOOST_CONTAINER select BR2_PACKAGE_BOOST_RANDOM help Boost.Math includes several contributions in the domain of
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 16/84 package/boost: log needs serialization
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -243,6 +243,7 @@ config BR2_PACKAGE_BOOST_LOG select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_SERIALIZATION select BR2_PACKAGE_BOOST_THREAD help Logging library.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 17/84 package/boost: test needs exception
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -373,6 +373,7 @@ config BR2_PACKAGE_BOOST_SYSTEM config BR2_PACKAGE_BOOST_TEST bool "boost-test" depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_BOOST_EXCEPTION help Support for simple program testing, full unit testing, and for program execution monitoring.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 18/84 package/boost: wave needs thread
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
--- package/boost/Config.in | 1 + 1 file changed, 1 insertion(+)
package/boost/Config.in +1 -0
@@ -432,6 +432,7 @@ config BR2_PACKAGE_BOOST_WAVE depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_SERIALIZATION + select BR2_PACKAGE_BOOST_THREAD help The Boost.Wave library is a Standards conformant, and highly configurable implementation of the mandated C99/C++
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 19/84 package/boost: update locale dependencies
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
- now always need thread
- charconv
this changed in boost 1.88.
--- package/boost/Config.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
package/boost/Config.in +5 -5
@@ -217,10 +217,11 @@ config BR2_PACKAGE_BOOST_LOCALE # https://svn.boost.org/trac/boost/ticket/9685 for more # details. depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU) - depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || !BR2_PACKAGE_ICU # boost-thread - select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # charconv + select BR2_PACKAGE_BOOST_CHARCONV + select BR2_PACKAGE_BOOST_THREAD select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Provide localization and Unicode handling tools for C++.
@@ -232,7 +233,6 @@ comment "boost-locale needs a toolchain w/ dynamic library" comment "boost-locale needs a toolchain not affected by GCC bug 64735" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_PACKAGE_ICU depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 config BR2_PACKAGE_BOOST_LOG
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 20/84 package/boost: update C++ version dependencies
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
1.84: Atomic, Chrono, Filesystem, Log, Random, Stacktrace, Test and
Thread require C++11
1.85: Boost.System requires C++11
1.86: Boost.Graph requires C++14
1.88: Boost.JSON dropped support for GCC versions older than 5
--- package/boost/Config.in | 90 +++++++++++++++++++++++++++++- package/log4cxx/Config.in | 5 ++ package/python-libconfig/Config.in | 5 +- package/resiprocate/Config.in | 4 ++ package/zmqpp/Config.in | 5 +- 5 files changed, 103 insertions(+), 6 deletions(-)
package/boost/Config.in +88 -2
@@ -19,9 +19,13 @@ if BR2_PACKAGE_BOOST config BR2_PACKAGE_BOOST_ATOMIC bool "boost-atomic" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 help C++11-style atomic<>. +comment "boost-atomic needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_CHARCONV bool "boost-charconv" depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
@@ -33,9 +37,13 @@ comment "boost-charconv needs a toolchain w/ C++11, gcc>=4.9" config BR2_PACKAGE_BOOST_CHRONO bool "boost-chrono" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 help Useful time utilities. C++11. +comment "boost-chrono needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_COBALT bool "boost-cobalt" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
@@ -55,7 +63,6 @@ comment "boost-cobalt needs a toolchain not affected by GCC bug 64735" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - config BR2_PACKAGE_BOOST_CONTAINER bool "boost-container" help
@@ -92,6 +99,7 @@ config BR2_PACKAGE_BOOST_CONTRACT bool "boost-contract" depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_condattr_setclock depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread -> atomic + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-thread select BR2_PACKAGE_BOOST_THREAD help Contract programming for C++.
@@ -99,6 +107,11 @@ config BR2_PACKAGE_BOOST_CONTRACT comment "boost-contract needs a toolchain w/ NPTL" depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL +comment "boost-contract needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_COROUTINE bool "boost-coroutine" depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
@@ -163,15 +176,20 @@ comment "boost-fiber needs a toolchain not affected by GCC bug 64735" config BR2_PACKAGE_BOOST_FILESYSTEM bool "boost-filesystem" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 select BR2_PACKAGE_BOOST_ATOMIC help The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories. +comment "boost-filesystem needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_GRAPH bool "boost-graph" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 select BR2_PACKAGE_BOOST_MATH select BR2_PACKAGE_BOOST_REGEX select BR2_PACKAGE_BOOST_SERIALIZATION
@@ -180,14 +198,22 @@ config BR2_PACKAGE_BOOST_GRAPH The BGL graph interface and graph components are generic, in the same sense as the the Standard Template Library (STL). +comment "boost-graph needs a toolchain w/ C++14, gcc>=5.0" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + config BR2_PACKAGE_BOOST_GRAPH_PARALLEL bool "boost-graph_parallel" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # boost-graph help The PBGL graph interface and graph components are generic, in the same sense as the the Standard Template Library (STL). +comment "boost-graph_parallel needs a toolchain w/ C++14, gcc>=5.0" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + config BR2_PACKAGE_BOOST_IOSTREAMS bool "boost-iostreams" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-random select BR2_PACKAGE_BZIP2 select BR2_PACKAGE_ZLIB select BR2_PACKAGE_BOOST_RANDOM
@@ -196,8 +222,12 @@ config BR2_PACKAGE_BOOST_IOSTREAMS Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters. +comment "boost-iostreams needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_JSON bool "boost-json" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11 select BR2_PACKAGE_BOOST_CONTAINER help Boost.JSON is a portable C++ library which provides containers
@@ -206,6 +236,9 @@ config BR2_PACKAGE_BOOST_JSON To use the library "header-only" this option is not needed. +comment "boost-json needs a toolchain w/ C++11, gcc>=5.0" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + config BR2_PACKAGE_BOOST_LOCALE bool "boost-locale" # When boost-locale is enabled with icu support, Boost no
@@ -231,6 +264,9 @@ comment "boost-locale needs a toolchain w/ dynamic library" depends on BR2_PACKAGE_ICU depends on BR2_STATIC_LIBS +comment "boost-locale needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + comment "boost-locale needs a toolchain not affected by GCC bug 64735" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
@@ -240,6 +276,7 @@ config BR2_PACKAGE_BOOST_LOG depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_REGEX
@@ -252,6 +289,11 @@ comment "boost-log needs a toolchain w/ NPTL" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL +comment "boost-log needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + comment "boost-log needs a toolchain not affected by GCC bug 64735" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
@@ -304,7 +346,7 @@ config BR2_PACKAGE_BOOST_PROCESS depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem select BR2_PACKAGE_BOOST_CONTAINER select BR2_PACKAGE_BOOST_CONTEXT - select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_DATE_TIME select BR2_PACKAGE_BOOST_FILESYSTEM help Library to create processes in a portable way.
@@ -330,6 +372,7 @@ config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS config BR2_PACKAGE_BOOST_PYTHON bool "boost-python" depends on BR2_PACKAGE_PYTHON3 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # boost-graph select BR2_PACKAGE_BOOST_GRAPH help The Boost Python Library is a framework for interfacing Python
@@ -337,11 +380,19 @@ config BR2_PACKAGE_BOOST_PYTHON classes functions and objects to Python, and vice-versa, using no special tools -- just your C++ compiler. +comment "boost-python needs a toolchain w/ C++14, gcc>=5.0" + depends on BR2_PACKAGE_PYTHON3 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + config BR2_PACKAGE_BOOST_RANDOM bool "boost-random" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 help A complete system for random number generation. +comment "boost-random needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_REGEX bool "boost-regex" help
@@ -356,32 +407,47 @@ config BR2_PACKAGE_BOOST_SERIALIZATION config BR2_PACKAGE_BOOST_STACKTRACE bool "boost-stacktrace" depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 help Gather, store, copy and print backtraces. comment "boost-stacktrace needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS +comment "boost-stacktrace needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_SYSTEM bool "boost-system" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 help Extensible Error Reporting. This library is now header only. Building a stub library is still supported for backward compatibility. +comment "boost-system needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_TEST bool "boost-test" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 select BR2_PACKAGE_BOOST_EXCEPTION help Support for simple program testing, full unit testing, and for program execution monitoring. +comment "boost-test needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + config BR2_PACKAGE_BOOST_THREAD bool "boost-thread" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_CHRONO select BR2_PACKAGE_BOOST_CONTAINER
@@ -390,6 +456,11 @@ config BR2_PACKAGE_BOOST_THREAD help Portable C++ multi-threading. C++11, C++14. +comment "boost-thread needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + comment "boost-thread needs a toolchain not affected by GCC bug 64735" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
@@ -403,10 +474,16 @@ config BR2_PACKAGE_BOOST_TYPE_ERASURE bool "boost-type_erasure" depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-thread select BR2_PACKAGE_BOOST_THREAD help Runtime polymorphism based on concepts. +comment "boost-type_erasure needs a toolchain w/ C++11, gcc>=4.8" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + comment "boost-type_erasure needs a toolchain not affected by GCC bug 64735" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
@@ -430,6 +507,7 @@ config BR2_PACKAGE_BOOST_WAVE depends on !BR2_m68k_cf depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-filesystem select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_SERIALIZATION select BR2_PACKAGE_BOOST_THREAD
@@ -439,7 +517,15 @@ config BR2_PACKAGE_BOOST_WAVE preprocessor functionality packed behind an easy to use iterator interface. +comment "boost-wave needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_m68k_cf + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + comment "boost-wave needs a toolchain not affected by GCC bug 64735" + depends on !BR2_m68k_cf + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 endif
package/log4cxx/Config.in +5 -0
@@ -7,6 +7,7 @@ config BR2_PACKAGE_LOG4CXX depends on BR2_USE_WCHAR # mbsinit depends on BR2_USE_MMU # apr depends on BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread select BR2_PACKAGE_APR
@@ -30,6 +31,10 @@ comment "log4cxx needs a toolchain w/ wchar or gcc >= 7" depends on !(BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7) depends on BR2_USE_MMU +comment "log4cxx needs a toolchain w/ gcc >= 4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_USE_MMU + comment "log4cxx needs a toolchain not affected by GCC bug 64735" depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
package/python-libconfig/Config.in +3 -2
@@ -1,6 +1,6 @@ -comment "python-libconfig needs a glibc or uClibc toolchain w/ C++, threads" +comment "python-libconfig needs a glibc or uClibc toolchain w/ C++, threads, gcc>=5.0" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_TOOLCHAIN_USES_MUSL + BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 config BR2_PACKAGE_PYTHON_LIBCONFIG bool "python-libconfig"
@@ -8,6 +8,7 @@ config BR2_PACKAGE_PYTHON_LIBCONFIG depends on BR2_TOOLCHAIN_HAS_THREADS # error: invalid use of incomplete type 'struct _IO_FILE' depends on !BR2_TOOLCHAIN_USES_MUSL + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # boost-python -> boost-graph select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_PYTHON select BR2_PACKAGE_LIBCONFIG
package/resiprocate/Config.in +4 -0
@@ -32,6 +32,7 @@ config BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT config BR2_PACKAGE_RESIPROCATE_REND bool "resiprocate-rend" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost-system select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_OPENSSL
@@ -40,4 +41,7 @@ config BR2_PACKAGE_RESIPROCATE_REND Rend is tool that is was created specifically to load test gtSIP based presence servers. +comment "resiprocate-rend needs a toolchain w/ C++11, gcc>=4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + endif # BR2_PACKAGE_RESIPROCATE
package/zmqpp/Config.in +3 -2
@@ -21,15 +21,16 @@ config BR2_PACKAGE_ZMQPP_CLIENT depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS # boost depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # boost select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS help Build and install the zmqpp client, a command line tool that can be used to listen or send to zeromq sockets. -comment "zmqpp client needs a toolchain w/ dynamic library, threads, wchar" +comment "zmqpp client needs a toolchain w/ dynamic library, threads, wchar, gcc>=4.8" depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_USE_WCHAR + || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 endif
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 21/84 package/boost: system: update description
In reply to Bernd KuhlsFrom: Michael Nosthoff <[email protected]>
After removing the stub library in 1.89 a CMake config was added in 1.91 to not break 3rd party packages requiring.
--- package/boost/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/boost/Config.in +2 -2
@@ -424,8 +424,8 @@ config BR2_PACKAGE_BOOST_SYSTEM help Extensible Error Reporting. - This library is now header only. Building a stub library - is still supported for backward compatibility. + This library is header only. Enabling this option will + install a CMake config file for backward compatibility. comment "boost-system needs a toolchain w/ C++11, gcc>=4.8" depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 22/84 package/openvmtools: bump version to 13.1.0
In reply to Bernd KuhlsRebased patch set in two steps:
1.: downloaded patch set from home-assistant
https://github.com/home-assistant/buildroot/tree/2025.02.x-haos/package/openvmtools
which is based on 13.0.0
2.: rebased again on 13.1.0 (no changes needed)
Added patches 0011 to fix build errors with glibc 2.43. Renumbered patches.
Added tarball hash provided by upstream.
Removed CVE entries in openvmtools.mk due to patches 0013 and 0014 being added to upstream release.
Ported various configure options from home-assistant commit
https://github.com/home-assistant/buildroot/commit/3206b3fa58a636c7a98ff7a65f76fcf23a4302ee
---
.checkpackageignore | 9 +-
.../0001-configure.ac-disable-Werror.patch | 32 +
.../openvmtools/0001-no_cflags_werror.patch | 18 -
.../0002-dont-force-cppflags.patch | 21 -
...-not-force-I-usr-include-in-CPPFLAGS.patch | 36 +
..._poll-h-to-fix-build-failure-on-musl.patch | 813 ------------------
...to-vm_poll.h-to-fix-build-failure-on.patch | 133 +++
...ns-about-glibc-being-only-libc-imple.patch | 27 +-
...e-configure-test-for-struct-timespec.patch | 31 +-
...finition-of-ALLPERMS-and-ACCESSPERMS.patch | 35 +-
...-test-for-feature-instead-of-platfor.patch | 74 +-
...onfigure-test-for-sys-stat.h-include.patch | 21 +-
...gfs-fuse-fsutils.h-fix-build-on-mus.patch} | 8 +-
...FromNtTimeNsec-aware-of-64-bit-time_.patch | 51 ++
...on-discards-const-qualifier-from-poi.patch | 148 ++++
...FromNtTimeNsec-aware-of-64-bit-time_.patch | 80 --
...GLib-g_free-macro-redefinition-erro.patch} | 11 +-
...uthorization-on-incoming-guestOps-re.patch | 41 -
...-2025-22247-1100-1225-VGAuth-updates.patch | 383 ---------
package/openvmtools/openvmtools.hash | 3 +-
package/openvmtools/openvmtools.mk | 22 +-
21 files changed, 535 insertions(+), 1462 deletions(-)
create mode 100644 package/openvmtools/0001-configure.ac-disable-Werror.patch
delete mode 100644 package/openvmtools/0001-no_cflags_werror.patch
delete mode 100644 package/openvmtools/0002-dont-force-cppflags.patch
create mode 100644 package/openvmtools/0002-m4-do-not-force-I-usr-include-in-CPPFLAGS.patch
delete mode 100644 package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch
create mode 100644 package/openvmtools/0003-Rename-poll.h-into-vm_poll.h-to-fix-build-failure-on.patch
rename package/openvmtools/{0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch => 0009-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch} (86%)
create mode 100644 package/openvmtools/0010-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
create mode 100644 package/openvmtools/0011-fix-initialization-discards-const-qualifier-from-poi.patch
delete mode 100644 package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
rename package/openvmtools/{0015-glib_stubs-avoid-GLib-g_free-macro-redefinition-error.patch => 0012-glib_stubs-avoid-GLib-g_free-macro-redefinition-erro.patch} (84%)
delete mode 100644 package/openvmtools/0013-Properly-check-authorization-on-incoming-guestOps-re.patch
delete mode 100644 package/openvmtools/0014-CVE-2025-22247-1100-1225-VGAuth-updates.patch.checkpackageignore +4 -5
@@ -681,16 +681,15 @@ package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch lib_patch package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch lib_patch.Upstream package/openrc/0006-Also-create-run-lock-subsys-directory.patch lib_patch.Upstream package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch lib_patch.Upstream -package/openvmtools/0001-no_cflags_werror.patch lib_patch.Upstream -package/openvmtools/0002-dont-force-cppflags.patch lib_patch.Upstream -package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch lib_patch.Upstream +package/openvmtools/0001-configure.ac-disable-Werror.patch lib_patch.Upstream +package/openvmtools/0002-m4-do-not-force-I-usr-include-in-CPPFLAGS.patch lib_patch.Upstream package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch lib_patch.Upstream package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch lib_patch.Upstream package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch lib_patch.Upstream package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch lib_patch.Upstream package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch lib_patch.Upstream -package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch lib_patch.Upstream -package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch lib_patch.Upstream +package/openvmtools/0009-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch lib_patch.Upstream +package/openvmtools/0010-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch lib_patch.Upstream package/openvmtools/shutdown Shellcheck package/openvpn/S60openvpn Shellcheck lib_sysv.Indent lib_sysv.Variables package/oprofile/0001-musl.patch lib_patch.Upstream
package/openvmtools/0001-configure.ac-disable-Werror.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 818066b581f6cfedbec83031dd8b084178f622e1 Mon Sep 17 00:00:00 2001 +From: Stefan Agner <[email protected]> +Date: Tue, 5 Sep 2023 13:11:18 +0200 +Subject: [PATCH] configure.ac: disable -Werror + +Disable the mandatory flag -Werror in configure.ac. + +Signed-off-by: Karoly Kasza <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 92b610429..89b0bd8db 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1403,7 +1403,7 @@ AC_C_VOLATILE + + ### General flags / actions + CFLAGS="$CFLAGS -Wall" +-CFLAGS="$CFLAGS -Werror" ++# CFLAGS="$CFLAGS -Werror" + + # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' + # in Xlib.h on OpenSolaris. +-- +2.47.3 +
package/openvmtools/0001-no_cflags_werror.patch deleted +0 -18
@@ -1,18 +0,0 @@ -configure.ac: disable -Werror - -Disable the mandatory flag -Werror in configure.ac. - -Signed-off-by: Karoly Kasza <[email protected]> - ---- open-vm-tools/configure.ac 2015-06-17 10:02:00.000000000 +0200 -+++ open-vm-tools/configure.ac 2015-06-17 10:02:00.000000000 +0200 -@@ -935,7 +935,7 @@ - - ### General flags / actions - CFLAGS="$CFLAGS -Wall" --CFLAGS="$CFLAGS -Werror" -+# CFLAGS="$CFLAGS -Werror" - - # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' - # in Xlib.h on OpenSolaris. -
package/openvmtools/0002-dont-force-cppflags.patch deleted +0 -21
@@ -1,21 +0,0 @@ -m4: do not force -I/usr/include in CPPFLAGS - -This is so horribly broken for cross-compilation. :-( - -Signed-off-by: "Yann E. MORIN" <[email protected]> - ---- open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200 -+++ open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200 -@@ -281,10 +281,10 @@ - if test "$os" = freebsd; then - CUSTOM_$1_CPPFLAGS="-I/usr/local/include" - else -- CUSTOM_$1_CPPFLAGS="-I/usr/include" -+ CUSTOM_$1_CPPFLAGS=" " - fi - if test -n "$2"; then -- CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2" -+ : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2" - fi - fi - ])
package/openvmtools/0002-m4-do-not-force-I-usr-include-in-CPPFLAGS.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 4c45151dd99e4025be5d9e85e49c1af3e951cc9d Mon Sep 17 00:00:00 2001 +From: Stefan Agner <[email protected]> +Date: Tue, 5 Sep 2023 13:14:04 +0200 +Subject: [PATCH] m4: do not force -I/usr/include in CPPFLAGS + +This is so horribly broken for cross-compilation. :-( + +Signed-off-by: "Yann E. MORIN" <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + m4/vmtools.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/m4/vmtools.m4 b/m4/vmtools.m4 +index 055b39d9b..d281f81d1 100644 +--- a/m4/vmtools.m4 ++++ b/m4/vmtools.m4 +@@ -279,10 +279,10 @@ AC_DEFUN([AC_VMW_DEFAULT_FLAGS],[ + if test "$os" = freebsd; then + CUSTOM_$1_CPPFLAGS="-I/usr/local/include" + else +- CUSTOM_$1_CPPFLAGS="-I/usr/include" ++ CUSTOM_$1_CPPFLAGS=" " + fi + if test -n "$2"; then +- CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2" ++ : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2" + fi + fi + ]) +-- +2.47.3 +
package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch deleted +0 -813
813 lines not on this page · raw message
package/openvmtools/0003-Rename-poll.h-into-vm_poll.h-to-fix-build-failure-on.patch new file +133 -0
133 lines not on this page · raw message
package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch +17 -10
@@ -1,22 +1,26 @@ -From a0983d84185f04c4e40778fe951fde4439894882 Mon Sep 17 00:00:00 2001 +From 4421d88ca9248173baa8eb4fcd563e6705f8aeb0 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 16 Jul 2017 07:37:03 -0700 -Subject: [PATCH] Remove assumptions about glibc being only libc - implementation on linux +Subject: [PATCH] Remove assumptions about glibc being only libc implementation + on linux Signed-off-by: Khem Raj <[email protected]> [Retrieved (and updated to work on current version) from: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Remove-assumptions-about-glibc-being-only-libc-imple.patch?h=sumo] Signed-off-by: Fabrice Fontaine <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- - open-vm-tools/lib/file/fileIOPosix.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) + lib/file/fileIOPosix.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -Index: open-vm-tools/lib/file/fileIOPosix.c -=================================================================== ---- open-vm-tools.orig/lib/file/fileIOPosix.c -+++ open-vm-tools/lib/file/fileIOPosix.c -@@ -205,7 +205,7 @@ static AlignedPool alignedPool; +diff --git a/lib/file/fileIOPosix.c b/lib/file/fileIOPosix.c +index 4dedb08fc..1e16f06bd 100644 +--- a/lib/file/fileIOPosix.c ++++ b/lib/file/fileIOPosix.c +@@ -204,7 +204,7 @@ static AlignedPool alignedPool; * are not available in any header file. */
@@ -25,3 +29,6 @@ Index: open-vm-tools/lib/file/fileIOPosix.c #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) /* * We want preadv/pwritev. But due to FOB=64, the symbols are -64. +-- +2.47.3 +
package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch +19 -12
@@ -1,4 +1,4 @@ -From bf1eafb07297711baf9320b1edcca8a3376f117d Mon Sep 17 00:00:00 2001 +From c51e6ceb7f1443603e9713d297b0386db91f524e Mon Sep 17 00:00:00 2001 From: Natanael Copa <[email protected]> Date: Wed, 18 Nov 2015 09:03:00 +0000 Subject: [PATCH] Use configure test for struct timespec
@@ -10,16 +10,20 @@ Signed-off-by: Natanael Copa <[email protected]> [Retrieved from: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0005-Use-configure-test-for-struct-timespec.patch?h=sumo] Signed-off-by: Fabrice Fontaine <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- - open-vm-tools/configure.ac | 1 + - open-vm-tools/lib/include/hgfsUtil.h | 8 +------- + configure.ac | 1 + + lib/include/hgfsUtil.h | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) -Index: open-vm-tools/configure.ac -=================================================================== ---- open-vm-tools.orig/configure.ac -+++ open-vm-tools/configure.ac -@@ -1127,6 +1127,7 @@ AC_TYPE_OFF_T +diff --git a/configure.ac b/configure.ac +index 89b0bd8db..0ba2f6658 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1393,6 +1393,7 @@ AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIZE_T AC_CHECK_MEMBERS([struct stat.st_rdev])
@@ -27,10 +31,10 @@ Index: open-vm-tools/configure.ac AC_HEADER_TIME AC_STRUCT_TM AC_C_VOLATILE -Index: open-vm-tools/lib/include/hgfsUtil.h -=================================================================== ---- open-vm-tools.orig/lib/include/hgfsUtil.h -+++ open-vm-tools/lib/include/hgfsUtil.h +diff --git a/lib/include/hgfsUtil.h b/lib/include/hgfsUtil.h +index 609f4c000..a3a022d42 100644 +--- a/lib/include/hgfsUtil.h ++++ b/lib/include/hgfsUtil.h @@ -53,13 +53,7 @@ # include <time.h> # endif
@@ -46,3 +50,6 @@ Index: open-vm-tools/lib/include/hgfsUtil.h struct timespec { time_t tv_sec; long tv_nsec; +-- +2.47.3 +
package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch +21 -14
@@ -1,4 +1,4 @@ -From 31ae6f42458f90d4994a4ad8e2b7673691612c36 Mon Sep 17 00:00:00 2001 +From 8ff21c861f204b502085f93352c182e7d449755f Mon Sep 17 00:00:00 2001 From: Natanael Copa <[email protected]> Date: Wed, 18 Nov 2015 09:10:14 +0000 Subject: [PATCH] Fix definition of ALLPERMS and ACCESSPERMS
@@ -12,16 +12,20 @@ Signed-off-by: Natanael Copa <[email protected]> [Retrieved from: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch?h=sumo] Signed-off-by: Fabrice Fontaine <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- - open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 8 +++++--- - open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c | 3 +-- + lib/hgfsServer/hgfsServerLinux.c | 8 +++++--- + services/plugins/dndcp/dnd/dndLinux.c | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) -Index: open-vm-tools/lib/hgfsServer/hgfsServerLinux.c -=================================================================== ---- open-vm-tools.orig/lib/hgfsServer/hgfsServerLinux.c -+++ open-vm-tools/lib/hgfsServer/hgfsServerLinux.c -@@ -107,11 +107,13 @@ typedef struct DirectoryEntry { +diff --git a/lib/hgfsServer/hgfsServerLinux.c b/lib/hgfsServer/hgfsServerLinux.c +index 4a0bc9378..6ed49e2b7 100644 +--- a/lib/hgfsServer/hgfsServerLinux.c ++++ b/lib/hgfsServer/hgfsServerLinux.c +@@ -105,11 +105,13 @@ typedef struct DirectoryEntry { #endif /*
@@ -38,11 +42,11 @@ Index: open-vm-tools/lib/hgfsServer/hgfsServerLinux.c # define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) #endif -Index: open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c -=================================================================== ---- open-vm-tools.orig/services/plugins/dndcp/dnd/dndLinux.c -+++ open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c -@@ -51,7 +51,7 @@ +diff --git a/services/plugins/dndcp/dnd/dndLinux.c b/services/plugins/dndcp/dnd/dndLinux.c +index 219065f74..b5b7e6203 100644 +--- a/services/plugins/dndcp/dnd/dndLinux.c ++++ b/services/plugins/dndcp/dnd/dndLinux.c +@@ -53,7 +53,7 @@ #define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO) #define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
@@ -51,7 +55,7 @@ Index: open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) #endif #ifdef __ANDROID__ -@@ -60,7 +60,6 @@ +@@ -62,7 +62,6 @@ */ #define NO_SETMNTENT #define NO_ENDMNTENT
@@ -59,3 +63,6 @@ Index: open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c #endif +-- +2.47.3 +
package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch +34 -40
120 lines not on this page · raw message
package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch +14 -7
@@ -1,4 +1,4 @@ -From 95c6184d9ff70a47c41768850923a96de9e544aa Mon Sep 17 00:00:00 2001 +From 2b1df418ff114676ba93c005d96925a068e41944 Mon Sep 17 00:00:00 2001 From: Natanael Copa <[email protected]> Date: Wed, 18 Nov 2015 10:41:01 +0000 Subject: [PATCH] Use configure test for sys/stat.h include
@@ -9,15 +9,19 @@ Signed-off-by: Natanael Copa <[email protected]> [Retrieved from: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0011-Use-configure-test-for-sys-stat.h-include.patch?h=sumo] Signed-off-by: Fabrice Fontaine <[email protected]> +[rebased against stable-12.3.0] +Signed-off-by: Stefan Agner <[email protected]> +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- - open-vm-tools/services/plugins/vix/vixTools.c | 2 +- + services/plugins/vix/vixTools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: open-vm-tools/services/plugins/vix/vixTools.c -=================================================================== ---- open-vm-tools.orig/services/plugins/vix/vixTools.c -+++ open-vm-tools/services/plugins/vix/vixTools.c -@@ -66,7 +66,7 @@ +diff --git a/services/plugins/vix/vixTools.c b/services/plugins/vix/vixTools.c +index 694371d10..b2079a10d 100644 +--- a/services/plugins/vix/vixTools.c ++++ b/services/plugins/vix/vixTools.c +@@ -67,7 +67,7 @@ #include <unistd.h> #endif
@@ -26,3 +30,6 @@ Index: open-vm-tools/services/plugins/vix/vixTools.c #include <sys/stat.h> #endif +-- +2.47.3 +
package/openvmtools/0009-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch renamed from package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch +5 -3
@@ -1,4 +1,4 @@ -From 0a5032669951ffd6735c294a6f309b0ec6667ea5 Mon Sep 17 00:00:00 2001 +From 84adbc466ed1ae2b87b383880ff724324866f59b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine <[email protected]> Date: Sun, 8 Mar 2020 18:49:00 +0100 Subject: [PATCH] open-vm-tools/vmhgfs-fuse/fsutils.h: fix build on musl
@@ -18,12 +18,14 @@ Fixes: Signed-off-by: Fabrice Fontaine <[email protected]> [Upstream status: not sent yet (upstream is not reactive on third patch] +[Bernd: rebased against stable-13.0.10] +Signed-off-by: Bernd Kuhls <[email protected]> --- vmhgfs-fuse/fsutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmhgfs-fuse/fsutil.h b/vmhgfs-fuse/fsutil.h -index 34b6d489..a94f9fbb 100644 +index 34b6d489a..a94f9fbb1 100644 --- a/vmhgfs-fuse/fsutil.h +++ b/vmhgfs-fuse/fsutil.h @@ -32,7 +32,8 @@
@@ -37,5 +39,5 @@ index 34b6d489..a94f9fbb 100644 #endif -- -2.25.0 +2.47.3
package/openvmtools/0010-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch new file +51 -0
51 lines not on this page · raw message
package/openvmtools/0011-fix-initialization-discards-const-qualifier-from-poi.patch new file +148 -0
148 lines not on this page · raw message
package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch deleted +0 -80
80 lines not on this page · raw message
package/openvmtools/0012-glib_stubs-avoid-GLib-g_free-macro-redefinition-erro.patch renamed from package/openvmtools/0015-glib_stubs-avoid-GLib-g_free-macro-redefinition-error.patch +7 -4
@@ -1,4 +1,4 @@ -From bfd12cf73d81919843383598e4a9e64c6e5fd97a Mon Sep 17 00:00:00 2001 +From 34b3bfcbb8162a96b5a65a6864f736dff1ccd70b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 21 Nov 2025 00:29:10 -0800 Subject: [PATCH] glib_stubs: avoid GLib g_free macro redefinition error
@@ -9,13 +9,13 @@ inside the function signature and breaking the build. Undefine the macro before defining the stub. -Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> Upstream: https://github.com/vmware/open-vm-tools/pull/779 -Signed-off-by: John Ernberg <[email protected]> + +Signed-off-by: Bernd Kuhls <[email protected]> --- - open-vm-tools/lib/rpcChannel/glib_stubs.c | 3 +++ + lib/rpcChannel/glib_stubs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/rpcChannel/glib_stubs.c b/lib/rpcChannel/glib_stubs.c
@@ -32,3 +32,6 @@ index c32deb073..cb89c6a87 100644 void g_free(void *p) { free(p); } void g_mutex_init(GMutex *mutex) { } +-- +2.47.3 +
package/openvmtools/0013-Properly-check-authorization-on-incoming-guestOps-re.patch deleted +0 -41
41 lines not on this page · raw message
package/openvmtools/0014-CVE-2025-22247-1100-1225-VGAuth-updates.patch deleted +0 -383
383 lines not on this page · raw message
package/openvmtools/openvmtools.hash +2 -1
@@ -1,3 +1,4 @@ +# From https://github.com/vmware/open-vm-tools/releases/tag/stable-13.1.0 +sha256 67a23d505aca77127b081445f758e269b1009e8824cf7f6f2d6efafb0b14d0fd open-vm-tools-13.1.0-25218885.tar.gz # locally computed -sha256 2053daf7b224ab7ae1a9cfcd6ae12494c646e2bf9aaca998225bd082a4a43fb7 open-vm-tools-11.3.5-18557794.tar.gz sha256 f734933bd7d49aef25aaf897ed7281ee822e8635056e69b895a7d2e668937fc5 COPYING
package/openvmtools/openvmtools.mk +12 -10
@@ -4,8 +4,8 @@ # ################################################################################ -OPENVMTOOLS_VERSION_MAJOR = 11.3.5 -OPENVMTOOLS_VERSION = $(OPENVMTOOLS_VERSION_MAJOR)-18557794 +OPENVMTOOLS_VERSION_MAJOR = 13.1.0 +OPENVMTOOLS_VERSION = $(OPENVMTOOLS_VERSION_MAJOR)-25218885 OPENVMTOOLS_SITE = https://github.com/vmware/open-vm-tools/releases/download/stable-$(OPENVMTOOLS_VERSION_MAJOR) OPENVMTOOLS_SOURCE = open-vm-tools-$(OPENVMTOOLS_VERSION).tar.gz OPENVMTOOLS_LICENSE = LGPL-2.1
@@ -17,18 +17,13 @@ OPENVMTOOLS_CPE_ID_PRODUCT = tools # previously connected to this CVE ID because of a typo, is at CVE-2022-31693 OPENVMTOOLS_IGNORE_CVES += CVE-2021-31693 -# 0013-Properly-check-authorization-on-incoming-guestOps-re.patch -OPENVMTOOLS_IGNORE_CVES += CVE-2022-31676 - -# 0014-CVE-2025-22247-1100-1225-VGAuth-updates.patch -OPENVMTOOLS_IGNORE_CVES += CVE-2025-22247 - # configure.ac is patched OPENVMTOOLS_AUTORECONF = YES OPENVMTOOLS_CONF_OPTS = --with-dnet \ --without-icu --without-x --without-gtk2 \ --without-gtkmm --without-kernel-modules \ - --disable-deploypkg --without-xerces + --disable-deploypkg --without-xerces \ + --disable-vgauth --disable-containerinfo OPENVMTOOLS_CONF_ENV += \ CUSTOM_DNET_CPPFLAGS=" " \ LIBS=$(TARGET_NLS_LIBS)
@@ -39,7 +34,10 @@ OPENVMTOOLS_DEPENDENCIES = \ $(TARGET_NLS_DEPENDENCIES) ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +OPENVMTOOLS_CONF_OPTS += --with-tirpc OPENVMTOOLS_DEPENDENCIES += libtirpc +else +OPENVMTOOLS_CONF_OPTS += --without-tirpc endif ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
@@ -48,7 +46,11 @@ endif # When libfuse is available, openvmtools can build vmblock-fuse, so # make sure that libfuse gets built first -ifeq ($(BR2_PACKAGE_LIBFUSE),y) +ifeq ($(BR2_PACKAGE_LIBFUSE3),y) +OPENVMTOOLS_CONF_OPTS += --with-fuse=fuse3 +OPENVMTOOLS_DEPENDENCIES += libfuse3 +else ifeq ($(BR2_PACKAGE_LIBFUSE),y) +OPENVMTOOLS_CONF_OPTS += --with-fuse=fuse OPENVMTOOLS_DEPENDENCIES += libfuse endif
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 22/84] package/openvmtools: bump version to 13.1.0
Quoted 11 lines · Bernd Kuhls
Rebased patch set in two steps:
1.: downloaded patch set from home-assistant
https://github.com/home-assistant/buildroot/tree/2025.02.x-haos/package/openvmtools
which is based on 13.0.0
2.: rebased again on 13.1.0 (no changes needed)Added patches 0011 to fix build errors with glibc 2.43. Renumbered patches.
Added tarball hash provided by upstream.
Quoted 8 lines
Removed CVE entries in openvmtools.mk due to patches 0013 and 0014 being added to upstream release.
Ported various configure options from home-assistant commit
https://github.com/home-assistant/buildroot/commit/3206b3fa58a636c7a98ff7a65f76fcf23a4302eeSigned-off-by Bernd Kuhls <[email protected]>Cc Karoly Kasza <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 23/84 package/poco: bump version to 1.15.3
In reply to Bernd Kuhlshttps://github.com/pocoproject/poco/blob/poco-1.15.3-release/CHANGELOG
--- package/poco/poco.hash | 2 +- package/poco/poco.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/poco/poco.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 47394ea7ddb7b0a40e1a5be896f8f5dc77cfdc4f561d2e7131ecf582df5a0c3a poco-1.14.2.tar.gz +sha256 4f112fea59e0c65f0fffe30a4957f8d66cf41528c21dd9903e6d7550022c794e poco-1.15.3.tar.gz sha256 c4b1e1e5f36d8331737231fefcc30f5714326aec7c387ad59a8115eb0ba7d6b5 LICENSE
package/poco/poco.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -POCO_VERSION = 1.14.2 +POCO_VERSION = 1.15.3 POCO_SITE = $(call github,pocoproject,poco,poco-$(POCO_VERSION)-release) POCO_LICENSE = BSL-1.0 POCO_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 23/84] package/poco: bump version to 1.15.3
Quoted 4 lines · Bernd Kuhls
https://github.com/pocoproject/poco/blob/poco-1.15.3-release/CHANGELOG
Signed-off-by Bernd Kuhls <[email protected]>Cc Yegor Yefremov <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 24/84 package/snort3: fix build error with numa support
In reply to Bernd KuhlsBuildroot commit 5e78c6cf3323b4a45f84bcbc504f511dd268e270 bumped the package from 3.1.40.0 to 3.11.1.0. Upstream commit
https://github.com/snort3/snort3/commit/83e9a2dda250a0ced9a105454a5a4fe59c304601
added numa support, first included in release 3.1.65.0.
This causes a build error due to the numactl package being pulled-in as optional dependency by hwloc, the latter being a hard dependency of snort3.
Fixes:
https://autobuild.buildroot.net/results/e8a/e8a9d787973fd109c07c185103de1f9f7339d506/
--- .../0001-Rename-numa.h-to-numa_snort.h.patch | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 package/snort3/0001-Rename-numa.h-to-numa_snort.h.patch
package/snort3/0001-Rename-numa.h-to-numa_snort.h.patch new file +79 -0
@@ -0,0 +1,79 @@ +From 3bb2a8fc1244fcbdf24235e541fa2a06a655dcea Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 8 Sep 2026 21:20:04 +0200 +Subject: [PATCH] Rename numa.h to numa_snort.h + +Fixes https://github.com/snort3/snort3/issues/368 + +and a build error seen with gcc 15.1.0 by the buildroot autobuilders: +https://autobuild.buildroot.net/results/e8a/e8a9d787973fd109c07c185103de1f9f7339d506/build-end.log + +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h: + In member function 'virtual int NumaWrapper::available()': +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h:50:16: + error: 'numa_available' was not declared in this scope; did you mean 'available'? + 50 | return numa_available(); + +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h: + In member function 'virtual int NumaWrapper::max_node()': +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h:54:16: + error: 'numa_max_node' was not declared in this scope; did you mean 'max_node'? + 54 | return numa_max_node(); + +Upstream: https://github.com/snort3/snort3/pull/479 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/main/CMakeLists.txt | 2 +- + src/main/numa.cc | 2 +- + src/main/{numa.h => numa_snort.h} | 0 + src/main/thread_config.h | 2 +- + 4 files changed, 3 insertions(+), 3 deletions(-) + rename src/main/{numa.h => numa_snort.h} (100%) + +diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt +index 117612b94..e4e816d15 100644 +--- a/src/main/CMakeLists.txt ++++ b/src/main/CMakeLists.txt +@@ -23,7 +23,7 @@ endif ( ENABLE_SHELL ) + add_subdirectory(test) + + if ( HAVE_NUMA ) +- set ( NUMA_SOURCES numa.h numa.cc) ++ set ( NUMA_SOURCES numa_snort.h numa.cc) + endif( HAVE_NUMA ) + + add_library (main OBJECT +diff --git a/src/main/numa.cc b/src/main/numa.cc +index 259f776b7..5cb23e26b 100644 +--- a/src/main/numa.cc ++++ b/src/main/numa.cc +@@ -17,7 +17,7 @@ + //-------------------------------------------------------------------------- + // numa.cc author Denys Zikratyi <[email protected]> + +-#include "numa.h" ++#include "numa_snort.h" + + #ifdef HAVE_CONFIG_H + #include "config.h" +diff --git a/src/main/numa.h b/src/main/numa_snort.h +similarity index 100% +rename from src/main/numa.h +rename to src/main/numa_snort.h +diff --git a/src/main/thread_config.h b/src/main/thread_config.h +index 93bfe63d2..8134da8bf 100644 +--- a/src/main/thread_config.h ++++ b/src/main/thread_config.h +@@ -26,7 +26,7 @@ + #include "main/thread.h" + + #ifdef HAVE_NUMA +-#include "numa.h" ++#include "numa_snort.h" + #endif + + struct CpuSet; +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 24/84] package/snort3: fix build error with numa support
Quoted 9 lines · Bernd Kuhls
Buildroot commit
5e78c6cf3323b4a45f84bcbc504f511dd268e270bumped the package from 3.1.40.0 to 3.11.1.0. Upstream commit
https://github.com/snort3/snort3/commit/83e9a2dda250a0ced9a105454a5a4fe59c304601
added numa support, first included in release 3.1.65.0.This causes a build error due to the numactl package being pulled-in as optional dependency by hwloc, the latter being a hard dependency of snort3.
Quoted 5 lines
Fixes:
https://autobuild.buildroot.net/results/e8a/e8a9d787973fd109c07c185103de1f9f7339d506/Signed-off-by Bernd Kuhls <[email protected]>Cc Fabrice Fontaine <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedRe: [Buildroot] [PATCH v8 24/84] package/snort3: fix build error with numa support
In reply to Bernd KuhlsIn reply of:
Quoted 9 lines
Buildroot commit
5e78c6cf3323b4a45f84bcbc504f511dd268e270bumped the package from 3.1.40.0 to 3.11.1.0. Upstream commit
https://github.com/snort3/snort3/commit/83e9a2dda250a0ced9a105454a5a4fe59c304601
added numa support, first included in release 3.1.65.0.This causes a build error due to the numactl package being pulled-in as optional dependency by hwloc, the latter being a hard dependency of snort3.
Quoted 5 lines
Fixes:
https://autobuild.buildroot.net/results/e8a/e8a9d787973fd109c07c185103de1f9f7339d506/Signed-off-by Bernd Kuhls <[email protected]>Cc Fabrice Fontaine <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 80 lines
--- .../0001-Rename-numa.h-to-numa_snort.h.patch | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 package/snort3/0001-Rename-numa.h-to-numa_snort.h.patchpackage/snort3/0001-Rename-numa.h-to-numa_snort.h.patch new file +69
-0@@ -0,0 +1,79 @@ +From 3bb2a8fc1244fcbdf24235e541fa2a06a655dcea Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 8 Sep 2026 21:20:04 +0200 +Subject: [PATCH] Rename numa.h to numa_snort.h + +Fixes https://github.com/snort3/snort3/issues/368 + +and a build error seen with gcc 15.1.0 by the buildroot autobuilders: +https://autobuild.buildroot.net/results/e8a/e8a9d787973fd109c07c185103de1f9f7339d506/build-end.log + +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h: + In member function 'virtual int NumaWrapper::available()': +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h:50:16: + error: 'numa_available' was not declared in this scope; did you mean 'available'? + 50 | return numa_available(); + +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h: + In member function 'virtual int NumaWrapper::max_node()': +/home/autobuild/autobuild/instance-44/output-1/build/snort3-3.11.1.0/src/main/numa.h:54:16: + error: 'numa_max_node' was not declared in this scope; did you mean 'max_node'? + 54 | return numa_max_node(); + +Upstream: https://github.com/snort3/snort3/pull/479 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/main/CMakeLists.txt | 2 +- + src/main/numa.cc | 2 +- + src/main/{numa.h => numa_snort.h} | 0 + src/main/thread_config.h | 2 +- + 4 files changed, 3 insertions(+), 3 deletions(-) + rename src/main/{numa.h => numa_snort.h} (100%) + +diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt +index 117612b94..e4e816d15 100644 +--- a/src/main/CMakeLists.txt ++++ b/src/main/CMakeLists.txt +@@ -23,7 +23,7 @@ endif ( ENABLE_SHELL ) + add_subdirectory(test) + + if ( HAVE_NUMA ) +- set ( NUMA_SOURCES numa.h numa.cc) ++ set ( NUMA_SOURCES numa_snort.h numa.cc) + endif( HAVE_NUMA ) + + add_library (main OBJECT +diff --git a/src/main/numa.cc b/src/main/numa.cc +index 259f776b7..5cb23e26b 100644 +--- a/src/main/numa.cc ++++ b/src/main/numa.cc +@@ -17,7 +17,7 @@ + //-------------------------------------------------------------------------- + // numa.cc author Denys Zikratyi <[email protected]> + +-#include "numa.h" ++#include "numa_snort.h" + + #ifdef HAVE_CONFIG_H + #include "config.h" +diff --git a/src/main/numa.h b/src/main/numa_snort.h +similarity index 100% +rename from src/main/numa.h +rename to src/main/numa_snort.h +diff --git a/src/main/thread_config.h b/src/main/thread_config.h +index 93bfe63d2..8134da8bf 100644 +--- a/src/main/thread_config.h ++++ b/src/main/thread_config.h +@@ -26,7 +26,7 @@ + #include "main/thread.h"
package/snort3/0001-Rename-numa.h-to-numa_snort.h.patch line 79
Quoted 10 lines
package/snort3/0001-Rename-numa.h-to-numa_snort.h.patch new file +10
-0+ + #ifdef HAVE_NUMA +-#include "numa.h" ++#include "numa_snort.h" + #endif + + struct CpuSet; +-- +2.47.3 +
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 25/84 package/snort3: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...fix-const-qualifiers-for-OpenSSL-4.0.patch | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 package/snort3/0002-ssl-fix-const-qualifiers-for-OpenSSL-4.0.patch
package/snort3/0002-ssl-fix-const-qualifiers-for-OpenSSL-4.0.patch new file +63 -0
@@ -0,0 +1,63 @@ +From a32587b0fc22a716b70f242f7a130de003fb3b42 Mon Sep 17 00:00:00 2001 +From: Jaipaul Cheernam <[email protected]> +Date: Thu, 27 Aug 2026 11:45:48 +0000 +Subject: [PATCH] ssl: fix const qualifiers for OpenSSL 4.0 + +OpenSSL 4.0 returns const pointers from X509_get_subject_name(), +X509_get_issuer_name(), X509_NAME_get_entry(), and +X509_NAME_ENTRY_get_data(). Update local variables to match. + +This is backward-compatible with older OpenSSL versions since +assigning non-const to const is always valid. + +Fixes: https://github.com/snort3/snort3/issues/476 + +Signed-off-by: Jaipaul Cheernam <[email protected]> + +Upstream: https://github.com/snort3/snort3/pull/477 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/protocols/ssl.cc | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/protocols/ssl.cc b/src/protocols/ssl.cc +index 733d19adf..4afac05dd 100644 +--- a/src/protocols/ssl.cc ++++ b/src/protocols/ssl.cc +@@ -860,8 +860,8 @@ ParseResult parse_server_certificates(SSLV3ServerCertData* server_cert_data) + while (len > 2 and !(common_name and org_unit)) + { + X509* cert = nullptr; +- X509_NAME* cert_subject = nullptr; +- X509_NAME* cert_issuer = nullptr; ++ const X509_NAME* cert_subject = nullptr; ++ const X509_NAME* cert_issuer = nullptr; + + int cert_len = ntoh3(data); + data += 3; +@@ -918,8 +918,8 @@ ParseResult parse_server_certificates(SSLV3ServerCertData* server_cert_data) + lastpos = X509_NAME_get_index_by_NID(cert_subject, NID_commonName, lastpos); + if (lastpos != -1) + { +- X509_NAME_ENTRY* e = X509_NAME_get_entry(cert_subject, lastpos); +- ASN1_STRING* asn1_str = X509_NAME_ENTRY_get_data(e); ++ const X509_NAME_ENTRY* e = X509_NAME_get_entry(cert_subject, lastpos); ++ const ASN1_STRING* asn1_str = X509_NAME_ENTRY_get_data(e); + const unsigned char* str_data = ASN1_STRING_get0_data(asn1_str); + int length = ASN1_STRING_length(asn1_str); + +@@ -941,8 +941,8 @@ ParseResult parse_server_certificates(SSLV3ServerCertData* server_cert_data) + lastpos = X509_NAME_get_index_by_NID(cert_subject, NID_organizationalUnitName, lastpos); + if (lastpos != -1) + { +- X509_NAME_ENTRY* e = X509_NAME_get_entry(cert_subject, lastpos); +- ASN1_STRING* asn1_str = X509_NAME_ENTRY_get_data(e); ++ const X509_NAME_ENTRY* e = X509_NAME_get_entry(cert_subject, lastpos); ++ const ASN1_STRING* asn1_str = X509_NAME_ENTRY_get_data(e); + const unsigned char* str_data = ASN1_STRING_get0_data(asn1_str); + org_unit_len = ASN1_STRING_length(asn1_str); + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 25/84] package/snort3: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Fabrice Fontaine <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 26/84 package/xtables-addons: use kernel-module infra
In reply to Bernd KuhlsThis package does not need the kernel-module infra because the kernel module is build by autoconf but the MIPS fix from buildroot commit 1d8d9e8d6cd824b2a43a0b92d71cfb25a3f9300a is not added to _LINUX_CONFIG_ FIXUPS causing a build error with this defconfig:
BR2_mips64el=y
# BR2_MIPS_SOFT_FLOAT is not set BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE=y BR2_PER_PACKAGE_DIRECTORIES=y
BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.156" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y BR2_PACKAGE_XTABLES_ADDONS=y
# BR2_TARGET_ROOTFS_TAR is not set BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
MODPOST /home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/Module.symvers
ERROR: modpost: "memcmp" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/compat_xtables.ko] undefined!
ERROR: modpost: "register_pernet_subsys" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "_printk" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "nf_register_sockopt" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "unregister_pernet_subsys" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "xt_register_target" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "nf_unregister_sockopt" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "kfree" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "free_pages" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
ERROR: modpost: "xt_unregister_target" [/home/buildroot/buildroot/output/build/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.ko] undefined!
WARNING: modpost: suppressed 342 unresolved symbol warnings because there were too many)
To fix the problem we add the kernel-module infra to the package.
--- package/xtables-addons/Config.in | 2 +- package/xtables-addons/xtables-addons.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
package/xtables-addons/Config.in +1 -1
@@ -10,7 +10,7 @@ config BR2_PACKAGE_XTABLES_ADDONS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS # extensions are .so select BR2_PACKAGE_IPTABLES - select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra + select BR2_LINUX_NEEDS_MODULES help Xtables-addons is the successor to patch-o-matic(-ng). Likewise, it contains extensions that were not, or are not
package/xtables-addons/xtables-addons.mk +1 -0
@@ -39,4 +39,5 @@ define XTABLES_ADDONS_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT) endef +$(eval $(kernel-module)) $(eval $(autotools-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 27/84 package/xtables-addons: bump version to 3.31
In reply to Bernd Kuhlshttps://codeberg.org/jengelh/xtables-addons/src/tag/v3.31/doc/changelog.rst
Upstream switched tarball format to zst.
Enabled CONFIG_NETFILTER_XT_MATCH_STRING in kernel config to provide the new upstream dependency CONFIG_TEXTSEARCH_BM:
https://codeberg.org/jengelh/xtables-addons/commit/6b7c62d83ea1b589c3115d959867e0fcbfcf74ea
Enabled CONFIG_XFRM_USER to fix build errors detected by the Gitlab pipelines:
ERROR: modpost: "crypto_alloc_shash" [pknock/xt_pknock.ko] undefined!
ERROR: modpost: "crypto_shash_setkey" [pknock/xt_pknock.ko] undefined!
ERROR: modpost: "crypto_shash_init" [pknock/xt_pknock.ko] undefined!
ERROR: modpost: "crypto_shash_finup" [pknock/xt_pknock.ko] undefined!
ERROR: modpost: "crypto_destroy_tfm" [pknock/xt_pknock.ko] undefined!
Upstream uses these functions for > 10 years so recent changes in the Linux kernel dependency handling are responsible for the build errors.
Enabled CONFIG_{INET, NET} to fix a build error detected by the Gitlab pipelines for bootlin-powerpc-e500mc-uclibc:
In file included from pknock/xt_pknock.c:31:./pknock/../compat_xtables.h:19:9: warning: #warning You need
CONFIG_NF_CONNTRACK. [-Wcpp]
19 | # warning You need CONFIG_NF_CONNTRACK.
ACCOUNT/xt_ACCOUNT.c:1179:10: error: 'struct nf_sockopt_ops' has no
member named 'set_optmin'
1179 | .set_optmin = IPT_SO_SET_ACCOUNT_HANDLE_FREE,
--- package/xtables-addons/xtables-addons.hash | 2 +- package/xtables-addons/xtables-addons.mk | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-)
package/xtables-addons/xtables-addons.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 3e823f71720519ced31c4c7d2bfaf7120d9c01c59a0843dfcbe93c95c64d81c1 xtables-addons-3.24.tar.xz +sha256 e22efc25b7bbb3436d1b7cdc309b1857ea933f7e5c7d88fbe6951a1e3e582a80 xtables-addons-3.31.tar.zst sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE
package/xtables-addons/xtables-addons.mk +6 -2
@@ -4,8 +4,8 @@ # ################################################################################ -XTABLES_ADDONS_VERSION = 3.24 -XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz +XTABLES_ADDONS_VERSION = 3.31 +XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.zst XTABLES_ADDONS_SITE = https://inai.de/files/xtables-addons XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf XTABLES_ADDONS_LICENSE = GPL-2.0+
@@ -33,10 +33,14 @@ endef XTABLES_ADDONS_POST_INSTALL_TARGET_HOOKS += XTABLES_ADDONS_REMOVE_GEOIP_HELPERS define XTABLES_ADDONS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_STRING) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT) + $(call KCONFIG_ENABLE_OPT,CONFIG_XFRM_USER) endef $(eval $(kernel-module))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 28/84 package/boinc: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...fix-a-build-failure-with-openssl-4.0.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch
package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 9cdcef8261be4891b4814c6f728dcee65027e5da Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna <[email protected]> +Date: Wed, 26 Aug 2026 12:27:54 +0200 +Subject: [PATCH] Adapt code to fix a build failure with openssl-4.0 + +Upstream: https://github.com/BOINC/boinc/commit/9cdcef8261be4891b4814c6f728dcee65027e5da + +[Bernd: backported to 8.2.15] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + lib/crypt.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/crypt.cpp b/lib/crypt.cpp +index 17a9b57b3eb..b54e2f050ad 100644 +--- a/lib/crypt.cpp ++++ b/lib/crypt.cpp +@@ -774,7 +774,7 @@ + DATA_BLOCK sig_db; + BIO *bio; + X509 *cert; +- X509_NAME *subj; ++ const X509_NAME *subj; + + if (signatures->signatures.size() == 0) { + printf("No signatures available for file ('%s').\n", origFile);
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 28/84] package/boinc: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Fabrice Fontaine <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 29/84 package/clamav: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...-crypto-Remove-cl_ASN1_GetTimeT-1731.patch | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch
package/clamav/0001-libclamav-crypto-Remove-cl_ASN1_GetTimeT-1731.patch new file +136 -0
@@ -0,0 +1,136 @@ +From 0097a6f99d9f6b78381e12b677a38fb62242c41a Mon Sep 17 00:00:00 2001 +From: sebastianas <[email protected]> +Date: Sat, 1 Aug 2026 00:13:13 +0200 +Subject: [PATCH] libclamav/crypto: Remove cl_ASN1_GetTimeT() (#1731) + +The last user has been removed in commit fa15aa98c7d5e ("bb11594 - allow +for compilation against openssl 1.1.0"). This function is only exported +under CLAMAV_PRIVATE to be used within clamav, not by external users. + +Removing the function will not cause an ABI break since it was not part +of the officially exported ABI. As a side effect it will compile against +OpenSSL 4.0 where the ASN1_TIME type has been made opaque. + +Remove cl_ASN1_GetTimeT(). + +Signed-off-by: Sebastian Andrzej Siewior <[email protected]> + +Upstream: https://github.com/Cisco-Talos/clamav/commit/0097a6f99d9f6b78381e12b677a38fb62242c41a + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + libclamav/clamav.h | 8 ----- + libclamav/crypto.c | 65 ----------------------------------------- + libclamav/libclamav.map | 1 - + 3 files changed, 74 deletions(-) + +diff --git a/libclamav/clamav.h b/libclamav/clamav.h +index 8a3767f78..fa75677ad 100644 +--- a/libclamav/clamav.h ++++ b/libclamav/clamav.h +@@ -2413,14 +2413,6 @@ extern int cl_validate_certificate_chain(char **authorities, char *crlpath, char + */ + extern X509 *cl_load_cert(const char *certpath); + +-/** +- * @brief Parse an ASN1_TIME object. +- * +- * @param timeobj The ASN1_TIME object. +- * @return A pointer to a (struct tm). Adjusted for time zone and daylight savings time. +- */ +-extern struct tm *cl_ASN1_GetTimeT(ASN1_TIME *timeobj); +- + /** + * @brief Load a CRL file into an X509_CRL object. + * +diff --git a/libclamav/crypto.c b/libclamav/crypto.c +index 8b398e402..968264811 100644 +--- a/libclamav/crypto.c ++++ b/libclamav/crypto.c +@@ -1746,71 +1746,6 @@ X509 *cl_load_cert(const char *certpath) + return cert; + } + +-struct tm *cl_ASN1_GetTimeT(ASN1_TIME *timeobj) +-{ +- struct tm *t; +- char *str; +- const char *fmt = NULL; +- time_t localt; +-#ifdef _WIN32 +- struct tm localtm, *ltm; +-#else +- struct tm localtm; +-#endif +- +- if (!(timeobj) || !(timeobj->data)) +- return NULL; +- +- str = (char *)(timeobj->data); +- if (strlen(str) < 12) +- return NULL; +- +- t = (struct tm *)calloc(1, sizeof(struct tm)); +- if (!(t)) +- return NULL; +- +- if (timeobj->type == V_ASN1_UTCTIME) { +- /* two digit year */ +- fmt = "%y%m%d%H%M%S"; +- if (str[3] == '0') { +- str[2] = '0'; +- str[3] = '9'; +- } else { +- str[3]--; +- } +- } else if (timeobj->type == V_ASN1_GENERALIZEDTIME) { +- /* four digit year */ +- fmt = "%Y%m%d%H%M%S"; +- if (str[5] == '0') { +- str[4] = '0'; +- str[5] = '9'; +- } else { +- str[5]--; +- } +- } +- +- if (!(fmt)) { +- free(t); +- return NULL; +- } +- +- if (!strptime(str, fmt, t)) { +- free(t); +- return NULL; +- } +- +- /* Convert to local time */ +- localt = time(NULL); +-#ifdef _WIN32 +- ltm = localtime(&localt); +- memcpy((void *)(&localtm), (void *)ltm, sizeof(struct tm)); +-#else +- localtime_r(&localt, &localtm); +-#endif +- t->tm_isdst = localtm.tm_isdst; +- return t; +-} +- + X509_CRL *cl_load_crl(const char *file) + { + X509_CRL *x = NULL; +diff --git a/libclamav/libclamav.map b/libclamav/libclamav.map +index 809341f42..f3efe1a33 100644 +--- a/libclamav/libclamav.map ++++ b/libclamav/libclamav.map +@@ -271,7 +271,6 @@ CLAMAV_PRIVATE { + cl_verify_signature_hash_x509; + cl_verify_signature_hash_x509_keyfile; + cl_load_cert; +- cl_ASN1_GetTimeT; + cl_load_crl; + cl_sign_data_keyfile; + cl_sign_data; +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 29/84] package/clamav: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 30/84 package/freeradius-server: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...ING-functions-for-OpenSSL-4.0-compat.patch | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 package/freeradius-server/0009-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch
package/freeradius-server/0009-Use-ASN1_STRING-functions-for-OpenSSL-4.0-compat.patch new file +80 -0
@@ -0,0 +1,80 @@ +From 6658c9e375637ce0bd14bed733270d863224431e Mon Sep 17 00:00:00 2001 +From: Antonio Torres <[email protected]> +Date: Tue, 5 May 2026 14:42:27 +0200 +Subject: [PATCH] Use ASN1_STRING functions for OpenSSL 4.0 compat + +Use ASN1_STRING accessor functions instead of direct field access +for ASN1_IA5STRING, ASN1_INTEGER, and ASN1_TIME structures. + +This fixes compatibility with OpenSSL 4.0. + +Signed-off-by: Antonio Torres <[email protected]> + +Upstream: https://github.com/FreeRADIUS/freeradius-server/commit/6658c9e375637ce0bd14bed733270d863224431e + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/main/tls.c | 26 ++++++++++++++++---------- + 1 file changed, 16 insertions(+), 10 deletions(-) + +diff --git a/src/main/tls.c b/src/main/tls.c +index 4f4cd0c28022..27b69a06229f 100644 +--- a/src/main/tls.c ++++ b/src/main/tls.c +@@ -2584,7 +2584,7 @@ static int ocsp_parse_cert_url(X509 *cert, char **host_out, char **port_out, + if (OBJ_obj2nid(ad->method) != NID_ad_OCSP) continue; + if (ad->location->type != GEN_URI) continue; + +- if (OCSP_parse_url((char *) ad->location->d.ia5->data, host_out, ++ if (OCSP_parse_url((const char *) ASN1_STRING_get0_data(ad->location->d.ia5), host_out, + port_out, path_out, is_https)) { + ret = 1; + break; +@@ -3066,12 +3066,14 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) + * we're at the client or issuing certificate. + */ + if (certs && +- (lookup <= 1) && sn && ((size_t) sn->length < (sizeof(buf) / 2))) { ++ (lookup <= 1) && sn && ((size_t) ASN1_STRING_length(sn) < (sizeof(buf) / 2))) { + char *p = buf; + int i; ++ int sn_len = ASN1_STRING_length(sn); ++ const unsigned char *sn_data = ASN1_STRING_get0_data(sn); + +- for (i = 0; i < sn->length; i++) { +- sprintf(p, "%02x", (unsigned int)sn->data[i]); ++ for (i = 0; i < sn_len; i++) { ++ sprintf(p, "%02x", (unsigned int)sn_data[i]); + p += 2; + } + vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_SERIAL][lookup], buf, T_OP_SET); +@@ -3084,9 +3086,11 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) + buf[0] = '\0'; + asn_time = X509_get_notAfter(client_cert); + if (certs && (lookup <= 1) && asn_time && +- (asn_time->length < (int) sizeof(buf))) { +- memcpy(buf, (char*) asn_time->data, asn_time->length); +- buf[asn_time->length] = '\0'; ++ (ASN1_STRING_length(asn_time) < (int) sizeof(buf))) { ++ int time_len = ASN1_STRING_length(asn_time); ++ const unsigned char *time_data = ASN1_STRING_get0_data(asn_time); ++ memcpy(buf, time_data, time_len); ++ buf[time_len] = '\0'; + vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_EXPIRATION][lookup], buf, T_OP_SET); + rdebug_pair(L_DBG_LVL_2, request, vp, NULL); + } +@@ -3097,9 +3101,11 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) + buf[0] = '\0'; + asn_time = X509_get_notBefore(client_cert); + if (certs && (lookup <= 1) && asn_time && +- (asn_time->length < (int) sizeof(buf))) { +- memcpy(buf, (char*) asn_time->data, asn_time->length); +- buf[asn_time->length] = '\0'; ++ (ASN1_STRING_length(asn_time) < (int) sizeof(buf))) { ++ int time_len = ASN1_STRING_length(asn_time); ++ const unsigned char *time_data = ASN1_STRING_get0_data(asn_time); ++ memcpy(buf, time_data, time_len); ++ buf[time_len] = '\0'; + vp = fr_pair_make(talloc_ctx, certs, cert_attr_names[FR_TLS_VALID_SINCE][lookup], buf, T_OP_SET); + rdebug_pair(L_DBG_LVL_2, request, vp, NULL); + }
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 30/84] package/freeradius-server: Add support for OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc David GOUARIN <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 31/84 package/freeswitch: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...robe-TLS_method-to-detect-libssl-Ope.patch | 38 +++++++++++ ...tem-Fix-build-against-OpenSSL-4-3185.patch | 67 +++++++++++++++++++ package/freeswitch/freeswitch.mk | 3 + 3 files changed, 108 insertions(+) create mode 100644 package/freeswitch/0004-sac-openssl.m4-probe-TLS_method-to-detect-libssl-Ope.patch create mode 100644 package/freeswitch/0005-Build-System-Fix-build-against-OpenSSL-4-3185.patch
package/freeswitch/0004-sac-openssl.m4-probe-TLS_method-to-detect-libssl-Ope.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Bradley Reid <[email protected]> +Date: Fri, 2 Oct 2026 09:43:47 -0400 +Subject: [PATCH] sac-openssl.m4: probe TLS_method to detect libssl (OpenSSL 4) + +SAC_OPENSSL decides whether libssl is usable with +AC_CHECK_LIB(ssl, TLSv1_method). OpenSSL 4.0 removed the fixed-version +method functions, so the probe fails there, HAVE_TLS is cleared and -lssl +is not added to LIBS. With #3185 applied configure then succeeds but the +build stops when linking mod_sofia's test program: + + undefined reference to symbol 'SSL_CTX_check_private_key@@OPENSSL_4.0.0' + +TLS_method is available from OpenSSL 1.1.0 on. + +Upstream: https://github.com/signalwire/freeswitch/pull/3211 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + build/config/sac-openssl.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/config/sac-openssl.m4 b/build/config/sac-openssl.m4 +index 289d3e132e..76ba9f2f22 100644 +--- a/build/config/sac-openssl.m4 ++++ b/build/config/sac-openssl.m4 +@@ -30,7 +30,7 @@ else + HAVE_OPENSSL=0 + AC_MSG_WARN(OpenSSL crypto library was not found)) + +- AC_CHECK_LIB(ssl, TLSv1_method,, ++ AC_CHECK_LIB(ssl, TLS_method,, + HAVE_TLS=0 + AC_MSG_WARN(OpenSSL protocol library was not found)) + ],[AC_MSG_WARN(OpenSSL include files were not found)],[#include <openssl/safestack.h>]) +-- +2.47.3 +
package/freeswitch/0005-Build-System-Fix-build-against-OpenSSL-4-3185.patch new file +67 -0
67 lines not on this page · raw message
package/freeswitch/freeswitch.mk +3 -0
@@ -7,6 +7,9 @@ FREESWITCH_VERSION = 1.11.3 FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).-release.tar.xz FREESWITCH_SITE = https://files.freeswitch.org/freeswitch-releases +# 0004-sac-openssl.m4-probe-TLS_method-to-detect-libssl-Ope.patch +# 0005-Build-System-Fix-build-against-OpenSSL-4-3185.patch +FREESWITCH_AUTORECONF = YES # External modules need headers/libs from staging FREESWITCH_INSTALL_STAGING = YES FREESWITCH_LICENSE = MPL-1.1, \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 31/84] package/freeswitch: Add support for OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 32/84 package/ibm-sw-tpm2: Fix build with OpenSSL 4.{0, 1}
In reply to Bernd Kuhls--- .../0002-tpm-Update-to-OpenSSL-4.1.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/ibm-sw-tpm2/0002-tpm-Update-to-OpenSSL-4.1.patch
package/ibm-sw-tpm2/0002-tpm-Update-to-OpenSSL-4.1.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 66921ee5ba05ffb92700b00f17cf1e8b75522aee Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sun, 13 Sep 2026 11:11:24 +0200 +Subject: [PATCH] tpm: Update to OpenSSL 4.1 + +Upstream: https://github.com/kgoldman/ibmswtpm2/pull/24 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/BnToOsslMath.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/BnToOsslMath.h b/src/BnToOsslMath.h +index 731957e..345d29f 100644 +--- a/src/BnToOsslMath.h ++++ b/src/BnToOsslMath.h +@@ -77,7 +77,7 @@ + #include <openssl/ec.h> + #include <openssl/bn.h> + +-#if OPENSSL_VERSION_NUMBER >= 0x30600ff0L ++#if OPENSSL_VERSION_NUMBER >= 0x40100ff0L + // Check the bignum_st definition against the one below and either update the + // version check or provide the new definition for this version. + # error Untested OpenSSL version +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 32/84] package/ibm-sw-tpm2: Fix build with OpenSSL 4.{0, 1}
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Philippe Reynes <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 33/84 package/ibrdtnd: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...ateManager.cpp-fix-build-with-OpenSS.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/ibrdtnd/0003-SecurityCertificateManager.cpp-fix-build-with-OpenSS.patch
package/ibrdtnd/0003-SecurityCertificateManager.cpp-fix-build-with-OpenSS.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 7dce31ed85b2e2299e63e7704ae2ffa7ce08d1c5 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Tue, 1 Sep 2026 22:44:06 +0200 +Subject: [PATCH] SecurityCertificateManager.cpp: fix build with OpenSSL 4.0.0 + +https://github.com/openssl/openssl/issues/29117 + +Upstream: https://github.com/ibrdtn/ibrdtn/pull/287 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/security/SecurityCertificateManager.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/security/SecurityCertificateManager.cpp b/src/security/SecurityCertificateManager.cpp +index f2bbb017..0093d418 100644 +--- a/src/security/SecurityCertificateManager.cpp ++++ b/src/security/SecurityCertificateManager.cpp +@@ -146,8 +146,8 @@ namespace dtn + throw SecurityCertificateException("certificate or common-name is empty"); + } + +- X509_NAME *cert_name; +- X509_NAME_ENTRY *name_entry; ++ const X509_NAME *cert_name; ++ const X509_NAME_ENTRY *name_entry; + ASN1_STRING *eid_string; + int lastpos = -1; + unsigned char *utf8_eid; +@@ -188,7 +188,7 @@ namespace dtn + } + + /* retrieve the string */ +- ASN1_STRING *asn1 = X509_NAME_ENTRY_get_data(name_entry); ++ const ASN1_STRING *asn1 = X509_NAME_ENTRY_get_data(name_entry); + if(!asn1){ + IBRCOMMON_LOGGER_TAG(SecurityCertificateManager::TAG, error) << "X509_NAME_ENTRY_get_data returned NULL unexpectedly." << IBRCOMMON_LOGGER_ENDL; + continue; +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 33/84] package/ibrdtnd: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 34/84 package/lftp: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../0002-allow-build-with-OpenSSL-4.x.patch | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 package/lftp/0002-allow-build-with-OpenSSL-4.x.patch
package/lftp/0002-allow-build-with-OpenSSL-4.x.patch new file +56 -0
@@ -0,0 +1,56 @@ +From e5d53bcb31b1f3792c6ab321e20d566b9a4ff0a5 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum <[email protected]> +Date: Sat, 21 Mar 2026 03:56:46 +0000 +Subject: [PATCH] allow build with OpenSSL 4.x + +Upstream: https://github.com/lavv17/lftp/commit/e5d53bcb31b1f3792c6ab321e20d566b9a4ff0a5 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/lftp_ssl.cc | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index f53edf24..49328f74 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -1022,8 +1022,8 @@ const char *lftp_ssl_openssl::strerror() + int lftp_ssl_openssl::verify_crl(X509_STORE_CTX *ctx) + { + X509_OBJECT *obj=0; +- X509_NAME *subject=0; +- X509_NAME *issuer=0; ++ const X509_NAME *subject=0; ++ const X509_NAME *issuer=0; + X509 *xs=0; + X509_CRL *crl=0; + X509_REVOKED *revoked=0; +@@ -1436,7 +1436,7 @@ void lftp_ssl_openssl::check_certificate() + unsigned char *nulstr = (unsigned char *)""; + unsigned char *peer_CN = nulstr; + +- X509_NAME *name = X509_get_subject_name(server_cert) ; ++ const X509_NAME *name = X509_get_subject_name(server_cert) ; + if(name) + while((j = X509_NAME_get_index_by_NID(name, NID_commonName, i))>=0) + i=j; +@@ -1446,7 +1446,7 @@ void lftp_ssl_openssl::check_certificate() + UTF8 etc. */ + + if(i>=0) { +- ASN1_STRING *tmp = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name,i)); ++ const ASN1_STRING *tmp = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name,i)); + + /* In OpenSSL 0.9.7d and earlier, ASN1_STRING_to_UTF8 fails if the input + is already UTF-8 encoded. We check for this case and copy the raw +@@ -1522,8 +1522,8 @@ int lftp_ssl_openssl::verify_callback(int ok,X509_STORE_CTX *ctx) + if(cert!=prev_cert) + { + int depth = X509_STORE_CTX_get_error_depth(ctx); +- X509_NAME *subject = X509_get_subject_name(cert); +- X509_NAME *issuer = X509_get_issuer_name(cert); ++ const X509_NAME *subject = X509_get_subject_name(cert); ++ const X509_NAME *issuer = X509_get_issuer_name(cert); + char *subject_line = X509_NAME_oneline(subject, NULL, 0); + char *issuer_line = X509_NAME_oneline(issuer, NULL, 0); + Log::global->Format(3,"Certificate depth: %d; subject: %s; issuer: %s\n",
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 34/84] package/lftp: Add support for OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Fabrice Fontaine <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 35/84 package/libesmtp: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...-with-OpenSSL-4.0-opaque-ASN1_STRING.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/libesmtp/0001-Fix-build-with-OpenSSL-4.0-opaque-ASN1_STRING.patch
package/libesmtp/0001-Fix-build-with-OpenSSL-4.0-opaque-ASN1_STRING.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 0705423e2596a21e2d4e1f3fd492792956a4bad3 Mon Sep 17 00:00:00 2001 +From: Ravi Kant Sharma <[email protected]> +Date: Tue, 28 Jul 2026 20:35:48 +0200 +Subject: [PATCH] Fix build with OpenSSL 4.0 opaque ASN1_STRING + +OpenSSL 4.0 made ASN1_STRING opaque, so direct access to ->data and +->length fields no longer compiles. Use ASN1_STRING_get0_data() and +ASN1_STRING_length() accessors which are available since OpenSSL 1.1.0. + +Fixes #33 + +Upstream: https://github.com/libesmtp/libESMTP/pull/34 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + smtp-tls.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/smtp-tls.c b/smtp-tls.c +index 9f3e50e..981284e 100644 +--- a/smtp-tls.c ++++ b/smtp-tls.c +@@ -599,8 +599,8 @@ check_acceptable_security (smtp_session_t session, SSL *ssl) + + if (name->type == GEN_DNS) + { +- const char *ia5str = (const char *) name->d.ia5->data; +- size_t ia5len = name->d.ia5->length; ++ const char *ia5str = (const char *) ASN1_STRING_get0_data(name->d.ia5); ++ size_t ia5len = ASN1_STRING_length(name->d.ia5); + + hasaltname = 1; + if (strlen (ia5str) == ia5len && match_domain (host, ia5str)) +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 35/84] package/libesmtp: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 36/84 package/libkrb5: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...eck_host-to-verify-KKDCP-server-cert.patch | 252 ++++++++++++++ ...Improve-future-OpenSSL-compatibility.patch | 327 ++++++++++++++++++ 2 files changed, 579 insertions(+) create mode 100644 package/libkrb5/0002-Use-X509_check_host-to-verify-KKDCP-server-cert.patch create mode 100644 package/libkrb5/0003-Improve-future-OpenSSL-compatibility.patch
package/libkrb5/0002-Use-X509_check_host-to-verify-KKDCP-server-cert.patch new file +252 -0
@@ -0,0 +1,252 @@ +From f5bbfa4821cf590a4748f96d0e016bc0485e95c4 Mon Sep 17 00:00:00 2001 +From: Greg Hudson <[email protected]> +Date: Wed, 25 Feb 2026 19:05:40 -0500 +Subject: [PATCH] Use X509_check_host() to verify KKDCP server cert + +In the k5tls module, rely on X509_check_host() and +X509_check_ip_asc(), which were added in OpenSSL 1.0.2, instead of +doing our own verification. + +There is one notable difference in behavior: X509_check_host() admits +wildcards with a prefix or suffix (but not both) within the label, +like "kdc*.mydomain.com". The old code only allows a wildcard to +match a complete label. + +ticket: 9198 (new) + +Upstream: https://github.com/krb5/krb5/commit/f5bbfa4821cf590a4748f96d0e016bc0485e95c4 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/plugins/tls/k5tls/openssl.c | 211 +------------------------------- + 1 file changed, 6 insertions(+), 205 deletions(-) + +diff --git a/src/plugins/tls/k5tls/openssl.c b/src/plugins/tls/k5tls/openssl.c +index aab67c01cbc..42d72dc9ec2 100644 +--- a/src/plugins/tls/k5tls/openssl.c ++++ b/src/plugins/tls/k5tls/openssl.c +@@ -71,218 +71,19 @@ flush_errors(krb5_context context) + } + } + +-/* Return the passed-in character, lower-cased if it's an ASCII character. */ +-static inline char +-ascii_tolower(char p) +-{ +- if (KRB5_UPPER(p)) +- return p + ('a' - 'A'); +- return p; +-} +- +-/* +- * Check a single label. If allow_wildcard is true, and the presented name +- * includes a wildcard, return true and note that we matched a wildcard. +- * Otherwise, for both the presented and expected values, do a case-insensitive +- * comparison of ASCII characters, and a case-sensitive comparison of +- * everything else. +- */ +-static krb5_boolean +-label_match(const char *presented, size_t plen, const char *expected, +- size_t elen, krb5_boolean allow_wildcard, krb5_boolean *wildcard) +-{ +- unsigned int i; +- +- if (allow_wildcard && plen == 1 && presented[0] == '*') { +- *wildcard = TRUE; +- return TRUE; +- } +- +- if (plen != elen) +- return FALSE; +- +- for (i = 0; i < elen; i++) { +- if (ascii_tolower(presented[i]) != ascii_tolower(expected[i])) +- return FALSE; +- } +- return TRUE; +-} +- +-/* Break up the two names and check them, label by label. */ +-static krb5_boolean +-domain_match(const char *presented, size_t plen, const char *expected) +-{ +- const char *p, *q, *r, *s; +- int n_label; +- krb5_boolean used_wildcard = FALSE; +- +- n_label = 0; +- p = presented; +- r = expected; +- while (p < presented + plen && *r != '\0') { +- q = memchr(p, '.', plen - (p - presented)); +- if (q == NULL) +- q = presented + plen; +- s = r + strcspn(r, "."); +- if (!label_match(p, q - p, r, s - r, n_label == 0, &used_wildcard)) +- return FALSE; +- p = q < presented + plen ? q + 1 : q; +- r = *s ? s + 1 : s; +- n_label++; +- } +- if (used_wildcard && n_label <= 2) +- return FALSE; +- if (p == presented + plen && *r == '\0') +- return TRUE; +- return FALSE; +-} +- +-/* Fetch the list of subjectAltNames from a certificate. */ +-static GENERAL_NAMES * +-get_cert_sans(X509 *x) +-{ +- int ext; +- X509_EXTENSION *san_ext; +- +- ext = X509_get_ext_by_NID(x, NID_subject_alt_name, -1); +- if (ext < 0) +- return NULL; +- san_ext = X509_get_ext(x, ext); +- if (san_ext == NULL) +- return NULL; +- return X509V3_EXT_d2i(san_ext); +-} +- +-/* Fetch a CN value from the subjct name field, returning its length, or -1 if +- * there is no subject name or it contains no CN value. */ +-static int +-get_cert_cn(X509 *x, char *buf, size_t bufsize) +-{ +- X509_NAME *name; +- +- name = X509_get_subject_name(x); +- if (name == NULL) +- return -1; +- return X509_NAME_get_text_by_NID(name, NID_commonName, buf, bufsize); +-} +- +-/* Return true if text matches any of the addresses we can recover from x. */ +-static krb5_boolean +-check_cert_address(X509 *x, const char *text) +-{ +- char buf[1024]; +- GENERAL_NAMES *sans; +- GENERAL_NAME *san = NULL; +- ASN1_OCTET_STRING *ip; +- krb5_boolean found_ip_san = FALSE, matched = FALSE; +- int n_sans, i; +- int name_length; +- struct in_addr sin; +- struct in6_addr sin6; +- +- /* Parse the IP address into an octet string. */ +- ip = ASN1_OCTET_STRING_new(); +- if (ip == NULL) +- return FALSE; +- if (inet_pton(AF_INET, text, &sin)) { +- ASN1_OCTET_STRING_set(ip, (unsigned char *)&sin, sizeof(sin)); +- } else if (inet_pton(AF_INET6, text, &sin6)) { +- ASN1_OCTET_STRING_set(ip, (unsigned char *)&sin6, sizeof(sin6)); +- } else { +- ASN1_OCTET_STRING_free(ip); +- return FALSE; +- } +- +- /* Check for matches in ipaddress subjectAltName values. */ +- sans = get_cert_sans(x); +- if (sans != NULL) { +- n_sans = sk_GENERAL_NAME_num(sans); +- for (i = 0; i < n_sans; i++) { +- san = sk_GENERAL_NAME_value(sans, i); +- if (san->type != GEN_IPADD) +- continue; +- found_ip_san = TRUE; +- matched = (ASN1_OCTET_STRING_cmp(ip, san->d.iPAddress) == 0); +- if (matched) +- break; +- } +- sk_GENERAL_NAME_pop_free(sans, GENERAL_NAME_free); +- } +- ASN1_OCTET_STRING_free(ip); +- +- if (found_ip_san) +- return matched; +- +- /* Check for a match against the CN value in the peer's subject name. */ +- name_length = get_cert_cn(x, buf, sizeof(buf)); +- if (name_length >= 0) { +- /* Do a string compare to check if it's an acceptable value. */ +- return strlen(text) == (size_t)name_length && +- strncmp(text, buf, name_length) == 0; +- } +- +- /* We didn't find a match. */ +- return FALSE; +-} +- +-/* Return true if expected matches any of the names we can recover from x. */ +-static krb5_boolean +-check_cert_servername(X509 *x, const char *expected) +-{ +- char buf[1024]; +- GENERAL_NAMES *sans; +- GENERAL_NAME *san = NULL; +- unsigned char *dnsname; +- krb5_boolean found_dns_san = FALSE, matched = FALSE; +- int name_length, n_sans, i; +- +- /* Check for matches in dnsname subjectAltName values. */ +- sans = get_cert_sans(x); +- if (sans != NULL) { +- n_sans = sk_GENERAL_NAME_num(sans); +- for (i = 0; i < n_sans; i++) { +- san = sk_GENERAL_NAME_value(sans, i); +- if (san->type != GEN_DNS) +- continue; +- found_dns_san = TRUE; +- dnsname = NULL; +- name_length = ASN1_STRING_to_UTF8(&dnsname, san->d.dNSName); +- if (dnsname == NULL) +- continue; +- matched = domain_match((char *)dnsname, name_length, expected); +- OPENSSL_free(dnsname); +- if (matched) +- break; +- } +- sk_GENERAL_NAME_pop_free(sans, GENERAL_NAME_free); +- } +- +- if (matched) +- return TRUE; +- if (found_dns_san) +- return matched; +- +- /* Check for a match against the CN value in the peer's subject name. */ +- name_length = get_cert_cn(x, buf, sizeof(buf)); +- if (name_length >= 0) +- return domain_match(buf, name_length, expected); +- +- /* We didn't find a match. */ +- return FALSE; +-} +- + static krb5_boolean + check_cert_name_or_ip(X509 *x, const char *expected_name) + { + struct in_addr in; + struct in6_addr in6; ++ int r; + + if (inet_pton(AF_INET, expected_name, &in) != 0 || +- inet_pton(AF_INET6, expected_name, &in6) != 0) { +- return check_cert_address(x, expected_name); +- } else { +- return check_cert_servername(x, expected_name); +- } ++ inet_pton(AF_INET6, expected_name, &in6) != 0) ++ r = X509_check_ip_asc(x, expected_name, 0); ++ else ++ r = X509_check_host(x, expected_name, 0, 0, NULL); ++ return r == 1; + } + + static int
package/libkrb5/0003-Improve-future-OpenSSL-compatibility.patch new file +327 -0
327 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 36/84] package/libkrb5: Add support for OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc André Zwing <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 37/84 package/luvi: fix build without c++
In reply to Bernd KuhlsBuildroot commit 00317f0aff243986983650671fd220ab040af50f bumped the package to 2.15.0 which first included upstream commit
https://github.com/luvit/luvi/commit/262d5f7dff3484285cd8b3bf2ed32ff0f13c8741
that added the miniz submodule.
The version of miniz used by luvi contains commit
https://github.com/richgel999/miniz/commit/05ab4dc05c9d1e1f951f5849b659e2c7e291a620
which removed "C" from the project variable causing a dependency to c++ which causes build errors when the toolchain does not support c++:
-- Check for working CXX compiler: /bin/false - broken
This dependency was not intended so we add an upstream commit to fix the problem.
Fixes:
https://autobuild.buildroot.net/results/2a5/2a5cf09dc9303b11e2a2769c5b0b319284ec1bbb/
--- ...eLists.txt-only-require-a-C-compiler.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch
package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch new file +47 -0
@@ -0,0 +1,47 @@ +From 383e551cccf41fc2ce1177712d6a37a85d936642 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <[email protected]> +Date: Tue, 1 Apr 2025 22:56:00 +0200 +Subject: [PATCH] CMakeLists.txt: only require a C compiler + +Commit 05ab4dc05c9d1e1f951f5849b659e2c7e291a620 +"Add some catch2 tests" dropped that C flag, +but should instead only have added a simple +enable_language call for tests only. + +Signed-off-by: Thomas Devoogdt <[email protected]> + +Upstream: https://github.com/richgel999/miniz/commit/383e551cccf41fc2ce1177712d6a37a85d936642 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + deps/miniz/CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/deps/miniz/CMakeLists.txt b/deps/miniz/CMakeLists.txt +index 156df83..e0933f8 100644 +--- a/deps/miniz/CMakeLists.txt ++++ b/deps/miniz/CMakeLists.txt +@@ -7,10 +7,10 @@ if(DEFINED PROJECT_NAME) + endif() + + if(CMAKE_MINOR_VERSION LESS 12) +- project(miniz) ++ project(miniz C) + # see issue https://gitlab.kitware.com/cmake/cmake/merge_requests/1799 + else() +- project(miniz) ++ project(miniz C) + set(CMAKE_C_STANDARD 90) + set(CMAKE_VERBOSE_MAKEFILE ON) + # set(CMAKE_C_VISIBILITY_PRESET hidden) +@@ -309,6 +309,7 @@ if(BUILD_FUZZERS) + endif() + + if(BUILD_TESTS) ++ enable_language(CXX) + set(CMAKE_CXX_STANDARD 20) + set(CMAKE_CXX_STANDARD_REQUIRED YES) + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v8 37/84] package/luvi: fix build without c++
Quoted 12 lines · Bernd Kuhls
Buildroot commit
00317f0aff243986983650671fd220ab040af50fbumped the package to 2.15.0 which first included upstream commit
https://github.com/luvit/luvi/commit/262d5f7dff3484285cd8b3bf2ed32ff0f13c8741
that added the miniz submodule.The version of miniz used by luvi contains commit
https://github.com/richgel999/miniz/commit/05ab4dc05c9d1e1f951f5849b659e2c7e291a620
which removed "C" from the project variable causing a dependency to c++ which causes build errors when the toolchain does not support c++:-- Check for working CXX compiler:
/bin/false- broken
Quoted 7 lines
This dependency was not intended so we add an upstream commit to fix the problem.
Fixes:
https://autobuild.buildroot.net/results/2a5/2a5cf09dc9303b11e2a2769c5b0b319284ec1bbb/Signed-off-by Bernd Kuhls <[email protected]>
The patch wasn't applying (I think you didn't backport it to the version of miniz that was in luvi as of v2.15.0), so I had to fix it up. Applied with this fixed up.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedRe: [Buildroot] [PATCH v8 37/84] package/luvi: fix build without c++
In reply to Bernd KuhlsIn reply of:
Quoted 12 lines
Buildroot commit
00317f0aff243986983650671fd220ab040af50fbumped the package to 2.15.0 which first included upstream commit
https://github.com/luvit/luvi/commit/262d5f7dff3484285cd8b3bf2ed32ff0f13c8741
that added the miniz submodule.The version of miniz used by luvi contains commit
https://github.com/richgel999/miniz/commit/05ab4dc05c9d1e1f951f5849b659e2c7e291a620
which removed "C" from the project variable causing a dependency to c++ which causes build errors when the toolchain does not support c++:-- Check for working CXX compiler:
/bin/false- broken
Quoted 7 lines
This dependency was not intended so we add an upstream commit to fix the problem.
Fixes:
https://autobuild.buildroot.net/results/2a5/2a5cf09dc9303b11e2a2769c5b0b319284ec1bbb/Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 48 lines
--- ...eLists.txt-only-require-a-C-compiler.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patchpackage/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch new file +37
-0@@ -0,0 +1,47 @@ +From 383e551cccf41fc2ce1177712d6a37a85d936642 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <[email protected]> +Date: Tue, 1 Apr 2025 22:56:00 +0200 +Subject: [PATCH] CMakeLists.txt: only require a C compiler + +Commit 05ab4dc05c9d1e1f951f5849b659e2c7e291a620 +"Add some catch2 tests" dropped that C flag, +but should instead only have added a simple +enable_language call for tests only. + +Signed-off-by: Thomas Devoogdt <[email protected]> + +Upstream: https://github.com/richgel999/miniz/commit/383e551cccf41fc2ce1177712d6a37a85d936642 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + deps/miniz/CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/deps/miniz/CMakeLists.txt b/deps/miniz/CMakeLists.txt +index 156df83..e0933f8 100644 +--- a/deps/miniz/CMakeLists.txt ++++ b/deps/miniz/CMakeLists.txt +@@ -7,10 +7,10 @@ if(DEFINED PROJECT_NAME) + endif() + + if(CMAKE_MINOR_VERSION LESS 12) +- project(miniz) ++ project(miniz C) + # see issue https://gitlab.kitware.com/cmake/cmake/merge_requests/1799 + else() +- project(miniz) ++ project(miniz C) + set(CMAKE_C_STANDARD 90) + set(CMAKE_VERBOSE_MAKEFILE ON) + # set(CMAKE_C_VISIBILITY_PRESET hidden) +@@ -309,6 +309,7 @@ if(BUILD_FUZZERS)
package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch line 47
Quoted 10 lines
package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch new file +10
-0+ endif() + + if(BUILD_TESTS) ++ enable_language(CXX) + set(CMAKE_CXX_STANDARD 20) + set(CMAKE_CXX_STANDARD_REQUIRED YES) + +-- +2.47.3 +
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 38/84 package/luvi: bump version to 102-g9fa6c141a
In reply to Bernd KuhlsThis bump includes a bump of the lua-openssl submodule
https://github.com/luvit/luvi/commit/98fa10f2823d4a9bb93306bf445d596aa8c4a75f
which is a prerequisite for the upcoming bump of OpenSSL to 4.0.2.
Removed patches 0001 & 0002 which are included in this bump.
Renumbered and rebased remaining patch.
---
...Lists.txt-only-require-a-C-compiler.patch} | 9 ++-
...ly-disable-GCC-diagnostics-in-ocsp.c.patch | 80 -------------------
...isable-Wincompatible-pointer-types-f.patch | 54 -------------
package/luvi/luvi.hash | 2 +-
package/luvi/luvi.mk | 2 +-
5 files changed, 7 insertions(+), 140 deletions(-)
rename package/luvi/{0003-CMakeLists.txt-only-require-a-C-compiler.patch => 0001-CMakeLists.txt-only-require-a-C-compiler.patch} (89%)
delete mode 100644 package/luvi/0001-Selectively-disable-GCC-diagnostics-in-ocsp.c.patch
delete mode 100644 package/luvi/0002-CMakeLists.txt-disable-Wincompatible-pointer-types-f.patchpackage/luvi/0001-CMakeLists.txt-only-require-a-C-compiler.patch renamed from package/luvi/0003-CMakeLists.txt-only-require-a-C-compiler.patch +5 -4
@@ -12,6 +12,7 @@ Signed-off-by: Thomas Devoogdt <[email protected]> Upstream: https://github.com/richgel999/miniz/commit/383e551cccf41fc2ce1177712d6a37a85d936642 +[Bernd: rebased for 102-g9fa6c141a] Signed-off-by: Bernd Kuhls <[email protected]> --- deps/miniz/CMakeLists.txt | 5 +++--
@@ -34,14 +35,14 @@ index 156df83..e0933f8 100644 set(CMAKE_C_STANDARD 90) set(CMAKE_VERBOSE_MAKEFILE ON) # set(CMAKE_C_VISIBILITY_PRESET hidden) -@@ -309,6 +309,7 @@ if(BUILD_FUZZERS) +@@ -298,6 +298,7 @@ if(BUILD_FUZZERS) endif() if(BUILD_TESTS) + enable_language(CXX) - set(CMAKE_CXX_STANDARD 20) - set(CMAKE_CXX_STANDARD_REQUIRED YES) - + set(CMAKE_CXX_STANDARD 20) + set(CMAKE_CXX_STANDARD_REQUIRED YES) + -- 2.47.3
package/luvi/0001-Selectively-disable-GCC-diagnostics-in-ocsp.c.patch deleted +0 -80
80 lines not on this page · raw message
package/luvi/0002-CMakeLists.txt-disable-Wincompatible-pointer-types-f.patch deleted +0 -54
54 lines not on this page · raw message
package/luvi/luvi.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 f933bf1899a5419b26d46d7f111aaa50101831922716ffaed62e355b1bc9de1d luvi-v2.15.0-git4.tar.gz +sha256 8dee14773ffa59e3015c2f3923d4fb62f0021961aa5669373f6bcf553847c73b luvi-102-g9fa6c141abf24a5a7fe49ca39335210fa1be3ab4-git4.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
package/luvi/luvi.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LUVI_VERSION = v2.15.0 +LUVI_VERSION = 102-g9fa6c141abf24a5a7fe49ca39335210fa1be3ab4 LUVI_SITE = https://github.com/luvit/luvi.git LUVI_SITE_METHOD = git LUVI_GIT_SUBMODULES = YES
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 38/84] package/luvi: bump version to 102-g9fa6c141a
Quoted 9 lines · Bernd Kuhls
This bump includes a bump of the lua-openssl submodule
https://github.com/luvit/luvi/commit/98fa10f2823d4a9bb93306bf445d596aa8c4a75f
which is a prerequisite for the upcoming bump of OpenSSL to 4.0.2.Removed patches 0001 & 0002 which are included in this bump.
Renumbered and rebased remaining patch.
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 39/84 package/luvi: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../luvi/0002-feat-support-openssl-4.0.patch | 403 ++++++++++++++++++ 1 file changed, 403 insertions(+) create mode 100644 package/luvi/0002-feat-support-openssl-4.0.patch
package/luvi/0002-feat-support-openssl-4.0.patch new file +403 -0
@@ -0,0 +1,403 @@ +From 529b4a42eeb2b77f8f8c829f856977c5b50d0b7b Mon Sep 17 00:00:00 2001 +From: zhaozg <[email protected]> +Date: Thu, 16 Apr 2026 14:04:32 +0800 +Subject: [PATCH] feat: support openssl 4.0 + +Upstream: https://github.com/zhaozg/lua-openssl/commit/529b4a42eeb2b77f8f8c829f856977c5b50d0b7b + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + deps/lua-openssl/src/asn1.c | 59 +++++++++++++++++++++++++++++++------------------ + deps/lua-openssl/src/crl.c | 9 ++++---- + deps/lua-openssl/src/csr.c | 30 +++++++++++++++++-------- + deps/lua-openssl/src/openssl.c | 2 ++ + deps/lua-openssl/src/private.h | 2 +- + deps/lua-openssl/src/ssl.c | 2 +- + deps/lua-openssl/src/x509.c | 2 +- + deps/lua-openssl/src/xalgor.c | 2 +- + deps/lua-openssl/src/xname.c | 2 +- + deps/lua-openssl/test/helper.lua | 2 +- + 10 files changed, 71 insertions(+), 41 deletions(-) + +diff --git a/deps/lua-openssl/src/asn1.c b/deps/lua-openssl/src/asn1.c +index d7972738..566d78ee 100644 +--- a/deps/lua-openssl/src/asn1.c ++++ b/deps/lua-openssl/src/asn1.c +@@ -499,7 +499,14 @@ openssl_asn1object_new(lua_State *L) + ret = 1; + } + } else if (lua_isnone(L, 1)) { +- ASN1_OBJECT *obj = ASN1_OBJECT_new(); ++ /* ASN1_OBJECT_new() is deprecated in OpenSSL 4.0, ++ * but there's no direct replacement for creating an empty object. ++ * We create an object from a dummy NID instead. */ ++ ASN1_OBJECT *obj = OBJ_nid2obj(NID_undef); ++ if (obj == NULL) { ++ /* Fallback: create from empty string */ ++ obj = OBJ_txt2obj("", 1); ++ } + PUSH_OBJECT(obj, "openssl.asn1_object"); + ret = 1; + } +@@ -658,11 +665,13 @@ openssl_push_asn1type(lua_State *L, const ASN1_TYPE *type) + { + lua_newtable(L); + +-#define P(V, v) \ +- case V_##V: { \ +- V *s = (V *)type->value.ptr; \ +- AUXILIAR_SETLSTR(L, -1, "value", (const char *)s->data, s->length); \ +- break; \ ++#define P(V, v) \ ++ case V_##V: { \ ++ V *s = (V *)type->value.ptr; \ ++ AUXILIAR_SETLSTR(L, -1, "value", \ ++ (const char *)ASN1_STRING_get0_data(s), \ ++ ASN1_STRING_length(s)); \ ++ break; \ + } + + switch (type->type) { +@@ -695,7 +704,7 @@ openssl_push_asn1type(lua_State *L, const ASN1_TYPE *type) + + default: { + ASN1_STRING *s = (ASN1_STRING *)type->value.asn1_string; +- AUXILIAR_SETLSTR(L, -1, "value", (const char *)s->data, s->length); ++ AUXILIAR_SETLSTR(L, -1, "value", ASN1_STRING_get0_data(s), ASN1_STRING_length(s)); + break; + } + } +@@ -1004,8 +1013,9 @@ openssl_asn1group_set(lua_State *L) + { + ASN1_STRING *s = CHECK_GROUP(1, ASN1_STRING, "openssl.asn1group"); + int ret = 1; ++ int type = ASN1_STRING_type(s); + +- switch (s->type) { ++ switch (type) { + case V_ASN1_INTEGER: { + ASN1_INTEGER *ai = CHECK_OBJECT(1, ASN1_INTEGER, "openssl.asn1_integer"); + long v = luaL_checklong(L, 2); +@@ -1044,16 +1054,19 @@ static time_t + ASN1_TIME_get(ASN1_TIME *time, time_t off) + { + struct tm t; +- const char *str = (const char *)time->data; + size_t i = 0; ++ const char *str = (const char *)ASN1_STRING_get0_data(time); ++ size_t len = ASN1_STRING_length(time); ++ int type = ASN1_STRING_type(time); + ++ if (len < 13) return 0; /* Invalid time format */ + memset(&t, 0, sizeof(t)); + +- if (time->type == V_ASN1_UTCTIME) /* two digit year */ { ++ if (type == V_ASN1_UTCTIME) /* two digit year */ { + t.tm_year = (str[i++] - '0') * 10; + t.tm_year += (str[i++] - '0'); + if (t.tm_year < 70) t.tm_year += 100; +- } else if (time->type == V_ASN1_GENERALIZEDTIME) /* four digit year */ { ++ } else if (type == V_ASN1_GENERALIZEDTIME) /* four digit year */ { + t.tm_year = (str[i++] - '0') * 1000; + t.tm_year += (str[i++] - '0') * 100; + t.tm_year += (str[i++] - '0') * 10; +@@ -1086,7 +1099,7 @@ openssl_asn1group_get(lua_State *L) + { + ASN1_STRING *s = CHECK_GROUP(1, ASN1_STRING, "openssl.asn1group"); + int ret = 0; +- switch (s->type) { ++ switch (ASN1_STRING_type(s)) { + case V_ASN1_INTEGER: { + ASN1_INTEGER *ai = CHECK_OBJECT(1, ASN1_INTEGER, "openssl.asn1_integer"); + BIGNUM *bn = ASN1_INTEGER_to_BN(ai, NULL); +@@ -1128,7 +1141,7 @@ openssl_asn1group_i2d(lua_State *L) + break; \ + } + +- switch (s->type) { ++ switch (ASN1_STRING_type(s)) { + /* + P(ASN1_BOOLEAN); + case V_ASN1_BOOLEAN: +@@ -1220,7 +1233,7 @@ openssl_asn1group_d2i(lua_State *L) + break; \ + } + +- switch (s->type) { ++ switch (ASN1_STRING_type(s)) { + /* + P(ASN1_BOOLEAN); + case V_ASN1_BOOLEAN: +@@ -1374,7 +1387,8 @@ openssl_asn1group_eq(lua_State *L) + ASN1_STRING *s = CHECK_GROUP(1, ASN1_STRING, "openssl.asn1group"); + ASN1_STRING *ss = CHECK_GROUP(2, ASN1_STRING, "openssl.asn1group"); + +- lua_pushboolean(L, (s->type == ss->type && ASN1_STRING_cmp(s, ss) == 0)); ++ lua_pushboolean(L, (ASN1_STRING_type(s) == ASN1_STRING_type(ss) ++ && ASN1_STRING_cmp(s, ss) == 0)); + return 1; + } + +@@ -1434,7 +1448,7 @@ openssl_asn1group_toprint(lua_State *L) + unsigned long flags = luaL_optint(L, 2, 0); + BIO *out = BIO_new(BIO_s_mem()); + BUF_MEM *mem; +- switch (s->type) { ++ switch (ASN1_STRING_type(s)) { + case V_ASN1_UTCTIME: { + ASN1_TIME *a = (ASN1_TIME *)s; + ASN1_TIME_print(out, a); +@@ -1484,7 +1498,7 @@ static int + openssl_asn1group_dup(lua_State *L) + { + ASN1_STRING *s = CHECK_GROUP(1, ASN1_STRING, "openssl.asn1group"); +- openssl_push_asn1(L, s, s->type); ++ openssl_push_asn1(L, s, ASN1_STRING_type(s)); + return 1; + } + +@@ -1517,7 +1531,7 @@ openssl_asn1time_adj(lua_State *L) + int offset_day = luaL_optint(L, 3, 0); + long offset_sec = luaL_optlong(L, 4, 0); + +- switch (at->type) { ++ switch (ASN1_STRING_type(at)) { + case V_ASN1_UTCTIME: { + ASN1_UTCTIME *a = (ASN1_UTCTIME *)at; + ASN1_UTCTIME_adj(a, t, offset_day, offset_sec); +@@ -1549,7 +1563,7 @@ openssl_asn1time_diff(lua_State *L) + ASN1_TIME *from = CHECK_OBJECT(1, ASN1_TIME, "openssl.asn1_time"); + ASN1_TIME *to = lua_isnoneornil(L, 2) ? NULL : CHECK_OBJECT(2, ASN1_TIME, "openssl.asn1_time"); + +- luaL_argcheck(L, to->type == from->type, 2, "asn1_time with mismatched type"); ++ luaL_argcheck(L, ASN1_STRING_type(to) == ASN1_STRING_type(from), 2, "asn1_time with mismatched type"); + + ret = ASN1_TIME_diff(&day, &sec, from, to); + if (ret == 1) { +@@ -1644,12 +1658,13 @@ openssl_push_asn1object(lua_State *L, const ASN1_OBJECT *obj) + int + openssl_push_asn1(lua_State *L, const ASN1_STRING *string, int type) + { +- if ((string->type & V_ASN1_GENERALIZEDTIME) == V_ASN1_GENERALIZEDTIME && type == V_ASN1_UTCTIME) ++ int strType = ASN1_STRING_type(string); ++ if ((strType & V_ASN1_GENERALIZEDTIME) == V_ASN1_GENERALIZEDTIME && type == V_ASN1_UTCTIME) + type = V_ASN1_GENERALIZEDTIME; +- else if ((string->type & V_ASN1_UTCTIME) == V_ASN1_UTCTIME && type == V_ASN1_GENERALIZEDTIME) ++ else if ((strType & V_ASN1_UTCTIME) == V_ASN1_UTCTIME && type == V_ASN1_GENERALIZEDTIME) + type = V_ASN1_UTCTIME; + else if (type == V_ASN1_UNDEF) +- type = string->type; ++ type = strType; + + switch (type) { + case V_ASN1_INTEGER: { +diff --git a/deps/lua-openssl/src/crl.c b/deps/lua-openssl/src/crl.c +index 4950b4ca..2958daa0 100644 +--- a/deps/lua-openssl/src/crl.c ++++ b/deps/lua-openssl/src/crl.c +@@ -770,7 +770,7 @@ static int openssl_crl_parse(lua_State *L) + lua_setfield(L, -2, "sig_alg"); + } + +- if (sig != NULL && sig->length > 0) { ++ if (sig != NULL && ASN1_STRING_length(sig) > 0) { + PUSH_ASN1_STRING(L, sig); + lua_setfield(L, -2, "signature"); + } +@@ -995,16 +995,17 @@ static time_t + ASN1_GetTimeT(const ASN1_TIME *time) + { + struct tm t; +- const char *str = (const char *)time->data; ++ const char *str = ASN1_STRING_get0_data(time); ++ int type = ASN1_STRING_type(time); + size_t i = 0; + + memset(&t, 0, sizeof(t)); + +- if (time->type == V_ASN1_UTCTIME) /* two digit year */ { ++ if (type == V_ASN1_UTCTIME) /* two digit year */ { + t.tm_year = (str[i++] - '0') * 10; + t.tm_year += (str[i++] - '0'); + if (t.tm_year < 70) t.tm_year += 100; +- } else if (time->type == V_ASN1_GENERALIZEDTIME) /* four digit year */ { ++ } else if (type == V_ASN1_GENERALIZEDTIME) /* four digit year */ { + t.tm_year = (str[i++] - '0') * 1000; + t.tm_year += (str[i++] - '0') * 100; + t.tm_year += (str[i++] - '0') * 10; +diff --git a/deps/lua-openssl/src/csr.c b/deps/lua-openssl/src/csr.c +index b9aaeece..fd4743e8 100644 +--- a/deps/lua-openssl/src/csr.c ++++ b/deps/lua-openssl/src/csr.c +@@ -120,8 +120,8 @@ static int + copy_extensions(X509 *x, X509_REQ *req, int override) + { + STACK_OF(X509_EXTENSION) *exts = NULL; +- X509_EXTENSION *ext, *tmpext; +- ASN1_OBJECT *obj; ++ const X509_EXTENSION *ext, *tmpext; ++ const ASN1_OBJECT *obj; + int i, idx, ret = 0; + if (!x || !req) return 1; + exts = X509_REQ_get_extensions(req); +@@ -138,7 +138,7 @@ copy_extensions(X509 *x, X509_REQ *req, int override) + do { + tmpext = X509_get_ext(x, idx); + X509_delete_ext(x, idx); +- X509_EXTENSION_free(tmpext); ++ X509_EXTENSION_free((X509_EXTENSION*)tmpext); + idx = X509_get_ext_by_OBJ(x, obj, -1); + } while (idx != -1); + } +@@ -157,7 +157,7 @@ static int + X509_REQ_to_X509_ex(X509_REQ *r, int days, EVP_PKEY *pkey, const EVP_MD *md, X509 **x) + { + X509 *ret = NULL; +- X509_NAME *xn = NULL; ++ const X509_NAME *xn = NULL; + EVP_PKEY *pubkey = NULL; + ASN1_TIME *notBefore = NULL, *notAfter = NULL; + ASN1_INTEGER *serial = NULL; +@@ -412,9 +412,21 @@ static int openssl_csr_sign(lua_State *L) + /* + * In the interests of compatibility, I'll make sure that the bit string + * has a 'not-used bits' value of 0 ++ * ++ * Instead of directly manipulating the internal flags (which is not allowed ++ * in OpenSSL 4.0+), we use ASN1_BIT_STRING_set_bit to properly manage the ++ * unused bits count. Setting the last bit explicitly ensures the unused ++ * bits count is calculated correctly by OpenSSL. + */ +- sig->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); +- sig->flags |= ASN1_STRING_FLAG_BITS_LEFT; ++ if (siglen > 0) { ++ /* Set the last bit of the signature to its current value. ++ * This forces OpenSSL to recalculate and set the unused bits count ++ * to 0 (since the signature is byte-aligned). */ ++ int last_bit = (siglen * 8) - 1; ++ int bit_value = (sigdata[siglen - 1] & 1) ? 1 : 0; ++ ASN1_BIT_STRING_set_bit(sig, last_bit, bit_value); ++ } ++ + lua_pushboolean(L, 1); + return 1; + } else { +@@ -442,7 +454,7 @@ parse x509_req object as table + static int openssl_csr_parse(lua_State *L) + { + X509_REQ *csr = CHECK_OBJECT(1, X509_REQ, "openssl.x509_req"); +- X509_NAME *subject = X509_REQ_get_subject_name(csr); ++ const X509_NAME *subject = X509_REQ_get_subject_name(csr); + STACK_OF(X509_EXTENSION) *exts = X509_REQ_get_extensions(csr); + + lua_newtable(L); +@@ -457,7 +469,7 @@ static int openssl_csr_parse(lua_State *L) + PUSH_OBJECT(alg, "openssl.x509_algor"); + lua_setfield(L, -2, "sig_alg"); + } +- if (sig->length) { ++ if (sig) { + openssl_push_asn1(L, sig, V_ASN1_BIT_STRING); + lua_setfield(L, -2, "signature"); + } +@@ -585,7 +597,7 @@ static int openssl_csr_subject(lua_State *L) + int ret = 0; + + if (lua_isnone(L, 2)) { +- X509_NAME *xn = X509_REQ_get_subject_name(csr); ++ const X509_NAME *xn = X509_REQ_get_subject_name(csr); + if (xn) { + openssl_push_xname_asobject(L, xn); + ret = 1; +diff --git a/deps/lua-openssl/src/openssl.c b/deps/lua-openssl/src/openssl.c +index 42004449..985b342b 100644 +--- a/deps/lua-openssl/src/openssl.c ++++ b/deps/lua-openssl/src/openssl.c +@@ -544,7 +544,9 @@ openssl_initialize() + sizeof(LOPENSSL_VERSION LUA_VERSION OPENSSL_VERSION_TEXT)); + #else + OPENSSL_init_ssl(OPENSSL_INIT_ENGINE_ALL_BUILTIN | ++#if defined (OPENSSL_INIT_ENGINE_OPENSSL) + OPENSSL_INIT_ENGINE_OPENSSL | ++#endif + OPENSSL_INIT_LOAD_CRYPTO_STRINGS | + OPENSSL_INIT_LOAD_SSL_STRINGS | + OPENSSL_INIT_ADD_ALL_CIPHERS | +diff --git a/deps/lua-openssl/src/private.h b/deps/lua-openssl/src/private.h +index c6010209..00728c6a 100644 +--- a/deps/lua-openssl/src/private.h ++++ b/deps/lua-openssl/src/private.h +@@ -332,7 +332,7 @@ int openssl_push_x509_signature(lua_State *L, const X509_ALGOR *alg, const ASN1_ + #define PUSH_ASN1_OCTET_STRING(L, s) openssl_push_asn1(L, (ASN1_STRING*)(s), V_ASN1_OCTET_STRING) + #define PUSH_ASN1_STRING(L, s) openssl_push_asn1(L, (ASN1_STRING*)(s), V_ASN1_UNDEF) + +-int openssl_push_xname_asobject(lua_State*L, X509_NAME* xname); ++int openssl_push_xname_asobject(lua_State*L, const X509_NAME* xname); + int openssl_push_bit_string_bitname(lua_State* L, const BIT_STRING_BITNAME* name); + + ASN1_OBJECT* openssl_get_asn1object(lua_State*L, int idx, int retnil); +diff --git a/deps/lua-openssl/src/ssl.c b/deps/lua-openssl/src/ssl.c +index a71d71fd..9a8598fd 100644 +--- a/deps/lua-openssl/src/ssl.c ++++ b/deps/lua-openssl/src/ssl.c +@@ -158,7 +158,7 @@ openssl_ssl_ctx_new(lua_State *L) + method = TLSv1_client_method(); + #endif + +-#ifndef OPENSSL_NO_SSL3_METHOD ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_SSL3_METHOD) + else if (strcmp(meth, "SSLv3") == 0) + method = SSLv3_method(); + else if (strcmp(meth, "SSLv3_server") == 0) +diff --git a/deps/lua-openssl/src/x509.c b/deps/lua-openssl/src/x509.c +index 99096090..4dcc960e 100644 +--- a/deps/lua-openssl/src/x509.c ++++ b/deps/lua-openssl/src/x509.c +@@ -466,7 +466,7 @@ int openssl_push_x509_signature(lua_State *L, const X509_ALGOR *alg, const ASN1_ + if (sig != NULL) + { + lua_pushliteral(L, "sig"); +- lua_pushlstring(L, (const char *)sig->data, sig->length); ++ lua_pushlstring(L, ASN1_STRING_get0_data(sig), ASN1_STRING_length(sig)); + lua_rawset(L, i==0 ? -3 : i); + } + +diff --git a/deps/lua-openssl/src/xalgor.c b/deps/lua-openssl/src/xalgor.c +index 95957b6f..2d7c5668 100644 +--- a/deps/lua-openssl/src/xalgor.c ++++ b/deps/lua-openssl/src/xalgor.c +@@ -151,7 +151,7 @@ openssl_xalgor_set(lua_State *L) + obj = OBJ_dup(obj); + if (val) { + val = ASN1_STRING_dup(val); +- ret = X509_ALGOR_set0(alg, obj, val->type, val); ++ ret = X509_ALGOR_set0(alg, obj, ASN1_STRING_type(val), val); + } else { + ret = X509_ALGOR_set0(alg, obj, 0, NULL); + } +diff --git a/deps/lua-openssl/src/xname.c b/deps/lua-openssl/src/xname.c +index f2fa9be6..ed5939df 100644 +--- a/deps/lua-openssl/src/xname.c ++++ b/deps/lua-openssl/src/xname.c +@@ -10,7 +10,7 @@ x509.name module to mapping X509_NAME to lua object. + #include "sk.h" + + int +-openssl_push_xname_asobject(lua_State *L, X509_NAME *xname) ++openssl_push_xname_asobject(lua_State *L, const X509_NAME *xname) + { + const X509_NAME *dup = X509_NAME_dup(xname); + PUSH_OBJECT(dup, "openssl.x509_name"); +diff --git a/deps/lua-openssl/test/helper.lua b/deps/lua-openssl/test/helper.lua +index ea64feb7..0634ea3c 100644 +--- a/deps/lua-openssl/test/helper.lua ++++ b/deps/lua-openssl/test/helper.lua +@@ -6,7 +6,7 @@ local M = {} + M.luaopensslv, M.luav, M.opensslv = openssl.version() + M._luaopensslv, M._luav, M._opensslv = openssl.version(true) + M.libressl = M.opensslv:find("^LibreSSL") +-M.openssl3 = M.opensslv:find("^OpenSSL 3") ++M.openssl3 = M.opensslv:find("^OpenSSL 3") or M.opensslv:find("^OpenSSL 4") + + function M.sslProtocol(srv, protocol) + protocol = protocol or openssl.ssl.default
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 39/84] package/luvi: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 40/84 package/mender-artifact: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../0001-openssl-v4-update.patch | 180 ++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 package/mender-artifact/0001-openssl-v4-update.patch
package/mender-artifact/0001-openssl-v4-update.patch new file +180 -0
@@ -0,0 +1,180 @@ +Fix build with OpenSSL 4.0 + +Downloaded from Ubuntu: +https://git.launchpad.net/ubuntu/+source/golang-github-mendersoftware-openssl/tree/debian/patches/0004-openssl-v4-update.patch?h=applied/ubuntu/stonking-devel + +Upstream: not applicable, upstream moved to c++ in newer versions + +[Bernd: rebased for vendored download by buildroot infra] +Signed-off-by: Bernd Kuhls <[email protected]> + +diff -uNr mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/engine.go mender-3.5.3/vendor/github.com/mendersoftware/openssl/engine.go +--- mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/engine.go 2024-05-24 12:07:27.000000000 +0200 ++++ mender-3.5.3/vendor/github.com/mendersoftware/openssl/engine.go 2026-09-20 18:37:50.270612314 +0200 +@@ -15,6 +15,7 @@ + package openssl + + /* ++#include "shim.h" + #include "openssl/engine.h" + */ + import "C" +@@ -33,18 +34,18 @@ + cname := C.CString(name) + defer C.free(unsafe.Pointer(cname)) + e := &Engine{ +- e: C.ENGINE_by_id(cname), ++ e: C.X_ENGINE_by_id(cname), + } + if e.e == nil { + return nil, fmt.Errorf("engine %s missing", name) + } +- if C.ENGINE_init(e.e) == 0 { +- C.ENGINE_free(e.e) ++ if C.X_ENGINE_init(e.e) == 0 { ++ C.X_ENGINE_free(e.e) + return nil, fmt.Errorf("engine %s not initialized", name) + } + runtime.SetFinalizer(e, func(e *Engine) { +- C.ENGINE_finish(e.e) +- C.ENGINE_free(e.e) ++ C.X_ENGINE_finish(e.e) ++ C.X_ENGINE_free(e.e) + }) + return e, nil + } +diff -uNr mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/hostname.c mender-3.5.3/vendor/github.com/mendersoftware/openssl/hostname.c +--- mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/hostname.c 2024-05-24 12:07:27.000000000 +0200 ++++ mender-3.5.3/vendor/github.com/mendersoftware/openssl/hostname.c 2026-09-20 18:32:37.854514981 +0200 +@@ -6,6 +6,7 @@ + */ + + #include <openssl/x509.h> ++#include <openssl/x509v3.h> + + #ifndef X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT + +diff -uNr mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/key.go mender-3.5.3/vendor/github.com/mendersoftware/openssl/key.go +--- mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/key.go 2024-05-24 12:07:27.000000000 +0200 ++++ mender-3.5.3/vendor/github.com/mendersoftware/openssl/key.go 2026-09-20 18:38:13.462370202 +0200 +@@ -303,7 +303,7 @@ + keyID := C.CString(id) + defer C.free(unsafe.Pointer(keyID)) + +- key := C.ENGINE_load_private_key(e.e, keyID, nil, nil) ++ key := C.X_ENGINE_load_private_key(e.e, keyID, nil, nil) + if key == nil { + return nil, errors.New("cannot load private key, ENGINE_load_private_key error") + } +diff -uNr mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/shim.c mender-3.5.3/vendor/github.com/mendersoftware/openssl/shim.c +--- mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/shim.c 2024-05-24 12:07:27.000000000 +0200 ++++ mender-3.5.3/vendor/github.com/mendersoftware/openssl/shim.c 2026-09-20 18:36:02.855038372 +0200 +@@ -382,7 +382,9 @@ + int rc = 0; + + OPENSSL_config(NULL); ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) + ENGINE_load_builtin_engines(); ++#endif + SSL_load_error_strings(); + SSL_library_init(); + OpenSSL_add_all_algorithms(); +@@ -403,6 +405,46 @@ + return 0; + } + ++ENGINE *X_ENGINE_by_id(const char *id) { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) ++ return ENGINE_by_id(id); ++#else ++ return NULL; ++#endif ++} ++ ++int X_ENGINE_init(ENGINE *e) { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) ++ return ENGINE_init(e); ++#else ++ return 0; ++#endif ++} ++ ++int X_ENGINE_free(ENGINE *e) { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) ++ return ENGINE_free(e); ++#else ++ return 0; ++#endif ++} ++ ++int X_ENGINE_finish(ENGINE *e) { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) ++ return ENGINE_finish(e); ++#else ++ return 0; ++#endif ++} ++ ++EVP_PKEY *X_ENGINE_load_private_key(ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data) { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_ENGINE) ++ return ENGINE_load_private_key(e, key_id, ui_method, callback_data); ++#else ++ return NULL; ++#endif ++} ++ + void * X_OPENSSL_malloc(size_t size) { + return OPENSSL_malloc(size); + } +@@ -480,7 +522,7 @@ + } + + const SSL_METHOD *X_SSLv3_method() { +-#ifndef OPENSSL_NO_SSL3_METHOD ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_SSL3_METHOD) && !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(OPENSSL_NO_DEPRECATED_3_0) + return SSLv3_method(); + #else + return NULL; +@@ -488,11 +530,15 @@ + } + + const SSL_METHOD *X_TLSv1_method() { ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && !defined(OPENSSL_NO_TLS1_METHOD) && !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(OPENSSL_NO_DEPRECATED_3_0) + return TLSv1_method(); ++#else ++ return NULL; ++#endif + } + + const SSL_METHOD *X_TLSv1_1_method() { +-#if defined(TLS1_1_VERSION) && !defined(OPENSSL_SYSNAME_MACOSX) ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && defined(TLS1_1_VERSION) && !defined(OPENSSL_SYSNAME_MACOSX) && !defined(OPENSSL_NO_TLS1_1_METHOD) && !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(OPENSSL_NO_DEPRECATED_3_0) + return TLSv1_1_method(); + #else + return NULL; +@@ -500,7 +546,7 @@ + } + + const SSL_METHOD *X_TLSv1_2_method() { +-#if defined(TLS1_2_VERSION) && !defined(OPENSSL_SYSNAME_MACOSX) ++#if OPENSSL_VERSION_NUMBER < 0x40000000L && defined(TLS1_2_VERSION) && !defined(OPENSSL_SYSNAME_MACOSX) && !defined(OPENSSL_NO_TLS1_2_METHOD) && !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(OPENSSL_NO_DEPRECATED_3_0) + return TLSv1_2_method(); + #else + return NULL; +diff -uNr mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/shim.h mender-3.5.3/vendor/github.com/mendersoftware/openssl/shim.h +--- mender-3.5.3.orig/vendor/github.com/mendersoftware/openssl/shim.h 2024-05-24 12:07:27.000000000 +0200 ++++ mender-3.5.3/vendor/github.com/mendersoftware/openssl/shim.h 2026-09-20 18:38:33.117854985 +0200 +@@ -40,6 +40,13 @@ + /* shim methods */ + extern int X_shim_init(); + ++/* Engine methods */ ++extern ENGINE *X_ENGINE_by_id(const char *id); ++extern int X_ENGINE_init(ENGINE *e); ++extern int X_ENGINE_free(ENGINE *e); ++extern int X_ENGINE_finish(ENGINE *e); ++extern EVP_PKEY *X_ENGINE_load_private_key(ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data); ++ + /* Library methods */ + extern void X_OPENSSL_free(void *ref); + extern void *X_OPENSSL_malloc(size_t size);
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 40/84] package/mender-artifact: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Angelo Compagnucci <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 41/84 package/perl-net-ssleay: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../0002-Fix-SSLv3-in-OpenSSL-4.0.0.patch | 39 ++++ ...emove-support-for-some-TLS-functions.patch | 197 ++++++++++++++++++ ...SSLeay-to-support-opaque-ASN1_STRING.patch | 179 ++++++++++++++++ ...-removal-of-SSLv2-Client-Hello-suppo.patch | 66 ++++++ ...Net-SSLeay-OPENSSL_info-return-value.patch | 45 ++++ ...r-OPenSSL-4-support-and-update-tests.patch | 94 +++++++++ ...but-if-with-else-to-avoid-duplicate-.patch | 83 ++++++++ 7 files changed, 703 insertions(+) create mode 100644 package/perl-net-ssleay/0002-Fix-SSLv3-in-OpenSSL-4.0.0.patch create mode 100644 package/perl-net-ssleay/0003-OpenSSL-4.0.0-remove-support-for-some-TLS-functions.patch create mode 100644 package/perl-net-ssleay/0004-Fix-Net-SSLeay-to-support-opaque-ASN1_STRING.patch create mode 100644 package/perl-net-ssleay/0005-Update-tests-for-removal-of-SSLv2-Client-Hello-suppo.patch create mode 100644 package/perl-net-ssleay/0006-Add-default-for-Net-SSLeay-OPENSSL_info-return-value.patch create mode 100644 package/perl-net-ssleay/0007-Add-Changes-for-OPenSSL-4-support-and-update-tests.patch create mode 100644 package/perl-net-ssleay/0008-Do-not-use-elif-but-if-with-else-to-avoid-duplicate-.patch
package/perl-net-ssleay/0002-Fix-SSLv3-in-OpenSSL-4.0.0.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 361b3adc1dd09f70be7bd8972992626a3240b58d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= <[email protected]> +Date: Tue, 14 Apr 2026 12:37:39 +0200 +Subject: [PATCH] Fix SSLv3 in OpenSSL 4.0.0 + +Support for SSLv3 was removed. + +Upstream: https://github.com/radiator-software/p5-net-ssleay/pull/553/changes/361b3adc1dd09f70be7bd8972992626a3240b58d + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + SSLeay.xs | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/SSLeay.xs b/SSLeay.xs +index 0ed7d96..5407fa1 100644 +--- a/SSLeay.xs ++++ b/SSLeay.xs +@@ -2454,7 +2454,7 @@ SSL_CTX_v2_new() + + #endif + #endif +-#ifndef OPENSSL_NO_SSL3 ++#if !defined(OPENSSL_NO_SSL3) && OPENSSL_VERSION_NUMBER < 0x40000000L + + SSL_CTX * + SSL_CTX_v3_new() +@@ -5600,7 +5600,7 @@ SSLv2_method() + #endif + #endif + +-#ifndef OPENSSL_NO_SSL3 ++#if !defined(OPENSSL_NO_SSL3) && OPENSSL_VERSION_NUMBER < 0x40000000L + + const SSL_METHOD * + SSLv3_method() +-- +2.47.3 +
package/perl-net-ssleay/0003-OpenSSL-4.0.0-remove-support-for-some-TLS-functions.patch new file +197 -0
197 lines not on this page · raw message
package/perl-net-ssleay/0004-Fix-Net-SSLeay-to-support-opaque-ASN1_STRING.patch new file +179 -0
179 lines not on this page · raw message
package/perl-net-ssleay/0005-Update-tests-for-removal-of-SSLv2-Client-Hello-suppo.patch new file +66 -0
66 lines not on this page · raw message
package/perl-net-ssleay/0006-Add-default-for-Net-SSLeay-OPENSSL_info-return-value.patch new file +45 -0
45 lines not on this page · raw message
package/perl-net-ssleay/0007-Add-Changes-for-OPenSSL-4-support-and-update-tests.patch new file +94 -0
94 lines not on this page · raw message
package/perl-net-ssleay/0008-Do-not-use-elif-but-if-with-else-to-avoid-duplicate-.patch new file +83 -0
83 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 41/84] package/perl-net-ssleay: Add support for OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Francois Perrad <[email protected]>
Applied to master, thanks! Hopefully there will be an upstream release that includes those patches so that we can drop them.
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 42/84 package/qpid-proton: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...1-PROTON-2937-Add-OpenSSL-4.x-compat.patch | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 package/qpid-proton/0001-PROTON-2937-Add-OpenSSL-4.x-compat.patch
package/qpid-proton/0001-PROTON-2937-Add-OpenSSL-4.x-compat.patch new file +80 -0
@@ -0,0 +1,80 @@ +From 7be093d8d96104caab3fa858ab9886f23d62ee04 Mon Sep 17 00:00:00 2001 +From: Thomas Goirand <[email protected]> +Date: Wed, 17 Jun 2026 15:31:31 +0200 +Subject: [PATCH] PROTON-2937: Add OpenSSL 4.x compat + +Fixes this Debian bug: https://bugs.debian.org/1138394 + +It retains compatibility with OpenSSL 3 + +Closes #447 + +Upstream: https://github.com/apache/qpid-proton/commit/7be093d8d96104caab3fa858ab9886f23d62ee04 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + c/src/ssl/openssl.c | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/c/src/ssl/openssl.c b/c/src/ssl/openssl.c +index 62d4b40a..4c3a76c5 100644 +--- a/c/src/ssl/openssl.c ++++ b/c/src/ssl/openssl.c +@@ -339,7 +339,7 @@ static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) + GENERAL_NAME *name = sk_GENERAL_NAME_value( sans, i ); + if (name->type == GEN_DNS) { + ASN1_STRING *asn1 = name->d.dNSName; +- if (asn1 && asn1->data && asn1->length) { ++ if (asn1 && ASN1_STRING_get0_data(asn1) && ASN1_STRING_length(asn1) > 0){ + unsigned char *str; + int len = ASN1_STRING_to_UTF8( &str, asn1 ); + if (len >= 0) { +@@ -354,11 +354,11 @@ static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) + } + + /* if no general names match, try the CommonName from the subject */ +- X509_NAME *name = X509_get_subject_name(cert); ++ const X509_NAME *name = X509_get_subject_name(cert); + int i = -1; + while (!matched && (i = X509_NAME_get_index_by_NID(name, NID_commonName, i)) >= 0) { +- X509_NAME_ENTRY *ne = X509_NAME_get_entry(name, i); +- ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne); ++ const X509_NAME_ENTRY *ne = X509_NAME_get_entry(name, i); ++ const ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne); + if (name_asn1) { + unsigned char *str; + int len = ASN1_STRING_to_UTF8( &str, name_asn1); +@@ -1558,7 +1558,7 @@ const char* pn_ssl_get_remote_subject(pn_ssl_t *ssl0) + if (!ssl->subject) { + X509 *cert = get_peer_certificate(ssl); + if (!cert) return NULL; +- X509_NAME *subject = X509_get_subject_name(cert); ++ const X509_NAME *subject = X509_get_subject_name(cert); + if (!subject) return NULL; + + BIO *out = BIO_new(BIO_s_mem()); +@@ -1677,17 +1677,17 @@ const char* pn_ssl_get_remote_subject_subfield(pn_ssl_t *ssl0, pn_ssl_cert_subje + X509 *cert = get_peer_certificate(ssl); + if (!cert) return NULL; + +- X509_NAME *subject_name = X509_get_subject_name(cert); ++ const X509_NAME *subject_name = X509_get_subject_name(cert); + + // TODO (gmurthy) - A server side cert subject field can have more than one common name like this - Subject: CN=www.domain1.com, CN=www.domain2.com, see https://bugzilla.mozilla.org/show_bug.cgi?id=380656 + // For now, we will only return the first common name if there is more than one common name in the cert + int index = X509_NAME_get_index_by_NID(subject_name, openssl_field, -1); + + if (index > -1) { +- X509_NAME_ENTRY *ne = X509_NAME_get_entry(subject_name, index); ++ const X509_NAME_ENTRY *ne = X509_NAME_get_entry(subject_name, index); + if(ne) { +- ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne); +- return (char *) name_asn1->data; ++ const ASN1_STRING *name_asn1 = X509_NAME_ENTRY_get_data(ne); ++ return (const char *)ASN1_STRING_get0_data(name_asn1); + } + } + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 42/84] package/qpid-proton: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Luca Ceresoli <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 43/84 package/qt5/qt5base: Add support for OpenSSL 4.0.0
In reply to Bernd KuhlsSupport for OpenSSL 4 was added to the Qt 6.x OpenSSL plugin by commit
https://invent.kde.org/qt/qt/qtbase/-/commit/e806630e694d89f567cffa9c982d1f471089ecd8
contained in the 6.12 branch.
OpenSSL support in Qt 5.x is not plugin-based, the move occured in version 6.2.0:
https://invent.kde.org/qt/qt/qtbase/-/commit/d385158d5213ef568b7629e2aa4a818016bbffac
The upstream repo is not updated anymore:
https://community.kde.org/Qt5PatchCollection
https://mail.kde.org/pipermail/distributions/2026-May/001690.html
To enable support for OpenSSL 4 in qt5base we add a patch set mentioned in the OpenSSL issue https://github.com/openssl/openssl/issues/29117
--- package/qt5/qt5base/0009-openssl4.patch | 52 +++++++++ package/qt5/qt5base/0010-openssl4.patch | 139 ++++++++++++++++++++++++ package/qt5/qt5base/0011-openssl4.patch | 89 +++++++++++++++ 3 files changed, 280 insertions(+) create mode 100644 package/qt5/qt5base/0009-openssl4.patch create mode 100644 package/qt5/qt5base/0010-openssl4.patch create mode 100644 package/qt5/qt5base/0011-openssl4.patch
package/qt5/qt5base/0009-openssl4.patch new file +52 -0
@@ -0,0 +1,52 @@ +Fix build with OpenSSL 4.x + +Downloaded from +https://github.com/botovq/ports/commit/bb50119f0a15fdda547ffbf1e8d947d92470ed4e + +Upstream: n/a (QT 5.x is not updated anymore) + +Signed-off-by: Bernd Kuhls <[email protected]> + +Index: src/network/ssl/qsslcertificate_openssl.cpp +--- a/src/network/ssl/qsslcertificate_openssl.cpp.orig ++++ b/src/network/ssl/qsslcertificate_openssl.cpp +@@ -123,11 +123,11 @@ QByteArray QSslCertificate::serialNumber() const + QMutexLocker lock(QMutexPool::globalInstanceGet(d.data())); + #endif + if (d->serialNumberString.isEmpty() && d->x509) { +- ASN1_INTEGER *serialNumber = q_X509_get_serialNumber(d->x509); ++ const ASN1_INTEGER *serialNumber = q_X509_get_serialNumber(d->x509); + QByteArray hexString; +- hexString.reserve(serialNumber->length * 3); +- for (int a = 0; a < serialNumber->length; ++a) { +- hexString += QByteArray::number(serialNumber->data[a], 16).rightJustified(2, '0'); ++ hexString.reserve(q_ASN1_STRING_length(serialNumber) * 3); ++ for (int a = 0; a < q_ASN1_STRING_length(serialNumber); ++a) { ++ hexString += QByteArray::number(q_ASN1_STRING_get0_data(serialNumber)[a], 16).rightJustified(2, '0'); + hexString += ':'; + } + hexString.chop(1); +@@ -251,10 +251,10 @@ QMultiMap<QSsl::AlternativeNameEntryType, QString> QSs + QHostAddress ipAddress; + switch (len) { + case 4: // IPv4 +- ipAddress = QHostAddress(qFromBigEndian(*reinterpret_cast<quint32 *>(genName->d.iPAddress->data))); ++ ipAddress = QHostAddress(qFromBigEndian(*reinterpret_cast<const quint32 *>(q_ASN1_STRING_get0_data(genName->d.iPAddress)))); + break; + case 16: // IPv6 +- ipAddress = QHostAddress(reinterpret_cast<quint8 *>(genName->d.iPAddress->data)); ++ ipAddress = QHostAddress(reinterpret_cast<const quint8 *>(q_ASN1_STRING_get0_data(genName->d.iPAddress))); + break; + default: // Unknown IP address format + break; +@@ -511,8 +511,8 @@ static QVariant x509ExtensionToValue(X509_EXTENSION *e + + // keyid + if (auth_key->keyid) { +- QByteArray keyid(reinterpret_cast<const char *>(auth_key->keyid->data), +- auth_key->keyid->length); ++ QByteArray keyid(reinterpret_cast<const char *>(q_ASN1_STRING_get0_data(auth_key->keyid)), ++ q_ASN1_STRING_length(auth_key->keyid)); + result[QLatin1String("keyid")] = keyid.toHex(); + } +
package/qt5/qt5base/0010-openssl4.patch new file +139 -0
139 lines not on this page · raw message
package/qt5/qt5base/0011-openssl4.patch new file +89 -0
89 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 43/84] package/qt5/qt5base: Add support for OpenSSL 4.0.0
Quoted 12 lines · Bernd Kuhls
Support for OpenSSL 4 was added to the Qt 6.x OpenSSL plugin by commit
https://invent.kde.org/qt/qt/qtbase/-/commit/e806630e694d89f567cffa9c982d1f471089ecd8
contained in the 6.12 branch.OpenSSL support in Qt 5.x is not plugin-based, the move occured in version 6.2.0:
https://invent.kde.org/qt/qt/qtbase/-/commit/d385158d5213ef568b7629e2aa4a818016bbffacThe upstream repo is not updated anymore:
https://community.kde.org/Qt5PatchCollection
https://mail.kde.org/pipermail/distributions/2026-May/001690.html
Quoted 5 lines
To enable support for OpenSSL 4 in qt5base we add a patch set mentioned in the OpenSSL issue https://github.com/openssl/openssl/issues/29117
Signed-off-by Bernd Kuhls <[email protected]>Cc Giulio Benetti <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 44/84 package/rauc: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...N1_STRING_get0_data-and-ASN1_STRING_.patch | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 package/rauc/0001-signature-use-ASN1_STRING_get0_data-and-ASN1_STRING_.patch
package/rauc/0001-signature-use-ASN1_STRING_get0_data-and-ASN1_STRING_.patch new file +48 -0
@@ -0,0 +1,48 @@ +From 101aacaf82d250bfb8e581e002b2c380869080ef Mon Sep 17 00:00:00 2001 +From: Bruno Thomsen <[email protected]> +Date: Sat, 11 Apr 2026 17:06:10 +0200 +Subject: [PATCH] signature: use ASN1_STRING_get0_data and ASN1_STRING_length +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Use ASN1_STRING_get0_data() and ASN1_STRING_length() functions +allow an ASN1_STRING structure to be manipulated. Avoid errors +like this when compiling against OpenSSL 4.0: + +error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} + +Signed-off-by: Bruno Thomsen <[email protected]> + +Upstream: https://github.com/rauc/rauc/commit/101aacaf82d250bfb8e581e002b2c380869080ef + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/signature.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/signature.c b/src/signature.c +index d2acac6b..91be7bb7 100644 +--- a/src/signature.c ++++ b/src/signature.c +@@ -1344,7 +1344,7 @@ gboolean cms_get_unverified_manifest(GBytes *sig, GBytes **manifest, GError **er + "missing manifest in inline signature"); + goto out; + } +- if (!(*content)->data || ((*content)->length <= 0)) { ++ if ((ASN1_STRING_get0_data(*content) == NULL) || (ASN1_STRING_length(*content) <= 0)) { + g_set_error( + error, + R_SIGNATURE_ERROR, +@@ -1353,7 +1353,7 @@ gboolean cms_get_unverified_manifest(GBytes *sig, GBytes **manifest, GError **er + goto out; + } + +- tmp = g_bytes_new((*content)->data, (*content)->length); ++ tmp = g_bytes_new(ASN1_STRING_get0_data(*content), ASN1_STRING_length(*content)); + if (!tmp) { + g_set_error_literal( + error, +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 44/84] package/rauc: Fix build with OpenSSL 4.0.0
Quoted 3 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Andrey Yurovsky <[email protected]>Cc Heiko Thiery <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 45/84 package/redis: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhlstls.c:676:5: error: 'X509_NAME_get_text_by_NID' is deprecated: Since OpenSSL 4.0 [-Werror=deprecated-declarations]
676 | int len = X509_NAME_get_text_by_NID(subject, nid, buf, sizeof(buf));
| ^~~
In file included from ../../../per-package/redis/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:34,
from tls.c:22:
../../../per-package/redis/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:1041:27: note: declared here
1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME *name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~cc1: some warnings being treated as errors
Upstream PR exists to fix the build problem:
https://github.com/redis/redis/pull/15227
Added buildroot-specific patch to remove -Werror=deprecated-declarations from CFLAGS to not block the bump of OpenSSL to 4.0.3.
--- ...emove-Werror-deprecated-declarations.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/redis/0004-Remove-Werror-deprecated-declarations.patch
package/redis/0004-Remove-Werror-deprecated-declarations.patch new file +28 -0
@@ -0,0 +1,28 @@ +From b42c0326b542b0e5d29cbfef2ab08d0d36430803 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Thu, 17 Sep 2026 23:58:19 +0200 +Subject: [PATCH] Remove -Werror=deprecated-declarations + +Upstream: not applicable + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile b/src/Makefile +index 205508596..4f31a3af0 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -52,7 +52,7 @@ ifneq (,$(findstring FreeBSD,$(uname_S))) + STD+=-Wno-c11-extensions + endif + endif +-WARN=-Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes ++WARN=-Wall -W -Wno-missing-field-initializers -Wstrict-prototypes + OPT=$(OPTIMIZATION) + + SKIP_VEC_SETS?=no +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v8 45/84] package/redis: Fix build with OpenSSL 4.0.0
Quoted 8 lines · Bernd Kuhls
tls.c:676:5: error: '
X509_NAME_get_text_by_NID' is deprecated: Since OpenSSL 4.0 [-Werror=deprecated-declarations]676 | int len = X509_NAME_get_text_by_NID(subject, nid, buf, sizeof(buf)); | ^~~ In file included from ../../../per-package/redis/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:34, from tls.c:22: ../../../per-package/redis/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:1041:27: note: declared here 1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME *name, | ^~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 4 lines
cc1: some warnings being treated as errors
Upstream PR exists to fix the build problem:
https://github.com/redis/redis/pull/15227
Can we instead merge:
https://github.com/redis/redis/commit/8bc1c4e147761e7c9d6ff1bb92248b9d4dda43ab
which apparently is the actual upstream fix?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 46/84 package/socat: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...penSSL-4.0-use-ASN1_STRING-accessors.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/socat/0002-Fix-build-with-OpenSSL-4.0-use-ASN1_STRING-accessors.patch
package/socat/0002-Fix-build-with-OpenSSL-4.0-use-ASN1_STRING-accessors.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Jaipaul Cheernam <[email protected]> +Date: Thu, 13 Aug 2026 07:00:00 +0000 +Subject: [PATCH] Fix build with OpenSSL 4.0: use ASN1_STRING accessors + +OpenSSL 4.0 made ASN1_STRING opaque. Direct access to struct members +(->data, ->length) is no longer possible. Use the accessor functions +ASN1_STRING_get0_data() and ASN1_STRING_length() instead. + +These accessors have been available since OpenSSL 1.1.0, so this change +is backward compatible. + +Upstream: Submitted [[email protected]] +Signed-off-by: Jaipaul Cheernam <[email protected]> + +Downloaded from https://github.com/openembedded/openembedded-core/commit/aa435ebaaf7446ec07a88586f2de4109e02a2d38 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + xio-openssl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/xio-openssl.c ++++ b/xio-openssl.c +@@ -1898,8 +1898,8 @@ + case GEN_IPADD: + { + /* binary address format */ +- const unsigned char *data = pName->d.iPAddress->data; +- size_t len = pName->d.iPAddress->length; ++ const unsigned char *data = ASN1_STRING_get0_data(pName->d.iPAddress); ++ size_t len = ASN1_STRING_length(pName->d.iPAddress); + char aBuffer[INET6_ADDRSTRLEN]; /* canonical peername */ + struct in6_addr ip6bin; +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 46/84] package/socat: Add support for OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Baruch Siach <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 47/84 package/sofia-sip: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...001-Fix-build-error-with-OpenSSL-4.0.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/sofia-sip/0001-Fix-build-error-with-OpenSSL-4.0.patch
package/sofia-sip/0001-Fix-build-error-with-OpenSSL-4.0.patch new file +42 -0
@@ -0,0 +1,42 @@ +From b21b4cc7d0dd4c3eae1a98a3fa38f4cdb2e5a385 Mon Sep 17 00:00:00 2001 +From: Ravi Kant Sharma <[email protected]> +Date: Fri, 17 Jul 2026 16:41:11 +0200 +Subject: [PATCH] Fix build error with OpenSSL 4.0 + +Upstream: https://github.com/freeswitch/sofia-sip/pull/337 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + libsofia-sip-ua/stun/stun.c | 2 +- + m4/sac-openssl.m4 | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libsofia-sip-ua/stun/stun.c b/libsofia-sip-ua/stun/stun.c +index 22ca7c7..aa4b574 100644 +--- a/libsofia-sip-ua/stun/stun.c ++++ b/libsofia-sip-ua/stun/stun.c +@@ -1368,7 +1368,7 @@ int stun_tls_callback(su_root_magic_t *m, su_wait_t *w, su_wakeup_arg_t *arg) + /* openssl initiation */ + SSLeay_add_ssl_algorithms(); + SSL_load_error_strings(); +- ctx = SSL_CTX_new(TLSv1_client_method()); ++ ctx = SSL_CTX_new(TLS_client_method()); + self->sh_ctx = ctx; + + if (ctx == NULL) { +diff --git a/m4/sac-openssl.m4 b/m4/sac-openssl.m4 +index 289d3e1..76ba9f2 100644 +--- a/m4/sac-openssl.m4 ++++ b/m4/sac-openssl.m4 +@@ -30,7 +30,7 @@ else + HAVE_OPENSSL=0 + AC_MSG_WARN(OpenSSL crypto library was not found)) + +- AC_CHECK_LIB(ssl, TLSv1_method,, ++ AC_CHECK_LIB(ssl, TLS_method,, + HAVE_TLS=0 + AC_MSG_WARN(OpenSSL protocol library was not found)) + ],[AC_MSG_WARN(OpenSSL include files were not found)],[#include <openssl/safestack.h>]) +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 47/84] package/sofia-sip: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Gregory Dymarek <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 48/84 package/softhsm2: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...mory-leak-in-OSSL-byteString2oid-863.patch | 49 ++++++++++ ...in-EdDSA-PrintableString-handling-85.patch | 98 +++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 package/softhsm2/0001-Fix-the-memory-leak-in-OSSL-byteString2oid-863.patch create mode 100644 package/softhsm2/0002-Fix-memory-leak-in-EdDSA-PrintableString-handling-85.patch
package/softhsm2/0001-Fix-the-memory-leak-in-OSSL-byteString2oid-863.patch new file +49 -0
@@ -0,0 +1,49 @@ +From 1b72640ceccaa8fdd775f224c26a53fdaf189da6 Mon Sep 17 00:00:00 2001 +From: Shawn C <[email protected]> +Date: Sat, 25 Apr 2026 20:05:34 +0800 +Subject: [PATCH] Fix the memory leak in OSSL::byteString2oid (#863) + +The function `OSSL::byteString2oid` in `SoftHSM2` (OpenSSL backend) +leaks memory when decoding PKCS#11 attribute values as ASN.1 objects +or strings. It calls `d2i_ASN1_OBJECT` and `d2i_ASN1_PRINTABLESTRING` +which allocate new OpenSSL objects, but these objects are never +freed after their NIDs are extracted. + +Signed-off-by: Shawn C <[email protected]> + +Upstream: https://github.com/softhsm/SoftHSMv2/commit/57e10cbbe75069be92c7e9720c180a05833481fc + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/lib/crypto/OSSLUtil.cpp | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/src/lib/crypto/OSSLUtil.cpp b/src/lib/crypto/OSSLUtil.cpp +index 794f80e..d238eca 100644 +--- a/src/lib/crypto/OSSLUtil.cpp ++++ b/src/lib/crypto/OSSLUtil.cpp +@@ -177,8 +177,10 @@ int OSSL::byteString2oid(const ByteString& byteString) + { + return NID_undef; + } +- +- return OBJ_obj2nid(oid); ++ ++ int nid = OBJ_obj2nid(oid); ++ ASN1_OBJECT_free(oid); ++ return nid; + } + else if (pclass == V_ASN1_UNIVERSAL && tag == V_ASN1_PRINTABLESTRING) + { +@@ -204,6 +206,8 @@ int OSSL::byteString2oid(const ByteString& byteString) + { + return EVP_PKEY_X448; + } ++ ++ ASN1_STRING_free(curve_name); + } + + return NID_undef; +-- +2.47.3 +
package/softhsm2/0002-Fix-memory-leak-in-EdDSA-PrintableString-handling-85.patch new file +98 -0
98 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 48/84] package/softhsm2: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 49/84 package/squid: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../0001-Fix-OpenSSL-4.0-compatibility.patch | 368 ++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 package/squid/0001-Fix-OpenSSL-4.0-compatibility.patch
package/squid/0001-Fix-OpenSSL-4.0-compatibility.patch new file +368 -0
@@ -0,0 +1,368 @@ +From 144a59fec3d7a4bd7f0c3e71934156e1a56ebabc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Pavol=20=C5=BD=C3=A1=C4=8Dik?= <[email protected]> +Date: Wed, 6 May 2026 17:18:58 +0200 +Subject: [PATCH] Fix OpenSSL 4.0 compatibility + +Replace direct ASN1 structure field access with accessor functions. +and use ASN1_STRING_set() instead of direct field assignment. + +Fix issues caused by X509* API constness changes; in some cases, +casting the const away is necessary to keep compatibility with +OpenSSL 3. + +Downloaded from Fedora: +https://src.fedoraproject.org/rpms/squid/blob/rawhide/f/squid-7.5-openssl4.patch + +Upstream: https://github.com/squid-cache/squid/pull/2501 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + .../cert_generators/file/certificate_db.cc | 2 +- + src/ssl/gadgets.cc | 92 +++++++++++-------- + src/ssl/gadgets.h | 4 +- + src/ssl/support.cc | 18 ++-- + 4 files changed, 66 insertions(+), 50 deletions(-) + +diff --git a/src/security/cert_generators/file/certificate_db.cc b/src/security/cert_generators/file/certificate_db.cc +index 4b729b316..35849aa63 100644 +--- a/src/security/cert_generators/file/certificate_db.cc ++++ b/src/security/cert_generators/file/certificate_db.cc +@@ -335,7 +335,7 @@ Ssl::CertificateDb::addCertAndPrivateKey(std::string const &useKey, const Securi + } + + const auto tm = X509_getm_notAfter(cert.get()); +- row.setValue(cnlExp_date, std::string(reinterpret_cast<char *>(tm->data), tm->length).c_str()); ++ row.setValue(cnlExp_date, std::string(reinterpret_cast<const char *>(ASN1_STRING_get0_data(tm)), ASN1_STRING_length(tm)).c_str()); + const auto subject = OneLineSummary(*X509_get_subject_name(cert.get())); + row.setValue(cnlName, subject.get()); + row.setValue(cnlKey, useKey.c_str()); +diff --git a/src/ssl/gadgets.cc b/src/ssl/gadgets.cc +index 06b8b79dd..100ee6a46 100644 +--- a/src/ssl/gadgets.cc ++++ b/src/ssl/gadgets.cc +@@ -259,20 +259,31 @@ static bool replaceCommonName(Security::CertPointer & cert, std::string const &r + if (cn.length() > 2 && *cn.begin() == '[' && *cn.rbegin() == ']') + cn = cn.substr(1, cn.size()-2); + +- X509_NAME *name = X509_get_subject_name(cert.get()); ++ const X509_NAME *subject = X509_get_subject_name(cert.get()); ++ if (!subject) ++ return false; ++ ++ X509_NAME *name = X509_NAME_dup(subject); + if (!name) + return false; ++ + // Remove the CN part: + int loc = X509_NAME_get_index_by_NID(name, NID_commonName, -1); +- if (loc >=0) { +- X509_NAME_ENTRY *tmp = X509_NAME_get_entry(name, loc); +- X509_NAME_delete_entry(name, loc); ++ if (loc >= 0) { ++ X509_NAME_ENTRY *tmp = X509_NAME_delete_entry(name, loc); + X509_NAME_ENTRY_free(tmp); + } + + // Add a new CN +- return X509_NAME_add_entry_by_NID(name, NID_commonName, MBSTRING_ASC, +- (unsigned char *)(cn.c_str()), -1, -1, 0); ++ if (!X509_NAME_add_entry_by_NID(name, NID_commonName, MBSTRING_ASC, ++ (unsigned char *)(cn.c_str()), -1, -1, 0)) { ++ X509_NAME_free(name); ++ return false; ++ } ++ ++ int ret = X509_set_subject_name(cert.get(), name); ++ X509_NAME_free(name); ++ return ret; + } + + const char *Ssl::CertSignAlgorithmStr[] = { +@@ -301,9 +312,9 @@ static void + printX509Signature(const Security::CertPointer &cert, std::string &out) + { + const ASN1_BIT_STRING *sig = Ssl::X509_get_signature(cert); +- if (sig && sig->data) { +- const unsigned char *s = sig->data; +- for (int i = 0; i < sig->length; ++i) { ++ if (sig && ASN1_STRING_get0_data(sig)) { ++ const unsigned char *s = ASN1_STRING_get0_data(sig); ++ for (int i = 0; i < ASN1_STRING_length(sig); ++i) { + char hex[3]; + snprintf(hex, sizeof(hex), "%02x", s[i]); + out.append(hex); +@@ -377,7 +388,7 @@ mimicAuthorityKeyId(Security::CertPointer &cert, Security::CertPointer const &mi + X509_EXTENSION *ext; + // Check if the issuer has the Subject Key Identifier extension + const int indx = X509_get_ext_by_NID(issuerCert.get(), NID_subject_key_identifier, -1); +- if (indx >= 0 && (ext = X509_get_ext(issuerCert.get(), indx))) { ++ if (indx >= 0 && (ext = const_cast<X509_EXTENSION *>(X509_get_ext(issuerCert.get(), indx)))) { + issuerKeyId.reset((ASN1_OCTET_STRING *)X509V3_EXT_d2i(ext)); + } + } +@@ -418,8 +429,7 @@ mimicAuthorityKeyId(Security::CertPointer &cert, Security::CertPointer const &mi + unsigned char *ext_der = nullptr; + int ext_len = ASN1_item_i2d((ASN1_VALUE *)theAuthKeyId.get(), &ext_der, ASN1_ITEM_ptr(method->it)); + Ssl::ASN1_OCTET_STRING_Pointer extOct(ASN1_OCTET_STRING_new()); +- extOct.get()->data = ext_der; +- extOct.get()->length = ext_len; ++ ASN1_STRING_set(extOct.get(), ext_der, ext_len); + Ssl::X509_EXTENSION_Pointer extAuthKeyId(X509_EXTENSION_create_by_NID(nullptr, NID_authority_key_identifier, 0, extOct.get())); + if (!extAuthKeyId.get()) + return false; +@@ -471,7 +481,7 @@ mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimic + int nid; + for (int i = 0; (nid = extensions[i]) != 0; ++i) { + const int pos = X509_get_ext_by_NID(mimicCert.get(), nid, -1); +- if (X509_EXTENSION *ext = X509_get_ext(mimicCert.get(), pos)) { ++ if (X509_EXTENSION *ext = const_cast<X509_EXTENSION *>(X509_get_ext(mimicCert.get(), pos))) { + // Mimic extension exactly. + if (X509_add_ext(cert.get(), ext, -1)) + ++added; +@@ -482,7 +492,7 @@ mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimic + // that the more stringent requirements are met. + + const int p = X509_get_ext_by_NID(cert.get(), NID_key_usage, -1); +- if ((ext = X509_get_ext(cert.get(), p)) != nullptr) { ++ if ((ext = const_cast<X509_EXTENSION *>(X509_get_ext(cert.get(), p))) != nullptr) { + ASN1_BIT_STRING *keyusage = (ASN1_BIT_STRING *)X509V3_EXT_d2i(ext); + ASN1_BIT_STRING_set_bit(keyusage, KeyEncipherment, 1); + +@@ -495,8 +505,7 @@ mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimic + (const ASN1_ITEM *)ASN1_ITEM_ptr(method->it)); + + ASN1_OCTET_STRING *ext_oct = ASN1_OCTET_STRING_new(); +- ext_oct->data = ext_der; +- ext_oct->length = ext_len; ++ ASN1_STRING_set(ext_oct, ext_der, ext_len); + X509_EXTENSION_set_data(ext, ext_oct); + + ASN1_OCTET_STRING_free(ext_oct); +@@ -518,7 +527,7 @@ mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimic + SBuf + Ssl::AsnToSBuf(const ASN1_STRING &buffer) + { +- return SBuf(reinterpret_cast<const char *>(buffer.data), buffer.length); ++ return SBuf(reinterpret_cast<const char *>(ASN1_STRING_get0_data(&buffer)), ASN1_STRING_length(&buffer)); + } + + /// OpenSSL ASN1_STRING_to_UTF8() wrapper +@@ -547,7 +556,7 @@ Ssl::ParseAsSimpleDomainNameOrIp(const SBuf &text) + } + + std::optional<AnyP::Host> +-Ssl::ParseCommonNameAt(X509_NAME &name, const int cnIndex) ++Ssl::ParseCommonNameAt(const X509_NAME &name, const int cnIndex) + { + const auto cn = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(&name, cnIndex)); + if (!cn) { +@@ -576,7 +585,7 @@ Ssl::ParseCommonNameAt(X509_NAME &name, const int cnIndex) + static bool + addAltNameWithSubjectCn(Security::CertPointer &cert) + { +- X509_NAME *name = X509_get_subject_name(cert.get()); ++ const X509_NAME *name = X509_get_subject_name(cert.get()); + if (!name) + return false; + +@@ -610,7 +619,7 @@ static bool buildCertificate(Security::CertPointer & cert, Ssl::CertificatePrope + // returns a pointer to the existing subject name. Nothing to clean here. + if (properties.mimicCert.get()) { + // Leave subject empty if we cannot extract it from true cert. +- if (X509_NAME *name = X509_get_subject_name(properties.mimicCert.get())) { ++ if (const X509_NAME *name = X509_get_subject_name(properties.mimicCert.get())) { + // X509_set_subject_name will call X509_dup for name + X509_set_subject_name(cert.get(), name); + } +@@ -656,7 +665,7 @@ static bool buildCertificate(Security::CertPointer & cert, Ssl::CertificatePrope + bool useCommonNameAsAltName = true; + // mimic the alias and possibly subjectAltName + if (properties.mimicCert.get()) { +- unsigned char *alStr; ++ const unsigned char *alStr; + int alLen; + alStr = X509_alias_get0(properties.mimicCert.get(), &alLen); + if (alStr) { +@@ -667,7 +676,7 @@ static bool buildCertificate(Security::CertPointer & cert, Ssl::CertificatePrope + // certificates with CN unrelated to subjectAltNames. + if (!properties.setCommonName) { + int pos = X509_get_ext_by_NID(properties.mimicCert.get(), NID_subject_alt_name, -1); +- X509_EXTENSION *ext=X509_get_ext(properties.mimicCert.get(), pos); ++ X509_EXTENSION *ext = const_cast<X509_EXTENSION *>(X509_get_ext(properties.mimicCert.get(), pos)); + if (ext) { + if (X509_add_ext(cert.get(), ext, -1)) + ++addedExtensions; +@@ -922,20 +931,23 @@ Ssl::WritePrivateKey(Ssl::BIO_Pointer &bio, const Security::PrivateKeyPointer &p + } + + Ssl::UniqueCString +-Ssl::OneLineSummary(X509_NAME &name) ++Ssl::OneLineSummary(const X509_NAME &name) + { + return Ssl::UniqueCString(X509_NAME_oneline(&name, nullptr, 0)); + } + + bool Ssl::sslDateIsInTheFuture(char const * date) + { +- ASN1_UTCTIME tm; +- tm.flags = 0; +- tm.type = 23; +- tm.data = (unsigned char *)date; +- tm.length = strlen(date); +- +- return (X509_cmp_current_time(&tm) > 0); ++ ASN1_UTCTIME *tm = ASN1_UTCTIME_new(); ++ if (!tm) ++ return false; ++ if (!ASN1_UTCTIME_set_string(tm, date)) { ++ ASN1_UTCTIME_free(tm); ++ return false; ++ } ++ int result = X509_cmp_current_time(tm); ++ ASN1_UTCTIME_free(tm); ++ return (result > 0); + } + + /// Print the time represented by a ASN1_TIME struct to a string using GeneralizedTime format +@@ -945,14 +957,18 @@ static bool asn1timeToGeneralizedTimeStr(ASN1_TIME *aTime, char *buf, int bufLen + // UTCTime has the form YYMMDDHHMMSS[Z | [+|-]offset] + // GeneralizedTime has the form YYYYMMDDHHMMSS[Z | [+|-] offset] + ++ const unsigned char *data = ASN1_STRING_get0_data(aTime); ++ int length = ASN1_STRING_length(aTime); ++ int type = ASN1_STRING_type(aTime); ++ + // length should have space for data plus 2 extra bytes for the two extra year fields + // plus the '\0' char. +- if ((aTime->length + 3) > bufLen) ++ if ((length + 3) > bufLen) + return false; + + char *str; +- if (aTime->type == V_ASN1_UTCTIME) { +- if (aTime->data[0] > '5') { // RFC 2459, section 4.1.2.5.1 ++ if (type == V_ASN1_UTCTIME) { ++ if (data[0] > '5') { // RFC 2459, section 4.1.2.5.1 + buf[0] = '1'; + buf[1] = '9'; + } else { +@@ -960,11 +976,11 @@ static bool asn1timeToGeneralizedTimeStr(ASN1_TIME *aTime, char *buf, int bufLen + buf[1] = '0'; + } + str = buf +2; +- } else // if (aTime->type == V_ASN1_GENERALIZEDTIME) ++ } else // if (type == V_ASN1_GENERALIZEDTIME) + str = buf; + +- memcpy(str, aTime->data, aTime->length); +- str[aTime->length] = '\0'; ++ memcpy(str, data, length); ++ str[length] = '\0'; + return true; + } + +@@ -996,8 +1012,8 @@ bool Ssl::certificateMatchesProperties(X509 *cert, CertificateProperties const & + return true; + + if (!properties.setCommonName) { +- X509_NAME *cert1_name = X509_get_subject_name(cert); +- X509_NAME *cert2_name = X509_get_subject_name(cert2); ++ const X509_NAME *cert1_name = X509_get_subject_name(cert); ++ const X509_NAME *cert2_name = X509_get_subject_name(cert2); + if (X509_NAME_cmp(cert1_name, cert2_name) != 0) + return false; + } else if (properties.commonName != CommonHostName(cert)) +diff --git a/src/ssl/gadgets.h b/src/ssl/gadgets.h +index e0c60c3a3..4c487596b 100644 +--- a/src/ssl/gadgets.h ++++ b/src/ssl/gadgets.h +@@ -160,7 +160,7 @@ bool WriteX509Certificate(BIO_Pointer &bio, const Security::CertPointer & cert); + bool WritePrivateKey(BIO_Pointer &bio, const Security::PrivateKeyPointer &pkey); + + /// a RAII wrapper for the memory-allocating flavor of X509_NAME_oneline() +-UniqueCString OneLineSummary(X509_NAME &); ++UniqueCString OneLineSummary(const X509_NAME &); + + /** + \ingroup SslCrtdSslAPI +@@ -285,7 +285,7 @@ const char *CommonHostName(X509 *x509); + SBuf AsnToSBuf(const ASN1_STRING &); + + /// interprets X.509 Subject or Issuer name entry (at the given position) as CN +-std::optional<AnyP::Host> ParseCommonNameAt(X509_NAME &, int); ++std::optional<AnyP::Host> ParseCommonNameAt(const X509_NAME &, int); + + /// interprets the given buffer as either a textual representation of an IP + /// address (if possible) or a domain name without wildcard support (otherwise) +diff --git a/src/ssl/support.cc b/src/ssl/support.cc +index e7872035c..09f268a7e 100644 +--- a/src/ssl/support.cc ++++ b/src/ssl/support.cc +@@ -272,23 +272,23 @@ ParseSubjectAltName(const GENERAL_NAME &san) + + // RFC 5280 section 4.2.1.6 signals IPv4/IPv6 address family using data length + +- if (san.d.iPAddress->length == 4) { ++ if (ASN1_STRING_length(san.d.iPAddress) == 4) { + struct in_addr addr; + static_assert(sizeof(addr.s_addr) == 4); +- memcpy(&addr.s_addr, san.d.iPAddress->data, sizeof(addr.s_addr)); ++ memcpy(&addr.s_addr, ASN1_STRING_get0_data(san.d.iPAddress), sizeof(addr.s_addr)); + const Ip::Address ip(addr); + return AnyP::Host::ParseIp(ip); + } + +- if (san.d.iPAddress->length == 16) { ++ if (ASN1_STRING_length(san.d.iPAddress) == 16) { + struct in6_addr addr; + static_assert(sizeof(addr.s6_addr) == 16); +- memcpy(&addr.s6_addr, san.d.iPAddress->data, sizeof(addr.s6_addr)); ++ memcpy(&addr.s6_addr, ASN1_STRING_get0_data(san.d.iPAddress), sizeof(addr.s6_addr)); + const Ip::Address ip(addr); + return AnyP::Host::ParseIp(ip); + } + +- debugs(83, 3, "unexpected length of an IP address SAN: " << san.d.iPAddress->length); ++ debugs(83, 3, "unexpected length of an IP address SAN: " << ASN1_STRING_length(san.d.iPAddress)); + return std::nullopt; + } + +@@ -856,7 +856,7 @@ Ssl::InitClientContext(Security::ContextPointer &ctx, Security::PeerOptions &pee + + /// \ingroup ServerProtocolSSLInternal + static const char * +-ssl_get_attribute(X509_NAME * name, const char *attribute_name) ++ssl_get_attribute(const X509_NAME * name, const char *attribute_name) + { + static char buffer[1024]; + buffer[0] = '\0'; +@@ -879,7 +879,7 @@ ssl_get_attribute(X509_NAME * name, const char *attribute_name) + const char * + Ssl::GetX509UserAttribute(X509 * cert, const char *attribute_name) + { +- X509_NAME *name; ++ const X509_NAME *name; + const char *ret; + + if (!cert) +@@ -933,7 +933,7 @@ const char * + Ssl::GetX509CAAttribute(X509 * cert, const char *attribute_name) + { + +- X509_NAME *name; ++ const X509_NAME *name; + const char *ret; + + if (!cert) +@@ -1484,7 +1484,7 @@ void Ssl::InRamCertificateDbKey(const Ssl::CertificateProperties &certProperties + if (certProperties.mimicCert) { + if (auto *sig = Ssl::X509_get_signature(certProperties.mimicCert)) { + origSignatureAsKey = true; +- key.append((const char *)sig->data, sig->length); ++ key.append((const char *)ASN1_STRING_get0_data(sig), ASN1_STRING_length(sig)); + } + } + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 49/84] package/squid: Fix build with OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 50/84 package/sudo: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...-for-getting-an-ASN1_STRING-s-length.patch | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 package/sudo/0002-Use-accessor-for-getting-an-ASN1_STRING-s-length.patch
package/sudo/0002-Use-accessor-for-getting-an-ASN1_STRING-s-length.patch new file +46 -0
@@ -0,0 +1,46 @@ +From f97a34bc7b390f185d544e21b0ef75db1275953e Mon Sep 17 00:00:00 2001 +From: Theo Buehler <[email protected]> +Date: Sat, 22 Nov 2025 12:28:50 +0100 +Subject: [PATCH] Use accessor for getting an ASN1_STRING's length + +OpensSSL 4 has plans to make ASN1_STRING opaque [1]. hostcheck.c's code +mostly treats it as opaque, but accesses two lengths. This is API added +in OpenSSL 0.9.0, so I'm not sure we need a configure check. + +WolfSSL only recently const corrected ASN1_STRING_length(), so maybe +there will be a need to cast away const. + +[1]: https://github.com/openssl/openssl/issues/29117 + +Upstream: https://github.com/sudo-project/sudo/commit/f97a34bc7b390f185d544e21b0ef75db1275953e + +[Bernd: backported to 1.9.17p2] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + lib/iolog/hostcheck.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/iolog/hostcheck.c b/lib/iolog/hostcheck.c +index dbb900e71..8383d2c49 100644 +--- a/lib/iolog/hostcheck.c ++++ b/lib/iolog/hostcheck.c +@@ -323,14 +323,14 @@ matches_subject_alternative_name(const char *hostname, + #endif + + /* IPV4 address */ +- if(current_name->d.iPAddress->length == 4) { ++ if(ASN1_STRING_length(current_name->d.iPAddress) == 4) { + if (inet_ntop(AF_INET, san_ip, san_ip_str, INET_ADDRSTRLEN) == NULL) { + result = MalformedCertificate; + break; + } + #if defined(HAVE_STRUCT_IN6_ADDR) + /* IPV6 address */ +- } else if (current_name->d.iPAddress->length == 16) { ++ } else if (ASN1_STRING_length(current_name->d.iPAddress) == 16) { + if (inet_ntop(AF_INET6, san_ip, san_ip_str, INET6_ADDRSTRLEN) == NULL) { + result = MalformedCertificate; + break; +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 50/84] package/sudo: Add support for OpenSSL 4.0.0
Quoted 1 line · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 51/84 package/systemd: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...compilation-with-openssl-4.0.0-beta1.patch | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 package/systemd/0001-various-fix-compilation-with-openssl-4.0.0-beta1.patch
package/systemd/0001-various-fix-compilation-with-openssl-4.0.0-beta1.patch new file +86 -0
@@ -0,0 +1,86 @@ +From 693ecaac7e12c120d1323478b2433d77367aa0c9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <[email protected]> +Date: Tue, 14 Apr 2026 18:59:07 +0200 +Subject: [PATCH] various: fix compilation with openssl-4.0.0-beta1 + +Various types have been made opaque, so we need to use some accessor +functions. + +Upstream: https://github.com/systemd/systemd/commit/693ecaac7e12c120d1323478b2433d77367aa0c9 + +[Bernd: rebased for 258.7] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/sbsign/sbsign.c | 5 +++-- + src/shared/pkcs11-util.c | 15 ++++++++------- + 2 files changed, 11 insertions(+), 9 deletions(-) + +diff --git a/src/sbsign/sbsign.c b/src/sbsign/sbsign.c +index ee1c0f77ab..f54dacf65a 100644 +--- a/src/sbsign/sbsign.c ++++ b/src/sbsign/sbsign.c +@@ -262,8 +262,9 @@ static int spc_indirect_data_content_new(const void *digest, size_t digestsz, ui + return log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to get SpcPeImageData object: %s", + ERR_error_string(ERR_get_error(), NULL)); + +- idc->data->value->value.sequence->data = TAKE_PTR(peidraw); +- idc->data->value->value.sequence->length = peidrawsz; ++ if (!ASN1_STRING_set(idc->data->value->value.sequence, peidraw, peidrawsz)) ++ return log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to set ASN1_STRING data."); ++ + idc->messageDigest->digestAlgorithm->algorithm = OBJ_nid2obj(NID_sha256); + if (!idc->messageDigest->digestAlgorithm->algorithm) + return log_error_errno(SYNTHETIC_ERRNO(EIO), "Failed to get SHA256 object: %s", +diff --git a/src/shared/pkcs11-util.c b/src/shared/pkcs11-util.c +index 165fefbea1..96b25c4ac3 100644 +--- a/src/shared/pkcs11-util.c ++++ b/src/shared/pkcs11-util.c +@@ -555,7 +555,11 @@ int pkcs11_token_read_public_key( + return log_debug_errno(SYNTHETIC_ERRNO(EIO), "Failed to init an EVP_PKEY_CTX for EC."); + + OSSL_PARAM ec_params[8] = { +- OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, os->data, os->length) ++ /* We need to drop the const from the data param, because ec_params is ++ * modified below. But we'll not modify ec_params[0]. */ ++ OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, ++ (unsigned char *) ASN1_STRING_get0_data(os), ++ ASN1_STRING_length(os)), + }; + + _cleanup_free_ void *order = NULL, *p = NULL, *a = NULL, *b = NULL, *generator = NULL; +@@ -683,13 +687,10 @@ int pkcs11_token_read_x509_certificate( + CK_OBJECT_HANDLE object, + X509 **ret_cert) { + +- _cleanup_free_ char *t = NULL; + CK_ATTRIBUTE attribute = { + .type = CKA_VALUE + }; + CK_RV rv; +- _cleanup_(X509_freep) X509 *x509 = NULL; +- X509_NAME *name = NULL; + int r; + + r = dlopen_p11kit(); +@@ -713,15 +714,15 @@ int pkcs11_token_read_x509_certificate( + "Failed to read X.509 certificate data off token: %s", sym_p11_kit_strerror(rv)); + + const unsigned char *p = attribute.pValue; +- x509 = d2i_X509(NULL, &p, attribute.ulValueLen); ++ _cleanup_(X509_freep) X509 *x509 = d2i_X509(NULL, &p, attribute.ulValueLen); + if (!x509) + return log_debug_errno(SYNTHETIC_ERRNO(EBADMSG), "Failed to parse X.509 certificate."); + +- name = X509_get_subject_name(x509); ++ const X509_NAME *name = X509_get_subject_name(x509); + if (!name) + return log_debug_errno(SYNTHETIC_ERRNO(EBADMSG), "Failed to acquire X.509 subject name."); + +- t = X509_NAME_oneline(name, NULL, 0); ++ _cleanup_free_ char *t = X509_NAME_oneline(name, NULL, 0); + if (!t) + return log_debug_errno(SYNTHETIC_ERRNO(EIO), "Failed to format X.509 subject name as string."); + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 51/84] package/systemd: Fix build with OpenSSL 4.0.0
Quoted 3 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Norbert Lange <[email protected]>Cc Sen Hastings <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 52/84 package/tpm2-openssl: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...TRING-and-X509_NAME-access-for-OpenS.patch | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 package/tpm2-openssl/0001-Fix-ASN1_OCTET_STRING-and-X509_NAME-access-for-OpenS.patch
package/tpm2-openssl/0001-Fix-ASN1_OCTET_STRING-and-X509_NAME-access-for-OpenS.patch new file +87 -0
@@ -0,0 +1,87 @@ +From 6dcc3b2984e3f4dc1849c79d89c6ce736a8435b3 Mon Sep 17 00:00:00 2001 +From: Petr Gotthard <[email protected]> +Date: Sat, 7 Mar 2026 15:51:12 +0100 +Subject: [PATCH] Fix ASN1_OCTET_STRING and X509_NAME access for OpenSSL 4.0 + compatibility + +Fixes: #166 + +Upstream: https://github.com/tpm2-software/tpm2-openssl/commit/6dcc3b2984e3f4dc1849c79d89c6ce736a8435b3 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/tpm2-provider-pkey.c | 8 ++++---- + test/ec_genpkey_x509_csr.c | 10 ++++++---- + test/rsa_pki/etc/email.conf | 2 +- + 3 files changed, 11 insertions(+), 9 deletions(-) + +diff --git a/src/tpm2-provider-pkey.c b/src/tpm2-provider-pkey.c +index 38f748e..80213af 100644 +--- a/src/tpm2-provider-pkey.c ++++ b/src/tpm2-provider-pkey.c +@@ -149,13 +149,13 @@ tpm2_keydata_read(BIO *bin, TPM2_KEYDATA *keydata, TPM2_PKEY_FORMAT format) + strcmp(type_oid, OID_loadableKey)) + goto error; + +- if (Tss2_MU_TPM2B_PRIVATE_Unmarshal(tpk->privkey->data, +- tpk->privkey->length, NULL, ++ if (Tss2_MU_TPM2B_PRIVATE_Unmarshal(ASN1_STRING_get0_data(tpk->privkey), ++ ASN1_STRING_length(tpk->privkey), NULL, + &keydata->priv)) + goto error; + +- if (Tss2_MU_TPM2B_PUBLIC_Unmarshal(tpk->pubkey->data, +- tpk->pubkey->length, NULL, ++ if (Tss2_MU_TPM2B_PUBLIC_Unmarshal(ASN1_STRING_get0_data(tpk->pubkey), ++ ASN1_STRING_length(tpk->pubkey), NULL, + &keydata->pub)) + goto error; + +diff --git a/test/ec_genpkey_x509_csr.c b/test/ec_genpkey_x509_csr.c +index e3523ec..5c9790a 100644 +--- a/test/ec_genpkey_x509_csr.c ++++ b/test/ec_genpkey_x509_csr.c +@@ -15,7 +15,7 @@ int generate_csr(const char *password, const char *filename) + EVP_PKEY_CTX *pctx = NULL; + EVP_PKEY *pkey = NULL; + X509_REQ *x509 = NULL; +- X509_NAME *name; ++ X509_NAME *name = NULL; + STACK_OF(X509_EXTENSION) *exts = NULL; + X509_EXTENSION *ex; + FILE *csr_file = NULL; +@@ -40,9 +40,10 @@ int generate_csr(const char *password, const char *filename) + || X509_REQ_set_pubkey(x509, pkey) != 1) + goto error1; + +- name = X509_REQ_get_subject_name(x509); +- if (!X509_NAME_add_entry_by_NID(name, NID_countryName, MBSTRING_ASC, (unsigned char *)"CZ", -1, -1, 0) +- || !X509_NAME_add_entry_by_NID(name, NID_commonName, MBSTRING_ASC, (const unsigned char *)"www.example.com", -1, -1, 0)) ++ if (!(name = X509_NAME_new()) ++ || !X509_NAME_add_entry_by_NID(name, NID_countryName, MBSTRING_ASC, (unsigned char *)"CZ", -1, -1, 0) ++ || !X509_NAME_add_entry_by_NID(name, NID_commonName, MBSTRING_ASC, (const unsigned char *)"www.example.com", -1, -1, 0) ++ || X509_REQ_set_subject_name(x509, name) != 1) + goto error1; + + // set requested extensions +@@ -75,6 +76,7 @@ error2: + fclose(csr_file); + error1: + sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free); ++ X509_NAME_free(name); + X509_REQ_free(x509); + EVP_PKEY_free(pkey); + EVP_PKEY_CTX_free(pctx); +diff --git a/test/rsa_pki/etc/email.conf b/test/rsa_pki/etc/email.conf +index 7606c38..73c06d2 100644 +--- a/test/rsa_pki/etc/email.conf ++++ b/test/rsa_pki/etc/email.conf +@@ -24,4 +24,4 @@ emailAddress = "[email protected]" + keyUsage = critical,digitalSignature,keyEncipherment + extendedKeyUsage = emailProtection,clientAuth + subjectKeyIdentifier = hash +-subjectAltName = email:move ++subjectAltName = email:copy +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 52/84] package/tpm2-openssl: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Romain Naour <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 53/84 package/trousers: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- package/trousers/0004-openssl4.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/trousers/0004-openssl4.patch
package/trousers/0004-openssl4.patch new file +26 -0
@@ -0,0 +1,26 @@ +Description: Fix for OpenSSL4 compatibility + Replace direct access to opaque ASN1_OCTET_STRING->data field with + ASN1_STRING_get0_data() accessor. ASN1_STRING is fully opaque in OpenSSL 4.0. +Author: Ravi Kant Sharma <[email protected]> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2155003 +Bug-Debian: https://bugs.debian.org/1138451 +Forwarded: no + +Patch downloaded from Debian: +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138451#12 + +Upstream: https://sourceforge.net/p/trousers/bugs/240/ + +Signed-off-by: Bernd Kuhls <[email protected]> + +--- a/src/tspi/tspi_asn1.c ++++ b/src/tspi/tspi_asn1.c +@@ -237,7 +237,7 @@ + + if (*rawBlobSize != 0) { + if (decBlobSize <= *rawBlobSize) { +- memcpy(rawBlob, tssBlob->blob->data, decBlobSize); ++ memcpy(rawBlob, ASN1_STRING_get0_data(tssBlob->blob), decBlobSize); + } + else { + TSS_BLOB_free(tssBlob);
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH v8 53/84] package/trousers: Fix build with OpenSSL 4.0.0
Quoted 2 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>Cc Noé Rubinstein <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 54/84 package/uboot-tools: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...Add-support-for-OpenSSL-Provider-API.patch | 304 ++++++++++++++++++ 1 file changed, 304 insertions(+) create mode 100644 package/uboot-tools/0003-Add-support-for-OpenSSL-Provider-API.patch
package/uboot-tools/0003-Add-support-for-OpenSSL-Provider-API.patch new file +304 -0
@@ -0,0 +1,304 @@ +From 9f78e701fa5a4faf69119d9fe1e485e76de2fe3b Mon Sep 17 00:00:00 2001 +From: Eddie Kovsky <[email protected]> +Date: Mon, 23 Feb 2026 09:43:22 -0700 +Subject: [PATCH] Add support for OpenSSL Provider API + +The Engine API has been deprecated since the release of OpenSSL 3.0. End +users have been advised to migrate to the new Provider interface. +Several distributions have already removed support for engines, which is +preventing U-Boot from being compiled in those environments. + +Add support for the Provider API while continuing to support the existing +Engine API on distros shipping older releases of OpenSSL. + +This is based on similar work contributed by Jan Stancek updating Linux +to use the Provider interface. + + commit 558bdc45dfb2669e1741384a0c80be9c82fa052c + Author: Jan Stancek <[email protected]> + Date: Fri Sep 20 19:52:48 2024 +0300 + + sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 + +The changes have been tested with the FIT signature verification vboot +tests on Fedora 42 and Debian 13. All 30 tests pass with both the legacy +Engine library installed and with the Provider API. + +Signed-off-by: Eddie Kovsky <[email protected]> + +Upstream: https://github.com/u-boot/u-boot/pull/918 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + lib/aes/aes-encrypt.c | 4 +- + lib/rsa/rsa-sign.c | 102 +++++++++++++++++++++++++++++++++++++++--- + 2 files changed, 100 insertions(+), 6 deletions(-) + +diff --git a/lib/aes/aes-encrypt.c b/lib/aes/aes-encrypt.c +index 90e1407b4f0..4fc4ce23247 100644 +--- a/lib/aes/aes-encrypt.c ++++ b/lib/aes/aes-encrypt.c +@@ -16,7 +16,9 @@ + #include <openssl/err.h> + #include <openssl/ssl.h> + #include <openssl/evp.h> +-#include <openssl/engine.h> ++#if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) ++# include <openssl/engine.h> ++#endif + #include <uboot_aes.h> + + #if OPENSSL_VERSION_NUMBER >= 0x10000000L +diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c +index 0e38c9e802f..f456f3c58e6 100644 +--- a/lib/rsa/rsa-sign.c ++++ b/lib/rsa/rsa-sign.c +@@ -19,7 +19,47 @@ + #include <openssl/err.h> + #include <openssl/ssl.h> + #include <openssl/evp.h> +-#include <openssl/engine.h> ++#if OPENSSL_VERSION_MAJOR >= 3 ++# define USE_PKCS11_PROVIDER ++# include <err.h> ++# include <openssl/provider.h> ++# include <openssl/store.h> ++#else ++# if !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_DEPRECATED_3_0) ++# define USE_PKCS11_ENGINE ++# include <openssl/engine.h> ++# endif ++#endif ++ ++#ifdef USE_PKCS11_PROVIDER ++#define ERR(cond, fmt, ...) \ ++ do { \ ++ bool __cond = (cond); \ ++ drain_openssl_errors(__LINE__, 0); \ ++ if (__cond) { \ ++ errx(1, fmt, ## __VA_ARGS__); \ ++ } \ ++ } while (0) ++ ++static void drain_openssl_errors(int l, int silent) ++{ ++ const char *file; ++ char buf[120]; ++ int e, line; ++ ++ if (ERR_peek_error() == 0) ++ return; ++ if (!silent) ++ fprintf(stderr, "At main.c:%d:\n", l); ++ ++ while ((e = ERR_peek_error_line(&file, &line))) { ++ ERR_error_string(e, buf); ++ if (!silent) ++ fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); ++ ERR_get_error(); ++ } ++} ++#endif + + static int rsa_err(const char *msg) + { +@@ -94,10 +134,11 @@ err_cert: + * + * @keydir: Key prefix + * @name Name of key +- * @engine Engine to use ++ * @engine Engine to use or NULL when using pkcs11 provider + * @evpp Returns EVP_PKEY object, or NULL on failure + * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) + */ ++#ifdef USE_PKCS11_ENGINE + static int rsa_engine_get_pub_key(const char *keydir, const char *name, + ENGINE *engine, EVP_PKEY **evpp) + { +@@ -157,21 +198,24 @@ static int rsa_engine_get_pub_key(const char *keydir, const char *name, + + return 0; + } ++#endif + + /** + * rsa_get_pub_key() - read a public key + * + * @keydir: Directory containing the key (PEM file) or key prefix (engine) + * @name Name of key file (will have a .crt extension) +- * @engine Engine to use ++ * @engine Engine to use or NULL when using pkcs11 provider + * @evpp Returns EVP_PKEY object, or NULL on failure + * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) + */ + static int rsa_get_pub_key(const char *keydir, const char *name, + ENGINE *engine, EVP_PKEY **evpp) + { ++#ifdef USE_PKCS11_ENGINE + if (engine) + return rsa_engine_get_pub_key(keydir, name, engine, evpp); ++#endif + return rsa_pem_get_pub_key(keydir, name, evpp); + } + +@@ -207,13 +251,44 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, + return -ENOENT; + } + ++#ifdef USE_PKCS11_PROVIDER ++ EVP_PKEY *private_key = NULL; ++ OSSL_STORE_CTX *store; ++ ++ if (!OSSL_PROVIDER_try_load(NULL, "pkcs11", true)) ++ ERR(1, "OSSL_PROVIDER_try_load(pkcs11)"); ++ if (!OSSL_PROVIDER_try_load(NULL, "default", true)) ++ ERR(1, "OSSL_PROVIDER_try_load(default)"); ++ ++ store = OSSL_STORE_open(path, NULL, NULL, NULL, NULL); ++ ERR(!store, "OSSL_STORE_open"); ++ ++ while (!OSSL_STORE_eof(store)) { ++ OSSL_STORE_INFO *info = OSSL_STORE_load(store); ++ ++ if (!info) { ++ drain_openssl_errors(__LINE__, 0); ++ continue; ++ } ++ if (OSSL_STORE_INFO_get_type(info) == OSSL_STORE_INFO_PKEY) { ++ private_key = OSSL_STORE_INFO_get1_PKEY(info); ++ ERR(!private_key, "OSSL_STORE_INFO_get1_PKEY"); ++ } ++ OSSL_STORE_INFO_free(info); ++ if (private_key) ++ break; ++ } ++ OSSL_STORE_close(store); ++ ++ *evpp = private_key; ++#else + if (!PEM_read_PrivateKey(f, evpp, NULL, path)) { + rsa_err("Failure reading private key"); + fclose(f); + return -EPROTO; + } + fclose(f); +- ++#endif + return 0; + } + +@@ -226,6 +301,7 @@ static int rsa_pem_get_priv_key(const char *keydir, const char *name, + * @evpp Returns EVP_PKEY object, or NULL on failure + * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) + */ ++#ifdef USE_PKCS11_ENGINE + static int rsa_engine_get_priv_key(const char *keydir, const char *name, + const char *keyfile, + ENGINE *engine, EVP_PKEY **evpp) +@@ -293,22 +369,25 @@ static int rsa_engine_get_priv_key(const char *keydir, const char *name, + + return 0; + } ++#endif + + /** + * rsa_get_priv_key() - read a private key + * + * @keydir: Directory containing the key (PEM file) or key prefix (engine) + * @name Name of key +- * @engine Engine to use for signing ++ * @engine Engine to use or NULL when using pkcs11 provider + * @evpp Returns EVP_PKEY object, or NULL on failure + * Return: 0 if ok, -ve on error (in which case *evpp will be set to NULL) + */ + static int rsa_get_priv_key(const char *keydir, const char *name, + const char *keyfile, ENGINE *engine, EVP_PKEY **evpp) + { ++#ifdef USE_PKCS11_ENGINE + if (engine) + return rsa_engine_get_priv_key(keydir, name, keyfile, engine, + evpp); ++#endif + return rsa_pem_get_priv_key(keydir, name, keyfile, evpp); + } + +@@ -325,6 +404,7 @@ static int rsa_init(void) + return 0; + } + ++#ifdef USE_PKCS11_ENGINE + static int rsa_engine_init(const char *engine_id, ENGINE **pe) + { + const char *key_pass; +@@ -380,6 +460,7 @@ static void rsa_engine_remove(ENGINE *e) + ENGINE_free(e); + } + } ++#endif + + static int rsa_sign_with_key(EVP_PKEY *pkey, struct padding_algo *padding_algo, + struct checksum_algo *checksum_algo, +@@ -480,11 +561,13 @@ int rsa_sign(struct image_sign_info *info, + if (ret) + return ret; + ++#ifdef USE_PKCS11_ENGINE + if (info->engine_id) { + ret = rsa_engine_init(info->engine_id, &e); + if (ret) + return ret; + } ++#endif + + ret = rsa_get_priv_key(info->keydir, info->keyname, info->keyfile, + e, &pkey); +@@ -496,16 +579,21 @@ int rsa_sign(struct image_sign_info *info, + goto err_sign; + + EVP_PKEY_free(pkey); ++ ++#ifdef USE_PKCS11_ENGINE + if (info->engine_id) + rsa_engine_remove(e); ++#endif + + return ret; + + err_sign: + EVP_PKEY_free(pkey); + err_priv: ++#ifdef USE_PKCS11_ENGINE + if (info->engine_id) + rsa_engine_remove(e); ++#endif + return ret; + } + +@@ -645,11 +733,13 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest) + ENGINE *e = NULL; + + debug("%s: Getting verification data\n", __func__); ++#ifdef USE_PKCS11_ENGINE + if (info->engine_id) { + ret = rsa_engine_init(info->engine_id, &e); + if (ret) + return ret; + } ++#endif + ret = rsa_get_pub_key(info->keydir, info->keyname, e, &pkey); + if (ret) + goto err_get_pub_key; +@@ -726,8 +816,10 @@ done: + err_get_params: + EVP_PKEY_free(pkey); + err_get_pub_key: ++#ifdef USE_PKCS11_ENGINE + if (info->engine_id) + rsa_engine_remove(e); ++#endif + + if (ret) + return ret; +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 55/84 package/xmrig: Add support for OpenSSL 4.0.0
In reply to Bernd Kuhls--- .../0001-Fix-build-with-OpenSSL-4.0.0.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/xmrig/0001-Fix-build-with-OpenSSL-4.0.0.patch
package/xmrig/0001-Fix-build-with-OpenSSL-4.0.0.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 357fab10b79e49dc9b8f42dc6cf425a8124a3f40 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <[email protected]> +Date: Sat, 2 May 2026 16:45:38 +0200 +Subject: [PATCH] Fix build with OpenSSL 4.0.0 + +src/base/net/tls/TlsGen.cpp: In member function 'bool + xmrig::TlsGen::generate_x509(const char*)': +src/base/net/tls/TlsGen.cpp:118:32: error: invalid conversion from + 'const X509_name_st*' to 'X509_NAME*' {aka 'X509_name_st*'} + [-fpermissive] + 118 | X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const uint8_t *>(commonName), -1, -1, 0); + | ^~~~ + | | + | const X509_name_st* + +https://github.com/openssl/openssl/issues/29117 + +Upstream: https://github.com/xmrig/xmrig/pull/3808 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/base/net/tls/TlsGen.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/base/net/tls/TlsGen.cpp b/src/base/net/tls/TlsGen.cpp +index ad2e648b..59e4f0c9 100644 +--- a/src/base/net/tls/TlsGen.cpp ++++ b/src/base/net/tls/TlsGen.cpp +@@ -115,7 +115,7 @@ bool xmrig::TlsGen::generate_x509(const char *commonName) + X509_gmtime_adj(X509_get_notAfter(m_x509), 315360000L); + + auto name = X509_get_subject_name(m_x509); +- X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const uint8_t *>(commonName), -1, -1, 0); ++ X509_NAME_add_entry_by_txt((X509_NAME *) name, "CN", MBSTRING_ASC, reinterpret_cast<const uint8_t *>(commonName), -1, -1, 0); + + X509_set_issuer_name(m_x509, name); + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 56/84 package/znc: Fix build with OpenSSL 4.0.0
In reply to Bernd Kuhls--- ...-Fix-build-error-with-OpenSSL-4-2024.patch | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 package/znc/0001-Fix-build-error-with-OpenSSL-4-2024.patch
package/znc/0001-Fix-build-error-with-OpenSSL-4-2024.patch new file +57 -0
@@ -0,0 +1,57 @@ +From 94bcf919e1163564e637df8d437585bc7b55e7aa Mon Sep 17 00:00:00 2001 +From: Ravi Kant Sharma <[email protected]> +Date: Mon, 29 Jun 2026 20:03:27 +0200 +Subject: [PATCH] Fix build error with OpenSSL 4 (#2024) + +More details here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138356 + +Upstream: https://github.com/znc/znc/commit/94bcf919e1163564e637df8d437585bc7b55e7aa + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/SSLVerifyHost.cpp | 4 ++-- + src/Utils.cpp | 5 ++++- + 2 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/src/SSLVerifyHost.cpp b/src/SSLVerifyHost.cpp +index ccc20898..99b215bc 100644 +--- a/src/SSLVerifyHost.cpp ++++ b/src/SSLVerifyHost.cpp +@@ -306,8 +306,8 @@ typedef enum { + static HostnameValidationResult matches_common_name(const char* hostname, + const X509* server_cert) { + int common_name_loc = -1; +- X509_NAME_ENTRY* common_name_entry = nullptr; +- ASN1_STRING* common_name_asn1 = nullptr; ++ const X509_NAME_ENTRY* common_name_entry = nullptr; ++ const ASN1_STRING* common_name_asn1 = nullptr; + CONST_ASN1_STRING_DATA char* common_name_str = nullptr; + + // Find the position of the CN field in the Subject field of the certificate +diff --git a/src/Utils.cpp b/src/Utils.cpp +index ed2c9c83..744f61d1 100644 +--- a/src/Utils.cpp ++++ b/src/Utils.cpp +@@ -129,7 +129,8 @@ void CUtils::GenerateCert(FILE* pOut) { + sEmailAddr += "@"; + sEmailAddr += sHostName; + +- X509_NAME* pName = X509_get_subject_name(pCert.get()); ++ X509_NAME* pName = X509_NAME_new(); ++ if (!pName) return; + X509_NAME_add_entry_by_txt(pName, "OU", MBSTRING_ASC, + (unsigned char*)pLogName, -1, -1, 0); + X509_NAME_add_entry_by_txt(pName, "CN", MBSTRING_ASC, +@@ -137,7 +138,9 @@ void CUtils::GenerateCert(FILE* pOut) { + X509_NAME_add_entry_by_txt(pName, "emailAddress", MBSTRING_ASC, + (unsigned char*)sEmailAddr.c_str(), -1, -1, 0); + ++ X509_set_subject_name(pCert.get(), pName); + X509_set_issuer_name(pCert.get(), pName); ++ X509_NAME_free(pName); + + if (!X509_sign(pCert.get(), pKey.get(), EVP_sha256())) return; + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 57/84 package/freeswitch: fix build with ffmpeg 8.x
In reply to Bernd Kuhls--- ...elated-to-signalwire-freeswitch-2202.patch | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 package/freeswitch/0006-Fixes-related-to-signalwire-freeswitch-2202.patch
package/freeswitch/0006-Fixes-related-to-signalwire-freeswitch-2202.patch new file +103 -0
@@ -0,0 +1,103 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Korynkai <[email protected]> +Date: Mon, 30 Dec 2024 22:23:33 +0000 +Subject: [PATCH] Fixes related to signalwire/freeswitch#2202 + + AVOutputFormat::priv_data_size is marked private and no longer exists in the + public API as of FFMPEG 6.0, but found hidden in AVOutputFormat as part of + FFOutputFormat. AVCodecContext::ticks_per_frame was deprecated as of FFMPEG + 6.1. libavcodec notes 'do not use avcodec_close()' as of FFMPEG 3.1, use + avcodec_free_context() instead. AVFrame::key_frame was deprecated as of + FFMPEG 6.1, use AVFrame::flags instead. AVInputFormat::read_seek and + AVInputFormat::read_seek2 no longer exists as of FFMPEG 7.0. This seems to + only be used for logging purposes, so guard this functionality accordingly. + +Upstream: https://github.com/signalwire/freeswitch/pull/3214 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/mod/applications/mod_av/avformat.c | 12 ++++++++++-- + src/mod/applications/mod_av/mod_av.h | 1 + + 2 files changed, 11 insertions(+), 2 deletions(-) + +diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c +index d617a52dfe..edba9c27c7 100644 +--- a/src/mod/applications/mod_av/avformat.c ++++ b/src/mod/applications/mod_av/avformat.c +@@ -637,12 +637,14 @@ static switch_status_t add_stream(av_file_context_t *context, MediaStream *mst, + c->rc_initial_buffer_occupancy = buffer_bytes * 8; + + if (codec_id == AV_CODEC_ID_H264) { ++#if (LIBAVCODEC_VERSION_MAJOR < LIBAVFORMAT_8_V) + #if ((LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_6_V && LIBAVFORMAT_VERSION_MINOR >= LIBAVFORMAT_61_V) || LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_7_V) + GCC_DIAG_OFF(deprecated-declarations) + #endif + c->ticks_per_frame = 2; + #if ((LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_6_V && LIBAVFORMAT_VERSION_MINOR >= LIBAVFORMAT_61_V) || LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_7_V) + GCC_DIAG_ON(deprecated-declarations) ++#endif + #endif + + c->flags|=AV_CODEC_FLAG_LOOP_FILTER; // flags=+loop +@@ -1431,7 +1433,7 @@ static switch_status_t open_input_file(av_file_context_t *context, switch_file_h + switch_goto_status(SWITCH_STATUS_FALSE, err); + } + +-#if (LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_7_V) ++#if (LIBAVFORMAT_VERSION_MAJOR >= LIBAVFORMAT_7_V) + handle->seekable = !(context->fc->iformat->flags & AVFMT_NOTIMESTAMPS); + #else + handle->seekable = context->fc->iformat->read_seek2 ? 1 : (context->fc->iformat->read_seek ? 1 : 0); +@@ -3123,14 +3125,18 @@ static switch_status_t av_file_read_video(switch_file_handle_t *handle, switch_f + void *pop; + MediaStream *mst = &context->video_st; + AVStream *st = mst->st; ++#if (LIBAVCODEC_VERSION_MAJOR < LIBAVFORMAT_8_V) + int ticks = 0; ++#endif + int64_t max_delta = 1 * AV_TIME_BASE; // 1 second + switch_status_t status = SWITCH_STATUS_SUCCESS; + double fl_to = 0.02; + int do_fl = 0; + int smaller_ts = context->read_fps; ++#if (LIBAVCODEC_VERSION_MAJOR < LIBAVFORMAT_8_V) + AVCodecContext *c = NULL; + AVCodecParserContext *cp = NULL; ++#endif + + if (!context->has_video) return SWITCH_STATUS_FALSE; + +@@ -3238,6 +3244,7 @@ static switch_status_t av_file_read_video(switch_file_handle_t *handle, switch_f + } + #endif + ++#if (LIBAVCODEC_VERSION_MAJOR < LIBAVFORMAT_8_V) + if ((c = av_get_codec_context(mst)) && c->time_base.num) { + cp = av_stream_get_parser(st); + #if ((LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_6_V && LIBAVFORMAT_VERSION_MINOR >= LIBAVFORMAT_61_V) || LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_7_V) +@@ -3252,8 +3259,9 @@ GCC_DIAG_OFF(deprecated-declarations) + context->video_start_time, ticks, c ? c->ticks_per_frame : -1, st->time_base.num, st->time_base.den, c ? c->time_base.num : -1, c ? c->time_base.den : -1, + st->start_time, st->duration == AV_NOPTS_VALUE ? context->fc->duration / AV_TIME_BASE * 1000 : st->duration, st->nb_frames, av_q2d(st->time_base)); + } +-#if ((LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_6_V && LIBAVFORMAT_VERSION_MINOR >= LIBAVFORMAT_61_V) || LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_7_V) ++#if ((LIBAVFORMAT_VERSION_MAJOR == LIBAVFORMAT_6_V && LIBAVFORMAT_VERSION_MINOR >= LIBAVFORMAT_61_V) || LIBAVFORMAT_VERSION_MAJOR >= LIBAVFORMAT_7_V) + GCC_DIAG_ON(deprecated-declarations) ++#endif + #endif + + again: +diff --git a/src/mod/applications/mod_av/mod_av.h b/src/mod/applications/mod_av/mod_av.h +index 8152a77a81..565537a247 100644 +--- a/src/mod/applications/mod_av/mod_av.h ++++ b/src/mod/applications/mod_av/mod_av.h +@@ -47,6 +47,7 @@ + #define LIBAVFORMAT_V 59 /* FFmpeg version >= 5.1 */ + #define LIBAVFORMAT_6_V 60 /* FFmpeg version >= 6.0 */ + #define LIBAVFORMAT_7_V 61 /* FFmpeg version >= 7.0 */ ++#define LIBAVFORMAT_8_V 62 /* FFmpeg version >= 8.0 */ + #define LIBAVFORMAT_61_V 16 /* FFmpeg version >= 6.1 */ + #define LIBAVUTIL_V 57 /* FFmpeg version >= 5.1 */ + +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 58/84 package/gstreamer1/gst1-libav: fix build with ffmpeg 9.x
In reply to Bernd Kuhls--- ...av-Fix-build-failure-with-FFmpeg-9.0.patch | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 package/gstreamer1/gst1-libav/0001-gst-libav-Fix-build-failure-with-FFmpeg-9.0.patch
package/gstreamer1/gst1-libav/0001-gst-libav-Fix-build-failure-with-FFmpeg-9.0.patch new file +72 -0
@@ -0,0 +1,72 @@ +From be9bdb67f4fc868977f1f74e95b6ebe19ef792ec Mon Sep 17 00:00:00 2001 +From: Reilly Brogan <[email protected]> +Date: Tue, 4 Aug 2026 12:09:11 -0500 +Subject: [PATCH] gst-libav: Fix build failure with FFmpeg 9.0 + +Closes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/work_items/5251 + +Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/12217> + +Upstream: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/be9bdb67f4fc868977f1f74e95b6ebe19ef792ec + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + ext/libav/gstavviddec.c | 15 +++++++++------ + ext/libav/gstavvidenc.c | 15 +++++++++------ + 2 files changed, 18 insertions(+), 12 deletions(-) + +diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c +index e21f3e1558..39335d98b1 100644 +--- a/ext/libav/gstavviddec.c ++++ b/ext/libav/gstavviddec.c +@@ -2677,12 +2677,15 @@ gst_ffmpegviddec_register (GstPlugin * plugin) + continue; + + /* no quasi codecs, please */ +- if (in_plugin->id == AV_CODEC_ID_RAWVIDEO || +- in_plugin->id == AV_CODEC_ID_V210 || +- in_plugin->id == AV_CODEC_ID_V210X || +- in_plugin->id == AV_CODEC_ID_V308 || +- in_plugin->id == AV_CODEC_ID_V408 || +- in_plugin->id == AV_CODEC_ID_V410 || in_plugin->id == AV_CODEC_ID_R210 ++ if (in_plugin->id == AV_CODEC_ID_RAWVIDEO ++ || in_plugin->id == AV_CODEC_ID_V210 ++ || in_plugin->id == AV_CODEC_ID_V210X ++ || in_plugin->id == AV_CODEC_ID_R210 ++#if LIBAVCODEC_VERSION_MAJOR < 63 ++ || in_plugin->id == AV_CODEC_ID_V308 ++ || in_plugin->id == AV_CODEC_ID_V408 ++ || in_plugin->id == AV_CODEC_ID_V410 ++#endif + #if LIBAVCODEC_VERSION_MAJOR < 61 + || in_plugin->id == AV_CODEC_ID_AYUV + #endif +diff --git a/ext/libav/gstavvidenc.c b/ext/libav/gstavvidenc.c +index 2ae6a1b451..b8e010e70c 100644 +--- a/ext/libav/gstavvidenc.c ++++ b/ext/libav/gstavvidenc.c +@@ -1025,12 +1025,15 @@ gst_ffmpegvidenc_register (GstPlugin * plugin) + continue; + + /* no quasi codecs, please */ +- if (in_plugin->id == AV_CODEC_ID_RAWVIDEO || +- in_plugin->id == AV_CODEC_ID_V210 || +- in_plugin->id == AV_CODEC_ID_V210X || +- in_plugin->id == AV_CODEC_ID_V308 || +- in_plugin->id == AV_CODEC_ID_V408 || +- in_plugin->id == AV_CODEC_ID_V410 || in_plugin->id == AV_CODEC_ID_R210 ++ if (in_plugin->id == AV_CODEC_ID_RAWVIDEO ++ || in_plugin->id == AV_CODEC_ID_V210 ++ || in_plugin->id == AV_CODEC_ID_V210X ++ || in_plugin->id == AV_CODEC_ID_R210 ++#if LIBAVCODEC_VERSION_MAJOR < 63 ++ || in_plugin->id == AV_CODEC_ID_V308 ++ || in_plugin->id == AV_CODEC_ID_V408 ++ || in_plugin->id == AV_CODEC_ID_V410 ++#endif + #if LIBAVCODEC_VERSION_MAJOR < 61 + || in_plugin->id == AV_CODEC_ID_AYUV + #endif +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 59/84 package/opencv4: fix build with ffmpeg 9.x
In reply to Bernd Kuhls--- ...FFmpeg-after-AVCodec-pix_fmts-remova.patch | 58 ++++++++++++++ ...se-avcodec_get_supported_config-for-.patch | 76 +++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 package/opencv4/0001-videoio-support-FFmpeg-after-AVCodec-pix_fmts-remova.patch create mode 100644 package/opencv4/0002-videoio-ffmpeg-use-avcodec_get_supported_config-for-.patch
package/opencv4/0001-videoio-support-FFmpeg-after-AVCodec-pix_fmts-remova.patch new file +58 -0
@@ -0,0 +1,58 @@ +From 700cd32ffd59ed3c6f6aec1919867653d8b125ea Mon Sep 17 00:00:00 2001 +From: Aadhu23 <[email protected]> +Date: Thu, 16 Jul 2026 09:21:37 +0000 +Subject: [PATCH] videoio: support FFmpeg after AVCodec::pix_fmts removal + +Upstream: https://github.com/opencv/opencv/commit/700cd32ffd59ed3c6f6aec1919867653d8b125ea + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + modules/videoio/src/cap_ffmpeg_hw.hpp | 25 +++++++++++++++++++++++++ + 1 file changed, 25 insertions(+) + +diff --git a/modules/videoio/src/cap_ffmpeg_hw.hpp b/modules/videoio/src/cap_ffmpeg_hw.hpp +index 65045a2bc7..bb5e4c1088 100644 +--- a/modules/videoio/src/cap_ffmpeg_hw.hpp ++++ b/modules/videoio/src/cap_ffmpeg_hw.hpp +@@ -757,6 +757,30 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + #endif + if (hw_type == AV_HWDEVICE_TYPE_CUDA) // CUDA encoders don't support avcodec_get_hw_config() + hw_native_fmt = AV_PIX_FMT_CUDA; ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) ++ if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE) { ++ const AVPixelFormat *pix_fmts = NULL; ++ int num_pix_fmts = 0; ++ ++ int ret = avcodec_get_supported_config( ++ NULL, ++ c, ++ AV_CODEC_CONFIG_PIX_FORMAT, ++ 0, ++ (const void **)&pix_fmts, ++ &num_pix_fmts); ++ ++ if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { ++ for (int i = 0; i < num_pix_fmts; i++) { ++ if (pix_fmts[i] == hw_native_fmt) { ++ *hw_pix_fmt = hw_native_fmt; ++ if (hw_check_codec(c, hw_type, disabled_codecs)) ++ return c; ++ } ++ } ++ } ++ } ++#else + if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE && c->pix_fmts) { + for (int i = 0; c->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { + if (c->pix_fmts[i] == hw_native_fmt) { +@@ -766,6 +790,7 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + } + } + } ++#endif + for (int i = 0;; i++) { + const AVCodecHWConfig *hw_config = avcodec_get_hw_config(c, i); + if (!hw_config) +-- +2.47.3 +
package/opencv4/0002-videoio-ffmpeg-use-avcodec_get_supported_config-for-.patch new file +76 -0
76 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 60/84 package/shairport-sync: fix build with ffmpeg 9.x
In reply to Bernd Kuhls--- ...lution-code-1-to-be-multithreaded-2-.patch | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 package/shairport-sync/0001-Update-the-convolution-code-1-to-be-multithreaded-2-.patch
package/shairport-sync/0001-Update-the-convolution-code-1-to-be-multithreaded-2-.patch new file +76 -0
@@ -0,0 +1,76 @@ +From db8b65c01c60c5666f674ff9e1a30cca0f62d89d Mon Sep 17 00:00:00 2001 +From: Mike Brady <[email protected]> +Date: Mon, 13 Oct 2025 13:26:20 +0100 +Subject: [PATCH] Update the convolution code: (1) to be multithreaded, (2) to + work on multichannel audio and (3) to work on 48k and 44.1k audio. + + Allow multiple impulse response (IR) files with a new setting: "convolution_ir_files" + When convolution starts, Shairport Sync will look for an IR file with a sample rate + matching the input (44.1k or 48k) and channel count. + If one can't be found, it will look for a single-channel IR file with the same rate. + It will always choose the first match in the file list supplied "convolution_ir_files". + + Allow multithreading -- use the "convolution_thread_pool_size" to set the number of threads to use. + + Deprecate "convolution" -- use "convolution_enabled" instead. + Deprecate "convolution_max_length" -- use "convolution_max_length_in_seconds" instead. + Deprecate "convolution_ir_file" -- use "convolution_ir_files" instead. + Update corresponding D-Bus methods and properties. + +Update the loudness code to work on 48k and well as 44.1k audio and with multichannel audio. + + Deprecate "loudness" -- use "loudness_enabled" instead. + Update corresponding D-Bus methods and properties. + +Fix a deprecated FFmpeg warning. + +Update HiFi-LoFi FFT convolver to latest available. + +Upstream: https://github.com/mikebrady/shairport-sync/commit/d043f983305042035966a38e88fcce0236eb3bb4 + +[Bernd: backported ffmpeg 9.x fix to 4.3.7] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + shairport.c | 25 ++++++++++++++++++++----- + 1 file changed, 20 insertions(+), 5 deletions(-) + +diff --git a/shairport.c b/shairport.c +index 87ac0ea7..6c19c314 100644 +--- a/shairport.c ++++ b/shairport.c +@@ -160,12 +160,27 @@ int has_fltp_capable_aac_decoder(void) { + int has_capability = 0; + const AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_AAC); + if (codec != NULL) { +- const enum AVSampleFormat *p = codec->sample_fmts; +- if (p != NULL) { +- while ((has_capability == 0) && (*p != AV_SAMPLE_FMT_NONE)) { +- if (*p == AV_SAMPLE_FMT_FLTP) ++ ++ const enum AVSampleFormat *formats = NULL; ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) ++ // New API (FFmpeg 7.1+) for getting formats ++ debug(3, "getting sample formats the new way"); ++ int format_count = 0; ++ if ((avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_SAMPLE_FORMAT, 0, ++ (const void **)&formats, &format_count) < 0) || ++ (format_count == 0)) ++ formats = NULL; // not clear if the returned pointer is nulled on error or on zero items ++#else ++ debug(3, "getting sample formats the old way"); ++ // older API ++ formats = codec->sample_fmts; ++#endif ++ ++ if (formats != NULL) { ++ while ((has_capability == 0) && (*formats != AV_SAMPLE_FMT_NONE)) { ++ if (*formats == AV_SAMPLE_FMT_FLTP) + has_capability = 1; +- p++; ++ formats++; + } + } + } +-- +2.47.3 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 61/84 package/ncurses: install wide-char headers in usr/include/ncursesw/
In reply to Bernd KuhlsPython 3.15 changed its ncurses wide-/non-wide-char detection and now relies on detecting the correct headers:
https://github.com/python/cpython/commit/383c7bd38a5f0923db48f67fda9d852d189921e6
Buildroot toolchain x86-64-core-i7--glibc--bleeding-edge-2026.08-1 contains the non-wide-char version of sysroot/usr/include/curses.h which overwrites the wide-char version provided by the ncurses package during the configure/rsync stage of the python3 package in the case of BR2_PER_PACKAGE_DIRECTORIES=y. The toolchain package is sorted alpha- betically after the ncurses package.
To provide correct headers for the python3 package and to not interfere with other buildroot packages we additionally install only the wchar- enabled headers in usr/include/ncursesw/ which is tested by python3 configure before usr/include/:
https://github.com/python/cpython/blob/v3.15.0rc3/configure.ac#L7149
Configure log snippet of python3 without this patch:
checking for ncursesw... yes
checking for panelw... yes
checking for ncursesw/curses.h... no
checking for ncursesw/ncurses.h... no
checking for ncursesw/panel.h... no
checking for ncurses/curses.h... no
checking for ncurses/ncurses.h... no
checking for ncurses/panel.h... no
checking for curses.h... yes
checking for ncurses.h... yes
checking for panel.h... yes
checking for library containing initscr... none required checking for library containing update_panels... none required checking whether curses supports wide characters... no checking for term.h... yes
config.log contains:
configure:29861: checking whether curses supports wide characters [...]
conftest.c:535:9: error: implicit declaration of function 'setcchar';
did you mean 'getchar'? [-Wimplicit-function-declaration]
535 | setcchar(&wcval, L"x", A_NORMAL, 0, NULL);
Configure log snippet of python3 with this patch:
checking for ncursesw... yes
checking for panelw... yes
checking for ncursesw/curses.h... yes
checking for ncursesw/ncurses.h... no
checking for ncursesw/panel.h... yes
checking for ncurses/curses.h... no
checking for ncurses/ncurses.h... no
checking for ncurses/panel.h... no
checking for curses.h... yes
checking for ncurses.h... yes
checking for panel.h... yes
checking for library containing initscr... none required checking for library containing update_panels... none required checking whether curses supports wide characters... yes checking for term.h... yes
The relevant line is 'checking whether curses supports wide characters' which needs to have 'yes' as result when ncurses is configured with BR2_PACKAGE_NCURSES_WCHAR=y, otherwise the python3 build is broken:
./Modules/_cursesmodule.c: In function ‘_curses_window_addch_impl’:./Modules/_cursesmodule.c:1009:15: error: implicit declaration of
function ‘setcchar’; did you mean ‘getchar’? [-Wimplicit-function-declaration]./Modules/_cursesmodule.c:1015:19: error: implicit declaration of
function ‘mvwadd_wch’; did you mean ‘mvwaddch’? [-Wimplicit-function-declaration]./Modules/_cursesmodule.c:1019:19: error: implicit declaration o f function ‘wadd_wch’; did you mean ‘waddch’?
[-Wimplicit-function-declaration]
This patch should also fix similar problems:
https://lists.buildroot.org/pipermail/buildroot/2024-September/763179.html
https://lists.buildroot.org/pipermail/buildroot/2025-January/770215.html
The specific problem w.r.t. to per-package directories was also discussed:
https://lists.buildroot.org/pipermail/buildroot/2021-August/684119.html
--- package/ncurses/ncurses.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/ncurses/ncurses.mk +7 -0
@@ -85,6 +85,12 @@ NCURSES_CONF_OPTS += --enable-widec NCURSES_LIB_SUFFIX = w NCURSES_LIBS = ncurses menu panel form +define NCURSES_COPY_WCHAR_HEADERS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ + INCLUDEDIR=$(STAGING_DIR)/usr/include/ncursesw \ + install.includes +endef + define NCURSES_LINK_LIBS_STATIC $(foreach lib,$(NCURSES_LIBS:%=lib%), \ ln -sf $(lib)$(NCURSES_LIB_SUFFIX).a $(STAGING_DIR)/usr/lib/$(lib).a
@@ -116,6 +122,7 @@ NCURSES_LINK_STAGING_PC = $(call NCURSES_LINK_PC) NCURSES_CONF_OPTS += --enable-ext-colors +NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_COPY_WCHAR_HEADERS NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_LINK_STAGING_LIBS NCURSES_POST_INSTALL_STAGING_HOOKS += NCURSES_LINK_STAGING_PC else
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 62/84 package/python3: bump version to 3.15.0rc3
In reply to Bernd Kuhlshttps://www.python.org/downloads/release/python-3150rc3/
Rebased patches using --zero-commit option for easier updates in the future.
--- ...e-the-build-of-pyc-files-conditional.patch | 14 ++--- .../0002-Add-an-option-to-disable-pydoc.patch | 24 ++++---- .../0003-Add-an-option-to-disable-IDLE.patch | 18 +++--- ...move-PY_STDLIB_MOD_SET_NA-further-up.patch | 8 +-- ...option-to-disable-the-sqlite3-module.patch | 16 +++--- ...d-an-option-to-disable-the-tk-module.patch | 18 +++--- ...-option-to-disable-the-curses-module.patch | 14 ++--- .../0008-Add-an-option-to-disable-expat.patch | 14 ++--- ...ac-detect-unusable-termio-operations.patch | 16 +++--- ...mpilation-of-Modules-_remote_debuggi.patch | 55 ------------------- package/python3/python3.hash | 4 +- package/python3/python3.mk | 6 +- 12 files changed, 76 insertions(+), 131 deletions(-) delete mode 100644 package/python3/0010-gh-139275-Fix-compilation-of-Modules-_remote_debuggi.patch
package/python3/0001-Make-the-build-of-pyc-files-conditional.patch +7 -7
@@ -1,4 +1,4 @@ -From 52bb6f2a3ef352cda16d95a588a0356da562de8e Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Wed, 22 Feb 2017 16:21:31 -0800 Subject: [PATCH] Make the build of pyc files conditional
@@ -15,7 +15,7 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 2 ++
@@ -23,10 +23,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 9 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 08ad5f4921d..486a35ed99b 100644 +index 965244d8d2d..00b8828e222 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2812,6 +2812,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c +@@ -2915,6 +2915,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c patch --force --reject-file "$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory "$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)" || true ; \ fi @ # Build PYC files for the 3 optimization levels (0, 1, 2)
@@ -34,7 +34,7 @@ index 08ad5f4921d..486a35ed99b 100644 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST) -f \ -@@ -2821,6 +2822,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c +@@ -2924,6 +2925,7 @@ libinstall: all $(srcdir)/Modules/xxmodule.c $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages -f \ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
@@ -43,10 +43,10 @@ index 08ad5f4921d..486a35ed99b 100644 # bpo-21536: Misc/python-config.sh is generated in the build directory # from $(srcdir)Misc/python-config.sh.in. diff --git a/configure.ac b/configure.ac -index bd4446e9488..ad0781f9ee6 100644 +index ed8b53dd3a4..38615380f11 100644 --- a/configure.ac +++ b/configure.ac -@@ -1533,6 +1533,13 @@ fi +@@ -1567,6 +1567,13 @@ fi AC_MSG_CHECKING([LDLIBRARY])
package/python3/0002-Add-an-option-to-disable-pydoc.patch +12 -12
@@ -1,4 +1,4 @@ -From 8ba9dc9a12687d37454dd949409599f108f1ce44 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Wed, 22 Feb 2017 17:07:56 -0800 Subject: [PATCH] Add an option to disable pydoc
@@ -18,7 +18,7 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 9 ++++++++-
@@ -26,10 +26,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 486a35ed99b..c3732bedb30 100644 +index 00b8828e222..aedc2d55814 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2513,7 +2513,9 @@ bininstall: commoninstall altbininstall +@@ -2581,7 +2581,9 @@ bininstall: commoninstall altbininstall -rm -f $(DESTDIR)$(BINDIR)/idle3 (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) -rm -f $(DESTDIR)$(BINDIR)/pydoc3
@@ -39,15 +39,15 @@ index 486a35ed99b..c3732bedb30 100644 if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ rm -f $(DESTDIR)$(BINDIR)/python3-32$(EXE); \ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-32$(EXE) python3-32$(EXE)) \ -@@ -2564,7 +2566,6 @@ LIBSUBDIRS= asyncio \ - logging \ - multiprocessing multiprocessing/dummy \ - pathlib \ +@@ -2641,7 +2643,6 @@ LIBSUBDIRS= asyncio \ + profiling/sampling/live_collector \ + profiling/sampling/_vendor/d3/7.8.5 \ + profiling/sampling/_vendor/d3-flame-graph/4.1.3 \ - pydoc_data \ re \ site-packages \ sqlite3 \ -@@ -2731,6 +2732,10 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2834,6 +2835,10 @@ TESTSUBDIRS= idlelib/idle_test \ COMPILEALL_OPTS=-j0
@@ -58,7 +58,7 @@ index 486a35ed99b..c3732bedb30 100644 TEST_MODULES=@TEST_MODULES@ .PHONY: libinstall -@@ -2959,7 +2964,9 @@ libainstall: all scripts +@@ -3062,7 +3067,9 @@ libainstall: all scripts $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config $(INSTALL_SCRIPT) $(SCRIPT_IDLE) $(DESTDIR)$(BINDIR)/idle$(VERSION)
@@ -69,10 +69,10 @@ index 486a35ed99b..c3732bedb30 100644 "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ echo; echo "Installing support files for building shared extension modules on AIX:"; \ diff --git a/configure.ac b/configure.ac -index ad0781f9ee6..00d2b54ead5 100644 +index 38615380f11..7405aae5f5e 100644 --- a/configure.ac +++ b/configure.ac -@@ -4789,6 +4789,12 @@ AS_VAR_IF([posix_threads], [stub], [ +@@ -4975,6 +4975,12 @@ AS_VAR_IF([posix_threads], [stub], [ AC_DEFINE([HAVE_PTHREAD_STUBS], [1], [Define if platform requires stubbed pthreads support]) ])
package/python3/0003-Add-an-option-to-disable-IDLE.patch +9 -9
@@ -1,4 +1,4 @@ -From 463c64020b288b8ddfd32a63c4a23ab7369b9669 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maxime Ripard <[email protected]> Date: Wed, 22 Feb 2017 17:45:14 -0800 Subject: [PATCH] Add an option to disable IDLE
@@ -17,7 +17,7 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 9 ++++++++-
@@ -25,10 +25,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index c3732bedb30..2197bb18434 100644 +index aedc2d55814..827bc608c1a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2511,7 +2511,9 @@ bininstall: commoninstall altbininstall +@@ -2579,7 +2579,9 @@ bininstall: commoninstall altbininstall -rm -f $(DESTDIR)$(LIBPC)/python3-embed.pc (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python3-embed.pc) -rm -f $(DESTDIR)$(BINDIR)/idle3
@@ -38,7 +38,7 @@ index c3732bedb30..2197bb18434 100644 -rm -f $(DESTDIR)$(BINDIR)/pydoc3 ifeq (@PYDOC@,yes) (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) -@@ -2560,7 +2562,6 @@ LIBSUBDIRS= asyncio \ +@@ -2628,7 +2630,6 @@ LIBSUBDIRS= asyncio \ ensurepip ensurepip/_bundled \ html \ http \
@@ -46,7 +46,7 @@ index c3732bedb30..2197bb18434 100644 importlib importlib/resources importlib/metadata \ json \ logging \ -@@ -2736,6 +2737,10 @@ ifeq (@PYDOC@,yes) +@@ -2839,6 +2840,10 @@ ifeq (@PYDOC@,yes) LIBSUBDIRS += pydoc_data endif
@@ -57,7 +57,7 @@ index c3732bedb30..2197bb18434 100644 TEST_MODULES=@TEST_MODULES@ .PHONY: libinstall -@@ -2963,7 +2968,9 @@ libainstall: all scripts +@@ -3066,7 +3071,9 @@ libainstall: all scripts $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config
@@ -68,10 +68,10 @@ index c3732bedb30..2197bb18434 100644 $(INSTALL_SCRIPT) $(SCRIPT_PYDOC) $(DESTDIR)$(BINDIR)/pydoc$(VERSION) endif diff --git a/configure.ac b/configure.ac -index 00d2b54ead5..5395e82384b 100644 +index 7405aae5f5e..9752d431cba 100644 --- a/configure.ac +++ b/configure.ac -@@ -8189,6 +8189,12 @@ PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_d +@@ -8644,6 +8644,12 @@ AC_SUBST([JIT_SHIM_BUILD_O]) # substitute multiline block, must come after last PY_STDLIB_MOD() AC_SUBST([MODULE_BLOCK])
package/python3/0004-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch +4 -4
@@ -1,4 +1,4 @@ -From 930c4763ac46d180880615eceeb68698e9b35e85 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Tue, 6 Feb 2024 22:46:59 +0100 Subject: [PATCH] configure.ac: move PY_STDLIB_MOD_SET_NA further up
@@ -11,14 +11,14 @@ Upstream: N/A Signed-off-by: Thomas Petazzoni <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac -index 5395e82384b..ec9a24c5311 100644 +index 9752d431cba..25a40069fa2 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,12 @@ AC_DEFUN([PY_CHECK_EMSCRIPTEN_PORT], [
@@ -34,7 +34,7 @@ index 5395e82384b..ec9a24c5311 100644 AC_SUBST([BASECPPFLAGS]) if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then # If we're building out-of-tree, we need to make sure the following -@@ -7701,13 +7707,6 @@ if test -n "$_PYTHREAD_NAME_MAXLEN"; then +@@ -8092,13 +8098,6 @@ if test -n "$_PYTHREAD_NAME_MAXLEN"; then fi AC_SUBST([_PYTHREAD_NAME_MAXLEN])
package/python3/0005-Add-option-to-disable-the-sqlite3-module.patch +8 -8
@@ -1,4 +1,4 @@ -From 8f6beca556599479705444af7cc7c49b2b964af8 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Tue, 6 Feb 2024 22:12:20 +0100 Subject: [PATCH] Add option to disable the sqlite3 module
@@ -14,7 +14,7 @@ Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++-
@@ -22,18 +22,18 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 2197bb18434..c8f7ab1e6a9 100644 +index 827bc608c1a..334a05ecbcf 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2569,7 +2569,6 @@ LIBSUBDIRS= asyncio \ - pathlib \ +@@ -2646,7 +2646,6 @@ LIBSUBDIRS= asyncio \ + profiling/sampling/_vendor/d3-flame-graph/4.1.3 \ re \ site-packages \ - sqlite3 \ string \ sysconfig \ tkinter \ -@@ -2741,6 +2740,10 @@ ifeq (@IDLE@,yes) +@@ -2844,6 +2843,10 @@ ifeq (@IDLE@,yes) LIBSUBDIRS += idlelib idlelib/Icons endif
@@ -45,10 +45,10 @@ index 2197bb18434..c8f7ab1e6a9 100644 .PHONY: libinstall diff --git a/configure.ac b/configure.ac -index ec9a24c5311..e8e201206bc 100644 +index 25a40069fa2..22ff89256bd 100644 --- a/configure.ac +++ b/configure.ac -@@ -4795,6 +4795,13 @@ AS_VAR_IF([posix_threads], [stub], [ +@@ -4981,6 +4981,13 @@ AS_VAR_IF([posix_threads], [stub], [ AC_DEFINE([HAVE_PTHREAD_STUBS], [1], [Define if platform requires stubbed pthreads support]) ])
package/python3/0006-Add-an-option-to-disable-the-tk-module.patch +9 -9
@@ -1,4 +1,4 @@ -From b53a2758ac431bc2493a460e6c886561e2397518 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Wed, 22 Feb 2017 17:23:42 -0800 Subject: [PATCH] Add an option to disable the tk module
@@ -11,7 +11,7 @@ Signed-off-by: Samuel Martin <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> [ Adam Duskett: ported to Python 3.10.0 ] Signed-off-by: Adam Duskett <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> [ Adam Duskett: ported to Python 3.12.1 ] Signed-off-by: Adam Duskett <[email protected]>
@@ -25,10 +25,10 @@ Signed-off-by: Vincent Fazio <[email protected]> 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index c8f7ab1e6a9..2c91d0dda71 100644 +index 334a05ecbcf..7e9eef79b06 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2571,7 +2571,6 @@ LIBSUBDIRS= asyncio \ +@@ -2648,7 +2648,6 @@ LIBSUBDIRS= asyncio \ site-packages \ string \ sysconfig \
@@ -36,7 +36,7 @@ index c8f7ab1e6a9..2c91d0dda71 100644 tomllib \ turtledemo \ unittest \ -@@ -2681,7 +2680,6 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2783,7 +2782,6 @@ TESTSUBDIRS= idlelib/idle_test \ test/test_pyrepl \ test/test_string \ test/test_sqlite3 \
@@ -44,7 +44,7 @@ index c8f7ab1e6a9..2c91d0dda71 100644 test/test_tomllib \ test/test_tomllib/data \ test/test_tomllib/data/invalid \ -@@ -2703,7 +2701,6 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2806,7 +2804,6 @@ TESTSUBDIRS= idlelib/idle_test \ test/test_tools \ test/test_tools/i18n_data \ test/test_tools/msgfmt_data \
@@ -52,7 +52,7 @@ index c8f7ab1e6a9..2c91d0dda71 100644 test/test_unittest \ test/test_unittest/namespace_test_pkg \ test/test_unittest/namespace_test_pkg/bar \ -@@ -2730,6 +2727,11 @@ TESTSUBDIRS= idlelib/idle_test \ +@@ -2833,6 +2830,11 @@ TESTSUBDIRS= idlelib/idle_test \ test/xmltestdata/c14n-20 \ test/zipimport_data
@@ -65,10 +65,10 @@ index c8f7ab1e6a9..2c91d0dda71 100644 ifeq (@PYDOC@,yes) diff --git a/configure.ac b/configure.ac -index e8e201206bc..840976ec1bd 100644 +index 22ff89256bd..be9428dc2cb 100644 --- a/configure.ac +++ b/configure.ac -@@ -4808,6 +4808,13 @@ AC_ARG_ENABLE(pydoc, +@@ -4994,6 +4994,13 @@ AC_ARG_ENABLE(pydoc, AS_HELP_STRING([--disable-pydoc], [disable pydoc]), [ PYDOC="${enableval}" ], [ PYDOC=yes ])
package/python3/0007-Add-an-option-to-disable-the-curses-module.patch +7 -7
@@ -1,4 +1,4 @@ -From baef276faa676d1b0faf64a91fa627b5f8fcc5e0 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Wed, 22 Feb 2017 17:31:51 -0800 Subject: [PATCH] Add an option to disable the curses module
@@ -13,7 +13,7 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++-
@@ -21,10 +21,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 2c91d0dda71..fb11e416731 100644 +index 7e9eef79b06..174164142c0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2555,7 +2555,6 @@ LIBSUBDIRS= asyncio \ +@@ -2623,7 +2623,6 @@ LIBSUBDIRS= asyncio \ concurrent concurrent/futures concurrent/interpreters \ csv \ ctypes ctypes/macholib \
@@ -32,7 +32,7 @@ index 2c91d0dda71..fb11e416731 100644 dbm \ email email/mime \ encodings \ -@@ -2732,6 +2731,10 @@ LIBSUBDIRS += tkinter +@@ -2835,6 +2834,10 @@ LIBSUBDIRS += tkinter TESTSUBDIRS += test/test_tkinter test/test_ttk endif
@@ -44,10 +44,10 @@ index 2c91d0dda71..fb11e416731 100644 ifeq (@PYDOC@,yes) diff --git a/configure.ac b/configure.ac -index 840976ec1bd..1d7ba91ccc9 100644 +index be9428dc2cb..1f28a1de74d 100644 --- a/configure.ac +++ b/configure.ac -@@ -4802,6 +4802,13 @@ AC_ARG_ENABLE(sqlite3, +@@ -4988,6 +4988,13 @@ AC_ARG_ENABLE(sqlite3, AS_IF([test "$SQLITE3" = "no"], [PY_STDLIB_MOD_SET_NA([_sqlite3])])
package/python3/0008-Add-an-option-to-disable-expat.patch +7 -7
@@ -1,4 +1,4 @@ -From 2a7412e43554830ffbc831454de8df903e765b73 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Wed, 22 Feb 2017 17:40:45 -0800 Subject: [PATCH] Add an option to disable expat
@@ -19,7 +19,7 @@ Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Adam Duskett <[email protected]> [ Vincent Fazio: ported to Python 3.13.2 ] Signed-off-by: Vincent Fazio <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.pre.in | 5 ++++-
@@ -27,10 +27,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index fb11e416731..c261b3f9cd7 100644 +index 174164142c0..e0b46d2fe3a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2576,7 +2576,6 @@ LIBSUBDIRS= asyncio \ +@@ -2653,7 +2653,6 @@ LIBSUBDIRS= asyncio \ urllib \ venv venv/scripts venv/scripts/common venv/scripts/posix \ wsgiref \
@@ -38,7 +38,7 @@ index fb11e416731..c261b3f9cd7 100644 xmlrpc \ zipfile zipfile/_path \ zoneinfo \ -@@ -2749,6 +2748,10 @@ ifeq (@SQLITE3@,yes) +@@ -2852,6 +2851,10 @@ ifeq (@SQLITE3@,yes) LIBSUBDIRS += sqlite3 endif
@@ -50,10 +50,10 @@ index fb11e416731..c261b3f9cd7 100644 .PHONY: libinstall diff --git a/configure.ac b/configure.ac -index 1d7ba91ccc9..3980548b253 100644 +index 1f28a1de74d..021d8a6df5a 100644 --- a/configure.ac +++ b/configure.ac -@@ -4065,17 +4065,19 @@ LIBS="$withval $LIBS" +@@ -4260,17 +4260,19 @@ LIBS="$withval $LIBS" [AC_MSG_RESULT([no])]) # Check for use of the system expat library
package/python3/0009-configure.ac-detect-unusable-termio-operations.patch +8 -8
@@ -1,4 +1,4 @@ -From 2d336d1fedb692350a1e4f131246f60a1195cd93 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Sun, 7 Dec 2025 13:57:06 +0100 Subject: [PATCH] configure.ac: detect unusable termio operations
@@ -15,7 +15,7 @@ done using a new m4 macro PY_CHECK_IOCTL. Upstream: https://github.com/python/cpython/pull/142380 Signed-off-by: Thomas Petazzoni <[email protected]> -[ Bernd Kuhls: ported to Python 3.14.2] +[ Bernd Kuhls: ported to Python 3.15.0] Signed-off-by: Bernd Kuhls <[email protected]> --- Modules/termios.c | 8 ++++----
@@ -23,10 +23,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/Modules/termios.c b/Modules/termios.c -index efb5fcc17fa..3177cb0747a 100644 +index 38743e176f0..a2defe4b270 100644 --- a/Modules/termios.c +++ b/Modules/termios.c -@@ -1115,7 +1115,7 @@ static struct constant { +@@ -1122,7 +1122,7 @@ static struct constant { #ifdef TCFLSH {"TCFLSH", TCFLSH}, #endif
@@ -35,7 +35,7 @@ index efb5fcc17fa..3177cb0747a 100644 {"TCGETA", TCGETA}, #endif #ifdef TCGETS -@@ -1127,13 +1127,13 @@ static struct constant { +@@ -1134,13 +1134,13 @@ static struct constant { #ifdef TCSBRKP {"TCSBRKP", TCSBRKP}, #endif
@@ -53,7 +53,7 @@ index efb5fcc17fa..3177cb0747a 100644 #endif #ifdef TCSETS diff --git a/configure.ac b/configure.ac -index 3980548b253..48604024fcf 100644 +index 021d8a6df5a..b87ebaa79a8 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,26 @@ AC_DEFUN([PY_STDLIB_MOD_SET_NA], [
@@ -83,7 +83,7 @@ index 3980548b253..48604024fcf 100644 AC_SUBST([BASECPPFLAGS]) if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then # If we're building out-of-tree, we need to make sure the following -@@ -8217,6 +8237,12 @@ AC_ARG_ENABLE(idle3, +@@ -8672,6 +8692,12 @@ AC_ARG_ENABLE(idle3, AS_HELP_STRING([--disable-idle3], [disable idle3 IDE]), [ IDLE="${enableval}" ], [ IDLE=yes ])
@@ -97,5 +97,5 @@ index 3980548b253..48604024fcf 100644 AC_CONFIG_FILES(m4_normalize([ Makefile.pre -- -2.51.1 +2.47.3
package/python3/0010-gh-139275-Fix-compilation-of-Modules-_remote_debuggi.patch deleted +0 -55
55 lines not on this page · raw message
package/python3/python3.hash +2 -2
@@ -1,4 +1,4 @@ -# From https://www.python.org/downloads/release/python-3148/ -sha256 c2215904f02b175596dc49351585104f4bc20341e1c47378b26a2c274360ce73 Python-3.14.8.tar.xz +# From https://www.python.org/downloads/release/python-3150rc3/ +sha256 506630aa66d5441188f34df22c0760bfe87fc92212630493ebc9ff3b3a7a1d49 Python-3.15.0rc3.tar.xz # Locally computed sha256 b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231 LICENSE
package/python3/python3.mk +3 -3
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON3_VERSION_MAJOR = 3.14 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).8 -PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz +PYTHON3_VERSION_MAJOR = 3.15 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).0 +PYTHON3_SOURCE = Python-$(PYTHON3_VERSION)rc3.tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others PYTHON3_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 63/84 package/libopenssl: bump version to 4.0.3
In reply to Bernd Kuhlshttps://openssl-library.org/post/2026-04-14-openssl-40-final-release/
https://github.com/openssl/openssl/blob/openssl-4.0.3/CHANGES.md#openssl-40
The following section results in updates to many packages:
" * ASN1_STRING has been made opaque.
* Signatures of numerous API functions, including those that are related to X509 processing, are changed to include const qualifiers for argument and return types, where suitable."
More infos can be found here:
https://openssl-library.org/post/2026-04-13-asn1_string/
The following section resulted in new legacy options and changes to many packages to maintain bisectability:
" * Removed support for SSLv3. SSLv3 has been deprecated since 2015,
and OpenSSL had it disabled by default since version 1.1.0 (2016).
* Removed support for engines. The no-engine build option and the OPENSSL_NO_ENGINE macro are always present."
More infos can be found here:
https://openssl-library.org/post/2026-04-07-ssl3/index.html
https://openssl-library.org/post/2025-12-18-remove-engines/index.html
--- Config.in.legacy | 36 ++++++++++++++++++++++++++++++ package/apr-util/Config.in | 1 - package/dovecot/Config.in | 1 - package/fluent-bit/Config.in | 1 - package/libcoap/Config.in | 1 - package/libks/Config.in | 1 - package/libldns/libldns.mk | 8 +------ package/libopenssl/Config.in | 34 ---------------------------- package/libopenssl/libopenssl.hash | 4 ++-- package/libopenssl/libopenssl.mk | 18 +-------------- package/libp11/Config.in | 1 - package/libp11/libp11.mk | 3 +-- package/librelp/Config.in | 1 - package/libssh/Config.in | 1 - package/luvi/Config.in | 1 - package/mender/Config.in | 1 - package/mtd/Config.in | 1 - package/openssh/openssh.mk | 8 +------ package/rauc/Config.in | 2 -- package/rauc/rauc.mk | 3 ++- package/softhsm2/Config.in | 1 - package/unbound/Config.in | 1 - package/unbound/unbound.mk | 1 + 23 files changed, 45 insertions(+), 85 deletions(-)
Config.in.legacy +36 -0
@@ -146,6 +146,42 @@ endif comment "Legacy options removed in 2026.11" +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL + bool "OpenSSL SSL support has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed SSL support + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3 + bool "OpenSSL SSL3 support has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed SSL3 support + +config BR2_PACKAGE_LIBOPENSSL_ENGINES + bool "OpenSSL additional engines has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed engines support + +config BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE + bool "OpenSSL dynamic engine has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed engines support + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_LOADER_ENGINE + bool "OpenSSL 'loader_attic' engine has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed engines support + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_PADLOCK_ENGINE + bool "OpenSSL padlock engine has been removed" + select BR2_LEGACY + help + OpenSSL 4.x removed engines support + config BR2_PACKAGE_QT6OPCUA bool "qt6opcua has been removed" select BR2_LEGACY
package/apr-util/Config.in +0 -1
@@ -6,7 +6,6 @@ config BR2_PACKAGE_APR_UTIL select BR2_PACKAGE_APR select BR2_PACKAGE_EXPAT select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL help The utility library for the apache runtime project
package/dovecot/Config.in +0 -1
@@ -3,7 +3,6 @@ config BR2_PACKAGE_DOVECOT depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_PCRE2_32 if BR2_PACKAGE_PCRE2 select BR2_PACKAGE_OPENSSL
package/fluent-bit/Config.in +0 -1
@@ -4,7 +4,6 @@ config BR2_PACKAGE_FLUENT_BIT depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_STATIC_LIBS # dlfcn.h select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_LIBOPENSSL_ENGINES # needed by bundled librdkafka select BR2_PACKAGE_LIBYAML select BR2_PACKAGE_MSGPACK_C select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
package/libcoap/Config.in +0 -1
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LIBCOAP bool "libcoap" select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL help libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their
package/libks/Config.in +0 -1
@@ -4,7 +4,6 @@ config BR2_PACKAGE_LIBKS depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help
package/libldns/libldns.mk +1 -7
@@ -24,17 +24,11 @@ LIBLDNS_CONF_OPTS = \ --without-pyldnsx ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -LIBLDNS_CONF_OPTS += --enable-dane-verify +LIBLDNS_CONF_OPTS += --enable-dane-verify --disable-gost else LIBLDNS_CONF_OPTS += --disable-dane-verify endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) -LIBLDNS_CONF_OPTS += --enable-gost -else -LIBLDNS_CONF_OPTS += --disable-gost -endif - ifeq ($(BR2_STATIC_LIBS),y) LIBLDNS_DEPENDENCIES += host-pkgconf # missing -lz breaks configure, add it using pkgconf
package/libopenssl/Config.in +0 -34
@@ -40,11 +40,6 @@ config BR2_PACKAGE_LIBOPENSSL_BIN to the target file system. This is a command line tool for doing various cryptographic stuff. -config BR2_PACKAGE_LIBOPENSSL_ENGINES - bool "openssl additional engines" - help - Install additional encryption engine libraries. - config BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA bool "enable CHACHA" default y
@@ -98,14 +93,6 @@ config BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH bool "enable BLOWFISH" default y -config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL - bool "enable SSL" - default y - -config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3 - bool "enable SSL3" - default y - config BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL bool "enable WEAK_SSL" default y
@@ -125,10 +112,6 @@ config BR2_PACKAGE_LIBOPENSSL_UNSECURE Enable unit-test crypto-mdebug-backtrace crypto-mdebug autoerrinit mode. -config BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE - bool "enable dynamic engine" - default y - config BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP bool "enable compression" default y
@@ -173,23 +156,6 @@ config BR2_PACKAGE_LIBOPENSSL_ENABLE_ECX Build with ECX support. Disabling this option can be used to disable support for X25519, X448, and EdDSA. -config BR2_PACKAGE_LIBOPENSSL_ENABLE_LOADER_ENGINE - bool "enable 'loader_attic' engine" - default y - depends on BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE - help - Build with 'loader_attic' engine support, which is meant - just for internal OpenSSL testing purposes and supports - loading keys, parameters, certificates, and CRLs from files. - When this engine is used, files with such credentials are - read via this engine. - -config BR2_PACKAGE_LIBOPENSSL_ENABLE_PADLOCK_ENGINE - bool "enable padlock engine" - default y - help - Build the padlock engine. - config BR2_PACKAGE_LIBOPENSSL_ENABLE_MODULE bool "enable modules" default y
package/libopenssl/libopenssl.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://github.com/openssl/openssl/releases/download/openssl-3.6.5/openssl-3.6.5.tar.gz.sha256 -sha256 a2157c2830efdec3788939b00c9b0638306d3f0bbb76dc4832ee503bb397df98 openssl-3.6.5.tar.gz +# From https://github.com/openssl/openssl/releases/download/openssl-4.0.3/openssl-4.0.3.tar.gz.sha256 +sha256 325b5c806167c13b40b1ffeadfe0248197c00eccc4cf123ec1e28d2d2fd216d9 openssl-4.0.3.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt
package/libopenssl/libopenssl.mk +1 -17
@@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.6.5 +LIBOPENSSL_VERSION = 4.0.3 LIBOPENSSL_SITE = https://github.com/openssl/openssl/releases/download/openssl-$(LIBOPENSSL_VERSION) LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0
@@ -80,16 +80,13 @@ define LIBOPENSSL_CONFIGURE_CMDS --openssldir=/etc/ssl \ $(if $(BR2_TOOLCHAIN_HAS_THREADS),threads,no-threads) \ $(if $(BR2_STATIC_LIBS),no-shared,shared) \ - $(if $(BR2_PACKAGE_CRYPTODEV_LINUX),enable-devcryptoeng) \ no-rc5 \ enable-camellia \ no-docs \ no-tests \ no-fuzz-libfuzzer \ no-fuzz-afl \ - no-afalgeng \ $(if $(BR2_PACKAGE_LIBOPENSSL_BIN),,no-apps) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENGINES),,no-engine) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4),,no-rc4) \
@@ -103,21 +100,16 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160),,no-rmd160) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WHIRLPOOL),,no-whirlpool) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH),,no-bf) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL),,no-ssl) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3),,no-ssl3) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL),,no-weak-ssl-ciphers) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK),,no-psk) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST),,no-cast) \ $(if $(BR2_PACKAGE_LIBOPENSSL_UNSECURE),,no-unit-test no-crypto-mdebug no-autoerrinit) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE),,no-dynamic-engine ) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP),,no-comp) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_ARGON2),,no-argon2) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CACHED_FETCH),,no-cached-fetch) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CMP),,no-cmp) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_THREAD_POOL),,no-thread-pool no-default-thread-pool) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_ECX),,no-ecx) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_LOADER_ENGINE),,no-loadereng) \ - $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_PADLOCK_ENGINE),,no-padlockeng) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_MODULE),,no-module) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC),,no-quic) \ $(if $(BR2_PACKAGE_LIBOPENSSL_SECURE_MEMORY),,no-secure-memory) \
@@ -155,7 +147,6 @@ endef define LIBOPENSSL_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install $(RM) -rf $(TARGET_DIR)/usr/lib/ssl - $(RM) -f $(TARGET_DIR)/usr/bin/c_rehash endef # libdl has no business in a static build
@@ -175,12 +166,5 @@ endef LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_PERL_SCRIPTS endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),) -define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES - $(RM) -rf $(TARGET_DIR)/usr/lib/engines-3 -endef -LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES -endif - $(eval $(generic-package)) $(eval $(host-generic-package))
package/libp11/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBP11 bool "libp11" depends on !BR2_STATIC_LIBS # dlopen depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBOPENSSL_ENGINES select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL help
package/libp11/libp11.mk +1 -2
@@ -11,10 +11,9 @@ LIBP11_INSTALL_STAGING = YES LIBP11_LICENSE = LGPL-2.1+ LIBP11_LICENSE_FILES = COPYING -# pkg-config returns a libcrypto enginesdir prefixed with the sysroot, +# pkg-config returns a libcrypto modulesdir prefixed with the sysroot, # so let's rip it out. LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` \ --with-modulesdir=`$(PKG_CONFIG_HOST_BINARY) --variable modulesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` ifeq ($(BR2_PACKAGE_P11_KIT),y)
package/librelp/Config.in +0 -1
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LIBRELP bool "librelp" depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL help Reliable Event Logging Protocol library
package/libssh/Config.in +0 -1
@@ -36,7 +36,6 @@ config BR2_PACKAGE_LIBSSH_LIBGCRYPT config BR2_PACKAGE_LIBSSH_OPENSSL bool "openssl" depends on BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL endchoice
package/luvi/Config.in +0 -1
@@ -9,7 +9,6 @@ config BR2_PACKAGE_LUVI select BR2_PACKAGE_LIBUV select BR2_PACKAGE_LUV select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL help A project in-between luv and luvit. The goal of this is to make building luvit and derivatives much easier.
package/mender/Config.in +0 -1
@@ -6,7 +6,6 @@ config BR2_PACKAGE_MENDER select BR2_PACKAGE_HOST_GO select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENGINES select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 help
package/mtd/Config.in +0 -1
@@ -15,7 +15,6 @@ config BR2_PACKAGE_MTD_JFFS_UTILS config BR2_PACKAGE_MTD_UBIFS_UTILS bool - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID
package/openssh/openssh.mk +1 -7
@@ -23,6 +23,7 @@ OPENSSH_CONF_OPTS = \ --with-pid-dir=/var/run \ --with-default-path=$(BR2_SYSTEM_DEFAULT_PATH) \ $(if $(BR2_PACKAGE_OPENSSH_SANDBOX),--with-sandbox,--without-sandbox) \ + --without-ssl-engine \ --disable-lastlog \ --disable-utmp \ --disable-utmpx \
@@ -55,13 +56,6 @@ ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) OPENSSH_DEPENDENCIES += libxcrypt endif -ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) -OPENSSH_DEPENDENCIES += cryptodev-linux -OPENSSH_CONF_OPTS += --with-ssl-engine -else -OPENSSH_CONF_OPTS += --without-ssl-engine -endif - ifeq ($(BR2_PACKAGE_AUDIT),y) OPENSSH_DEPENDENCIES += audit OPENSSH_CONF_OPTS += --with-audit=linux
package/rauc/Config.in +0 -2
@@ -6,8 +6,6 @@ config BR2_PACKAGE_RAUC select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL # uses X509_PURPOSE_get_by_id - # uses ENGINE_* API - select BR2_PACKAGE_LIBOPENSSL_ENGINES select BR2_PACKAGE_SQUASHFS # run-time dependency help RAUC is the Robust Auto-Update Controller developed by
package/rauc/rauc.mk +2 -1
@@ -11,7 +11,7 @@ RAUC_LICENSE = LGPL-2.1 RAUC_LICENSE_FILES = COPYING RAUC_CPE_ID_VENDOR = pengutronix RAUC_DEPENDENCIES = host-pkgconf openssl libglib2 -RAUC_CONF_OPTS += -Dtests=false +RAUC_CONF_OPTS += -Dtests=false -Dpkcs11_engine=false ifeq ($(BR2_PACKAGE_RAUC_DBUS),y) RAUC_CONF_OPTS += -Dservice=true
@@ -71,6 +71,7 @@ HOST_RAUC_DEPENDENCIES = \ HOST_RAUC_CONF_OPTS += \ -Djson=enabled \ -Dnetwork=false \ + -Dpkcs11_engine=false \ -Dstreaming=false \ -Dservice=false \ -Dtests=false
package/softhsm2/Config.in +0 -1
@@ -7,7 +7,6 @@ config BR2_PACKAGE_SOFTHSM2 select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES - select BR2_PACKAGE_LIBOPENSSL_ENGINES help SoftHSM is an implementation of a cryptographic store accessible through a PKCS#11 interface. You can use it
package/unbound/Config.in +0 -1
@@ -3,7 +3,6 @@ config BR2_PACKAGE_UNBOUND depends on !BR2_STATIC_LIBS select BR2_PACKAGE_EXPAT select BR2_PACKAGE_LIBEVENT - select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL select BR2_PACKAGE_OPENSSL help Unbound is a validating, recursive, and caching DNS resolver.
package/unbound/unbound.mk +1 -0
@@ -12,6 +12,7 @@ UNBOUND_LICENSE = BSD-3-Clause UNBOUND_LICENSE_FILES = LICENSE UNBOUND_CPE_ID_VENDOR = nlnetlabs UNBOUND_CONF_OPTS = \ + --disable-gost \ --disable-rpath \ --disable-debug \ --with-conf-file=/etc/unbound/unbound.conf \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 64/84 package/libcamera-apps: bump version to 1.10.1
In reply to Bernd KuhlsThis bump adds compatibility with ffmpeg 8.x while support for older versions of ffmpeg was removed upstream:
https://github.com/raspberrypi/rpicam-apps/commit/cbe9921eeddd8e1c2e5798102f485baea5de3f65
Removed patch 0002 which is included in this release.
--- ...ore-Switch-libcamera-string-controls.patch | 46 ------------------- package/libcamera-apps/libcamera-apps.hash | 3 +- package/libcamera-apps/libcamera-apps.mk | 5 +- 3 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 package/libcamera-apps/0002-core-Switch-libcamera-string-controls.patch
package/libcamera-apps/0002-core-Switch-libcamera-string-controls.patch deleted +0 -46
@@ -1,46 +0,0 @@ -From f3011b5fae183a463630b4168626dfefe9b4c74e Mon Sep 17 00:00:00 2001 -From: Naushir Patuck <[email protected]> -Date: Thu, 16 Oct 2025 14:45:33 +0100 -Subject: [PATCH] core: Switch libcamera string controls to use - std::string_view - -This is a change to the libcamera API, switch to std::string_view from -std::string. - -Signed-off-by: Naushir Patuck <[email protected]> - -Upstream: https://github.com/raspberrypi/rpicam-apps/commit/f3011b5fae183a463630b4168626dfefe9b4c74e - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - core/options.cpp | 2 +- - core/rpicam_app.cpp | 3 +-- - 2 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/core/options.cpp b/core/options.cpp -index cf704c2a..d3296548 100644 ---- a/core/options.cpp -+++ b/core/options.cpp -@@ -418,7 +418,7 @@ bool OptsInternal::Parse(boost::program_options::variables_map &vm, RPiCamApp *a - std::vector<std::shared_ptr<libcamera::Camera>> cameras = app->GetCameras(); - if (camera < cameras.size()) - { -- const std::string cam_id = *cameras[camera]->properties().get(libcamera::properties::Model); -+ const std::string_view cam_id = *cameras[camera]->properties().get(libcamera::properties::Model); - - if (cam_id.find("imx708") != std::string::npos) - { -diff --git a/core/rpicam_app.cpp b/core/rpicam_app.cpp -index 9e5a2d0c..0f0b5ffa 100644 ---- a/core/rpicam_app.cpp -+++ b/core/rpicam_app.cpp -@@ -128,8 +128,7 @@ std::string const &RPiCamApp::CameraId() const - - std::string RPiCamApp::CameraModel() const - { -- auto model = camera_->properties().get(properties::Model); -- return model ? *model : camera_->id(); -+ return std::string(camera_->properties().get(properties::Model).value_or(camera_->id())); - } - - void RPiCamApp::OpenCamera()
package/libcamera-apps/libcamera-apps.hash +2 -1
@@ -1,3 +1,4 @@ +# From https://github.com/raspberrypi/rpicam-apps/releases/tag/v1.10.1 +sha256 5b261f4fc05f63d13223fc17951c64aa257e76a9a85b4772e3eb058b42f4631c rpicam-apps_1.10.1.orig.tar.xz # Locally computed -sha256 b5535933ebc398616fd1b261fa9e3755dfb419e10ee7866078a8a8d99f54a59a libcamera-apps-v1.7.0-10-ge9645231008146fa0e75c2b3e0ff8c48ad70511a.tar.gz sha256 36dfed86bdef661a0a14ec1a1cc84c771d5a06b6f9b92e9ebb610ba711bd528a license.txt
package/libcamera-apps/libcamera-apps.mk +3 -2
@@ -4,8 +4,9 @@ # ################################################################################ -LIBCAMERA_APPS_VERSION = v1.7.0-10-ge9645231008146fa0e75c2b3e0ff8c48ad70511a -LIBCAMERA_APPS_SITE = $(call github,raspberrypi,rpicam-apps,$(LIBCAMERA_APPS_VERSION)) +LIBCAMERA_APPS_VERSION = 1.10.1 +LIBCAMERA_APPS_SITE = https://github.com/raspberrypi/rpicam-apps/releases/download/v$(LIBCAMERA_APPS_VERSION) +LIBCAMERA_APPS_SOURCE = rpicam-apps_$(LIBCAMERA_APPS_VERSION).orig.tar.xz LIBCAMERA_APPS_LICENSE = BSD-2-Clause LIBCAMERA_APPS_LICENSE_FILES = license.txt LIBCAMERA_APPS_DEPENDENCIES = \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 66/84 package/libcec: bump version to 8.1.7
In reply to Bernd Kuhlshttps://github.com/Pulse-Eight/libcec/blob/libcec-8.1.7/debian/changelog.in
Removed patches which are included in this release.
Removed dependency to libplatform due to upstream commit:
https://github.com/Pulse-Eight/libcec/commit/332bca975a71d8e876b66dc6a7fca938b49b1831
Updated license hash due to upstream commits:
https://github.com/Pulse-Eight/libcec/commits/libcec-8.1.7/LICENSE.md
--- ...DeviceLanguage-accepts-3-char-ISO-co.patch | 66 ---------------- ...Python-wrapper-against-SWIG-4.5-whic.patch | 78 ------------------- package/libcec/Config.in | 1 - package/libcec/libcec.hash | 4 +- package/libcec/libcec.mk | 4 +- 5 files changed, 4 insertions(+), 149 deletions(-) delete mode 100644 package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch delete mode 100644 package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch
package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch deleted +0 -66
@@ -1,66 +0,0 @@ -From f53490e23037f17b68043f5e1ff2f4378d227d56 Mon Sep 17 00:00:00 2001 -From: Lars Op den Kamp <[email protected]> -Date: Mon, 13 Jul 2026 15:24:27 +0200 -Subject: [PATCH] fixed: Python strDeviceLanguage accepts 3-char ISO codes - (SWIG char[3] typemap) - -The SWIG default char[ANY] setter uses SWIG_AsCharArray, which reserves a -byte for a NUL terminator. strDeviceLanguage is a raw, non-terminated -char[3] holding a 3-character ISO 639-2 code, so a valid 3-char value needs -4 bytes and overflowed the buffer, raising a TypeError; only 2-char codes -fit. Add member-name-scoped in/memberin typemaps that copy the raw bytes -(str or bytes) so 3-char codes assign correctly. Scoped by name so the -NUL-terminated strDeviceName keeps the default behaviour. - -Upstream: https://github.com/Pulse-Eight/libcec/commit/f53490e23037f17b68043f5e1ff2f4378d227d56 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - src/libcec/libcec.i | 31 +++++++++++++++++++++++++++++++ - 1 file changed, 31 insertions(+) - -diff --git a/src/libcec/libcec.i b/src/libcec/libcec.i -index a01f9afc..520ff7af 100644 ---- a/src/libcec/libcec.i -+++ b/src/libcec/libcec.i -@@ -15,6 +15,37 @@ - $result = PyString_FromString($1.name); - } - -+/////// libcec_configuration::strDeviceLanguage /////// -+// strDeviceLanguage is a raw, fixed-size char[3] that is NOT NUL-terminated (a -+// 3-character ISO 639-2 code). SWIG's default char[ANY] setter reserves a byte -+// for a terminator, so a valid 3-char code needs 4 bytes and overflows the -+// buffer, raising a TypeError; only 2-char codes fit. Copy the raw bytes -+// instead (accepting str or bytes), scoped to this member by name so the -+// NUL-terminated strDeviceName keeps the default behaviour. -+%typemap(in) char strDeviceLanguage[ANY] (char temp[$1_dim0]) { -+ char *cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ; -+ int res = SWIG_AsCharPtrAndSize($input, &cptr, &csize, &alloc); -+ if (!SWIG_IsOK(res)) { -+ %argument_fail(res, "char [$1_dim0]", $symname, $argnum); -+ } -+ { -+ /* csize counts the trailing NUL; strDeviceLanguage stores no terminator */ -+ size_t slen = (csize > 0) ? csize - 1 : 0; -+ if (slen > (size_t)($1_dim0)) { -+ if (alloc == SWIG_NEWOBJ) %delete_array(cptr); -+ %argument_fail(SWIG_ValueError, "char [$1_dim0]", $symname, $argnum); -+ } -+ memset(temp, 0, $1_dim0); -+ if (slen) memcpy(temp, cptr, slen); -+ } -+ $1 = temp; -+ if (alloc == SWIG_NEWOBJ) %delete_array(cptr); -+} -+ -+%typemap(memberin) char strDeviceLanguage[ANY] { -+ memcpy($1, $input, $1_dim0 * sizeof(char)); -+} -+ - /////// replace operator[]() /////// - - // CEC::cec_datapacket::operator[]() --- -2.47.3 -
package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch deleted +0 -78
78 lines not on this page · raw message
package/libcec/Config.in +0 -1
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LIBCEC depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 - select BR2_PACKAGE_LIBPLATFORM help libcec allows you in combination with the right hardware to control your home theater devices with your TV remote
package/libcec/libcec.hash +2 -2
@@ -1,3 +1,3 @@ # Locally computed -sha256 7f7da95a4c1e7160d42ca37a3ac80cf6f389b317e14816949e0fa5e2edf4cc64 libcec-7.1.1.tar.gz -sha256 0137261d24ce001fc5237aacddd267533e0f150ac23cf21acffea599f7358f7a LICENSE.md +sha256 e4ac4d1dd3559cf83189d29ab40fc5537b5a2beceb82916ef173dac7e50dbfa0 libcec-8.1.7.tar.gz +sha256 088a32f3caf17e6e76a1a287af32abda65211049593127beb221769f4adfebca LICENSE.md
package/libcec/libcec.mk +2 -2
@@ -4,13 +4,13 @@ # ################################################################################ -LIBCEC_VERSION = 7.1.1 +LIBCEC_VERSION = 8.1.7 LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION)) LIBCEC_LICENSE = GPL-2.0+ LIBCEC_LICENSE_FILES = LICENSE.md LIBCEC_INSTALL_STAGING = YES -LIBCEC_DEPENDENCIES = host-pkgconf libplatform +LIBCEC_DEPENDENCIES = host-pkgconf ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y) LIBCEC_DEPENDENCIES += libudev
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v8 66/84] package/libcec: bump version to 8.1.7
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
https://github.com/Pulse-Eight/libcec/blob/libcec-8.1.7/debian/changelog.in
Removed patches which are included in this release.
Quoted 7 lines
Removed dependency to libplatform due to upstream commit:
https://github.com/Pulse-Eight/libcec/commit/332bca975a71d8e876b66dc6a7fca938b49b1831Updated license hash due to upstream commits:
https://github.com/Pulse-Eight/libcec/commits/libcec-8.1.7/LICENSE.mdSigned-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 67/84 package/libplatform: remove package
In reply to Bernd KuhlsThe last package depending on libplatform, libcec, removed its dependency:
https://github.com/Pulse-Eight/libcec/commit/332bca975a71d8e876b66dc6a7fca938b49b1831
The maintainer of both libcec and libplatform has put libplatform into maintenance mode: "Don't use this library in new projects."
https://github.com/Pulse-Eight/platform/commit/97332651ddfb3df9240dfd4227ac35484f8c4341
so we can safely remove the package from buildroot.
--- Config.in.legacy | 7 +++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/libplatform/Config.in | 7 ------- package/libplatform/libplatform.hash | 3 --- package/libplatform/libplatform.mk | 13 ------------- 6 files changed, 7 insertions(+), 25 deletions(-) delete mode 100644 package/libplatform/Config.in delete mode 100644 package/libplatform/libplatform.hash delete mode 100644 package/libplatform/libplatform.mk
Config.in.legacy +7 -0
@@ -286,6 +286,13 @@ config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN comment "Legacy options removed in 2026.08" +config BR2_PACKAGE_LIBPLATFORM + bool "libplatform removed" + select BR2_LEGACY + help + libplatform was no longer maintained upstream, so it has + been dropped. + config BR2_PACKAGE_FLUIDSYNTH_SDL2 bool "fluidsynth sdl2 audio support removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -447,7 +447,6 @@ F: package/libogg/ F: package/libopenh264/ F: package/libpciaccess/ F: package/libplacebo/ -F: package/libplatform/ F: package/libpng/ F: package/libsidplay2/ F: package/libsilk/
package/Config.in +0 -1
@@ -2238,7 +2238,6 @@ menu "Other" source "package/libosmium/Config.in" source "package/libpeas/Config.in" source "package/libpfm4/Config.in" - source "package/libplatform/Config.in" source "package/libplist/Config.in" source "package/libpthread-stubs/Config.in" source "package/libpthsem/Config.in"
package/libplatform/Config.in deleted +0 -7
@@ -1,7 +0,0 @@ -config BR2_PACKAGE_LIBPLATFORM - bool - help - Platform support library used by libCEC and binary add-ons for - Kodi - - https://github.com/Pulse-Eight/platform
package/libplatform/libplatform.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed -sha256 2ab98ba486b28dd9c31e9f0f8a04eddad12c09ad1951c359fdef475baafba296 libplatform-2748be52ae27e6007ef548b697d4a03ff7de4291.tar.gz -sha256 0137261d24ce001fc5237aacddd267533e0f150ac23cf21acffea599f7358f7a LICENSE.md
package/libplatform/libplatform.mk deleted +0 -13
@@ -1,13 +0,0 @@ -################################################################################ -# -# libplatform -# -################################################################################ - -LIBPLATFORM_VERSION = 2748be52ae27e6007ef548b697d4a03ff7de4291 -LIBPLATFORM_SITE = $(call github,Pulse-Eight,platform,$(LIBPLATFORM_VERSION)) -LIBPLATFORM_LICENSE = GPL-2.0+ -LIBPLATFORM_LICENSE_FILES = LICENSE.md -LIBPLATFORM_INSTALL_STAGING = YES - -$(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v8 67/84] package/libplatform: remove package
Quoted 31 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
The last package depending on libplatform, libcec, removed its dependency:
https://github.com/Pulse-Eight/libcec/commit/332bca975a71d8e876b66dc6a7fca938b49b1831The maintainer of both libcec and libplatform has put libplatform into maintenance mode: "Don't use this library in new projects."
https://github.com/Pulse-Eight/platform/commit/97332651ddfb3df9240dfd4227ac35484f8c4341
so we can safely remove the package from buildroot.
Signed-off-by Bernd Kuhls <[email protected]>--- Config.in.legacy | 7 +++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/libplatform/Config.in | 7 ------- package/libplatform/libplatform.hash | 3 --- package/libplatform/libplatform.mk | 13 ------------- 6 files changed, 7 insertions(+), 25 deletions(-) delete mode 100644 package/libplatform/Config.in delete mode 100644 package/libplatform/libplatform.hash delete mode 100644 package/libplatform/libplatform.mkConfig.in.legacy +0
-0
Config.in.legacy config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN · line 289
Quoted 4 lines
Config.in.legacy +1
-0@@ -286,6 +286,13 @@ config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN comment "Legacy options removed in 2026.08" +config BR2_PACKAGE_LIBPLATFORM
Moved under the 2026.11 heading and committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 68/84 package/bento4: bump version to 1.6.0-641-6-Piers
In reply to Bernd Kuhlshttps://github.com/xbmc/Bento4/releases
Removed -std=c++11 from cflags due to upstream commit which added compatibility with c++20:
https://github.com/xbmc/Bento4/commit/9380a868a74252fa53c80174a3e942168e6c0d85
--- package/bento4/bento4.hash | 2 +- package/bento4/bento4.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
package/bento4/bento4.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 f1f8cfa4f7cb651b609e587f825607cb4b06fe5b08af876fd0154a434f9a5315 bento4-1.6.0-641-Omega.tar.gz +sha256 cb5006cd30889238760556e6148f69be34fef4dc48e8d895a9822f805504a5c0 bento4-1.6.0-641-6-Piers.tar.gz sha256 7daae92c8628ada28def8d096fe2fde298b72ec3e2d64a3c408afce38edb361b Documents/LICENSE.txt
package/bento4/bento4.mk +2 -2
@@ -4,7 +4,7 @@ # ################################################################################ -BENTO4_VERSION = 1.6.0-641-Omega +BENTO4_VERSION = 1.6.0-641-6-Piers BENTO4_SITE = $(call github,xbmc,Bento4,$(BENTO4_VERSION)) BENTO4_INSTALL_STAGING = YES BENTO4_LICENSE = GPL-2.0+
@@ -20,6 +20,6 @@ endif BENTO4_CONF_OPTS += \ -DBUILD_APPS=OFF \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -std=c++11 -fPIC -DAP4_PLATFORM_BYTE_ORDER=$(BENTO4_BYTE_ORDER)" + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -fPIC -DAP4_PLATFORM_BYTE_ORDER=$(BENTO4_BYTE_ORDER)" $(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 69/84 package/kodi: bump to 22.0rc1-Piers
In reply to Bernd KuhlsRemoved patch from kodi-texturepacker which is included in this release.
Removed patches 0002-0006 which are included in this release.
Added dependency to exiv2:
https://github.com/xbmc/xbmc/commit/197a3e6d2e80878f5f3f827b3a9073118b59bd51
Replaced dependency rapidjson with nlohmann-json:
https://github.com/xbmc/xbmc/commit/d6d2cac380ea127c2a64a998a31622debe149d3b
The mandatory dependency to libcdio was moved to optional optical drives support:
https://github.com/xbmc/xbmc/commit/11289a597a88d809f39d3c23aa7eae6325a5263c
Remove -DCMAKE_MODULE_PATH from host-kodi-texturepacker, which was used to find FindLzo2.cmake, after upstream commit
https://github.com/xbmc/xbmc/commit/3eb5196bf79759682aa0eb20b0b4830c083f81a5
added a version of FindLzo2.cmake specifically for the host build of texturepacker.
Bumped versions of libdvd libraries following upstream commit:
https://github.com/xbmc/xbmc/commit/8550a0079481de6de1a1e9eb55cc6aec822e3ffe
Upstream commit
https://github.com/xbmc/xbmc/commit/4719e45848e3aeda84f07247fcad03b0744d6833
switched to the generation of Python bindings directly with SWIG and dropped the usage of Java/Groovy.
Removed configure option PYTHON_EXECUTABLE due to upstream commit
https://github.com/xbmc/xbmc/commit/45c6459b6ea6d2ecb6a1ae7d4056ca4fb96535cf
Removed wayland-scanner options due to upstream commits
https://github.com/xbmc/xbmc/commit/8611aef2a092c0027d7bb22a93721cc11bfcc76b
https://github.com/xbmc/xbmc/commit/34e7dd3d166eaa8d0d57c4552129b05281e27142
--- .../kodi-jsonschemabuilder.mk | 2 +- ...rePacker-allow-build-with-giflib-6.x.patch | 71 --- .../kodi-texturepacker/kodi-texturepacker.mk | 3 +- ...rePacker-allow-build-with-giflib-6.x.patch | 71 --- .../0003-RegExp-remove-unused-methods.patch | 127 ----- .../0004-Introduce-PCRE2-dependency.patch | 192 ------- ...igrate-PCRE-to-PCRE2-and-remove-PCRE.patch | 486 ------------------ ...006-cmake-Set-ARCH-to-CPU-by-default.patch | 41 -- package/kodi/Config.in | 8 +- package/kodi/kodi.hash | 15 +- package/kodi/kodi.mk | 52 +- 11 files changed, 29 insertions(+), 1039 deletions(-) delete mode 100644 package/kodi-texturepacker/0001-TexturePacker-allow-build-with-giflib-6.x.patch delete mode 100644 package/kodi/0002-TexturePacker-allow-build-with-giflib-6.x.patch delete mode 100644 package/kodi/0003-RegExp-remove-unused-methods.patch delete mode 100644 package/kodi/0004-Introduce-PCRE2-dependency.patch delete mode 100644 package/kodi/0005-Migrate-PCRE-to-PCRE2-and-remove-PCRE.patch delete mode 100644 package/kodi/0006-cmake-Set-ARCH-to-CPU-by-default.patch
package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk +1 -1
@@ -6,7 +6,7 @@ # Not possible to directly refer to kodi variables, because of # first/second expansion trickery... -KODI_JSONSCHEMABUILDER_VERSION = 21.3-Omega +KODI_JSONSCHEMABUILDER_VERSION = 22.0rc1-Piers KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION)) KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
package/kodi-texturepacker/0001-TexturePacker-allow-build-with-giflib-6.x.patch deleted +0 -71
71 lines not on this page · raw message
package/kodi-texturepacker/kodi-texturepacker.mk +1 -2
@@ -6,7 +6,7 @@ # Not possible to directly refer to kodi variables, because of # first/second expansion trickery... -KODI_TEXTUREPACKER_VERSION = 21.3-Omega +KODI_TEXTUREPACKER_VERSION = 22.0rc1-Piers KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION)) KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz KODI_TEXTUREPACKER_DL_SUBDIR = kodi
@@ -29,7 +29,6 @@ HOST_KODI_TEXTUREPACKER_CXXFLAGS = \ HOST_KODI_TEXTUREPACKER_CONF_OPTS += \ -DCMAKE_CXX_FLAGS="$(HOST_KODI_TEXTUREPACKER_CXXFLAGS)" \ - -DCMAKE_MODULE_PATH=$(@D)/cmake/modules \ -DKODI_SOURCE_DIR=$(@D) \ -Wno-dev
package/kodi/0002-TexturePacker-allow-build-with-giflib-6.x.patch deleted +0 -71
71 lines not on this page · raw message
package/kodi/0003-RegExp-remove-unused-methods.patch deleted +0 -127
127 lines not on this page · raw message
package/kodi/0004-Introduce-PCRE2-dependency.patch deleted +0 -192
192 lines not on this page · raw message
package/kodi/0005-Migrate-PCRE-to-PCRE2-and-remove-PCRE.patch deleted +0 -486
486 lines not on this page · raw message
package/kodi/0006-cmake-Set-ARCH-to-CPU-by-default.patch deleted +0 -41
41 lines not on this page · raw message
package/kodi/Config.in +4 -4
@@ -2,7 +2,6 @@ config BR2_PACKAGE_KODI_ARCH_SUPPORTS bool default y depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS # i386: needs sse (see upstream PR 10351) depends on !(BR2_i386 && !BR2_X86_CPU_HAS_SSE) # m68k not supported upstream
@@ -71,9 +70,10 @@ menuconfig BR2_PACKAGE_KODI depends on BR2_PACKAGE_PYTHON3 depends on !BR2_PACKAGE_PYTHON3_PYC_ONLY select BR2_HOST_CMAKE_AT_LEAST_3_24 + select BR2_PACKAGE_EXIV2 select BR2_PACKAGE_FFMPEG select BR2_PACKAGE_FFMPEG_GPL - select BR2_PACKAGE_FFMPEG_POSTPROC + select BR2_PACKAGE_FFMPEG_POSTPROC if BR2_PACKAGE_LIBVA select BR2_PACKAGE_FFMPEG_SWSCALE select BR2_PACKAGE_FLATBUFFERS select BR2_PACKAGE_FMT
@@ -82,8 +82,8 @@ menuconfig BR2_PACKAGE_KODI select BR2_PACKAGE_FSTRCMP select BR2_PACKAGE_GIFLIB select BR2_PACKAGE_JPEG + select BR2_PACKAGE_JSON_FOR_MODERN_CPP select BR2_PACKAGE_LIBASS - select BR2_PACKAGE_LIBCDIO select BR2_PACKAGE_LIBCROSSGUID select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_LIBDRM
@@ -100,7 +100,6 @@ menuconfig BR2_PACKAGE_KODI select BR2_PACKAGE_PYTHON3_SSL select BR2_PACKAGE_PYTHON3_UNICODEDATA select BR2_PACKAGE_PYTHON3_ZLIB - select BR2_PACKAGE_RAPIDJSON select BR2_PACKAGE_SPDLOG select BR2_PACKAGE_SQLITE select BR2_PACKAGE_TAGLIB
@@ -282,6 +281,7 @@ config BR2_PACKAGE_KODI_UPNP config BR2_PACKAGE_KODI_OPTICALDRIVE bool "optical drives" + select BR2_PACKAGE_LIBCDIO help Add support for optical drives, to read e.g. DVDs...
package/kodi/kodi.hash +7 -8
@@ -1,10 +1,9 @@ -# From https://github.com/xbmc/xbmc/blob/Omega/xbmc/interfaces/swig/CMakeLists.txt -sha512 60d1aea85008a438a9498178dc2137385653f1ea294e7e257959e9e0f94382e160e217e1090047c2a944e328cf46e8ebcfc4b015f7d0cb9f2fcf9d880c6c1344 apache-groovy-binary-4.0.26.zip -sha512 8927a406a1bd084b548f89cf15fe4bc7567dcaa50ae8abae54e9c883c1574c648fcc8ad6c3abaa381dfbdf1801727ac5e6c4572063203a1dfac293d122282f05 commons-lang3-3.17.0-bin.tar.gz -sha512 a51667463e88b2d017c3baebb9bbe42c4e50cba96ffe19c89680e82002a4db8b9007daff75f8dbf8bf3725be13a3f03f3c2bc4e1f11e8e02dcab4408abdb44a1 commons-text-1.13.0-bin.tar.gz +# From https://github.com/xbmc/xbmc/blob/master/tools/depends/target/libdvdcss/LIBDVDCSS-VERSION +sha512 439fbd9dae60b9a114d3429a19703478c734e8525ac6852da6f05f72d9ca44ca0ac5e874ab6a10017e7f31869fcd29f01d1bc156c4f0331b4e4abd98ec2f95cd libdvdcss-1.5.0.tar.bz2 +# From https://github.com/xbmc/xbmc/blob/master/tools/depends/target/libdvdnav/LIBDVDNAV-VERSION +sha512 8d12d476e352def9716ecbd7ba184a70dd9bae87dcde669b8647a0ef9ac1991f617c9918c043e159eb353302c4cc50fb71bc591ceaeba1d3b9d47af77fa72c71 libdvdnav-7.0.0.tar.bz2 +# From https://github.com/xbmc/xbmc/blob/master/tools/depends/target/libdvdread/LIBDVDREAD-VERSION +sha512 b5390a1acb8fdf6e24188f9259199eb0fef2dd4b332447ba2bfa571f9fc0c3bfad00c1d27a8b8806180a853c04a818b7802d3075ff787142c1a175ad798c6a3d libdvdread-7.0.1.tar.bz2 # Locally computed -sha256 a60afcb556e4a00cb19fc35b7e77758107c9a8096c6ce9b66af5f92396be31aa kodi-21.3-Omega.tar.gz -sha256 f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e kodi-libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz -sha256 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc kodi-libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz -sha256 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62 kodi-libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz +sha256 21daa839b978ff3fc6a7a058717fe9232f1ae4087d492b31c288eeffb2a7a447 kodi-22.0rc1-Piers.tar.gz sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md
package/kodi/kodi.mk +16 -36
117 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 70/84 package/kodi-audiodecoder-*: mass version bump to Piers
In reply to Bernd Kuhls--- .../kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash | 2 +- package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk | 2 +- .../kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash | 2 +- .../kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk | 2 +- .../kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash | 2 +- package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk | 2 +- .../kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash | 2 +- package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk | 2 +- .../kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash | 2 +- package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk | 2 +- .../kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash | 2 +- .../kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk | 2 +- .../kodi-audiodecoder-vgmstream.hash | 2 +- .../kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-)
package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 b2828685f1c353bf7123d0f9e88b28f53064388f6ea3ee357b8fb22d5c237ac8 kodi-audiodecoder-modplug-21.0.2-Omega.tar.gz +sha256 9a0b5bfce44d937726529a5c32d1f33e4d70261eeed5ace443dffd1d159641f1 kodi-audiodecoder-modplug-22.0.2-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_MODPLUG_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_MODPLUG_VERSION = 22.0.2-Piers KODI_AUDIODECODER_MODPLUG_SITE = $(call github,xbmc,audiodecoder.modplug,$(KODI_AUDIODECODER_MODPLUG_VERSION)) KODI_AUDIODECODER_MODPLUG_LICENSE = GPL-2.0+ KODI_AUDIODECODER_MODPLUG_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 4c82bf0ffab2d09f26b84d382fd00f70695d5f6a6d781be2818f9f5e10bc675a kodi-audiodecoder-nosefart-21.0.2-Omega.tar.gz +sha256 f0b89b0ac85c2248c6aeafba1b805c2c21524fe5dd229f2a5ba362b3ea8dd313 kodi-audiodecoder-nosefart-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_NOSEFART_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_NOSEFART_VERSION = 22.0.3-Piers KODI_AUDIODECODER_NOSEFART_SITE = $(call github,xbmc,audiodecoder.nosefart,$(KODI_AUDIODECODER_NOSEFART_VERSION)) KODI_AUDIODECODER_NOSEFART_LICENSE = GPL-2.0+ KODI_AUDIODECODER_NOSEFART_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 c7d10dd65baed2db1272ff57fde76f0b268a4a434d57022539c4dc5bf6f8b54e kodi-audiodecoder-sidplay-21.0.2-Omega.tar.gz +sha256 1657509ee534600bec9f66cd651e7d6342502fde1a213e81a807eb17feb3c565 kodi-audiodecoder-sidplay-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_SIDPLAY_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_SIDPLAY_VERSION = 22.0.3-Piers KODI_AUDIODECODER_SIDPLAY_SITE = $(call github,xbmc,audiodecoder.sidplay,$(KODI_AUDIODECODER_SIDPLAY_VERSION)) KODI_AUDIODECODER_SIDPLAY_LICENSE = GPL-2.0+ KODI_AUDIODECODER_SIDPLAY_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 98afd81a9653efd9c6fe69dd7918755c75a4671322b793a35bce610acac0d128 kodi-audiodecoder-snesapu-21.0.2-Omega.tar.gz +sha256 5bffae158b9e02d2fba2fca7950fc9497dc65928f90ab336f37ae51819b662a7 kodi-audiodecoder-snesapu-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_SNESAPU_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_SNESAPU_VERSION = 22.0.3-Piers KODI_AUDIODECODER_SNESAPU_SITE = $(call github,xbmc,audiodecoder.snesapu,$(KODI_AUDIODECODER_SNESAPU_VERSION)) KODI_AUDIODECODER_SNESAPU_LICENSE = GPL-2.0+ KODI_AUDIODECODER_SNESAPU_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 089ddd6c890e571f69eda0a85077d8ffe91c4b31fd0f9e20f47d4053c1e984a8 kodi-audiodecoder-stsound-21.0.2-Omega.tar.gz +sha256 c40edfdc694f62d0ce0129f93b16fafa97cf254526d8d874a473560819c31894 kodi-audiodecoder-stsound-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_STSOUND_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_STSOUND_VERSION = 22.0.3-Piers KODI_AUDIODECODER_STSOUND_SITE = $(call github,xbmc,audiodecoder.stsound,$(KODI_AUDIODECODER_STSOUND_VERSION)) KODI_AUDIODECODER_STSOUND_LICENSE = GPL-2.0+ KODI_AUDIODECODER_STSOUND_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 eb7bee9453825f86275ae05c4561fb52ee7fd9fa21857e303933cb57d28ccc4b kodi-audiodecoder-timidity-21.0.2-Omega.tar.gz +sha256 90354522f51889c341541694bc964f24a4739c342c0c8f28ae3c002ac41eebbf kodi-audiodecoder-timidity-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_TIMIDITY_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_TIMIDITY_VERSION = 22.0.3-Piers KODI_AUDIODECODER_TIMIDITY_SITE = $(call github,xbmc,audiodecoder.timidity,$(KODI_AUDIODECODER_TIMIDITY_VERSION)) KODI_AUDIODECODER_TIMIDITY_LICENSE = GPL-2.0+ KODI_AUDIODECODER_TIMIDITY_LICENSE_FILES = LICENSE.md
package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 6f5dddc0e6161426b8c40bfd1136ca555588db27ae78c02178b6ac5da93b377c kodi-audiodecoder-vgmstream-21.0.2-Omega.tar.gz +sha256 c6ae413f47d9261f3a20cd4e2d380b44a57a82a93d03ddfdf2ac0666b230ac6b kodi-audiodecoder-vgmstream-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIODECODER_VGMSTREAM_VERSION = 21.0.2-Omega +KODI_AUDIODECODER_VGMSTREAM_VERSION = 22.0.3-Piers KODI_AUDIODECODER_VGMSTREAM_SITE = $(call github,xbmc,audiodecoder.vgmstream,$(KODI_AUDIODECODER_VGMSTREAM_VERSION)) KODI_AUDIODECODER_VGMSTREAM_LICENSE = GPL-2.0+ KODI_AUDIODECODER_VGMSTREAM_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 71/84 package/kodi-audioencoder-*: mass version bump to Piers
In reply to Bernd Kuhls--- package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash | 2 +- package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk | 2 +- package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash | 2 +- package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk | 2 +- package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash | 2 +- package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk | 2 +- package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash | 2 +- package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 2e7f21f4c42ac2c627ed381436d430a83f18ebc07cb92e91b6c98c4ff9528cc5 kodi-audioencoder-flac-21.0.2-Omega.tar.gz +sha256 f944778346057068d21b3b3b0f92c996c076fa512a82bf54e552ee929d382aa0 kodi-audioencoder-flac-22.0.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIOENCODER_FLAC_VERSION = 21.0.2-Omega +KODI_AUDIOENCODER_FLAC_VERSION = 22.0.5-Piers KODI_AUDIOENCODER_FLAC_SITE = $(call github,xbmc,audioencoder.flac,$(KODI_AUDIOENCODER_FLAC_VERSION)) KODI_AUDIOENCODER_FLAC_LICENSE = GPL-2.0+ KODI_AUDIOENCODER_FLAC_LICENSE_FILES = LICENSE.md
package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 cf593053e7413f6790352ab3c2fcf227763a23c8e7a90381b46afdde3d92df7f kodi-audioencoder-lame-21.0.2-Omega.tar.gz +sha256 7edb92db2cc6af11d79f7f0111a60345c25aff422da719a1afef1e9e9f6fc401 kodi-audioencoder-lame-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIOENCODER_LAME_VERSION = 21.0.2-Omega +KODI_AUDIOENCODER_LAME_VERSION = 22.0.3-Piers KODI_AUDIOENCODER_LAME_SITE = $(call github,xbmc,audioencoder.lame,$(KODI_AUDIOENCODER_LAME_VERSION)) KODI_AUDIOENCODER_LAME_LICENSE = GPL-2.0+ KODI_AUDIOENCODER_LAME_LICENSE_FILES = LICENSE.md
package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 5acd05c5e90459c1f07abe60c1df40f72ebcb3519287f104968c7cad17aca07d kodi-audioencoder-vorbis-21.0.2-Omega.tar.gz +sha256 7409360a8b540303cd3f9e6b21a52e21dfcfe2f516f8a92a94b4035a90c5efb6 kodi-audioencoder-vorbis-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIOENCODER_VORBIS_VERSION = 21.0.2-Omega +KODI_AUDIOENCODER_VORBIS_VERSION = 22.0.3-Piers KODI_AUDIOENCODER_VORBIS_SITE = $(call github,xbmc,audioencoder.vorbis,$(KODI_AUDIOENCODER_VORBIS_VERSION)) KODI_AUDIOENCODER_VORBIS_LICENSE = GPL-2.0+ KODI_AUDIOENCODER_VORBIS_LICENSE_FILES = LICENSE.md
package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 2bbc3e15706e02bbd3e6be3c232522e2091509a6fdf88d8af5db4cd6bf7b3476 kodi-audioencoder-wav-21.0.2-Omega.tar.gz +sha256 8ca6b38660815593adb8c276347a51cbb91138d42de7f05bb2abda37624e3638 kodi-audioencoder-wav-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_AUDIOENCODER_WAV_VERSION = 21.0.2-Omega +KODI_AUDIOENCODER_WAV_VERSION = 22.0.3-Piers KODI_AUDIOENCODER_WAV_SITE = $(call github,xbmc,audioencoder.wav,$(KODI_AUDIOENCODER_WAV_VERSION)) KODI_AUDIOENCODER_WAV_LICENSE = GPL-2.0+ KODI_AUDIOENCODER_WAV_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 72/84 package/kodi-imagedecoder-*: mass version bump to Piers
In reply to Bernd Kuhls--- package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.hash | 2 +- package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.mk | 2 +- package/kodi-imagedecoder-raw/kodi-imagedecoder-raw.hash | 2 +- package/kodi-imagedecoder-raw/kodi-imagedecoder-raw.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 4502522c6e71439114a57cf51f444e38b32c7f786636ca6c361c94aaf5ffe066 kodi-imagedecoder-heif-21.0.3-Omega.tar.gz +sha256 186539681e6067fa24ed3c0f526301224de30edbbda24e347af3d79569603cdd kodi-imagedecoder-heif-22.1.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-imagedecoder-heif/kodi-imagedecoder-heif.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_IMAGEDECODER_HEIF_VERSION = 21.0.3-Omega +KODI_IMAGEDECODER_HEIF_VERSION = 22.1.3-Piers KODI_IMAGEDECODER_HEIF_SITE = $(call github,xbmc,imagedecoder.heif,$(KODI_IMAGEDECODER_HEIF_VERSION)) KODI_IMAGEDECODER_HEIF_LICENSE = GPL-2.0+ KODI_IMAGEDECODER_HEIF_LICENSE_FILES = LICENSE.md
package/kodi-imagedecoder-raw/kodi-imagedecoder-raw.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 421812f6ca8d70e6736c920935461b43f1338ee04a919dcf7e5f7ce1879b54e2 kodi-imagedecoder-raw-21.0.2-Omega.tar.gz +sha256 ee4692563acff8fce4d77ffd629778d9df3cb516825b7a74ffc80f25d902f419 kodi-imagedecoder-raw-22.1.1-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-imagedecoder-raw/kodi-imagedecoder-raw.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_IMAGEDECODER_RAW_VERSION = 21.0.2-Omega +KODI_IMAGEDECODER_RAW_VERSION = 22.1.1-Piers KODI_IMAGEDECODER_RAW_SITE = $(call github,xbmc,imagedecoder.raw,$(KODI_IMAGEDECODER_RAW_VERSION)) KODI_IMAGEDECODER_RAW_LICENSE = GPL-2.0+ KODI_IMAGEDECODER_RAW_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 73/84 package/kodi-inputstream-*: mass version bump to Piers
In reply to Bernd Kuhls--- .../kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash | 2 +- package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk | 2 +- .../kodi-inputstream-ffmpegdirect.hash | 2 +- .../kodi-inputstream-ffmpegdirect.mk | 2 +- package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash | 2 +- package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +1 -1
@@ -1,5 +1,5 @@ # Locally computed -sha256 c4a458045bf4edfe51a1f9f03ac777c7101c9b00e0e72c76ac51a2b3f530779a kodi-inputstream-adaptive-21.5.25-Omega.tar.gz +sha256 efc7841f949ae0c3f5eaba3f8066f7edfc162619dc0b56e53a18911011263d75 kodi-inputstream-adaptive-22.3.22-Piers.tar.gz sha256 48632d57fbb6ab8f50cbf4deced5c91e733fa7ff292687c4816b77f28e483df9 LICENSE.md sha256 02f864f3e07456785625968022ce811c5640301bfd2ae70963efea89d306790a LICENSES/README.md sha256 0b7f5dcb3d2c28ff78d999786028930e762df0baa2f52955782e378ec5b636a8 LICENSES/BSD-2-Clause-Views
package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 21.5.25-Omega +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 22.3.22-Piers KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) KODI_INPUTSTREAM_ADAPTIVE_LICENSE = \ BSD-2-Clause-Views \
package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 0648c6bbb2143cec0c3f48ad476f2c213f20c809caaf5ac74c8ceb4e53635f4e kodi-inputstream-ffmpegdirect-21.3.8-Omega.tar.gz +sha256 f72d027b0aafe9e7734ca83e88e83dd038ea4c9b912dc6c53dfadbcfdb069468 kodi-inputstream-ffmpegdirect-22.2.10-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION = 21.3.8-Omega +KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION = 22.2.10-Piers KODI_INPUTSTREAM_FFMPEGDIRECT_SITE = $(call github,xbmc,inputstream.ffmpegdirect,$(KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION)) KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE_FILES = LICENSE.md
package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 b7223a30d2774e4c7cbd6c4f8a266bf4d186d160590077be627bd0490d80645c kodi-inputstream-rtmp-21.1.2-Omega.tar.gz +sha256 4980297ade011d9c9f34c668702d5ae9528650bb4dbeff34cfa640d3a86f57ec kodi-inputstream-rtmp-22.1.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_INPUTSTREAM_RTMP_VERSION = 21.1.2-Omega +KODI_INPUTSTREAM_RTMP_VERSION = 22.1.3-Piers KODI_INPUTSTREAM_RTMP_SITE = $(call github,xbmc,inputstream.rtmp,$(KODI_INPUTSTREAM_RTMP_VERSION)) KODI_INPUTSTREAM_RTMP_LICENSE = GPL-2.0+ KODI_INPUTSTREAM_RTMP_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 74/84 package/kodi-peripheral-*: mass version bump to Piers
In reply to Bernd Kuhls--- package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash | 2 +- package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash | 2 +- package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 7392c30a9e49b0cd219cdca14f5b20ffce9f4a52c349c2cdf37cb603dd21f516 kodi-peripheral-joystick-21.1.23-Omega.tar.gz +sha256 d4b2d2ed3276053d2da5f198fca248243a55d7b50730ca9e274d84636765e048 kodi-peripheral-joystick-22.0.11-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_JOYSTICK_VERSION = 21.1.23-Omega +KODI_PERIPHERAL_JOYSTICK_VERSION = 22.0.11-Piers KODI_PERIPHERAL_JOYSTICK_SITE = $(call github,xbmc,peripheral.joystick,$(KODI_PERIPHERAL_JOYSTICK_VERSION)) KODI_PERIPHERAL_JOYSTICK_LICENSE = GPL-2.0+ KODI_PERIPHERAL_JOYSTICK_LICENSE_FILES = LICENSE.md
package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 5f74b0493e0f17e297f271b0befd01406dcaae121305bc7cb9d0ece6200cc675 kodi-peripheral-xarcade-21.0.2-Omega.tar.gz +sha256 ca391349b0184083ee76918ae37359f2df541597812476c4a18b0c5e0b3d62d1 kodi-peripheral-xarcade-22.0.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PERIPHERAL_XARCADE_VERSION = 21.0.2-Omega +KODI_PERIPHERAL_XARCADE_VERSION = 22.0.3-Piers KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 75/84 package/kodi-pvr-hts: bump version to 22.9.2-Piers
In reply to Bernd KuhlsRemoved patch which is included in this release.
--- package/kodi-pvr-hts/0001-gcc15.patch | 26 -------------------------- package/kodi-pvr-hts/kodi-pvr-hts.hash | 2 +- package/kodi-pvr-hts/kodi-pvr-hts.mk | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 package/kodi-pvr-hts/0001-gcc15.patch
package/kodi-pvr-hts/0001-gcc15.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From b8fb7f6cbe9e3e9ea2737dc465a70fb4bb0951eb Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum <[email protected]> -Date: Mon, 9 Dec 2024 00:19:15 +1100 -Subject: [PATCH] Fix build with gcc-15 - -Backport upstream commit to fix build error with gcc-15. - -Upstream: https://github.com/kodi-pvr/pvr.hts/commit/b8fb7f6cbe9e3e9ea2737dc465a70fb4bb0951eb - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - src/tvheadend/HTSPVFS.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/tvheadend/HTSPVFS.h b/src/tvheadend/HTSPVFS.h -index 1fbf9d18..80f9fea3 100644 ---- a/src/tvheadend/HTSPVFS.h -+++ b/src/tvheadend/HTSPVFS.h -@@ -9,6 +9,7 @@ - - #include <memory> - #include <string> -+#include <cstdint> - - namespace kodi - {
package/kodi-pvr-hts/kodi-pvr-hts.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 c98e29433bf4a007662b20279748dccd95da7817ab73b7e78c0b45fbe31c22b1 kodi-pvr-hts-21.2.6-Omega.tar.gz +sha256 af9e9adce1a96073280f49b19adac4cdc0145a0e2889a530b067ed2a9708ce43 kodi-pvr-hts-22.9.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-hts/kodi-pvr-hts.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_HTS_VERSION = 21.2.6-Omega +KODI_PVR_HTS_VERSION = 22.9.3-Piers KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) KODI_PVR_HTS_LICENSE = GPL-2.0+ KODI_PVR_HTS_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 76/84 package/kodi-pvr-plutotv: bump version to 22.3.1-Piers
In reply to Bernd KuhlsReplaced dependency rapidjson with nlohmann-json:
https://github.com/kodi-pvr/pvr.plutotv/commit/c6d0c6800421d2245922a497c3ff2994136ab374
--- package/kodi-pvr-plutotv/Config.in | 2 +- package/kodi-pvr-plutotv/kodi-pvr-plutotv.hash | 2 +- package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
package/kodi-pvr-plutotv/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_KODI_PVR_PLUTOTV bool "kodi-pvr-plutotv" - select BR2_PACKAGE_RAPIDJSON + select BR2_PACKAGE_JSON_FOR_MODERN_CPP help Pluto.tv PVR Client for Kodi
package/kodi-pvr-plutotv/kodi-pvr-plutotv.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 9b65a30f4a5c0cfbf1ab669f06a3afb0cc7b2732ed6d6d4e768d16fd10a0da02 kodi-pvr-plutotv-21.3.3-Omega.tar.gz +sha256 a56bbd15ea5eca3143feba281fa6f0f6dfc42ebed37e886d7ddd18013cae4f8e kodi-pvr-plutotv-22.3.2-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -KODI_PVR_PLUTOTV_VERSION = 21.3.3-Omega +KODI_PVR_PLUTOTV_VERSION = 22.3.2-Piers KODI_PVR_PLUTOTV_SITE = $(call github,kodi-pvr,pvr.plutotv,$(KODI_PVR_PLUTOTV_VERSION)) KODI_PVR_PLUTOTV_LICENSE = GPL-2.0+ KODI_PVR_PLUTOTV_LICENSE_FILES = LICENSE.md -KODI_PVR_PLUTOTV_DEPENDENCIES = kodi rapidjson +KODI_PVR_PLUTOTV_DEPENDENCIES = json-for-modern-cpp kodi $(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 77/84 package/kodi-pvr-waipu: bump version to 22.10.0-Piers
In reply to Bernd KuhlsReplaced dependency rapidjson with nlohmann-json:
https://github.com/flubshi/pvr.waipu/commit/5d74289b7501625ab2d9098ac16af0f66b8b4b98
--- package/kodi-pvr-waipu/Config.in | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.hash | 2 +- package/kodi-pvr-waipu/kodi-pvr-waipu.mk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
package/kodi-pvr-waipu/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_KODI_PVR_WAIPU bool "kodi-pvr-waipu" - select BR2_PACKAGE_RAPIDJSON + select BR2_PACKAGE_JSON_FOR_MODERN_CPP help Waipu.tv PVR Plugin for Kodi
package/kodi-pvr-waipu/kodi-pvr-waipu.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 80e4723a228b27447fe6e83c9e2aa4e9ebfc0d2a3618fbe0491b6d2440124b64 kodi-pvr-waipu-21.12.6-Omega.tar.gz +sha256 9e7e71df13dd3f6d01a8899ec2da794d7a5d0c080cd6fefc0279fccaf612a29b kodi-pvr-waipu-22.10.0-Piers.tar.gz sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt
package/kodi-pvr-waipu/kodi-pvr-waipu.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -KODI_PVR_WAIPU_VERSION = 21.12.6-Omega +KODI_PVR_WAIPU_VERSION = 22.10.0-Piers KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) KODI_PVR_WAIPU_LICENSE = GPL-2.0+ KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt -KODI_PVR_WAIPU_DEPENDENCIES = kodi rapidjson +KODI_PVR_WAIPU_DEPENDENCIES = json-for-modern-cpp kodi $(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 78/84 package/kodi-pvr-zattoo: bump version to 22.2.3-Piers
In reply to Bernd KuhlsReplaced dependency rapidjson with nlohmann-json:
https://github.com/rbuehlma/pvr.zattoo/commit/3a5b4bb46b7c89f1f6c5f5a6ebf30fc0728a5671
--- package/kodi-pvr-zattoo/Config.in | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash | 2 +- package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
package/kodi-pvr-zattoo/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_KODI_PVR_ZATTOO bool "kodi-pvr-zattoo" - select BR2_PACKAGE_RAPIDJSON + select BR2_PACKAGE_JSON_FOR_MODERN_CPP select BR2_PACKAGE_TINYXML2 help Kodi PVR-Addon for Zattoo
package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 d57efceff2f451cc8864d429abed6c7d808ea5092fddf3ece3f598d4a5e26b1f kodi-pvr-zattoo-21.0.7-Omega.tar.gz +sha256 0fb9f133124efa1e19b38fb7748e371295ed2d74c38b1b0ba907321a927a0a60 kodi-pvr-zattoo-22.2.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -KODI_PVR_ZATTOO_VERSION = 21.0.7-Omega +KODI_PVR_ZATTOO_VERSION = 22.2.3-Piers KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -KODI_PVR_ZATTOO_DEPENDENCIES = kodi rapidjson tinyxml2 +KODI_PVR_ZATTOO_DEPENDENCIES = json-for-modern-cpp kodi tinyxml2 $(eval $(cmake-package))
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 79/84 package/kodi-pvr-*: mass version bump to Piers
In reply to Bernd Kuhls--- package/kodi-pvr-argustv/kodi-pvr-argustv.hash | 2 +- package/kodi-pvr-argustv/kodi-pvr-argustv.mk | 2 +- package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash | 2 +- package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk | 2 +- package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash | 2 +- package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk | 2 +- package/kodi-pvr-filmon/kodi-pvr-filmon.hash | 2 +- package/kodi-pvr-filmon/kodi-pvr-filmon.mk | 2 +- package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash | 2 +- package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk | 2 +- .../kodi-pvr-mediaportal-tvserver.hash | 2 +- .../kodi-pvr-mediaportal-tvserver.mk | 2 +- package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash | 2 +- package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk | 2 +- package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash | 2 +- package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk | 2 +- package/kodi-pvr-njoy/kodi-pvr-njoy.hash | 2 +- package/kodi-pvr-njoy/kodi-pvr-njoy.mk | 2 +- package/kodi-pvr-octonet/kodi-pvr-octonet.hash | 2 +- package/kodi-pvr-octonet/kodi-pvr-octonet.mk | 2 +- package/kodi-pvr-pctv/kodi-pvr-pctv.hash | 2 +- package/kodi-pvr-pctv/kodi-pvr-pctv.mk | 2 +- package/kodi-pvr-stalker/kodi-pvr-stalker.hash | 2 +- package/kodi-pvr-stalker/kodi-pvr-stalker.mk | 2 +- package/kodi-pvr-vbox/kodi-pvr-vbox.hash | 2 +- package/kodi-pvr-vbox/kodi-pvr-vbox.mk | 2 +- package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash | 2 +- package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk | 2 +- package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash | 2 +- package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk | 2 +- package/kodi-pvr-wmc/kodi-pvr-wmc.hash | 2 +- package/kodi-pvr-wmc/kodi-pvr-wmc.mk | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-)
package/kodi-pvr-argustv/kodi-pvr-argustv.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 8ec41a956a4348ded0ee650aaa20eb5ec746102b77da46515dcdfd5fa724c157 kodi-pvr-argustv-21.1.1-Omega.tar.gz +sha256 0bb56d70b866f205f382345f3c959bf9868b666e894975594e922bb1ed3e9277 kodi-pvr-argustv-22.3.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-argustv/kodi-pvr-argustv.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_ARGUSTV_VERSION = 21.1.1-Omega +KODI_PVR_ARGUSTV_VERSION = 22.3.5-Piers KODI_PVR_ARGUSTV_SITE = $(call github,kodi-pvr,pvr.argustv,$(KODI_PVR_ARGUSTV_VERSION)) KODI_PVR_ARGUSTV_LICENSE = GPL-2.0+ KODI_PVR_ARGUSTV_LICENSE_FILES = LICENSE.md
package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 7c436b7a9a4e991f99c01e1fbe69761a1792e4aa703ec95e29ecdb9b7f251ae6 kodi-pvr-dvblink-21.1.3-Omega.tar.gz +sha256 0ad2dea8f8932a2510f3fd9b0c41dc4bc4de5c6f621ce475c2bc14c45b8d7228 kodi-pvr-dvblink-22.3.2-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_DVBLINK_VERSION = 21.1.3-Omega +KODI_PVR_DVBLINK_VERSION = 22.3.2-Piers KODI_PVR_DVBLINK_SITE = $(call github,kodi-pvr,pvr.dvblink,$(KODI_PVR_DVBLINK_VERSION)) KODI_PVR_DVBLINK_LICENSE = GPL-2.0+ KODI_PVR_DVBLINK_LICENSE_FILES = LICENSE.md
package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 9e567eb074b885621266d2eb1e67e79a19f47ef503aad110d9bf92ba2bd75084 kodi-pvr-dvbviewer-21.1.3-Omega.tar.gz +sha256 962c47a949377bf22f45b8af4c271fef409971ff06e24db1bfc379ada84cf7b2 kodi-pvr-dvbviewer-22.3.2-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_DVBVIEWER_VERSION = 21.1.3-Omega +KODI_PVR_DVBVIEWER_VERSION = 22.3.2-Piers KODI_PVR_DVBVIEWER_SITE = $(call github,kodi-pvr,pvr.dvbviewer,$(KODI_PVR_DVBVIEWER_VERSION)) KODI_PVR_DVBVIEWER_LICENSE = GPL-2.0+ KODI_PVR_DVBVIEWER_LICENSE_FILES = LICENSE.md
package/kodi-pvr-filmon/kodi-pvr-filmon.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 323702037d65d2820dbe7c589f395d1d1321a4fec61738745dd104ae569088df kodi-pvr-filmon-21.0.3-Omega.tar.gz +sha256 4003e6c76c0e3b08becfdfa66606d2c8d56c6e89a713c32226c5216ed69e407b kodi-pvr-filmon-22.2.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-filmon/kodi-pvr-filmon.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_FILMON_VERSION = 21.0.3-Omega +KODI_PVR_FILMON_VERSION = 22.2.5-Piers KODI_PVR_FILMON_SITE = $(call github,kodi-pvr,pvr.filmon,$(KODI_PVR_FILMON_VERSION)) KODI_PVR_FILMON_LICENSE = GPL-2.0+ KODI_PVR_FILMON_LICENSE_FILES = LICENSE.md
package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 377fb3c69d39866c0b3b8a3a7d4c790241b15997b140f45443209c4e44e62418 kodi-pvr-iptvsimple-21.11.0-Omega.tar.gz +sha256 7efb36a0c48ae1a16fec14d1e705003c22abf13d2a318448ffb122fc0afcfa70 kodi-pvr-iptvsimple-22.6.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_IPTVSIMPLE_VERSION = 21.11.0-Omega +KODI_PVR_IPTVSIMPLE_VERSION = 22.6.5-Piers KODI_PVR_IPTVSIMPLE_SITE = $(call github,kodi-pvr,pvr.iptvsimple,$(KODI_PVR_IPTVSIMPLE_VERSION)) KODI_PVR_IPTVSIMPLE_LICENSE = GPL-2.0+ KODI_PVR_IPTVSIMPLE_LICENSE_FILES = LICENSE.md
package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 38727f8ea1ac350ced769b21919eb4b1409479f82ceeadf5140dbbdb7d5af415 kodi-pvr-mediaportal-tvserver-21.0.5-Omega.tar.gz +sha256 e2b6101e1bc2a11da2c91f5f0640590898ec27f7c87466cf3c1d74b89a5f8973 kodi-pvr-mediaportal-tvserver-22.2.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION = 21.0.5-Omega +KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION = 22.2.5-Piers KODI_PVR_MEDIAPORTAL_TVSERVER_SITE = $(call github,kodi-pvr,pvr.mediaportal.tvserver,$(KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION)) KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE = GPL-2.0+ KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE_FILES = LICENSE.md
package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 fff61cba963647e81ae273a974b31c2aab054e1a8c0e20278bb52623cd244921 kodi-pvr-mythtv-21.3.20-Omega.tar.gz +sha256 053b7206efe1c2fcaebd83176ac818f74c61c57417bf2fc9bc3837a7a08ea3fe kodi-pvr-mythtv-22.3.18-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_MYTHTV_VERSION = 21.3.20-Omega +KODI_PVR_MYTHTV_VERSION = 22.3.18-Piers KODI_PVR_MYTHTV_SITE = $(call github,janbar,pvr.mythtv,$(KODI_PVR_MYTHTV_VERSION)) KODI_PVR_MYTHTV_LICENSE = GPL-2.0+ KODI_PVR_MYTHTV_LICENSE_FILES = LICENSE.md
package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 6315a7bfe038b02c80efe4fe3ee33f92ee2454af8668ce3847e9bcaca38d2147 kodi-pvr-nextpvr-21.3.2-Omega.tar.gz +sha256 5d5c9764a15242fd28bb81e88369f3ec61378c6bb90fab734046a15a727f4bae kodi-pvr-nextpvr-22.6.2-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_NEXTPVR_VERSION = 21.3.2-Omega +KODI_PVR_NEXTPVR_VERSION = 22.6.2-Piers KODI_PVR_NEXTPVR_SITE = $(call github,kodi-pvr,pvr.nextpvr,$(KODI_PVR_NEXTPVR_VERSION)) KODI_PVR_NEXTPVR_LICENSE = GPL-2.0+ KODI_PVR_NEXTPVR_LICENSE_FILES = LICENSE.md
package/kodi-pvr-njoy/kodi-pvr-njoy.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 62d856e14b76aa6900c28d4679b13d79d891dc040c4ea87331b0eee373542644 kodi-pvr-njoy-21.0.2-Omega.tar.gz +sha256 3ec3c7d931eeafae79c0de45e3aa0bbcc8f3c7c5c5ea1ca9a521ea4996a83066 kodi-pvr-njoy-22.2.4-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-njoy/kodi-pvr-njoy.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_NJOY_VERSION = 21.0.2-Omega +KODI_PVR_NJOY_VERSION = 22.2.4-Piers KODI_PVR_NJOY_SITE = $(call github,kodi-pvr,pvr.njoy,$(KODI_PVR_NJOY_VERSION)) KODI_PVR_NJOY_LICENSE = GPL-2.0+ KODI_PVR_NJOY_LICENSE_FILES = LICENSE.md
package/kodi-pvr-octonet/kodi-pvr-octonet.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 4fd97ff7f0fa021a45958dcd1f922e39dbf5e7366732a74caf782621b97aaa07 kodi-pvr-octonet-21.0.1-Omega.tar.gz +sha256 f2ba368d6066198691ca1b5d53bf94ba2288dadc2051ecb5be9013e9ca9a9012 kodi-pvr-octonet-22.2.1-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-octonet/kodi-pvr-octonet.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_OCTONET_VERSION = 21.0.1-Omega +KODI_PVR_OCTONET_VERSION = 22.2.1-Piers KODI_PVR_OCTONET_SITE = $(call github,DigitalDevices,pvr.octonet,$(KODI_PVR_OCTONET_VERSION)) KODI_PVR_OCTONET_LICENSE = GPL-2.0+ KODI_PVR_OCTONET_LICENSE_FILES = LICENSE.md
package/kodi-pvr-pctv/kodi-pvr-pctv.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 d3527b88d3956fecf8dda40928bc01bd340a22c25a6c38f758af8d6d85153354 kodi-pvr-pctv-21.0.2-Omega.tar.gz +sha256 4f13cdb0092f3e1b979058d6a5594ef14138c906a539881f025242165c54e601 kodi-pvr-pctv-22.2.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-pctv/kodi-pvr-pctv.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_PCTV_VERSION = 21.0.2-Omega +KODI_PVR_PCTV_VERSION = 22.2.5-Piers KODI_PVR_PCTV_SITE = $(call github,kodi-pvr,pvr.pctv,$(KODI_PVR_PCTV_VERSION)) KODI_PVR_PCTV_LICENSE = GPL-2.0+ KODI_PVR_PCTV_LICENSE_FILES = LICENSE.md
package/kodi-pvr-stalker/kodi-pvr-stalker.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 567b0d8bc7d79a166a65e3c47ecb3f73e3aa57db840465ea2e6c70c74421c162 kodi-pvr-stalker-21.1.3-Omega.tar.gz +sha256 98f5151e4b29c99b6723061bb7cc5514c6307853d8d050c784a5ce93d51142e9 kodi-pvr-stalker-22.2.7-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-stalker/kodi-pvr-stalker.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_STALKER_VERSION = 21.1.3-Omega +KODI_PVR_STALKER_VERSION = 22.2.7-Piers KODI_PVR_STALKER_SITE = $(call github,kodi-pvr,pvr.stalker,$(KODI_PVR_STALKER_VERSION)) KODI_PVR_STALKER_LICENSE = GPL-2.0+ KODI_PVR_STALKER_LICENSE_FILES = LICENSE.md
package/kodi-pvr-vbox/kodi-pvr-vbox.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 6550fa41f1d7312619dd9f4620a4b5b6c47240d71273df34a4300e580f617635 kodi-pvr-vbox-21.1.5-Omega.tar.gz +sha256 ee82a2dd9e01b91c0c095555aa0e257fc2754349060250d636715452b7ca9e4a kodi-pvr-vbox-22.2.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-vbox/kodi-pvr-vbox.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_VBOX_VERSION = 21.1.5-Omega +KODI_PVR_VBOX_VERSION = 22.2.5-Piers KODI_PVR_VBOX_SITE = $(call github,kodi-pvr,pvr.vbox,$(KODI_PVR_VBOX_VERSION)) KODI_PVR_VBOX_LICENSE = GPL-2.0+ KODI_PVR_VBOX_LICENSE_FILES = LICENSE.md
package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 4608cfd2339cfc52470575f7caf153a97502cb360b44fcef2921c0623a931ef8 kodi-pvr-vdr-vnsi-21.1.3-Omega.tar.gz +sha256 7eda51eba53402e44f1702d6dc13c29ab41ccaefe8ab3e7d6cfec5ab58849bb1 kodi-pvr-vdr-vnsi-22.3.3-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_VDR_VNSI_VERSION = 21.1.3-Omega +KODI_PVR_VDR_VNSI_VERSION = 22.3.3-Piers KODI_PVR_VDR_VNSI_SITE = $(call github,kodi-pvr,pvr.vdr.vnsi,$(KODI_PVR_VDR_VNSI_VERSION)) KODI_PVR_VDR_VNSI_LICENSE = GPL-2.0+ KODI_PVR_VDR_VNSI_LICENSE_FILES = LICENSE.md
package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 5d83bb04fdf6f41f3ebb63df19d9f5e21631de4726475df731fc665af789072c kodi-pvr-vuplus-21.3.2-Omega.tar.gz +sha256 2c677b914be2262fe3114a01066efabb3d3450d4bbc76eeaf942b77f31cdc3c7 kodi-pvr-vuplus-22.3.7-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_VUPLUS_VERSION = 21.3.2-Omega +KODI_PVR_VUPLUS_VERSION = 22.3.7-Piers KODI_PVR_VUPLUS_SITE = $(call github,kodi-pvr,pvr.vuplus,$(KODI_PVR_VUPLUS_VERSION)) KODI_PVR_VUPLUS_LICENSE = GPL-2.0+ KODI_PVR_VUPLUS_LICENSE_FILES = LICENSE.md
package/kodi-pvr-wmc/kodi-pvr-wmc.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 bee42bd2a55d00ab589db9ebcddfa75d9211571fda63d641ba484f5582934364 kodi-pvr-wmc-21.0.3-Omega.tar.gz +sha256 f5905bee24f0ed43aa18c4a9b20a88af6dcf352d95fc3ee80371c5b8ffa6f911 kodi-pvr-wmc-22.2.5-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-pvr-wmc/kodi-pvr-wmc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_PVR_WMC_VERSION = 21.0.3-Omega +KODI_PVR_WMC_VERSION = 22.2.5-Piers KODI_PVR_WMC_SITE = $(call github,kodi-pvr,pvr.wmc,$(KODI_PVR_WMC_VERSION)) KODI_PVR_WMC_LICENSE = GPL-2.0+ KODI_PVR_WMC_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v8 80/84 package/kodi-screensaver-rsxs: bump version to 22.0.5-Piers
In reply to Bernd KuhlsRemoved patch which is included in this release.
--- .../0001-Fix-build-with-CMake-4.x.patch | 346 ------------------ .../kodi-screensaver-rsxs.hash | 2 +- .../kodi-screensaver-rsxs.mk | 2 +- 3 files changed, 2 insertions(+), 348 deletions(-) delete mode 100644 package/kodi-screensaver-rsxs/0001-Fix-build-with-CMake-4.x.patch
package/kodi-screensaver-rsxs/0001-Fix-build-with-CMake-4.x.patch deleted +0 -346
@@ -1,346 +0,0 @@ -From f6ad95576920944e64a368ae4074812efbcedc4b Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Wed, 11 Mar 2026 21:58:40 +0100 -Subject: [PATCH] Fix build with CMake 4.x - -Fixes build errors with CMake 4.x: - -CMake Error at lib/Implicit/CMakeLists.txt:1 (cmake_minimum_required): - Compatibility with CMake < 3.5 has been removed from CMake. - -CMake Error at lib/Rgbhsl/CMakeLists.txt:1 (cmake_minimum_required): - Compatibility with CMake < 3.5 has been removed from CMake. - -CMake Error at lib/rsMath/CMakeLists.txt:1 (cmake_minimum_required): - Compatibility with CMake < 3.5 has been removed from CMake. - -Raise minimum version for all addons. - -Upstream: https://github.com/xbmc/screensavers.rsxs/commit/0635422964b6797d693866483d16dff51bcf4b57 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - CMakeLists.txt | 2 +- - depends/common/bz2/CMakeLists.txt | 2 +- - lib/Implicit/CMakeLists.txt | 2 +- - lib/Rgbhsl/CMakeLists.txt | 2 +- - lib/kodi/gui/gl/CMakeLists.txt | 2 +- - lib/rsMath/CMakeLists.txt | 2 +- - src/biof/CMakeLists.txt | 2 +- - src/busyspheres/CMakeLists.txt | 2 +- - src/colorfire/CMakeLists.txt | 2 +- - src/cyclone/CMakeLists.txt | 2 +- - src/drempels/CMakeLists.txt | 2 +- - src/euphoria/CMakeLists.txt | 2 +- - src/feedback/CMakeLists.txt | 2 +- - src/fieldlines/CMakeLists.txt | 2 +- - src/flocks/CMakeLists.txt | 2 +- - src/flux/CMakeLists.txt | 2 +- - src/helios/CMakeLists.txt | 2 +- - src/hufosmoke/CMakeLists.txt | 2 +- - src/hufotunnel/CMakeLists.txt | 2 +- - src/hyperspace/CMakeLists.txt | 2 +- - src/lattice/CMakeLists.txt | 2 +- - src/lorenz/CMakeLists.txt | 2 +- - src/matrixview/CMakeLists.txt | 2 +- - src/microcosm/CMakeLists.txt | 2 +- - src/plasma/CMakeLists.txt | 2 +- - src/skyrocket/CMakeLists.txt | 2 +- - src/solarwinds/CMakeLists.txt | 2 +- - src/spirographx/CMakeLists.txt | 2 +- - src/sundancer2/CMakeLists.txt | 2 +- - 29 files changed, 29 insertions(+), 29 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e93c31bc..1a9ca89c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensavers.rsxs) - - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) -diff --git a/depends/common/bz2/CMakeLists.txt b/depends/common/bz2/CMakeLists.txt -index 6b1a0a56..b83f34dd 100644 ---- a/depends/common/bz2/CMakeLists.txt -+++ b/depends/common/bz2/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(bzip2) - - if(NOT WIN32) -diff --git a/lib/Implicit/CMakeLists.txt b/lib/Implicit/CMakeLists.txt -index eef20e3b..14fb63d7 100644 ---- a/lib/Implicit/CMakeLists.txt -+++ b/lib/Implicit/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.0) -+cmake_minimum_required(VERSION 3.5...4.0) - - project(Implicit) - -diff --git a/lib/Rgbhsl/CMakeLists.txt b/lib/Rgbhsl/CMakeLists.txt -index 984ce9ba..ca01c592 100644 ---- a/lib/Rgbhsl/CMakeLists.txt -+++ b/lib/Rgbhsl/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.0) -+cmake_minimum_required(VERSION 3.5...4.0) - - project(Rgbhsl) - -diff --git a/lib/kodi/gui/gl/CMakeLists.txt b/lib/kodi/gui/gl/CMakeLists.txt -index 6fc4d87b..1b096d79 100644 ---- a/lib/kodi/gui/gl/CMakeLists.txt -+++ b/lib/kodi/gui/gl/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - - project(kodiOpenGL) - -diff --git a/lib/rsMath/CMakeLists.txt b/lib/rsMath/CMakeLists.txt -index cc31d308..76100e89 100644 ---- a/lib/rsMath/CMakeLists.txt -+++ b/lib/rsMath/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.0) -+cmake_minimum_required(VERSION 3.5...4.0) - - project(rsMath) - -diff --git a/src/biof/CMakeLists.txt b/src/biof/CMakeLists.txt -index 810bec46..ec344ba8 100644 ---- a/src/biof/CMakeLists.txt -+++ b/src/biof/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.biof) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/busyspheres/CMakeLists.txt b/src/busyspheres/CMakeLists.txt -index 41650ca6..cc829bd9 100644 ---- a/src/busyspheres/CMakeLists.txt -+++ b/src/busyspheres/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.busyspheres) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/colorfire/CMakeLists.txt b/src/colorfire/CMakeLists.txt -index 3667cbd4..f8da4884 100644 ---- a/src/colorfire/CMakeLists.txt -+++ b/src/colorfire/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.colorfire) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/cyclone/CMakeLists.txt b/src/cyclone/CMakeLists.txt -index 8af4172f..084f928b 100644 ---- a/src/cyclone/CMakeLists.txt -+++ b/src/cyclone/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.cyclone) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/drempels/CMakeLists.txt b/src/drempels/CMakeLists.txt -index 1ebd427f..d4c38a95 100644 ---- a/src/drempels/CMakeLists.txt -+++ b/src/drempels/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.drempels) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/euphoria/CMakeLists.txt b/src/euphoria/CMakeLists.txt -index d3f55ee3..de2e2f67 100644 ---- a/src/euphoria/CMakeLists.txt -+++ b/src/euphoria/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.euphoria) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/feedback/CMakeLists.txt b/src/feedback/CMakeLists.txt -index b37c430a..fd417d61 100644 ---- a/src/feedback/CMakeLists.txt -+++ b/src/feedback/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.feedback) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/fieldlines/CMakeLists.txt b/src/fieldlines/CMakeLists.txt -index de60dda8..b0dc30b6 100644 ---- a/src/fieldlines/CMakeLists.txt -+++ b/src/fieldlines/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.fieldlines) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/flocks/CMakeLists.txt b/src/flocks/CMakeLists.txt -index c2b4a793..a15db4d8 100644 ---- a/src/flocks/CMakeLists.txt -+++ b/src/flocks/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.flocks) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/flux/CMakeLists.txt b/src/flux/CMakeLists.txt -index a2de0b2a..6aeda787 100644 ---- a/src/flux/CMakeLists.txt -+++ b/src/flux/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.flux) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/helios/CMakeLists.txt b/src/helios/CMakeLists.txt -index d64a6194..6feb0ac2 100644 ---- a/src/helios/CMakeLists.txt -+++ b/src/helios/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.helios) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/hufosmoke/CMakeLists.txt b/src/hufosmoke/CMakeLists.txt -index 44d13231..b4fe79a5 100644 ---- a/src/hufosmoke/CMakeLists.txt -+++ b/src/hufosmoke/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.hufosmoke) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/hufotunnel/CMakeLists.txt b/src/hufotunnel/CMakeLists.txt -index b18ce736..f8c67c85 100644 ---- a/src/hufotunnel/CMakeLists.txt -+++ b/src/hufotunnel/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.hufotunnel) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/hyperspace/CMakeLists.txt b/src/hyperspace/CMakeLists.txt -index 6bd303e2..5733be37 100644 ---- a/src/hyperspace/CMakeLists.txt -+++ b/src/hyperspace/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.hyperspace) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/lattice/CMakeLists.txt b/src/lattice/CMakeLists.txt -index ef884e4c..9f9455f4 100644 ---- a/src/lattice/CMakeLists.txt -+++ b/src/lattice/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.lattice) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/lorenz/CMakeLists.txt b/src/lorenz/CMakeLists.txt -index ab3026f6..35f749d9 100644 ---- a/src/lorenz/CMakeLists.txt -+++ b/src/lorenz/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.lorenz) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/matrixview/CMakeLists.txt b/src/matrixview/CMakeLists.txt -index d98a8f14..d5f77ec7 100644 ---- a/src/matrixview/CMakeLists.txt -+++ b/src/matrixview/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.matrixview) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/microcosm/CMakeLists.txt b/src/microcosm/CMakeLists.txt -index d05b639d..65437c28 100644 ---- a/src/microcosm/CMakeLists.txt -+++ b/src/microcosm/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.microcosm) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt -index e7fc7956..fd25963f 100644 ---- a/src/plasma/CMakeLists.txt -+++ b/src/plasma/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.plasma) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/skyrocket/CMakeLists.txt b/src/skyrocket/CMakeLists.txt -index 8a89f28f..8e9e0500 100644 ---- a/src/skyrocket/CMakeLists.txt -+++ b/src/skyrocket/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.skyrocket) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/solarwinds/CMakeLists.txt b/src/solarwinds/CMakeLists.txt -index f1ef41c7..2417edf0 100644 ---- a/src/solarwinds/CMakeLists.txt -+++ b/src/solarwinds/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.solarwinds) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/spirographx/CMakeLists.txt b/src/spirographx/CMakeLists.txt -index 2ccb751d..41a245d4 100644 ---- a/src/spirographx/CMakeLists.txt -+++ b/src/spirographx/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.spirographx) - - message(STATUS "--------------------------------------------------------------------------------") -diff --git a/src/sundancer2/CMakeLists.txt b/src/sundancer2/CMakeLists.txt -index a0e47a6d..a3bfbbe9 100644 ---- a/src/sundancer2/CMakeLists.txt -+++ b/src/sundancer2/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.5) -+cmake_minimum_required(VERSION 3.5...4.0) - project(screensaver.rsxs.sundancer2) - - message(STATUS "--------------------------------------------------------------------------------") --- -2.47.3 -
package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 76c1df60f3b4bf4c61f827e07ac61173e3b72defe6ab54d1a1fa34f1cd6f38ab kodi-screensaver-rsxs-21.1.2-Omega.tar.gz +sha256 4e44e6b6e804b81208c6d47f156e63e24d5af0e61fa46d5959c61e00ba2b36a8 kodi-screensaver-rsxs-22.0.7-Piers.tar.gz sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md
package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KODI_SCREENSAVER_RSXS_VERSION = 21.1.2-Omega +KODI_SCREENSAVER_RSXS_VERSION = 22.0.7-Piers KODI_SCREENSAVER_RSXS_SITE = $(call github,xbmc,screensavers.rsxs,$(KODI_SCREENSAVER_RSXS_VERSION)) KODI_SCREENSAVER_RSXS_LICENSE = GPL-2.0+ KODI_SCREENSAVER_RSXS_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot