diff mbox series

[meta-networking,scarthgap] mosquitto: upgrade 2.0.22 -> 2.0.23

Message ID 20261206092413.2827325-1-peter.marko@siemens.com
State New
Headers show
Series [meta-networking,scarthgap] mosquitto: upgrade 2.0.22 -> 2.0.23 | expand

Commit Message

Peter Marko Dec. 6, 2026, 9:24 a.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Release notes: [1] (scroll down to 2.0.23)

Solves:
* CVE-2026-126708 (https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf)
* CVE-2026-126763 (https://github.com/eclipse-mosquitto/mosquitto/securit/advisories/GHSA-5vjv-953v-pwfq)
* CVE-2026-130491 (https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6hx2-p6j3-qrjg)

Drop patch included in this release.

Disable ADNS similarly as in 2.1.2 upgrade [2] to fix build error.

[1] https://mosquitto.org/blog/2026/11/version-2-1-3-released/
[2] https://git.openembedded.org/meta-openembedded/commit/?id=bc155291f179e79b48047adbebc177427c7c0ff9

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 .../mosquitto/files/2895.patch                | 38 -------------------
 ...osquitto_2.0.22.bb => mosquitto_2.0.23.bb} |  5 +--
 2 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 meta-networking/recipes-connectivity/mosquitto/files/2895.patch
 rename meta-networking/recipes-connectivity/mosquitto/{mosquitto_2.0.22.bb => mosquitto_2.0.23.bb} (95%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/mosquitto/files/2895.patch b/meta-networking/recipes-connectivity/mosquitto/files/2895.patch
deleted file mode 100644
index d9432e749ec..00000000000
--- a/meta-networking/recipes-connectivity/mosquitto/files/2895.patch
+++ /dev/null
@@ -1,38 +0,0 @@ 
-From: Joachim Zobel <jz-2017@heute-morgen.de>
-Date: Wed, 13 Sep 2023 10:05:43 +0200
-Subject: [PATCH] Mosquitto now waits for network-online when starting
- (Closes: #1036450)
-
-See: https://github.com/eclipse/mosquitto/issues/2878
----
-Upstream-Status: Submitted [https://github.com/eclipse-mosquitto/mosquitto/pull/2895]
-
- service/systemd/mosquitto.service.simple | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/service/systemd/mosquitto.service.simple
-+++ b/service/systemd/mosquitto.service.simple
-@@ -1,8 +1,8 @@
- [Unit]
- Description=Mosquitto MQTT Broker
- Documentation=man:mosquitto.conf(5) man:mosquitto(8)
--After=network.target
--Wants=network.target
-+After=network-online.target
-+Wants=network-online.target
- 
- [Service]
- ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
---- a/service/systemd/mosquitto.service.notify
-+++ b/service/systemd/mosquitto.service.notify
-@@ -1,8 +1,8 @@
- [Unit]
- Description=Mosquitto MQTT Broker
- Documentation=man:mosquitto.conf(5) man:mosquitto(8)
--After=network.target
--Wants=network.target
-+After=network-online.target
-+Wants=network-online.target
- 
- [Service]
- Type=notify
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.22.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.23.bb
similarity index 95%
rename from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.22.bb
rename to meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.23.bb
index 189250ea605..97fec0744a7 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.22.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.23.bb
@@ -16,10 +16,9 @@  DEPENDS = "uthash cjson"
 
 SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
            file://mosquitto.init \
-           file://2895.patch \
 "
 
-SRC_URI[sha256sum] = "2f752589ef7db40260b633fbdb536e9a04b446a315138d64a7ff3c14e2de6b68"
+SRC_URI[sha256sum] = "dc815cbd9f27db2fa7fcb06390f7ec1d65b5300827f4c1c7402e62ce9cfd5660"
 
 inherit systemd update-rc.d useradd cmake pkgconfig
 
@@ -36,7 +35,7 @@  PACKAGECONFIG[dlt] = "-DWITH_DLT=ON,-DWITH_DLT=OFF,dlt-daemon"
 
 EXTRA_OECMAKE = " \
     -DWITH_BUNDLED_DEPS=OFF \
-    -DWITH_ADNS=ON \
+    -DWITH_ADNS=OFF \
 "
 
 do_install:append() {