mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
mosquitto: bump to 2.0.22
Refresh patches, drop patch 3238, now part of upstream codebase Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
fd6a9a2b30
commit
0331499e1f
|
|
@ -10,8 +10,6 @@ Upstream-Status: Submitted [https://github.com/eclipse-mosquitto/mosquitto/pull/
|
||||||
service/systemd/mosquitto.service.simple | 4 ++--
|
service/systemd/mosquitto.service.simple | 4 ++--
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/service/systemd/mosquitto.service.simple b/service/systemd/mosquitto.service.simple
|
|
||||||
index 15ee0d6..c2a330b 100644
|
|
||||||
--- a/service/systemd/mosquitto.service.simple
|
--- a/service/systemd/mosquitto.service.simple
|
||||||
+++ b/service/systemd/mosquitto.service.simple
|
+++ b/service/systemd/mosquitto.service.simple
|
||||||
@@ -1,8 +1,8 @@
|
@@ -1,8 +1,8 @@
|
||||||
|
|
@ -25,3 +23,16 @@ index 15ee0d6..c2a330b 100644
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
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
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
From 2cb8129793b54de7c68efe1a4a8e91c788077a8e Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Roger A. Light" <roger@atchoo.org>
|
|
||||||
Date: Thu, 1 May 2025 11:58:23 +0100
|
|
||||||
Subject: [PATCH] Fix incorrect reference clock being selected on startup on
|
|
||||||
Linux.
|
|
||||||
|
|
||||||
Closes #3238. Thanks to Eric Guin and karlri.
|
|
||||||
Closes #3168.
|
|
||||||
---
|
|
||||||
Upstream-Status: Backport 2.0.22
|
|
||||||
src/mosquitto.c | 1 +
|
|
||||||
2 files changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/mosquitto.c b/src/mosquitto.c
|
|
||||||
index ff83ef3da..2aea55237 100644
|
|
||||||
--- a/src/mosquitto.c
|
|
||||||
+++ b/src/mosquitto.c
|
|
||||||
@@ -465,6 +465,7 @@ int main(int argc, char *argv[])
|
|
||||||
#endif
|
|
||||||
struct mosquitto *ctxt, *ctxt_tmp;
|
|
||||||
|
|
||||||
+ mosquitto_time_init();
|
|
||||||
#if defined(WIN32) || defined(__CYGWIN__)
|
|
||||||
if(argc == 2){
|
|
||||||
if(!strcmp(argv[1], "run")){
|
|
||||||
|
|
@ -17,10 +17,9 @@ DEPENDS = "uthash cjson"
|
||||||
SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
|
SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
|
||||||
file://mosquitto.init \
|
file://mosquitto.init \
|
||||||
file://2895.patch \
|
file://2895.patch \
|
||||||
file://3238.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "7ad5e84caeb8d2bb6ed0c04614b2a7042def961af82d87f688ba33db857b899d"
|
SRC_URI[sha256sum] = "2f752589ef7db40260b633fbdb536e9a04b446a315138d64a7ff3c14e2de6b68"
|
||||||
|
|
||||||
inherit systemd update-rc.d useradd cmake pkgconfig
|
inherit systemd update-rc.d useradd cmake pkgconfig
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user