net/mosquitto: Update to 2.0.15 Upstream changes: bugfixesdiff -r1.28 -r1.29 pkgsrc/net/mosquitto/Makefile
(gdt)
@@ -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 | |||
3 | DISTNAME= mosquitto-2.0.14 | 3 | DISTNAME= mosquitto-2.0.15 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= net | 4 | CATEGORIES= net | |
6 | MASTER_SITES= https://mosquitto.org/files/source/ | 5 | MASTER_SITES= https://mosquitto.org/files/source/ | |
7 | 6 | |||
8 | MAINTAINER= gdt@NetBSD.org | 7 | MAINTAINER= gdt@NetBSD.org | |
9 | HOMEPAGE= https://mosquitto.org/ | 8 | HOMEPAGE= https://mosquitto.org/ | |
10 | COMMENT= Open Source MQTT broker | 9 | COMMENT= Open Source MQTT broker | |
11 | LICENSE= epl-v1.0 | 10 | LICENSE= epl-v1.0 | |
12 | 11 | |||
13 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | 12 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | |
14 | 13 | |||
15 | USE_LANGUAGES+= c c++ | 14 | USE_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. |
@@ -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 | |||
3 | BLAKE2s (mosquitto-2.0.14.tar.gz) = 23628d8cd06b94846933da5cac079bf755db11b4b5c0da5c8aad8dd75cd66e60 | 3 | BLAKE2s (mosquitto-2.0.15.tar.gz) = 3dd3094b16ff417032fc07738f7c3eae7dcfe40247e493db9698c1f0984d7dda | |
4 | SHA512 (mosquitto-2.0.14.tar.gz) = a9e4f41b9af679b30318570e86a465546024651373df10e3b132f4593b89d22d0dbac01bb7371a57132ba030a2e73971c612acb5c9ac12f5ccd06aa38d9444c2 | 4 | SHA512 (mosquitto-2.0.15.tar.gz) = 8a0c58222ea0b9304e7f096f6d13965478072baf1d1c9bc931b32a33f5ea8196c2dd54bde8d83fec7ed9cd413cb5fb115ce0a6701ca20664df52fdd7ca63ddaf | |
5 | Size (mosquitto-2.0.14.tar.gz) = 787414 bytes | 5 | Size (mosquitto-2.0.15.tar.gz) = 792632 bytes | |
6 | SHA1 (patch-lib_CMakeLists.txt) = 81981f812dc38572e727a9a5dfb427b80476702d | 6 | SHA1 (patch-lib_CMakeLists.txt) = 81981f812dc38572e727a9a5dfb427b80476702d | |
7 | SHA1 (patch-lib_net__mosq.c) = fdf488984e3b902473f28d6e3482169788c0d517 | 7 | SHA1 (patch-lib_net__mosq.c) = fdf488984e3b902473f28d6e3482169788c0d517 | |
8 | SHA1 (patch-lib_strings__mosq.c) = afa4e5313abe6c428189aa01b86cf7ce8462b41e | 8 | SHA1 (patch-lib_strings__mosq.c) = fb290d7766328d6aa1e935adec9c0fad2eb11c4b | |
9 | SHA1 (patch-mosquitto.conf) = 6091113365a7c1d3d726af30fee682abafc40ab0 | 9 | SHA1 (patch-mosquitto.conf) = 6091113365a7c1d3d726af30fee682abafc40ab0 | |
10 | SHA1 (patch-src_CMakeLists.txt) = d0425fd674f2cd1a992a36e616dc8b29e130550b | 10 | SHA1 (patch-src_CMakeLists.txt) = d0425fd674f2cd1a992a36e616dc8b29e130550b |
@@ -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 | |||
3 | Suppress warning by including missing header. | 3 | Suppress 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 |