package/strongswan: remove unneeded wolfSSL fix
PATCH 1/5 package/strongswan: remove unneeded wolfSSL fix
Using this defconfig
BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_PACKAGE_STRONGSWAN=y
BR2_PACKAGE_STRONGSWAN_WOLFSSL=y
applied after 'git reset 10a70b1af67cf79986c2e401f7a54aa850ea82d6 --hard'
replicates the build error
http://autobuild.buildroot.net/results/278b3f74c48c858ae368d59069752adb69c05246
which was fixed in 2024 by
https://gitlab.com/buildroot.org/buildroot/-/commit/89d512729cfa5b2ef5c5165492789ba4441add19
Note: The git tree was reset to the commit right before the fix.
Instead of using the fix mentioned above the build error is also fixed when the buildroot commit 6c183754342e6bb73aeab3c8731789c73fcae4ad is cherry-picked onto 10a70b1af67cf79986c2e401f7a54aa850ea82d6.
This means the build error mentioned above is really fixed by enabling BR2_PACKAGE_WOLFSSL_ALL. Therefore we can remove the content of commit 89d512729cfa5b2ef5c5165492789ba4441add19.
This commit also prevents a build error in strongswan
wolfssl_rsa_private_key.c: In function 'create_empty':
wolfssl_rsa_private_key.c:450:18: error: 'RsaKey' has no member named 'rng'
450 | this->rsa.rng = &this->rng;
caused by the upcoming bump of wolfSSL from 5.7.2 to 5.9.1 due to upstream commit
https://github.com/wolfSSL/wolfssl/commit/cd88a8ae88bac13019689c087755d826145811bb
which was first included in wolfSSL 5.9.0.
--- package/strongswan/strongswan.mk | 5 ----- 1 file changed, 5 deletions(-)
package/strongswan/strongswan.mk +0 -5
@@ -101,11 +101,6 @@ STRONGSWAN_DEPENDENCIES += \ $(if $(BR2_PACKAGE_MARIADB),mariadb) endif -# https://github.com/strongswan/strongswan/issues/2410 -ifeq ($(BR2_PACKAGE_STRONGSWAN_WOLFSSL),y) -STRONGSWAN_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DWC_NO_RNG" -endif - # disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved # problem exist since linux 4.5 header changes STRONGSWAN_CONF_OPTS += \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/5 package/strongswan: security bump version to 6.0.5
https://github.com/strongswan/strongswan/releases/tag/6.0.5
Switched _SITE to https.
Fixes CVE-2026-25075.
--- package/strongswan/strongswan.hash | 6 +++--- package/strongswan/strongswan.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
package/strongswan/strongswan.hash +3 -3
@@ -1,7 +1,7 @@ -# From http://download.strongswan.org/strongswan-6.0.4.tar.bz2.md5 -md5 f6b78a99e95179b6a65df218d75da7ca strongswan-6.0.4.tar.bz2 +# From https://download.strongswan.org/strongswan-6.0.5.tar.bz2.md5 +md5 7049111627010dc02293970c82e43d28 strongswan-6.0.5.tar.bz2 # Calculated based on the hash above -sha256 79576bb61b9a406cea9eb73d0c565cc6254a6b6d2e7198f44758d2d7c61a7aec strongswan-6.0.4.tar.bz2 +sha256 437460893655d6cfbc2def79d2da548cb5175b865520c507201ab2ec2e7895d9 strongswan-6.0.5.tar.bz2 # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSE
package/strongswan/strongswan.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -STRONGSWAN_VERSION = 6.0.4 +STRONGSWAN_VERSION = 6.0.5 STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2 -STRONGSWAN_SITE = http://download.strongswan.org +STRONGSWAN_SITE = https://download.strongswan.org STRONGSWAN_LICENSE = GPL-2.0+ STRONGSWAN_LICENSE_FILES = COPYING LICENSE STRONGSWAN_CPE_ID_VENDOR = strongswan
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH 2/5] package/strongswan: security bump version to 6.0.5
In reply of:
Quoted 7 lines
https://github.com/strongswan/strongswan/releases/tag/6.0.5
Switched
_SITEto https.Fixes CVE-2026-25075.
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2026.02.x. Thanks
Quoted 43 lines
--- package/strongswan/strongswan.hash | 6 +++--- package/strongswan/strongswan.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)package/strongswan/strongswan.hash +3
-3@@ -1,7 +1,7 @@ -# From http://download.strongswan.org/strongswan-6.0.4.tar.bz2.md5 -md5 f6b78a99e95179b6a65df218d75da7ca strongswan-6.0.4.tar.bz2 +# From https://download.strongswan.org/strongswan-6.0.5.tar.bz2.md5 +md5 7049111627010dc02293970c82e43d28 strongswan-6.0.5.tar.bz2 # Calculated based on the hash above -sha256 79576bb61b9a406cea9eb73d0c565cc6254a6b6d2e7198f44758d2d7c61a7aec strongswan-6.0.4.tar.bz2 +sha256 437460893655d6cfbc2def79d2da548cb5175b865520c507201ab2ec2e7895d9 strongswan-6.0.5.tar.bz2 # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSEpackage/strongswan/strongswan.mk +2
-2@@ -4,9 +4,9 @@ # ################################################################################ -STRONGSWAN_VERSION = 6.0.4 +STRONGSWAN_VERSION = 6.0.5 STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2 -STRONGSWAN_SITE = http://download.strongswan.org +STRONGSWAN_SITE = https://download.strongswan.org STRONGSWAN_LICENSE = GPL-2.0+ STRONGSWAN_LICENSE_FILES = COPYING LICENSE STRONGSWAN_CPE_ID_VENDOR = strongswanSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/5 package/wolftpm: security bump version to 3.10.0
In reply to Bernd Kuhlshttps://github.com/wolfSSL/wolfTPM/blob/v3.10.0/ChangeLog.md
Version 3.9.2 fixes CVE-2025-7844:
https://github.com/wolfSSL/wolfTPM/pull/427
Upstream switched from GPL-2.0+ to GPL-3.0+ with version 3.9.2:
https://github.com/wolfSSL/wolfTPM/commit/1402d0d132aef7d52569ee17d19fb6b04b57074e
--- package/wolftpm/wolftpm.hash | 4 ++-- package/wolftpm/wolftpm.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/wolftpm/wolftpm.hash +2 -2
@@ -1,3 +1,3 @@ # Locally calculated -sha256 b4f6c090cad7fdbd4fd976f1bd8f271694669459b240fa14bec60a89b749dc1b wolftpm-3.1.0.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE +sha256 b77ebfdf66dfa5e8881056c9512a6ab7d4ff8d0a920c36fc1eb311bd7f1882df wolftpm-3.10.0.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
package/wolftpm/wolftpm.mk +2 -2
@@ -4,10 +4,10 @@ # ################################################################################ -WOLFTPM_VERSION = 3.1.0 +WOLFTPM_VERSION = 3.10.0 WOLFTPM_SITE = $(call github,wolfSSL,wolfTPM,v$(WOLFTPM_VERSION)) WOLFTPM_INSTALL_STAGING = YES -WOLFTPM_LICENSE = GPL-2.0+ +WOLFTPM_LICENSE = GPL-3.0+ WOLFTPM_LICENSE_FILES = LICENSE WOLFTPM_CONFIG_SCRIPTS = wolftpm-config
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH 3/5] package/wolftpm: security bump version to 3.10.0
In reply of:
Quoted 9 lines
https://github.com/wolfSSL/wolfTPM/blob/v3.10.0/ChangeLog.md
Version 3.9.2 fixes CVE-2025-7844:
https://github.com/wolfSSL/wolfTPM/pull/427Upstream switched from GPL-2.0+ to GPL-3.0+ with version 3.9.2:
https://github.com/wolfSSL/wolfTPM/commit/1402d0d132aef7d52569ee17d19fb6b04b57074eSigned-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x & 2026.02.x. Thanks
Quoted 39 lines
--- package/wolftpm/wolftpm.hash | 4 ++-- package/wolftpm/wolftpm.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)package/wolftpm/wolftpm.hash +2
-2@@ -1,3 +1,3 @@ # Locally calculated -sha256 b4f6c090cad7fdbd4fd976f1bd8f271694669459b240fa14bec60a89b749dc1b wolftpm-3.1.0.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE +sha256 b77ebfdf66dfa5e8881056c9512a6ab7d4ff8d0a920c36fc1eb311bd7f1882df wolftpm-3.10.0.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSEpackage/wolftpm/wolftpm.mk +2
-2@@ -4,10 +4,10 @@ # ################################################################################ -WOLFTPM_VERSION = 3.1.0 +WOLFTPM_VERSION = 3.10.0 WOLFTPM_SITE = $(call github,wolfSSL,wolfTPM,v$(WOLFTPM_VERSION)) WOLFTPM_INSTALL_STAGING = YES -WOLFTPM_LICENSE = GPL-2.0+ +WOLFTPM_LICENSE = GPL-3.0+ WOLFTPM_LICENSE_FILES = LICENSE WOLFTPM_CONFIG_SCRIPTS = wolftpm-configSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/5 package/wolfssl: fix build with libcurl >= 8.19.0
In reply to Bernd Kuhlswolfssl requires definition of SIZEOF_LONG_LONG. Commit 3a5e071e4f9 ("package/libcurl: security bump to version 8.19.0") removed SIZEOF_LONG_LONG definitions from libcurl autotools build system, breaking build with wolfssl.
Fixes:
https://autobuild.buildroot.net/results/baa/baa74a47464ed3e21d0adad64dd0c7c708c9ef85/
--- ...TS_H-in-options.h-rather-than-config.patch | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch
package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch new file +60 -0
@@ -0,0 +1,60 @@ +From b54173fc402c30e81d66b84e2f9725cb6d944b40 Mon Sep 17 00:00:00 2001 +From: Kareem <[email protected]> +Date: Fri, 27 Mar 2026 17:01:02 -0700 +Subject: [PATCH] Define HAVE_LIMITS_H in options.h rather than config.h since + types.h depends on this definition and config.h isn't consistently available + at runtime. Fixes #9936. + +Upstream: https://github.com/wolfSSL/wolfssl/pull/10097 + +[Bernd: rebased for 5.7.2] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + cmake/config.in | 3 --- + cmake/options.h.in | 3 +++ + configure.ac | 4 +++- + 3 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/cmake/config.in b/cmake/config.in +index f2524e41e43..6054b6dbe7b 100644 +--- a/cmake/config.in ++++ b/cmake/config.in +@@ -19,9 +19,6 @@ + /* Define to 1 if you have the `gmtime_r' function. */ + #cmakedefine HAVE_GMTIME_R @HAVE_GMTIME_R@ + +-/* Define to 1 if you have the <limits.h> header file. */ +-#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ +- + /* Define to 1 if you have the <pcap/pcap.h> header file. */ + #cmakedefine HAVE_PCAP_PCAP_H @HAVE_PCAP_PCAP_H@ + +diff --git a/cmake/options.h.in b/cmake/options.h.in +index 985b54241d6..c46ada8045d 100644 +--- a/cmake/options.h.in ++++ b/cmake/options.h.in +@@ -31,6 +31,9 @@ extern "C" { + #endif + + #ifndef WOLFSSL_OPTIONS_IGNORE_SYS ++/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */ ++#undef HAVE_LIMITS_H ++#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ + #undef _GNU_SOURCE + #cmakedefine _GNU_SOURCE + #undef _POSIX_THREADS +diff --git a/configure.ac b/configure.ac +index bce600f2ecc..c5cf9f320c7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -116,7 +116,9 @@ + AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_EXPERIMENTAL_SETTINGS" + fi + +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) ++# Special case: Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. ++AC_CHECK_HEADER([limits.h], [AM_CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIMITS_H=1"], []) + AC_CHECK_LIB([network],[socket]) + AC_C_BIGENDIAN + AC_C___ATOMIC
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH 4/5] package/wolfssl: fix build with libcurl >= 8.19.0
In reply of:
Quoted 9 lines
wolfssl requires definition of
SIZEOF_LONG_LONG. Commit3a5e071e4f9("package/libcurl: security bump to version 8.19.0") removedSIZEOF_LONG_LONGdefinitions from libcurl autotools build system, breaking build with wolfssl.Fixes:
https://autobuild.buildroot.net/results/baa/baa74a47464ed3e21d0adad64dd0c7c708c9ef85/Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x & 2026.02.x. Thanks
Quoted 78 lines
--- ...TS_H-in-options.h-rather-than-config.patch | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patchpackage/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch new file +60
-0@@ -0,0 +1,60 @@ +From b54173fc402c30e81d66b84e2f9725cb6d944b40 Mon Sep 17 00:00:00 2001 +From: Kareem <[email protected]> +Date: Fri, 27 Mar 2026 17:01:02 -0700 +Subject: [PATCH] Define HAVE_LIMITS_H in options.h rather than config.h since + types.h depends on this definition and config.h isn't consistently available + at runtime. Fixes #9936. + +Upstream: https://github.com/wolfSSL/wolfssl/pull/10097 + +[Bernd: rebased for 5.7.2] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + cmake/config.in | 3 --- + cmake/options.h.in | 3 +++ + configure.ac | 4 +++- + 3 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/cmake/config.in b/cmake/config.in +index f2524e41e43..6054b6dbe7b 100644 +--- a/cmake/config.in ++++ b/cmake/config.in +@@ -19,9 +19,6 @@ + /* Define to 1 if you have the `gmtime_r' function. */ + #cmakedefine HAVE_GMTIME_R @HAVE_GMTIME_R@ + +-/* Define to 1 if you have the <limits.h> header file. */ +-#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ +- + /* Define to 1 if you have the <pcap/pcap.h> header file. */ + #cmakedefine HAVE_PCAP_PCAP_H @HAVE_PCAP_PCAP_H@ + +diff --git a/cmake/options.h.in b/cmake/options.h.in +index 985b54241d6..c46ada8045d 100644 +--- a/cmake/options.h.in ++++ b/cmake/options.h.in +@@ -31,6 +31,9 @@ extern "C" { + #endif + + #ifndef WOLFSSL_OPTIONS_IGNORE_SYS ++/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */ ++#undef HAVE_LIMITS_H ++#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ + #undef _GNU_SOURCE + #cmakedefine _GNU_SOURCE + #undef _POSIX_THREADS +diff --git a/configure.ac b/configure.ac +index bce600f2ecc..c5cf9f320c7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -116,7 +116,9 @@ + AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_EXPERIMENTAL_SETTINGS" + fi + +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) ++# Special case: Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. ++AC_CHECK_HEADER([limits.h], [AM_CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIMITS_H=1"], []) + AC_CHECK_LIB([network],[socket]) + AC_C_BIGENDIAN + AC_C___ATOMICSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/5 package/wolfssl: security bump version to 5.9.1
In reply to Bernd Kuhlshttps://github.com/wolfSSL/wolfssl/blob/v5.9.1-stable/ChangeLog.md
Restored patch 0001 to its original state.
Updated license hashes due to upstream commits:
"updating license from GPLv2 to GPLv3"
https://github.com/wolfSSL/wolfssl/commit/629c5b4cf61ac717d40678b5cd65974b42077af6
"Add GPLv2 exception list to LICENSING"
https://github.com/wolfSSL/wolfssl/commit/e02de78507778128d989febb54086f343307a47d
with various follow-up commits:
https://github.com/wolfSSL/wolfssl/commit/0d49df7735316cdcf9ddb5a145ea6269b11364b6
https://github.com/wolfSSL/wolfssl/commit/32d33f2a53d9a15b49694f12205dee8c0199db9d
https://github.com/wolfSSL/wolfssl/commit/1e9d71af429218f1cd03ec9e21ca89470119462a
https://github.com/wolfSSL/wolfssl/commit/18332faa054b58e4fe4673c041b2fbfd379247a7
Fixes the following CVEs:
* [High] CVE-2026-5264
* [High] CVE-2026-5263
* [High] CVE-2026-5295
* [High] CVE-2026-5466
* [High] CVE-2026-5477
* [High] CVE-2026-5447
* [High] CVE-2026-5500
* [High] CVE-2026-5501
* [High] CVE-2026-5503
* [Low] CVE-2026-5187
* [Low] CVE-2026-5188
* [Low] CVE-2026-5448
* [Low] CVE-2026-5772
* [Low] CVE-2026-5778
* [High] CVE-2026-3548
* [High] CVE-2026-3549
* [High] CVE-2026-3547
* [Low] CVE-2026-0819
* [Low] CVE-2026-1005
* [Low] CVE-2026-2645
* [Low] CVE-2026-3230
* [Low] CVE-2025-12888
* [Med.] CVE-2025-11936
* [Low] CVE-2025-11935
* [Low] CVE-2025-11934
* [Low] CVE-2025-11933
* [Low] CVE-2025-11931
* [Low] CVE-2025-11932
* [Low] CVE-2025-12889
* [Low] CVE-2025-13912
* [High] CVE-2025-7395
* [Med.] CVE-2025-7394
* [Low] CVE-2025-7396
--- ...E_LIMITS_H-in-options.h-rather-than-config.patch | 13 ++++++------- package/wolfssl/wolfssl.hash | 6 +++--- package/wolfssl/wolfssl.mk | 4 ++-- 3 files changed, 11 insertions(+), 12 deletions(-)
package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch +6 -7
@@ -7,7 +7,6 @@ Subject: [PATCH] Define HAVE_LIMITS_H in options.h rather than config.h since Upstream: https://github.com/wolfSSL/wolfssl/pull/10097 -[Bernd: rebased for 5.7.2] Signed-off-by: Bernd Kuhls <[email protected]> --- cmake/config.in | 3 ---
@@ -33,7 +32,7 @@ diff --git a/cmake/options.h.in b/cmake/options.h.in index 985b54241d6..c46ada8045d 100644 --- a/cmake/options.h.in +++ b/cmake/options.h.in -@@ -31,6 +31,9 @@ extern "C" { +@@ -33,6 +33,9 @@ extern "C" { #endif #ifndef WOLFSSL_OPTIONS_IGNORE_SYS
@@ -47,12 +46,12 @@ diff --git a/configure.ac b/configure.ac index bce600f2ecc..c5cf9f320c7 100644 --- a/configure.ac +++ b/configure.ac -@@ -116,7 +116,9 @@ - AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_EXPERIMENTAL_SETTINGS" - fi +@@ -185,7 +185,9 @@ AC_ARG_ENABLE([freebsdkm-crypto-register], + [ENABLED_BSDKM_REGISTER=no] + ) --AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) -+AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h ctype.h sys/random.h]) ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h ctype.h sys/random.h]) +# Special case: Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. +AC_CHECK_HEADER([limits.h], [AM_CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIMITS_H=1"], []) AC_CHECK_LIB([network],[socket])
package/wolfssl/wolfssl.hash +3 -3
@@ -1,6 +1,6 @@ # Locally computed: -sha256 0f2ed82e345b833242705bbc4b08a2a2037a33f7bf9c610efae6464f6b10e305 wolfssl-5.7.2.tar.gz +sha256 d5ca7af48cd2d9a91d539e9baedeba55a0605a28d7ac8b01dc3d5254a13ca341 wolfssl-5.9.1.tar.gz # Hash for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 b23c1da1f85d699d3288d73c952b4cd02760d23dc1ddc1b221cbb8be82387189 LICENSING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 84f8096dc7f70cdb6075ccf3722a44654361063eaf3e1ce7885c9875b8465a63 LICENSING
package/wolfssl/wolfssl.mk +2 -2
@@ -4,11 +4,11 @@ # ################################################################################ -WOLFSSL_VERSION = 5.7.2 +WOLFSSL_VERSION = 5.9.1 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES -WOLFSSL_LICENSE = GPL-2.0+ +WOLFSSL_LICENSE = GPL-3.0+ WOLFSSL_LICENSE_FILES = COPYING LICENSING WOLFSSL_CPE_ID_VENDOR = wolfssl WOLFSSL_CONFIG_SCRIPTS = wolfssl-config
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH 5/5] package/wolfssl: security bump version to 5.9.1
In reply of:
Quoted 54 lines
https://github.com/wolfSSL/wolfssl/blob/v5.9.1-stable/ChangeLog.md
Restored patch 0001 to its original state.
Updated license hashes due to upstream commits:
"updating license from GPLv2 to GPLv3"
https://github.com/wolfSSL/wolfssl/commit/629c5b4cf61ac717d40678b5cd65974b42077af6"Add GPLv2 exception list to LICENSING"
https://github.com/wolfSSL/wolfssl/commit/e02de78507778128d989febb54086f343307a47dwith various follow-up commits:
https://github.com/wolfSSL/wolfssl/commit/0d49df7735316cdcf9ddb5a145ea6269b11364b6
https://github.com/wolfSSL/wolfssl/commit/32d33f2a53d9a15b49694f12205dee8c0199db9d
https://github.com/wolfSSL/wolfssl/commit/1e9d71af429218f1cd03ec9e21ca89470119462a
https://github.com/wolfSSL/wolfssl/commit/18332faa054b58e4fe4673c041b2fbfd379247a7Fixes the following CVEs:
* [High] CVE-2026-5264
* [High] CVE-2026-5263
* [High] CVE-2026-5295
* [High] CVE-2026-5466
* [High] CVE-2026-5477
* [High] CVE-2026-5447
* [High] CVE-2026-5500
* [High] CVE-2026-5501
* [High] CVE-2026-5503
* [Low] CVE-2026-5187
* [Low] CVE-2026-5188
* [Low] CVE-2026-5448
* [Low] CVE-2026-5772
* [Low] CVE-2026-5778
* [High] CVE-2026-3548
* [High] CVE-2026-3549
* [High] CVE-2026-3547
* [Low] CVE-2026-0819
* [Low] CVE-2026-1005
* [Low] CVE-2026-2645
* [Low] CVE-2026-3230
* [Low] CVE-2025-12888
* [Med.] CVE-2025-11936
* [Low] CVE-2025-11935
* [Low] CVE-2025-11934
* [Low] CVE-2025-11933
* [Low] CVE-2025-11931
* [Low] CVE-2025-11932
* [Low] CVE-2025-12889
* [Low] CVE-2025-13912
* [High] CVE-2025-7395
* [Med.] CVE-2025-7394
* [Low] CVE-2025-7396
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x & 2026.02.x. Thanks
Quoted 84 lines
--- ...E_LIMITS_H-in-options.h-rather-than-config.patch | 13 ++++++------- package/wolfssl/wolfssl.hash | 6 +++--- package/wolfssl/wolfssl.mk | 4 ++-- 3 files changed, 11 insertions(+), 12 deletions(-)package/wolfssl/0001-Define-HAVE_LIMITS_H-in-options.h-rather-than-config.patch +6
-7@@ -7,7 +7,6 @@ Subject: [PATCH] Define HAVE_LIMITS_H in options.h rather than config.h since Upstream: https://github.com/wolfSSL/wolfssl/pull/10097 -[Bernd: rebased for 5.7.2] Signed-off-by: Bernd Kuhls <[email protected]> --- cmake/config.in | 3 ---@@ -33,7 +32,7 @@ diff --git a/cmake/options.h.in b/cmake/options.h.in index 985b54241d6..c46ada8045d 100644 --- a/cmake/options.h.in +++ b/cmake/options.h.in -@@ -31,6 +31,9 @@ extern "C" { +@@ -33,6 +33,9 @@ extern "C" { #endif #ifndef WOLFSSL_OPTIONS_IGNORE_SYS@@ -47,12 +46,12 @@ diff --git a/configure.ac b/configure.ac index bce600f2ecc..c5cf9f320c7 100644 --- a/configure.ac +++ b/configure.ac -@@ -116,7 +116,9 @@ - AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_EXPERIMENTAL_SETTINGS" - fi +@@ -185,7 +185,9 @@ AC_ARG_ENABLE([freebsdkm-crypto-register], + [ENABLED_BSDKM_REGISTER=no] + ) --AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) -+AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h]) +-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h ctype.h sys/random.h]) ++AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stddef.h time.h sys/ioctl.h sys/socket.h sys/time.h errno.h sys/un.h ctype.h sys/random.h]) +# Special case: Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. +AC_CHECK_HEADER([limits.h], [AM_CPPFLAGS="$AM_CPPFLAGS -DHAVE_LIMITS_H=1"], []) AC_CHECK_LIB([network],[socket])package/wolfssl/wolfssl.hash +3
-3@@ -1,6 +1,6 @@ # Locally computed: -sha256 0f2ed82e345b833242705bbc4b08a2a2037a33f7bf9c610efae6464f6b10e305 wolfssl-5.7.2.tar.gz +sha256 d5ca7af48cd2d9a91d539e9baedeba55a0605a28d7ac8b01dc3d5254a13ca341 wolfssl-5.9.1.tar.gz # Hash for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 b23c1da1f85d699d3288d73c952b4cd02760d23dc1ddc1b221cbb8be82387189 LICENSING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 84f8096dc7f70cdb6075ccf3722a44654361063eaf3e1ce7885c9875b8465a63 LICENSINGpackage/wolfssl/wolfssl.mk +2
-2@@ -4,11 +4,11 @@ # ################################################################################ -WOLFSSL_VERSION = 5.7.2 +WOLFSSL_VERSION = 5.9.1 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) WOLFSSL_INSTALL_STAGING = YES -WOLFSSL_LICENSE = GPL-2.0+ +WOLFSSL_LICENSE = GPL-3.0+ WOLFSSL_LICENSE_FILES = COPYING LICENSING WOLFSSL_CPE_ID_VENDOR = wolfssl WOLFSSL_CONFIG_SCRIPTS = wolfssl-configSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
On 14/04/2026 18:07, Bernd Kuhls wrote:
[...]
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 32 lines
Using this defconfig
BR2_x86_64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_PACKAGE_STRONGSWAN=y
BR2_PACKAGE_STRONGSWAN_WOLFSSL=yapplied after 'git reset
10a70b1af67cf79986c2e401f7a54aa850ea82d6--hard'replicates the build error
http://autobuild.buildroot.net/results/278b3f74c48c858ae368d59069752adb69c05246which was fixed in 2024 by
https://gitlab.com/buildroot.org/buildroot/-/commit/89d512729cfa5b2ef5c5165492789ba4441add19Note: The git tree was reset to the commit right before the fix.
Instead of using the fix mentioned above the build error is also fixed when the buildroot commit
6c183754342e6bb73aeab3c8731789c73fcae4adis cherry-picked onto10a70b1af67cf79986c2e401f7a54aa850ea82d6.This means the build error mentioned above is really fixed by enabling
BR2_PACKAGE_WOLFSSL_ALL. Therefore we can remove the content of commit89d512729cfa5b2ef5c5165492789ba4441add19.This commit also prevents a build error in strongswan
wolfssl_rsa_private_key.c: In function 'create_empty':
wolfssl_rsa_private_key.c:450:18: error: 'RsaKey' has no member named 'rng'
450 |this->rsa.rng=&this->rng;
Quoted 6 lines
caused by the upcoming bump of wolfSSL from 5.7.2 to 5.9.1 due to upstream commit
https://github.com/wolfSSL/wolfssl/commit/cd88a8ae88bac13019689c087755d826145811bb
which was first included in wolfSSL 5.9.0.Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x & 2026.02.x. Thanks
Quoted 27 lines
--- package/strongswan/strongswan.mk | 5 ----- 1 file changed, 5 deletions(-)package/strongswan/strongswan.mk +0
-5@@ -101,11 +101,6 @@ STRONGSWAN_DEPENDENCIES += \ $(if $(BR2_PACKAGE_MARIADB),mariadb) endif -# https://github.com/strongswan/strongswan/issues/2410 -ifeq ($(BR2_PACKAGE_STRONGSWAN_WOLFSSL),y) -STRONGSWAN_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -DWC_NO_RNG" -endif - # disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved # problem exist since linux 4.5 header changes STRONGSWAN_CONF_OPTS += \Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot