From 72e59b2c76cce3c9d16bbdd66c482f4f47ddce68 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 Jan 2025 16:28:32 +0800 Subject: paho-mqtt-c: upgrade 1.3.13 -> 1.3.14 Changelog: =========== - Update CMake toolchain link in README file - CMake cleanup, bump to v3.5, and submodule improvements - Fix usage of memset - Assigned Client Identifier constant misspelled - Exporting the -static CMake targets when both shared and static libraries built. - Some minor hardening of MQTTProperties functions - Zero out MQTTProperty before reading - Fix doc comment for MQTTAsync_disconnected - Small cleanup of OpenSSL/LibreSSL CMake - Fix usage of realloc - Fix compiler warnings - Small cleanup of OpenSSL/LibreSSL CMake (2nd try) - Fix IpV6 link local address connections - Added support for UNIX-domain sockets for v1.3.x - Build all the sample applications for the static library - Fix possible memory leak Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../paho-mqtt-c/paho-mqtt-c_1.3.13.bb | 33 ---------------------- .../paho-mqtt-c/paho-mqtt-c_1.3.14.bb | 33 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb create mode 100644 meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb deleted file mode 100644 index 6f229001f6..0000000000 --- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "Paho MQTT - C libraries for the MQTT and MQTT-SN protocols" -DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." -HOMEPAGE = "http://www.eclipse.org/paho/" -SECTION = "console/network" -LICENSE = "EPL-2.0 | EDL-1.0" - -LIC_FILES_CHKSUM = " \ - file://LICENSE;md5=fd3b896dadaeec3410d753ffaeadcfac \ - file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ - file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ -" - -SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master" - -SRCREV = "07a875788d8cc6f5833b12581d6e3e349b34d719" - -DEPENDS = "openssl" - -S = "${WORKDIR}/git" - -inherit cmake - -do_configure:prepend() { - sed -i s:\ lib/cmake:\ ${baselib}/cmake:g ${S}/src/CMakeLists.txt -} - -do_install:append() { - # paho-mqtt installes some thing that we don't want. - rm -rf ${D}${prefix}/samples - find ${D}${prefix} -maxdepth 1 -type f -delete -} - -EXTRA_OECMAKE = "-DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF -DPAHO_HIGH_PERFORMANCE=ON" diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb new file mode 100644 index 0000000000..7b76f86db6 --- /dev/null +++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb @@ -0,0 +1,33 @@ +SUMMARY = "Paho MQTT - C libraries for the MQTT and MQTT-SN protocols" +DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." +HOMEPAGE = "http://www.eclipse.org/paho/" +SECTION = "console/network" +LICENSE = "EPL-2.0 | EDL-1.0" + +LIC_FILES_CHKSUM = " \ + file://LICENSE;md5=fd3b896dadaeec3410d753ffaeadcfac \ + file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ + file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ +" + +SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master" + +SRCREV = "2150ba29d9df24ad1733c460eb099f292af84ee5" + +DEPENDS = "openssl" + +S = "${WORKDIR}/git" + +inherit cmake + +do_configure:prepend() { + sed -i s:\ lib/cmake:\ ${baselib}/cmake:g ${S}/src/CMakeLists.txt +} + +do_install:append() { + # paho-mqtt installes some thing that we don't want. + rm -rf ${D}${prefix}/samples + find ${D}${prefix} -maxdepth 1 -type f -delete +} + +EXTRA_OECMAKE = "-DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF -DPAHO_HIGH_PERFORMANCE=ON" -- cgit v1.2.3-54-g00ecf