Andrej Kozemcak bc155291f1
mosquitto: upgrade 2.0.22 -> 2.1.2
License-Update: Change license to EPL-2.0 OR BSD-3-Clause
  Clarify license in LICENSE.txt: f466e454e0
  Updated NOTICE.md: https://github.com/eclipse-mosquitto/mosquitto/commit/827c803cb8d6376891548b856a1faa3f0ab5

Removed patch included in this release

Update PACKAGECONFIG/cmake options:

- manpages: -DDOCUMENTATION → -DWITH_DOCS (the CMake option was renamed in 2.1.x)
- ssl: removed -DWITH_EC=ON/-DWITH_EC=OFF; the WITH_EC option was dropped in 2.1.x
       since Elliptic Curve support is now always included with TLS
- websockets — adapt websockets to properly use with picohttpparser
- persist-sqlite -  for persistence support in the broker, have sqlite3 dependency
- ctrl-shell: mosquitto_ctrl interactive shell, have libedit dependency

Disable `DWITH_ADNS` option because it required Argon2, which is not part of
meta-oe layer

Disable `DWITH_TESTS` option because mosquitto start using GoogleTest
and we hit a common Yocto + CMake + GoogleTest problem

Improve shipped package to modern version

Changelog:
v2.1.2:
  https://github.com/eclipse-mosquitto/mosquitto/blob/v2.1.2/ChangeLog.txtgT

  Broker:
    - Forbid running with `persistence true` and with a persistence plugin at the
      same time.

  Build:
    - Build fixes for OpenBSD. Closes #3474.
    - Add missing libedit to docker builds. Closes #3476.
    - Fix static/shared linking of libwebsockets under cmake.

v2.1.1:
  https://github.com/eclipse-mosquitto/mosquitto/blob/v2.1.1/ChangeLog.txt

v2.1.0:
  https://github.com/eclipse-mosquitto/mosquitto/blob/v2.1.0/ChangeLog.txt

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-20 14:13:11 -07:00
..