Tue Aug 16 23:08:39 2022 UTC ()
net/mosquitto: Update to 2.0.15

Upstream changes: bugfixes


(gdt)
diff -r1.28 -r1.29 pkgsrc/net/mosquitto/Makefile
diff -r1.25 -r1.26 pkgsrc/net/mosquitto/distinfo
diff -r1.1 -r1.2 pkgsrc/net/mosquitto/patches/patch-lib_strings__mosq.c

cvs diff -r1.28 -r1.29 pkgsrc/net/mosquitto/Makefile (expand / switch to unified diff)

--- pkgsrc/net/mosquitto/Makefile 2022/07/03 10:47:15 1.28
+++ pkgsrc/net/mosquitto/Makefile 2022/08/16 23:08:39 1.29
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.28 2022/07/03 10:47:15 wiz Exp $ 1# $NetBSD: Makefile,v 1.29 2022/08/16 23:08:39 gdt Exp $
2 2
3DISTNAME= mosquitto-2.0.14 3DISTNAME= mosquitto-2.0.15
4PKGREVISION= 1 
5CATEGORIES= net 4CATEGORIES= net
6MASTER_SITES= https://mosquitto.org/files/source/ 5MASTER_SITES= https://mosquitto.org/files/source/
7 6
8MAINTAINER= gdt@NetBSD.org 7MAINTAINER= gdt@NetBSD.org
9HOMEPAGE= https://mosquitto.org/ 8HOMEPAGE= https://mosquitto.org/
10COMMENT= Open Source MQTT broker 9COMMENT= Open Source MQTT broker
11LICENSE= epl-v1.0 10LICENSE= epl-v1.0
12 11
13BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt 12BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
14 13
15USE_LANGUAGES+= c c++ 14USE_LANGUAGES+= c c++
16# Upstream documents that "unix" should use make, but Mac cmake. 15# Upstream documents that "unix" should use make, but Mac cmake.
17# After asking and receiving no guidance, choose to always use cmake. 16# After asking and receiving no guidance, choose to always use cmake.

cvs diff -r1.25 -r1.26 pkgsrc/net/mosquitto/distinfo (expand / switch to unified diff)

--- pkgsrc/net/mosquitto/distinfo 2022/02/03 08:02:11 1.25
+++ pkgsrc/net/mosquitto/distinfo 2022/08/16 23:08:39 1.26
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1$NetBSD: distinfo,v 1.25 2022/02/03 08:02:11 wiz Exp $ 1$NetBSD: distinfo,v 1.26 2022/08/16 23:08:39 gdt Exp $
2 2
3BLAKE2s (mosquitto-2.0.14.tar.gz) = 23628d8cd06b94846933da5cac079bf755db11b4b5c0da5c8aad8dd75cd66e60 3BLAKE2s (mosquitto-2.0.15.tar.gz) = 3dd3094b16ff417032fc07738f7c3eae7dcfe40247e493db9698c1f0984d7dda
4SHA512 (mosquitto-2.0.14.tar.gz) = a9e4f41b9af679b30318570e86a465546024651373df10e3b132f4593b89d22d0dbac01bb7371a57132ba030a2e73971c612acb5c9ac12f5ccd06aa38d9444c2 4SHA512 (mosquitto-2.0.15.tar.gz) = 8a0c58222ea0b9304e7f096f6d13965478072baf1d1c9bc931b32a33f5ea8196c2dd54bde8d83fec7ed9cd413cb5fb115ce0a6701ca20664df52fdd7ca63ddaf
5Size (mosquitto-2.0.14.tar.gz) = 787414 bytes 5Size (mosquitto-2.0.15.tar.gz) = 792632 bytes
6SHA1 (patch-lib_CMakeLists.txt) = 81981f812dc38572e727a9a5dfb427b80476702d 6SHA1 (patch-lib_CMakeLists.txt) = 81981f812dc38572e727a9a5dfb427b80476702d
7SHA1 (patch-lib_net__mosq.c) = fdf488984e3b902473f28d6e3482169788c0d517 7SHA1 (patch-lib_net__mosq.c) = fdf488984e3b902473f28d6e3482169788c0d517
8SHA1 (patch-lib_strings__mosq.c) = afa4e5313abe6c428189aa01b86cf7ce8462b41e 8SHA1 (patch-lib_strings__mosq.c) = fb290d7766328d6aa1e935adec9c0fad2eb11c4b
9SHA1 (patch-mosquitto.conf) = 6091113365a7c1d3d726af30fee682abafc40ab0 9SHA1 (patch-mosquitto.conf) = 6091113365a7c1d3d726af30fee682abafc40ab0
10SHA1 (patch-src_CMakeLists.txt) = d0425fd674f2cd1a992a36e616dc8b29e130550b 10SHA1 (patch-src_CMakeLists.txt) = d0425fd674f2cd1a992a36e616dc8b29e130550b

cvs diff -r1.1 -r1.2 pkgsrc/net/mosquitto/patches/patch-lib_strings__mosq.c (expand / switch to unified diff)

--- pkgsrc/net/mosquitto/patches/patch-lib_strings__mosq.c 2021/12/31 23:59:17 1.1
+++ pkgsrc/net/mosquitto/patches/patch-lib_strings__mosq.c 2022/08/16 23:08:39 1.2
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1$NetBSD: patch-lib_strings__mosq.c,v 1.1 2021/12/31 23:59:17 triaxx Exp $ 1$NetBSD: patch-lib_strings__mosq.c,v 1.2 2022/08/16 23:08:39 gdt Exp $
2 2
3Suppress warning by including missing header. 3Suppress warning by including missing header.
4 4
5--- lib/strings_mosq.c.orig 2021-11-17 00:28:35.000000000 +0000 5--- lib/strings_mosq.c.orig 2022-08-16 13:34:02.000000000 +0000
6+++ lib/strings_mosq.c 6+++ lib/strings_mosq.c
7@@ -20,6 +20,9 @@ Contributors: 7@@ -21,6 +21,10 @@ Contributors:
8  
9 #include <errno.h> 8 #include <errno.h>
10 #include <string.h> 9 #include <string.h>
 10
11+#if defined(__NetBSD__) 11+#if defined(__NetBSD__)
12+#include <strings.h> 12+#include <strings.h>
13+#endif 13+#endif
14  14+
15 #include "mosquitto.h" 15 #ifndef WIN32
16 #include "mqtt_protocol.h" 16 # include <strings.h>
 17 #endif