diff options
author | Louis Rannou <louis.rannou@non.se.com> | 2025-07-11 15:37:33 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-11 08:35:06 -0700 |
commit | 2a27eacee2dc066365e32bafa66c666bcd93b3ca (patch) | |
tree | 01e6630937bfcdd8a69f4739287011856ebd5cff | |
parent | b7a6d63835b808b7ada92d59bd201b4e946d520a (diff) | |
download | meta-openembedded-2a27eacee2dc066365e32bafa66c666bcd93b3ca.tar.gz |
mosquitto: bump to 2.0.21
Upgrade to mosquitto 2.0.21. Update the patch status for issue 2895 and create a
new patch for an issue introduced in 2.0.19 which causes connections to get down
when the clock is changed.
Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/files/2895.patch | 2 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/files/3238.patch | 25 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb (renamed from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.20.bb) | 3 |
3 files changed, 28 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/2895.patch b/meta-networking/recipes-connectivity/mosquitto/files/2895.patch index 853f881754..4c39a290b0 100644 --- a/meta-networking/recipes-connectivity/mosquitto/files/2895.patch +++ b/meta-networking/recipes-connectivity/mosquitto/files/2895.patch | |||
@@ -5,7 +5,7 @@ Subject: [PATCH] Mosquitto now waits for network-online when starting | |||
5 | 5 | ||
6 | See: https://github.com/eclipse/mosquitto/issues/2878 | 6 | See: https://github.com/eclipse/mosquitto/issues/2878 |
7 | --- | 7 | --- |
8 | Upstream-Status: Pending | 8 | Upstream-Status: Submitted [https://github.com/eclipse-mosquitto/mosquitto/pull/2895] |
9 | 9 | ||
10 | service/systemd/mosquitto.service.simple | 4 ++-- | 10 | service/systemd/mosquitto.service.simple | 4 ++-- |
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | 11 | 1 file changed, 2 insertions(+), 2 deletions(-) |
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/3238.patch b/meta-networking/recipes-connectivity/mosquitto/files/3238.patch new file mode 100644 index 0000000000..89795f4cd9 --- /dev/null +++ b/meta-networking/recipes-connectivity/mosquitto/files/3238.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 2cb8129793b54de7c68efe1a4a8e91c788077a8e Mon Sep 17 00:00:00 2001 | ||
2 | From: "Roger A. Light" <roger@atchoo.org> | ||
3 | Date: Thu, 1 May 2025 11:58:23 +0100 | ||
4 | Subject: [PATCH] Fix incorrect reference clock being selected on startup on | ||
5 | Linux. | ||
6 | |||
7 | Closes #3238. Thanks to Eric Guin and karlri. | ||
8 | Closes #3168. | ||
9 | --- | ||
10 | Upstream-Status: Backport 2.0.22 | ||
11 | src/mosquitto.c | 1 + | ||
12 | 2 files changed, 3 insertions(+) | ||
13 | |||
14 | diff --git a/src/mosquitto.c b/src/mosquitto.c | ||
15 | index ff83ef3da..2aea55237 100644 | ||
16 | --- a/src/mosquitto.c | ||
17 | +++ b/src/mosquitto.c | ||
18 | @@ -465,6 +465,7 @@ int main(int argc, char *argv[]) | ||
19 | #endif | ||
20 | struct mosquitto *ctxt, *ctxt_tmp; | ||
21 | |||
22 | + mosquitto_time_init(); | ||
23 | #if defined(WIN32) || defined(__CYGWIN__) | ||
24 | if(argc == 2){ | ||
25 | if(!strcmp(argv[1], "run")){ | ||
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.20.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb index 75aaf7cf38..dcbcbadd59 100644 --- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.20.bb +++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb | |||
@@ -17,9 +17,10 @@ DEPENDS = "uthash cjson" | |||
17 | SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \ | 17 | SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \ |
18 | file://mosquitto.init \ | 18 | file://mosquitto.init \ |
19 | file://2895.patch \ | 19 | file://2895.patch \ |
20 | file://3238.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[sha256sum] = "ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8" | 23 | SRC_URI[sha256sum] = "7ad5e84caeb8d2bb6ed0c04614b2a7042def961af82d87f688ba33db857b899d" |
23 | 24 | ||
24 | inherit systemd update-rc.d useradd cmake pkgconfig | 25 | inherit systemd update-rc.d useradd cmake pkgconfig |
25 | 26 | ||