From 3e3de7632e570cd517be055bee3e639d5b61c26a Mon Sep 17 00:00:00 2001 From: Sofiane HAMAM Date: Mon, 10 Mar 2025 10:06:53 +0100 Subject: wolfssl: Upgrade 5.7.0 -> 5.7.2 The upgrade includes many vulnerability fixes, new features and inhancements, refer to: https://github.com/wolfSSL/wolfssl/releases/tag/v5.7.2-stable Signed-off-by: Sofiane HAMAM Signed-off-by: Armin Kuster --- .../recipes-connectivity/wolfssl/wolfssl_5.7.0.bb | 41 ---------------------- .../recipes-connectivity/wolfssl/wolfssl_5.7.2.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.0.bb create mode 100644 meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.2.bb diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.0.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.0.bb deleted file mode 100644 index 119d76abb9..0000000000 --- a/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.0.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "wolfSSL Lightweight Embedded SSL/TLS Library" -DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written \ - in C and optimized for embedded and RTOS environments. It can \ - be up to 20 times smaller than OpenSSL while still supporting \ - a full TLS client and server, up to TLS 1.3" -HOMEPAGE = "https://www.wolfssl.com/products/wolfssl" -BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues" -SECTION = "libs" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -PROVIDES += "cyassl" -RPROVIDES:${PN} = "cyassl" - -SRC_URI = " \ - git://github.com/wolfSSL/wolfssl.git;protocol=https;branch=master \ - file://run-ptest \ -" -SRCREV = "8970ff4c34034dbb3594943d11f8c9d4c5512bd5" - -S = "${WORKDIR}/git" - -inherit autotools ptest - -BBCLASSEXTEND += "native nativesdk" - -RDEPENDS:${PN}-ptest += " bash" - -do_install_ptest() { - # Prevent QA Error "package contains reference to TMPDIR [buildpaths]" for unit.test script - # Replace the occurences of ${B}/src with '${PTEST_PATH}' - sed -i 's|${B}/src|${PTEST_PATH}|g' ${B}/tests/unit.test - - install -d ${D}${PTEST_PATH}/test - - # create an empty folder examples, needed in wolfssl's tests/api.c to "Test loading path with no files" - install -d ${D}${PTEST_PATH}/examples - cp -rf ${B}/tests/. ${D}${PTEST_PATH}/test - cp -rf ${S}/certs ${D}${PTEST_PATH} - cp -rf ${S}/tests ${D}${PTEST_PATH} -} diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.2.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.2.bb new file mode 100644 index 0000000000..8e86b62964 --- /dev/null +++ b/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.7.2.bb @@ -0,0 +1,41 @@ +SUMMARY = "wolfSSL Lightweight Embedded SSL/TLS Library" +DESCRIPTION = "wolfSSL, formerly CyaSSL, is a lightweight SSL library written \ + in C and optimized for embedded and RTOS environments. It can \ + be up to 20 times smaller than OpenSSL while still supporting \ + a full TLS client and server, up to TLS 1.3" +HOMEPAGE = "https://www.wolfssl.com/products/wolfssl" +BUGTRACKER = "https://github.com/wolfssl/wolfssl/issues" +SECTION = "libs" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +PROVIDES += "cyassl" +RPROVIDES:${PN} = "cyassl" + +SRC_URI = " \ + git://github.com/wolfSSL/wolfssl.git;protocol=https;branch=master \ + file://run-ptest \ +" +SRCREV = "00e42151ca061463ba6a95adb2290f678cbca472" + +S = "${WORKDIR}/git" + +inherit autotools ptest + +BBCLASSEXTEND += "native nativesdk" + +RDEPENDS:${PN}-ptest += " bash" + +do_install_ptest() { + # Prevent QA Error "package contains reference to TMPDIR [buildpaths]" for unit.test script + # Replace the occurences of ${B}/src with '${PTEST_PATH}' + sed -i 's|${B}/src|${PTEST_PATH}|g' ${B}/tests/unit.test + + install -d ${D}${PTEST_PATH}/test + + # create an empty folder examples, needed in wolfssl's tests/api.c to "Test loading path with no files" + install -d ${D}${PTEST_PATH}/examples + cp -rf ${B}/tests/. ${D}${PTEST_PATH}/test + cp -rf ${S}/certs ${D}${PTEST_PATH} + cp -rf ${S}/tests ${D}${PTEST_PATH} +} -- cgit v1.2.3-54-g00ecf