git: 3eab8a754e66 - main - net/mosquitto: Update to 2.0.22
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Jul 2025 20:57:22 UTC
The branch main has been updated by leres:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3eab8a754e66d9c9ef22a74a600faf26afe248c0
commit 3eab8a754e66d9c9ef22a74a600faf26afe248c0
Author: Craig Leres <leres@FreeBSD.org>
AuthorDate: 2025-07-25 20:56:52 +0000
Commit: Craig Leres <leres@FreeBSD.org>
CommitDate: 2025-07-25 20:56:52 +0000
net/mosquitto: Update to 2.0.22
Re-roll patches to make portlint happy.
Chance since 2.0.21:
- Windows: Fix broker crash on startup if using `log_dest stdout`
- Bridge: Fix idle_timeout never occurring for lazy bridges.
- Fix case where max_queued_messages = 0 was not treated as
unlimited.
- Fix `--version` exit code and output.
- Fix crash on receiving a $CONTROL message over a bridge, if
per_listener_settings is set true and the bridge is carrying out
topic remapping.
- Fix incorrect reference clock being selected on startup on Linux.
- Fix reporting of client disconnections being incorrectly attributed
to "out of memory".
- Fix compilation when using `WITH_OLD_KEEPALIVE`.
- Add Windows linker file for the broker to the installer.
- Fix Websockets PING not being sent on Windows.
- Fix problems with secure websockets.
- Fix crash on exit when using WITH_EPOLL=no.
- Fix clients being incorrectly expired when they have keepalive
== max_keepalive.
- Fix mismatch memory free when saving config which caused memory
tracking to be incorrect.
- Fix C++ symbols being removed when compiled with link time
optimisation.
- TLS error handling was incorrectly setting a protocol error for
non-TLS errors.
- Fix linker errors on some architectures using cmake.
---
net/mosquitto/Makefile | 3 +--
net/mosquitto/distinfo | 6 +++---
net/mosquitto/files/patch-CMakeLists.txt | 4 ++--
net/mosquitto/files/patch-config.mk | 4 ++--
net/mosquitto/files/patch-mosquitto.conf | 2 +-
net/mosquitto/files/patch-src_CMakeLists.txt | 6 +++---
6 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
index a59fd685e388..948a1b6cc1a5 100644
--- a/net/mosquitto/Makefile
+++ b/net/mosquitto/Makefile
@@ -1,6 +1,5 @@
PORTNAME= mosquitto
-DISTVERSION= 2.0.21
-PORTREVISION= 1
+DISTVERSION= 2.0.22
CATEGORIES= net
MASTER_SITES= https://mosquitto.org/files/source/
diff --git a/net/mosquitto/distinfo b/net/mosquitto/distinfo
index bd1058f85e74..8935947337eb 100644
--- a/net/mosquitto/distinfo
+++ b/net/mosquitto/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749062322
-SHA256 (mosquitto-2.0.21.tar.gz) = 7ad5e84caeb8d2bb6ed0c04614b2a7042def961af82d87f688ba33db857b899d
-SIZE (mosquitto-2.0.21.tar.gz) = 804168
+TIMESTAMP = 1753476242
+SHA256 (mosquitto-2.0.22.tar.gz) = 2f752589ef7db40260b633fbdb536e9a04b446a315138d64a7ff3c14e2de6b68
+SIZE (mosquitto-2.0.22.tar.gz) = 805967
diff --git a/net/mosquitto/files/patch-CMakeLists.txt b/net/mosquitto/files/patch-CMakeLists.txt
index 960fae8651ba..f9d012481893 100644
--- a/net/mosquitto/files/patch-CMakeLists.txt
+++ b/net/mosquitto/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2020-12-28 11:28:48 UTC
+--- CMakeLists.txt.orig 2025-07-11 21:32:27 UTC
+++ CMakeLists.txt
-@@ -14,6 +14,9 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cma
+@@ -13,6 +13,9 @@ add_definitions (-DCMAKE -DVERSION=\"${VERSION}\")
add_definitions (-DCMAKE -DVERSION=\"${VERSION}\")
diff --git a/net/mosquitto/files/patch-config.mk b/net/mosquitto/files/patch-config.mk
index 2dd082af0371..770ab63d9ce1 100644
--- a/net/mosquitto/files/patch-config.mk
+++ b/net/mosquitto/files/patch-config.mk
@@ -1,6 +1,6 @@
---- config.mk.orig 2020-12-28 13:24:40 UTC
+--- config.mk.orig 2025-07-11 21:32:27 UTC
+++ config.mk
-@@ -329,7 +329,7 @@ ifeq ($(WITH_WEBSOCKETS),static)
+@@ -347,7 +347,7 @@ INSTALL?=install
endif
INSTALL?=install
diff --git a/net/mosquitto/files/patch-mosquitto.conf b/net/mosquitto/files/patch-mosquitto.conf
index d748d5b1171e..b20b04014aa1 100644
--- a/net/mosquitto/files/patch-mosquitto.conf
+++ b/net/mosquitto/files/patch-mosquitto.conf
@@ -1,4 +1,4 @@
---- mosquitto.conf.orig 2025-03-06 16:25:31 UTC
+--- mosquitto.conf.orig 2025-07-11 21:32:27 UTC
+++ mosquitto.conf
@@ -167,7 +167,7 @@
# This should be set to /var/run/mosquitto/mosquitto.pid if mosquitto is
diff --git a/net/mosquitto/files/patch-src_CMakeLists.txt b/net/mosquitto/files/patch-src_CMakeLists.txt
index 7ce42f56b518..8f024918eedc 100644
--- a/net/mosquitto/files/patch-src_CMakeLists.txt
+++ b/net/mosquitto/files/patch-src_CMakeLists.txt
@@ -1,6 +1,6 @@
---- src/CMakeLists.txt.orig 2024-12-18 09:43:22.511844000 +0200
-+++ src/CMakeLists.txt 2024-12-18 09:45:34.368783000 +0200
-@@ -194,7 +194,7 @@
+--- src/CMakeLists.txt.orig 2025-07-11 21:32:27 UTC
++++ src/CMakeLists.txt
+@@ -200,7 +200,7 @@ if (WITH_WEBSOCKETS)
if (WITH_WEBSOCKETS)
if (STATIC_WEBSOCKETS)