30 Commits

Author SHA1 Message Date
Andrej Kozemcak
7a367dc9a8
paho-mqtt-c: upgrade 1.3.15 -> 1.3.16
Changelog:
  https://github.com/eclipse-paho/paho.mqtt.c/releases/tag/v1.3.16

Changes:
- Bumped minimum CMake to v3.12
- Consolidated "Event" thread signaling object.
- Reduce latency on connect #1430
- Fixed warning in Window build for TCP_NODELAY
- Added a .clang-format file and bash script to run it

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:19 -07:00
Gyorgy Sarvari
cb9d043f46
paho-mqtt-c: upgrade 1.3.14 -> 1.3.15
Drop patch to fix gcc15 compatibility - the problem has been solved by upstream.

Changelog:
- Update getaddrinfo options to support IPv6 hostname resolution
- Removed unnecessary _WIN64 conditional checks
- Fixed condition variable timed wait
- Support tls:// prefix

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-31 00:13:43 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
mark.yang
4be3b3acba
paho-mqtt-c: fix error with gcc-15
* gcc-15 uses gnu23 for c.
  'bool' is a keyword.
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: error: 'bool' cannot be defined via 'typedef'
   31 | typedef unsigned int bool;
      |                      ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: note: 'bool' is a keyword with '-std=c23' onwards
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:1: warning: useless type name in empty declaration
   31 | typedef unsigned int bool;
      | ^~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
Wang Mingyu
72e59b2c76
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:05 -08:00
Matthias Klein
9f70554e43 paho-mqtt-c: upgrade 1.3.12 -> 1.3.13
Service release.
Issues resolved:
https://github.com/eclipse/paho.mqtt.c/milestone/20?closed=1

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-20 08:25:14 -07:00
Martin Jansa
93f8400ebd paho-mqtt-c: remove unused patch file
* it was added in:
  https://git.openembedded.org/meta-openembedded/commit/?id=4d43e788f2c835948ebeb0180a5c1aaa09e8b3b5
  but never used it seems

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:55 -07:00
Diego Dassie
bf26b3e5ed paho-mqtt-c: Improve performance
The paho-mqtt-c library keeps it's internal debugging aids
tracing and heap tracking enabled by default
these options can have a noticiable performance impact,
make sure they are disabled.

Signed-off-by: Diego Dassie <diego.dassie@texa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 11:28:34 -07:00
Diego Dassie
e408f1b84c paho-mqtt-c: Disable building tests
Disable building the paho-mqtt-c library internal tests,
no need to waste compile time.

Signed-off-by: Diego Dassie <diego.dassie@texa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 11:28:34 -07:00
Peter Kjellerstedt
2e0a581bee recipes: Remove double protocol= from SRC_URIs
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Peter Kjellerstedt
4decf7d0a7 paho-mqtt-c: Improve the license information
Replace the about.html and notice.html files in LIC_FILES_CHKSUM with
the LICENSE file. Including HTML files in LIC_FILES_CHKSUM complicates
things when the license files that OE collects are, e.g., later
processed and presented to a user where the expectation is that they are
plain text files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Matthias Klein
29c4df0cbe paho-mqtt-c: upgrade 1.3.11 -> 1.3.12
Service release.
Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/19?closed=1

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:23 -08:00
Matthias Klein
ef4fb2211e paho-mqtt-c: upgrade 1.3.10 -> 1.3.11
Service release.
Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/18?closed=1

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-04 09:29:47 -07:00
Matthias Klein
957e8de43e paho-mqtt-c: upgrade 1.3.9 -> 1.3.10
Service release.
Issues resolved: https://github.com/eclipse/paho.mqtt.c/milestone/17?closed=1

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-30 07:51:38 -07:00
Matthias Klein
2f21f69928 paho-mqtt-c: upgrade 1.3.8 -> 1.3.9
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-17 09:25:15 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zangrc
445bbf398d paho-mqtt-c: upgrade 1.3.7 -> 1.3.8
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-05 09:16:27 -08:00
Adrian Freihofer
e6b20a086e paho-mqtt-c: upgrade 1.3.6 -> 1.3.7
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-25 12:05:13 -08:00
Zang Ruochen
1a1dd70d4b paho-mqtt-c: upgrade 1.3.5 -> 1.3.6
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-14 10:04:09 -07:00
Zang Ruochen
08779114c9 paho-mqtt-c: upgrade 1.3.4 -> 1.3.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Zang Ruochen
6917dd58e1 paho-mqtt-c: upgrade 1.3.2 -> 1.3.4
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-31 13:22:53 -07:00
Zheng Ruoqin
93aa8defe3 paho-mqtt-c: Fix build error when enable multilib.
The error is as the following:
ERROR: paho-mqtt-c-1.3.2-r0 do_package: QA Issue: paho-mqtt-c:
Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/cmake
  /usr/lib/cmake/eclipse-paho-mqtt-c
  /usr/lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfig.cmake
  /usr/lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfigVersion.cmake
  /usr/lib/cmake/eclipse-paho-mqtt-c/eclipse-paho-mqtt-cConfig-noconfig.cmake

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-02 08:55:34 -07:00
Peter Kjellerstedt
679bb49126 paho-mqtt-c: Update to the real 1.3.2, and correct the license
In commit b0345e3f (paho-mqtt-c: upgrade 1.3.1 -> 1.3.2), paho-mqtt-c
was supposedly updated to 1.3.2. However, the SRCREV did not match the
v1.3.2 tag.

With the update to 1.3.2, the license was changed from EPL-1.0 | EDL-1.0
to EPL-2.0 | EDL-1.0. This was updated in commit b0345e3f for
LIC_FILES_CHKSUM, but not in LICENSE.

Remove do_configure_prepend_libc-musl() as this has now been fixed
upstream.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-03 14:29:17 -07:00
Wang Mingyu
b0345e3fe4 paho-mqtt-c: upgrade 1.3.1 -> 1.3.2
add patches for resoving compile error with musl:
0001-Fix-bug-of-free-with-musl.patch

Eclipse Public License : update to v 2.0
-License-Update: updated to 2020.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-26 23:10:57 -07:00
Zheng Ruoqin
9e4735933f paho-mqtt-c: upgrade 1.3.0 -> 1.3.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:53 -07:00
Erik Botö
3964cd81dd paho-mqtt-c: enable SSL
Pass the option PAHO_WITH_SSL=ON when invoking cmake in order to enable
the build of the SSL variants of the libraries.

Signed-off-by: Erik Botö <erik.boto@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Pascal Bach
d4ec027ce2 paho-mqtt-c: 1.2.1 -> 1.3.0
Switch to cmake instead of manually installing everything.

Paho-mqtt still adds some unnecessary files into /usr we have to delete them.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-16 21:07:25 -07:00
Leon Anavi
b837e58eea paho-mqtt-c: Upgrade to 1.2.1
Upgrade paho.mqtt.c to the latest stable release from April 10.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03 17:42:25 -07:00
Paul Eggleton
4d43e788f2 paho-mqtt-c: add recipe from meta-intel-iot-middleware and update
The following improvements have been made over the recipe that was in
meta-intel-iot-middleware (a layer which is no longer actively
maintained):

* Upgrade to 1.2.0. The version number being used previously (3.1) was
  bogus - I guess someone saw that it supported the MQTT *protocol*
  version 3.1 and assumed that was the library version. Since we are
  renaming it to paho-mqtt-c at the same time to distinguish it from
  other Eclipse Paho MQTT library flavours, we don't need to bump PE.
* Fix SRC_URI since the repository has been moved
* Fix "No GNU_HASH in the elf binary" QA error
* Add notice.html and about.html to LIC_FILES_CHKSUM since they cover
  licensing
* Add description, Signed-off-by and Upstream-Status to makefile.patch
* Set short description in SUMMARY
* Drop unnecessary custom do_compile - the default implementation
  basically does the same thing
* Drop RDEPENDS on openssl - linking already ensures runtime
  dependencies get set correctly
* Move DEPENDS further up

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00