summaryrefslogtreecommitdiff
path: root/net/mosquitto
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/mosquitto/Makefile22
-rw-r--r--net/mosquitto/distinfo6
-rw-r--r--net/mosquitto/files/patch-CMakeLists.txt4
-rw-r--r--net/mosquitto/files/patch-config.mk4
-rw-r--r--net/mosquitto/files/patch-mosquitto.conf15
-rw-r--r--net/mosquitto/files/patch-src_CMakeLists.txt6
6 files changed, 24 insertions, 33 deletions
diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
index ac29bab4773a..37be21cf92a7 100644
--- a/net/mosquitto/Makefile
+++ b/net/mosquitto/Makefile
@@ -1,18 +1,19 @@
PORTNAME= mosquitto
-DISTVERSION= 2.0.20
+DISTVERSION= 2.0.22
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://mosquitto.org/files/source/
-MAINTAINER= joe@thrallingpenguin.com
+MAINTAINER= leres@FreeBSD.org
COMMENT= Open source MQTT broker
WWW= https://mosquitto.org/
LICENSE= EPL
-BUILD_DEPENDS= xsltproc:textproc/libxslt \
- docbook-xsl>0:textproc/docbook-xsl
-LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \
- libcjson.so:devel/libcjson
+BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
+ xsltproc:textproc/libxslt
+LIB_DEPENDS= libcjson.so:devel/libcjson \
+ libuuid.so:misc/libuuid
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= cmake cpe ssl
@@ -25,15 +26,14 @@ USERS= nobody
PLIST_SUB= DISTVERSION=${DISTVERSION}
-OPTIONS_DEFINE= CARES WEBSOCKETS
-OPTIONS_DEFAULT=CARES WEBSOCKETS
+OPTIONS_DEFINE= CARES WEBSOCKET
+OPTIONS_DEFAULT= CARES WEBSOCKET
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
CARES_CMAKE_ON= -DWITH_SRV:BOOL=ON
-WEBSOCKETS_DESC= Websockets support via libwebsockets
-WEBSOCKETS_LIB_DEPENDS= libwebsockets.so:net/libwebsockets
-WEBSOCKETS_CMAKE_ON= -DWITH_WEBSOCKETS:BOOL=ON
+WEBSOCKET_LIB_DEPENDS= libwebsockets.so:net/libwebsockets
+WEBSOCKET_CMAKE_ON= -DWITH_WEBSOCKETS:BOOL=ON
post-patch:
@${REINPLACE_CMD} -e '/ldconfig/d' ${WRKSRC}/src/CMakeLists.txt \
diff --git a/net/mosquitto/distinfo b/net/mosquitto/distinfo
index 4a0eef47119b..8935947337eb 100644
--- a/net/mosquitto/distinfo
+++ b/net/mosquitto/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734507485
-SHA256 (mosquitto-2.0.20.tar.gz) = ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8
-SIZE (mosquitto-2.0.20.tar.gz) = 799972
+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 630eac214ab3..2bf7472095b9 100644
--- a/net/mosquitto/files/patch-mosquitto.conf
+++ b/net/mosquitto/files/patch-mosquitto.conf
@@ -1,6 +1,6 @@
---- mosquitto.conf.orig 2020-12-28 13:22:44 UTC
+--- mosquitto.conf.orig 2025-07-11 21:32:27 UTC
+++ mosquitto.conf
-@@ -148,7 +148,7 @@
+@@ -167,7 +167,7 @@
# This should be set to /var/run/mosquitto/mosquitto.pid if mosquitto is
# being run automatically on boot with an init script and
# start-stop-daemon or similar.
@@ -9,7 +9,7 @@
# Set to true to queue messages with QoS 0 when a persistent client is
# disconnected. These messages are included in the limit imposed by
-@@ -187,7 +187,7 @@
+@@ -206,7 +206,7 @@
# If run as a non-root user, this setting has no effect.
# Note that on Windows this has no effect and so mosquitto should be started by
# the user you wish it to run as.
@@ -18,12 +18,3 @@
# =================================================================
# Listeners
-@@ -340,7 +340,7 @@
- # containing the CA certificates. For capath to work correctly, the
- # certificate files must have ".crt" as the file ending and you must run
- # "openssl rehash <path to capath>" each time you add/remove a certificate.
--#cafile
-+cafile /usr/local/share/certs/ca-root-nss.crt
- #capath
-
-
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)