head 1.34; access; symbols pkgsrc-2023Q4:1.34.0.2 pkgsrc-2023Q4-base:1.34 pkgsrc-2023Q3:1.33.0.2 pkgsrc-2023Q3-base:1.33 pkgsrc-2023Q2:1.30.0.2 pkgsrc-2023Q2-base:1.30 pkgsrc-2023Q1:1.29.0.6 pkgsrc-2023Q1-base:1.29 pkgsrc-2022Q4:1.29.0.4 pkgsrc-2022Q4-base:1.29 pkgsrc-2022Q3:1.29.0.2 pkgsrc-2022Q3-base:1.29 pkgsrc-2022Q2:1.27.0.4 pkgsrc-2022Q2-base:1.27 pkgsrc-2022Q1:1.27.0.2 pkgsrc-2022Q1-base:1.27 pkgsrc-2021Q4:1.26.0.4 pkgsrc-2021Q4-base:1.26 pkgsrc-2021Q3:1.26.0.2 pkgsrc-2021Q3-base:1.26 pkgsrc-2021Q2:1.25.0.2 pkgsrc-2021Q2-base:1.25 pkgsrc-2021Q1:1.21.0.2 pkgsrc-2021Q1-base:1.21 pkgsrc-2020Q4:1.13.0.2 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.12.0.2 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.10.0.2 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.7.0.4 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.5.0.2 pkgsrc-2019Q3-base:1.5; locks; strict; comment @# @; 1.34 date 2023.10.24.22.10.24; author wiz; state Exp; branches; next 1.33; commitid MTsrqKm6aGrQAVJE; 1.33 date 2023.09.18.22.10.19; author gdt; state Exp; branches; next 1.32; commitid 5K2IBvUVqbQFLiFE; 1.32 date 2023.08.24.01.17.44; author gdt; state Exp; branches; next 1.31; commitid h8ltU3a97CEFDYBE; 1.31 date 2023.08.16.14.46.32; author gdt; state Exp; branches; next 1.30; commitid 2SAku56swlDbn1BE; 1.30 date 2023.06.06.12.42.05; author riastradh; state Exp; branches 1.30.2.1; next 1.29; commitid xhspr6Z8JLQOWSrE; 1.29 date 2022.08.16.23.08.39; author gdt; state Exp; branches; next 1.28; commitid bgK2ucLeXuOLS9QD; 1.28 date 2022.07.03.10.47.15; author wiz; state Exp; branches; next 1.27; commitid wo07MAPZF4O9crKD; 1.27 date 2021.12.31.09.57.35; author triaxx; state Exp; branches; next 1.26; commitid jtXcu2DBopqqPMmD; 1.26 date 2021.09.02.13.53.44; author gdt; state Exp; branches; next 1.25; commitid WoPZ2zQ0zSASZn7D; 1.25 date 2021.06.15.22.29.46; author gdt; state Exp; branches; next 1.24; commitid uEUxHLkIyLeuohXC; 1.24 date 2021.06.11.23.13.41; author gdt; state Exp; branches; next 1.23; commitid sdegTGkh5tofLLWC; 1.23 date 2021.06.08.10.12.55; author bouyer; state Exp; branches; next 1.22; commitid oPSIr53jZwpnxjWC; 1.22 date 2021.04.06.13.16.22; author gdt; state Exp; branches; next 1.21; commitid ePspO0IRUstvzeOC; 1.21 date 2021.03.13.01.22.37; author gdt; state Exp; branches; next 1.20; commitid SSp26S4u2Iy2p5LC; 1.20 date 2021.02.26.08.18.25; author triaxx; state Exp; branches; next 1.19; commitid Ejc06tE1kd6obcJC; 1.19 date 2021.02.04.17.45.03; author gdt; state Exp; branches; next 1.18; commitid J0TSvEruyUSO1qGC; 1.18 date 2021.02.01.20.50.01; author triaxx; state Exp; branches; next 1.17; commitid VgMEshGqRlai83GC; 1.17 date 2021.01.30.10.17.55; author wiz; state Exp; branches; next 1.16; commitid GaeXKs3goQMnIJFC; 1.16 date 2021.01.30.07.31.30; author mef; state Exp; branches; next 1.15; commitid PaTW4wjlRCwmNIFC; 1.15 date 2021.01.29.13.58.20; author gdt; state Exp; branches; next 1.14; commitid EDDH0toOMdvZXCFC; 1.14 date 2021.01.28.19.46.23; author triaxx; state Exp; branches; next 1.13; commitid j3vWss3FvgujPwFC; 1.13 date 2020.09.28.18.56.03; author tm; state Exp; branches; next 1.12; commitid oOUt2R5OXibZyQpC; 1.12 date 2020.08.19.23.33.38; author gdt; state Exp; branches; next 1.11; commitid jxrQMFjuYJRpnJkC; 1.11 date 2020.08.11.12.26.41; author gdt; state Exp; branches; next 1.10; commitid FEurFgLGgOahXDjC; 1.10 date 2020.04.16.15.19.11; author jperkin; state Exp; branches; next 1.9; commitid djLqmWZgTqY8FC4C; 1.9 date 2020.02.29.18.29.01; author gdt; state Exp; branches; next 1.8; commitid cE5RuD75RLqceBYB; 1.8 date 2020.01.18.21.50.19; author jperkin; state Exp; branches; next 1.7; commitid JW4hJgY8ZdoTFdTB; 1.7 date 2019.12.03.17.50.57; author gdt; state Exp; branches; next 1.6; commitid asOpKWvgcrGJQhNB; 1.6 date 2019.12.03.17.45.21; author gdt; state Exp; branches; next 1.5; commitid Mzo4ytW4YJRMOhNB; 1.5 date 2019.09.25.23.35.02; author gdt; state Exp; branches; next 1.4; commitid z4Oi0JKUwFIVXrEB; 1.4 date 2019.09.18.13.03.03; author gdt; state Exp; branches; next 1.3; commitid rp4zKJZnXLUkHuDB; 1.3 date 2019.09.13.00.27.31; author gdt; state Exp; branches; next 1.2; commitid gRsFO8r3V5ScGMCB; 1.2 date 2019.08.01.23.40.40; author gdt; state Exp; branches; next 1.1; commitid Uoq28ElnMGqRLnxB; 1.1 date 2019.07.20.23.09.27; author gdt; state Exp; branches; next ; commitid gYVLFxF52VoOYPvB; 1.30.2.1 date 2023.08.16.18.58.16; author bsiegert; state Exp; branches; next ; commitid dsyRTMXz69ByL2BE; desc @@ 1.34 log @*: bump for openssl 3 @ text @# $NetBSD: Makefile,v 1.33 2023/09/18 22:10:19 gdt Exp $ DISTNAME= mosquitto-2.0.18 PKGREVISION= 1 CATEGORIES= net MASTER_SITES= https://mosquitto.org/files/source/ MAINTAINER= gdt@@NetBSD.org HOMEPAGE= https://mosquitto.org/ COMMENT= Open Source MQTT broker LICENSE= epl-v1.0 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt USE_LANGUAGES+= c c++ # Upstream documents that "unix" should use make, but Mac cmake. # After asking and receiving no guidance, choose to always use cmake. # https://github.com/eclipse/mosquitto/issues/1041 USE_CMAKE= yes USE_TOOLS+= gmake LDFLAGS.SunOS+= -lsocket -lnsl CMAKE_ARGS+= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/share/examples CMAKE_ARGS+= -DWITH_PLUGINS=NO MOSQUITTO_USER= mosquitto MOSQUITTO_GROUP= mosquitto PKG_USERS= ${MOSQUITTO_USER}:${MOSQUITTO_GROUP} PKG_GROUPS= ${MOSQUITTO_GROUP} CONF_FILES= ${PREFIX}/share/examples/mosquitto/mosquitto.conf \ ${PKG_SYSCONFDIR}/mosquitto.conf SUBST_CLASSES+= paths SUBST_STAGE.paths= post-configure SUBST_MESSAGE.paths= Substituting paths SUBST_FILES.paths= mosquitto.conf SUBST_VARS.paths= SSLCERTS VARBASE RCD_SCRIPTS= mosquitto SMF_METHODS= mosquitto FILES_SUBST+= MOSQUITTO_USER=${MOSQUITTO_USER} FILES_SUBST+= MOSQUITTO_GROUP=${MOSQUITTO_GROUP} FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} FILES_SUBST+= VARBASE=${VARBASE} PTHREAD_AUTO_VARS= yes .include "../../mk/pthread.buildlink3.mk" # mosquitto's build system is very troubled, and the tests do not # currently work. # https://github.com/eclipse/mosquitto/issues/1242 # https://github.com/eclipse/mosquitto/issues/1330 # # \todo invoke "gmake test" in tests/ subdir instead of at top level # \todo pass in CPPFLAGS/LDFLAGS to test invocation TEST_TARGET= test .include "../../devel/cunit/buildlink3.mk" .include "options.mk" .include "../../devel/libuuid/buildlink3.mk" .include "../../devel/uthash/buildlink3.mk" .include "../../net/libcares/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.33 log @net/mosquitto: Update to 2.0.18 2.0.18 - 2023-09-18 =================== Broker: - Fix crash on subscribe under certain unlikely conditions. Closes #2885. Closes #2881. Clients: - Fix mosquitto_rr not honouring `-R`. Closes #2893. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2023/08/24 01:17:44 gdt Exp $ d4 1 @ 1.32 log @net/mosquitto: Update to 2.0.17 upstream changes: fixes to regressions in 2.0.16 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2023/08/16 14:46:32 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.17 @ 1.31 log @net/mosquitto: Update to 2.0.16 upstream changes: micro release with bug and security fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2023/06/06 12:42:05 riastradh Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.16 @ 1.30 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2022/08/16 23:08:39 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.15 @ 1.30.2.1 log @Pullup ticket #6790 - requested by gdt net/mosquitto: security fix Revisions pulled up: - net/mosquitto/Makefile 1.31 - net/mosquitto/distinfo 1.27 --- Module Name: pkgsrc Committed By: gdt Date: Wed Aug 16 14:46:32 UTC 2023 Modified Files: pkgsrc/net/mosquitto: Makefile distinfo Log Message: net/mosquitto: Update to 2.0.16 upstream changes: micro release with bug and security fixes. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= mosquitto-2.0.16 @ 1.29 log @net/mosquitto: Update to 2.0.15 Upstream changes: bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2022/07/03 10:47:15 wiz Exp $ d12 1 a12 1 BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt @ 1.28 log @*: bump PKGREVISION for libwebsockets shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2021/12/31 09:57:35 triaxx Exp $ d3 1 a3 2 DISTNAME= mosquitto-2.0.14 PKGREVISION= 1 @ 1.27 log @mosquitto: Update to 2.0.14 pkgsrc changes: --------------- * Update patches to remove offsets. upstream changes: ----------------- 2.0.14 - 2021-11-17 =================== Broker: - Fix bridge not respecting receive-maximum when reconnecting with MQTT v5. Client library: - Fix mosquitto_topic_matches_sub2() not using the length parameters. Closes #2364. - Fix incorrect subscribe_callback in mosquittopp.h. Closes #2367. 2.0.13 - 2021-10-27 =================== Broker: - Fix `max_keepalive` option not being able to be set to 0. - Fix LWT messages not being delivered if `per_listener_settings` was set to true. Closes #2314. - Various fixes around inflight quota management. Closes #2306. - Fix problem parsing config files with Windows line endings. Closes #2297. - Don't send retained messages when a shared subscription is made. - Fix log being truncated in Windows. - Fix client id not showing in log on failed connections, where possible. - Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication. Closes #2339. - Fix mosquitto_plugin.h not including mosquitto_broker.h. Closes #2350. Client library: - Initialise sockpairR/W to invalid in `mosquitto_reinitialise()` to avoid closing invalid sockets in `mosquitto_destroy()` on error. Closes #2326. Clients: - Fix date format in mosquitto_sub output. Closes #2353. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2021/09/02 13:53:44 gdt Exp $ d4 1 @ 1.26 log @net/mosquitto: Update to 2.0.12 upstream changes: security fixes, bugfixes, minor improvments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2021/06/15 22:29:46 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.12 @ 1.25 log @net/mosquitto: Disable plugins These were not installed anyway, and one fails to build on macOS. (No PKGREVISION due to no change in binary package.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2021/06/11 23:13:41 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.11 @ 1.24 log @net/mosquitto: Update to 2.0.11 Packaging changes: link against pthread, per upstream recommendations Upstream changes: Bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2021/06/08 10:12:55 bouyer Exp $ d23 1 @ 1.23 log @Add a websockets option, defaulting to on. bump PKGREVISION ok gdt@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2021/04/06 13:16:22 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.10 a5 1 PKGREVISION= 1 d46 3 a61 1 # ?needed @ 1.22 log @net/mosquitto: Update to 2.0.10 Upstream changes: security fixes and bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/03/13 01:22:37 gdt Exp $ d6 1 d57 1 @ 1.21 log @net/mosquitto: Update to 2.0.9 (bugfixes) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2021/02/26 08:18:25 triaxx Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.9 @ 1.20 log @mosquitto: Update to 2.0.8 upstream changes: ----------------- 2.0.8 - 2021-02-25 ================== Broker: - Fix incorrect datatypes in `struct mosquitto_evt_tick`. This changes the size and offset of two of the members of this struct, and changes the size of the struct. This is an ABI break, but is considered to be acceptable because plugins should never be allocating their own instance of this struct, and currently none of the struct members are used for anything, so a plugin should not be accessing them. It would also be safe to read/write from the existing struct parameters. - Give compile time warning if libwebsockets compiled without external poll support. Closes #2060. - Fix memory tracking not being available on FreeBSD or macOS. Closes #2096. Client library: - Fix mosquitto_{pub|sub}_topic_check() functions not returning MOSQ_ERR_INVAL on topic == NULL. Clients: - Fix possible loss of data in `mosquitto_pub -l` when sending multiple long lines. Closes #2078. Build: - Provide a mechanism for Docker users to run a broker that doesn't use authentication, without having to provide their own configuration file. Closes #2040. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2021/02/04 17:45:03 gdt Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.8 @ 1.19 log @net/mosquitto: Update to 2.0.7 upstream changes: bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2021/02/01 20:50:01 triaxx Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.7 @ 1.18 log @mosquitto: Fix the hardcoded /var in rcd script @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2021/01/30 10:17:55 wiz Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.6 @ 1.17 log @mosquitto: libxslt is a build dependency xsltproc is used for generating the man pages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2021/01/30 07:31:30 mef Exp $ d44 1 @ 1.16 log @(net/mosquitto) build fix: +textproc/libxslt/buildlink3.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/01/29 13:58:20 gdt Exp $ d12 2 a59 1 .include "../../textproc/libxslt/buildlink3.mk" @ 1.15 log @net/mosquitto: Update to 2.0.6 upstream changes: bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2021/01/28 19:46:23 triaxx Exp $ d58 1 @ 1.14 log @mosquitto: Update to 2.0.5 pkgsrc changes: --------------- * The PID file does not need to be written in a dedicated subdirectory and it can be written in ${VARBASE}/run directly instead. * The configuration parameters which need to be tuned in mosquitto.conf can be uncommented and set in according with pkgsrc variables. upstream changes: ----------------- 2.0.5 - 2021-01-11 ================== Broker: - Fix `auth_method` not being provided to the extended auth plugin event. Closes #1975. - Fix large packets not being completely published to slow clients. Closes #1977. - Fix bridge connection not relinquishing POLLOUT after messages are sent. Closes #1979. - Fix apparmor incorrectly denying access to /var/lib/mosquitto/mosquitto.db.new. Closes #1978. - Fix potential intermittent initial bridge connections when using poll(). - Fix `bind_interface` option. Closes #1999. - Fix invalid behaviour in dynsec plugin if a group or client is deleted before a role that was attached to the group or client is deleted. Closes #1998. - Improve logging in dynsec addGroupRole command. Closes #2005. - Improve logging in dynsec addGroupClient command. Closes #2008. Client library: - Improve documentation around the `_v5()` and non-v5 functions, e.g. `mosquitto_publish()` and `mosquitto_publish_v5(). Build: - `install` Makefile target should depend on `all`, not `mosquitto`, to ensure that man pages are always built. Closes #1989. - Fixes for lots of minor build warnings highlighted by Visual Studio. Apps: - Disallow control characters in mosquitto_passwd usernames. - Fix incorrect description in mosquitto_ctrl man page. Closes #1995. - Fix `mosquitto_ctrl dynsec getGroup` not showing roles. Closes #1997. 2.0.4 - 2020-12-22 ================== Broker: - Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2 messages. Closes #1968. - mosquitto_connect_bind_async() and mosquitto_connect_bind_v5() should not reset the bind address option if called with bind_address == NULL. - Fix dynamic security configuration possibly not being reloaded on Windows only. Closes #1962. - Add more log messages for dynsec load/save error conditions. - Fix websockets connections blocking non-websockets connections on Windows. Closes #1934. Build: - Fix man pages not being built when using CMake. Closes #1969. 2.0.3 - 2020-12-17 ================== Security: - Running mosquitto_passwd with the following arguments only `mosquitto_passwd -b password_file username password` would cause the username to be used as the password. Broker: - Fix excessive CPU use on non-Linux systems when the open file limit is set high. Closes #1947. - Fix LWT not being sent on client takeover when the existing session wasn't being continued. Closes #1946. - Fix bridges possibly not completing connections when WITH_ADNS is in use. Closes #1960. - Fix QoS 0 messages not being delivered if max_queued_messages was set to 0. Closes #1956. - Fix local bridges being disconnected on SIGHUP. Closes #1942. - Fix slow initial bridge connections for WITH_ADNS=no. - Fix persistence_location not appending a '/'. Clients: - Fix mosquitto_sub being unable to terminate with Ctrl-C if a successful connection is not made. Closes #1957. Apps: - Fix `mosquitto_passwd -b` using username as password (not if `-c` is also used). Closes #1949. Build: - Fix `install` target when using WITH_CJSON=no. Closes #1938. - Fix `generic` docker build. Closes #1945. 2.0.2 - 2020-12-10 ================== Broker: - Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems. 2.0.1 - 2020-12-10 ================== Broker: - Fix websockets connections on Windows blocking subsequent connections. Closes #1934. - Fix DH group not being set for TLS connections, which meant ciphers using DHE couldn't be used. Closes #1925. Closes #1476. - Fix websockets listeners not causing the main loop not to wake up. Closes #1936. Client library: - Fix DH group not being set for TLS connections, which meant ciphers using DHE couldn't be used. Closes #1925. Closes #1476. Apps: - Fix `mosquitto_passwd -U` Build: - Fix cjson include paths. - Fix build using WITH_TLS=no when the openssl headers aren't available. - Distribute cmake/ and snap/ directories in tar. 2.0.0 - 2020-12-03 ================== Breaking changes: - When the Mosquitto broker is run without configuring any listeners it will now bind to the loopback interfaces 127.0.0.1 and/or ::1. This means that only connections from the local host will be possible. Running the broker as `mosquitto` or `mosquitto -p 1883` will bind to the loopback interface. Running the broker with a configuration file with no listeners configured will bind to the loopback interface with port 1883. Running the broker with a listener defined will bind by default to `0.0.0.0` / `::` and so will be accessible from any interface. It is still possible to bind to a specific address/interface. If the broker is run as `mosquitto -c mosquitto.conf -p 1884`, and a listener is defined in the configuration file, then the port defined on the command line will be IGNORED, and no listener configured for it. - All listeners now default to `allow_anonymous false` unless explicitly set to true in the configuration file. This means that when configuring a listener the user must either configure an authentication and access control method, or set `allow_anonymous true`. When the broker is run without a configured listener, and so binds to the loopback interface, anonymous connections are allowed. - If Mosquitto is run on as root on a unix like system, it will attempt to drop privileges as soon as the configuration file has been read. This is in contrast to the previous behaviour where elevated privileges were only dropped after listeners had been started (and hence TLS certificates loaded) and logging had been started. The change means that clients will never be able to connect to the broker when it is running as root, unless the user explicitly sets it to run as root, which is not advised. It also means that all locations that the broker needs to access must be available to the unprivileged user. In particular those people using TLS certificates from Lets Encrypt will need to do something to allow Mosquitto to access those certificates. An example deploy renewal hook script to help with this is at `misc/letsencrypt/mosquitto-copy.sh`. The user that Mosquitto will change to are the one provided in the configuration, `mosquitto`, or `nobody`, in order of availability. - The `pid_file` option will now always attempt to write a pid file, regardless of whether the `-d` argument is used when running the broker. - The `tls_version` option now defines the *minimum* TLS protocol version to be used, rather than the exact version. Closes #1258. - The `max_queued_messages` option has been increased from 100 to 1000 by default, and now also applies to QoS 0 messages, when a client is connected. - The mosquitto_sub, mosquitto_pub, and mosquitto_rr clients will now load OS provided CA certificates by default if `-L mqtts://...` is used, or if the port is set to 8883 and no other CA certificates are loaded. - Minimum support libwebsockets version is now 2.4.0 - The license has changed from "EPL-1.0 OR EDL-1.0" to "EPL-2.0 OR EDL-1.0". Broker features: - New plugin interface which is more flexible, easier to develop for and easier to extend. - New dynamic security plugin, which allows clients, groups, and roles to be defined and updated as the broker is running. - Performance improvements, particularly for higher numbers of clients. - When running as root, if dropping privileges to the "mosquitto" user fails, then try "nobody" instead. This reduces the burden on users installing Mosquitto themselves. - Add support for Unix domain socket listeners. - Add `bridge_outgoing_retain` option, to allow outgoing messages from a bridge to have the retain bit completely disabled, which is useful when bridging to e.g. Amazon or Google. - Add support for MQTT v5 bridges to handle the "retain-available" property being false. - Allow MQTT v5.0 outgoing bridges to fall back to MQTT v3.1.1 if connecting to a v3.x only broker. - DLT logging is now configurable at runtime with `log_dest dlt`. Closes #1735. - Add `mosquitto_broker_publish()` and `mosquitto_broker_publish_copy()` functions, which can be used by plugins to publish messages. - Add `mosquitto_client_protocol_version()` function which can be used by plugins to determine which version of MQTT a client has connected with. - Add `mosquitto_kick_client_by_clientid()` and `mosquitto_kick_client_by_username()` functions, which can be used by plugins to disconnect clients. - Add support for handling $CONTROL/ topics in plugins. - Add support for PBKDF2-SHA512 password hashing. - Enabling certificate based TLS encryption is now through certfile and keyfile, not capath or cafile. - Added support for controlling UNSUBSCRIBE calls in v5 plugin ACL checks. - Add "deny" acl type. Closes #1611. - The broker now sends the receive-maximum property for MQTT v5 CONNACKs. - Add the `bridge_max_packet_size` option. Closes #265. - Add the `bridge_bind_address` option. Closes #1311. - TLS certificates for the server are now reloaded on SIGHUP. - Default for max_queued_messages has been changed to 1000. - Add `ciphers_tls1.3` option, to allow setting TLS v1.3 ciphersuites. Closes #1825. - Bridges now obey MQTT v5 server-keepalive. - Add bridge support for the MQTT v5 maximum-qos property. - Log client port on new connections. Closes #1911. Broker fixes: - Send DISCONNECT with `malformed-packet` reason code on invalid PUBLISH, SUBSCRIBE, and UNSUBSCRIBE packets. - Document that X509_free() must be called after using mosquitto_client_certificate(). Closes #1842. - Fix listener not being reassociated with client when reloading a persistence file and `per_listener_settings true` is set and the client did not set a username. Closes #1891. - Fix bridge sock not being removed from sock hash on error. Closes #1897. - mosquitto_password now forbids the : character. Closes #1833. - Fix `log_timestamp_format` not applying to `log_dest topic`. Closes #1862. - Fix crash on Windows if loading a plugin fails. Closes #1866. - Fix file logging on Windows. Closes #1880. - Report an error if the config file is set to a directory. Closes #1814. - Fix bridges incorrectly setting Wills to manage remote notifications when `notifications_local_only` was set true. Closes #1902. Client library features: - Client no longer generates random client ids for v3.1.1 clients, these are now expected to be generated on the broker. This matches the behaviour for v5 clients. Closes #291. - Add support for connecting to brokers through Unix domain sockets. - Add `mosquitto_property_identifier()`, for retrieving the identifier integer for a property. - Add `mosquitto_property_identifier_to_string()` for converting a property identifier integer to the corresponding property name string. - Add `mosquitto_property_next()` to retrieve the next property in a list, for iterating over property lists. - mosquitto_pub now handles the MQTT v5 retain-available property by never setting the retain bit. - Added MOSQ_OPT_TCP_NODELAY, to allow disabling Nagle's algorithm on client sockets. Closes #1526. - Add `mosquitto_ssl_get()` to allow clients to access their SSL structure and perform additional verification. - Add MOSQ_OPT_BIND_ADDRESS to allow setting of a bind address independently of the `mosquitto_connect*()` call. - Add `MOSQ_OPT_TLS_USE_OS_CERTS` option, to instruct the client to load and trust OS provided CA certificates for use with TLS connections. Client library fixes: - Fix send quota being incorrecly reset on reconnect. Closes #1822. - Don't use logging until log mutex is initialised. Closes #1819. - Fix missing mach/mach_time.h header on OS X. Closes #1831. - Fix connect properties not being sent when the client automatically reconnects. Closes #1846. Client features: - Add timeout return code (27) for `mosquitto_sub -W ` and `mosquitto_rr -W `. Closes #275. - Add support for connecting to brokers through Unix domain sockets with the `--unix` argument. - Use cJSON library for producing JSON output, where available. Closes #1222. - Add support for outputting MQTT v5 property information to mosquitto_sub/rr JSON output. Closes #1416. - Add `--pretty` option to mosquitto_sub/rr for formatted/unformatted JSON output. - Add support for v5 property printing to mosquitto_sub/rr in non-JSON mode. Closes #1416. - Add `--nodelay` to all clients to allow them to use the MOSQ_OPT_TCP_NODELAY option. - Add `-x` to all clients to all the session-expiry-interval property to be easily set for MQTT v5 clients. - Add `--random-filter` to mosquitto_sub, to allow only a certain proportion of received messages to be printed. - mosquitto_sub %j and %J timestamps are now in a ISO 8601 compatible format. - mosquitto_sub now supports extra format specifiers for field width and precision for some parameters. - Add `--version` for all clients. - All clients now load OS provided CA certificates if used with `-L mqtts://...`, or if port is set to 8883 and no other CA certificates are used. Closes #1824. - Add the `--tls-use-os-certs` option to all clients. Client fixes: - mosquitto_sub will now exit if all subscriptions were denied. - mosquitto_pub now sends 0 length files without an error when using `-f`. - Fix description of `-e` and `-t` arguments in mosquitto_rr. Closes #1881. - mosquitto_sub will now quit with an error if the %U option is used on Windows, rather than just quitting. Closes #1908. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/09/28 18:56:03 tm Exp $ d3 1 a3 1 DISTNAME= mosquitto-2.0.5 @ 1.13 log @mosquitto: Add refresh to SMF manifest Add refresh method via kill -HUP to SMF manifest. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/08/19 23:33:38 gdt Exp $ d3 1 a3 3 VERSION= 1.6.12 PKGREVISION= 1 DISTNAME= mosquitto-${VERSION} a6 1 #MAINTAINER= amoibos@@gmail.com a27 2 # \todo The example file is vast and arguably should not be installed. # However, we need to set a few things to make automatic startup work. @ 1.12 log @net/mosquitto: Update to 1.6.12 pkgsrc changes: drop hunk appplied upstream. Ask more clearly for sunos hunk to be 1) explained and 2) filed upstream. upstream changes: bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/08/11 12:26:41 gdt Exp $ d4 1 @ 1.11 log @net/mosquitto: Update to 1.6.11 pkgsrc changes: none upstream changes: bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/04/16 15:19:11 jperkin Exp $ d3 1 a3 1 VERSION= 1.6.11 @ 1.10 log @mosquitto: Various SunOS fixes and improvements. Includes SMF support. Submitted by Jorge Schrauwen in NetBSD/pkgsrc#59. While here fix a hardcoded /var. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/02/29 18:29:01 gdt Exp $ d3 1 a3 1 VERSION= 1.6.9 @ 1.9 log @net/mosquitto: Update to 1.6.9 Upstream NEWS equivalent is: Bugfixes Use presence of password file as indicator for whether username checks should take place, not whether usernames are defined in the password file. Closes #1545. [This is a security fix for misconfigured systems.] @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/01/18 21:50:19 jperkin Exp $ d21 1 d39 1 a39 1 SUBST_VARS.paths= SSLCERTS d42 1 @ 1.8 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/12/03 17:50:57 gdt Exp $ d3 1 a3 1 VERSION= 1.6.8 a4 1 PKGREVISION= 1 @ 1.7 log @net/mosquitto: Improve SUBST per pkglint hints (No change to binary package.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2019/12/03 17:45:21 gdt Exp $ d5 1 @ 1.6 log @net/mosquitto: Update to 1.6.8 pkgsrc change: Drop patch integrated upstream Upstream changes: bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/09/25 23:35:02 gdt Exp $ d35 1 a35 1 SUBST_STAGE.paths= post-patch d38 1 a38 1 SUBST_SED.paths= -e "s,@@SSLCERTS@@,${SSLCERTS},g" @ 1.5 log @net/mosquitto: Update to 1.6.7 Upstream changes are bugfixes. This is a micro update, and it's likely some of the bugfixes are security fixes. Tested on netbsd-8/amd64. ok to update during freeze from wiz@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/09/18 13:03:03 gdt Exp $ d3 1 a3 1 VERSION= 1.6.7 @ 1.4 log @net/mosquitto: Update to 1.6.6 upstream changes are: security bugfix (no CVE yet) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/09/13 00:27:31 gdt Exp $ d3 1 a3 1 VERSION= 1.6.6 @ 1.3 log @net/mosquitto: Update to 1.6.5 Upstream changes are bug fixes and minor improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/08/01 23:40:40 gdt Exp $ d3 1 a3 1 VERSION= 1.6.5 @ 1.2 log @net/mosquitto: Update to 1.6.4 Upstream changes: bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2019/07/20 23:09:27 gdt Exp $ d3 1 a3 1 VERSION= 1.6.4 @ 1.1 log @net: Add mosquitto 1.6.3nb4 (nb4 because wip is nb4) Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 3.1 and 3.1.1 MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "Internet of Things" messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 2 VERSION= 1.6.3 PKGREVISION= 4 @