pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mosquitto



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Nov 18 01:11:05 UTC 2026

Modified Files:
        pkgsrc/net/mosquitto: Makefile distinfo
        pkgsrc/net/mosquitto/patches: patch-src_CMakeLists.txt

Log Message:
net/mosquitto: Update to 2.1.4

pkgsrc changes:

The SunOS linker flags patch failed to apply.  It lacks an
explanation, and has not been submitted upstream, where the fix likely
belongs.  It is thus in danger of being dropped on a future conflict.

Upstream NEWS, less bugfixes and minor improvements:

2.1.4 - 2026-11-17
==================

Broker:
- Fix legacy sha512 password hashes being rejected due to regression in 2.1.3.

2.1.3 - 2026-11-17
==================

# Security
- Fix incorrect handling of websocket frames for the builtin implementation,
  which could lead to out of bounds memory access and potential remote code
  execution.
- Fix case where use of a specific will delay interval could cause all delayed
  wills to be suppressed.
- Fix potential authentication bypass due to not checking failing password
  hash functions for OpenSSL 4.0 when using the FIPS module.
- Fix potential crash in the dynamic security plugin caused if
  createClient/modifyClient/createGroup/modifyGroup was called with a role
  array, then a role in that array was later deleted and then a further change
  was made to the dynsec config without having restarted the broker.
- Fix crashes in mosquitto_ctrl if connecting to a malicious broker.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/net/mosquitto/Makefile
cvs rdiff -u -r1.42 -r1.43 pkgsrc/net/mosquitto/distinfo
cvs rdiff -u -r1.9 -r1.10 \
    pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mosquitto/Makefile
diff -u pkgsrc/net/mosquitto/Makefile:1.49 pkgsrc/net/mosquitto/Makefile:1.50
--- pkgsrc/net/mosquitto/Makefile:1.49  Wed Nov 11 11:55:07 2026
+++ pkgsrc/net/mosquitto/Makefile       Wed Nov 18 01:11:04 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2026/11/11 11:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2026/11/18 01:11:04 gdt Exp $
 
-DISTNAME=      mosquitto-2.1.2
-PKGREVISION=   2
+DISTNAME=      mosquitto-2.1.4
 CATEGORIES=    net
 MASTER_SITES=  https://mosquitto.org/files/source/
 

Index: pkgsrc/net/mosquitto/distinfo
diff -u pkgsrc/net/mosquitto/distinfo:1.42 pkgsrc/net/mosquitto/distinfo:1.43
--- pkgsrc/net/mosquitto/distinfo:1.42  Sun Mar  1 01:03:12 2026
+++ pkgsrc/net/mosquitto/distinfo       Wed Nov 18 01:11:04 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.42 2026/03/01 01:03:12 gdt Exp $
+$NetBSD: distinfo,v 1.43 2026/11/18 01:11:04 gdt Exp $
 
-BLAKE2s (mosquitto-2.1.2.tar.gz) = 3f4f64ce9243c36681e14a9fff3f57d214002c1ccef9c783972e04ad2f5a68d7
-SHA512 (mosquitto-2.1.2.tar.gz) = f75bf9461680c35ec1c9837bec33490f3709df0adee3bb1ef69151e61b6afabc36dc562f54de43cb11fa7aa57417100d30be83fafc0d6585308f239f0a4a40d5
-Size (mosquitto-2.1.2.tar.gz) = 2882727 bytes
+BLAKE2s (mosquitto-2.1.4.tar.gz) = 1cc5d59178fce00eca682ac9e571d7c6805797308196f24ac6e0b5055a26575c
+SHA512 (mosquitto-2.1.4.tar.gz) = 310a8b7a69a8bd2fee1ff4d58302203b3b5765cc1aa1948dd423cb367ee66314ab683b92cfde67454bc66fd193ba2bc8875136218f63b130ecf6790f4f20bed3
+Size (mosquitto-2.1.4.tar.gz) = 2909253 bytes
 SHA1 (patch-mosquitto.conf) = 2de20afc7f932aacae0d771b80d5ab7d6687e997
-SHA1 (patch-src_CMakeLists.txt) = 34414a0886fadb0335e9716f0948124ec84d20b2
+SHA1 (patch-src_CMakeLists.txt) = c4e3835dc561b308e998f0ff521e8bda3434f168

Index: pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt
diff -u pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt:1.9 pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt:1.10
--- pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt:1.9   Fri Jan 30 01:07:56 2026
+++ pkgsrc/net/mosquitto/patches/patch-src_CMakeLists.txt       Wed Nov 18 01:11:04 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.9 2026/01/30 01:07:56 gdt Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.10 2026/11/18 01:11:04 gdt Exp $
 
-The first hunk removes linker args on SunOS, for no apparent reason.
+This patch removes linker args on SunOS, for no apparent reason.
 
 \todo Explain and file a bug upstream; this should not be a pkgsrc change.
 
---- src/CMakeLists.txt.orig    2026-01-19 00:00:46.000000000 +0000
+--- src/CMakeLists.txt.orig    2026-11-17 13:53:43.000000000 +0000
 +++ src/CMakeLists.txt
-@@ -310,6 +310,7 @@ if(UNIX)
+@@ -306,6 +306,7 @@ if(UNIX)
                        LINK_FLAGS "-Wl,-exported_symbols_list -Wl,${mosquitto_SOURCE_DIR}/src/linker-macosx.syms"
                )
-       elseif (${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+       elseif (AIX)
 +      elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
        else()
                set_target_properties(mosquitto PROPERTIES



Home | Main Index | Thread Index | Old Index