From b2fdc16b7afb48c819ea9bf836cddda56622b484 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 29 Apr 2023 20:51:29 +0200 Subject: [PATCH 1/2] sysutils/py-mqttwarn: Update documentation --- sysutils/py-mqttwarn/Makefile | 4 +++- sysutils/py-mqttwarn/pkg-descr | 17 ++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/sysutils/py-mqttwarn/Makefile b/sysutils/py-mqttwarn/Makefile index 848547574765e..0d1d544508b11 100644 --- a/sysutils/py-mqttwarn/Makefile +++ b/sysutils/py-mqttwarn/Makefile @@ -6,7 +6,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Subscribe to MQTT topics and notify pluggable services -WWW= https://github.com/jpmens/mqttwarn +WWW= https://mqttwarn.readthedocs.io/ + https://github.com/jpmens/mqttwarn + https://pypi.org/project/mqttwarn/ LICENSE= EPL diff --git a/sysutils/py-mqttwarn/pkg-descr b/sysutils/py-mqttwarn/pkg-descr index e90e071605da1..b2aa2eac39177 100644 --- a/sysutils/py-mqttwarn/pkg-descr +++ b/sysutils/py-mqttwarn/pkg-descr @@ -1,6 +1,13 @@ -mqttwarn subscribes to any number of MQTT topics (which may include wildcards) -and publishes received payloads to one or more notification services, including -support for notifying more than one distinct service for the same message. +mqttwarn is a highly configurable MQTT message router, where the routing +targets are notification plugins, primarily written in Python. -For example, you may wish to notify via e-mail and to Pushover of an alarm -published as text to the MQTT topic home/monitoring/+. +mqttwarn subscribes to any number of MQTT topics and publishes received +payloads to one or more notification services after optionally applying +sophisticated transformations. + +It comes with over 70 notification handler plugins covering a wide range +of notification services, and has an adapter for the Apprise notification +library, covering another set of 80+ notification services. + +Repository: https://github.com/jpmens/mqttwarn +Documentation: https://mqttwarn.readthedocs.io/ From 1e3933d26861f3a185b43a84f656f8ee5f5bbff9 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 29 Apr 2023 20:52:08 +0200 Subject: [PATCH 2/2] sysutils/py-mqttwarn: Fix variable typo in Makefile --- sysutils/py-mqttwarn/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysutils/py-mqttwarn/Makefile b/sysutils/py-mqttwarn/Makefile index 0d1d544508b11..05ed5cbebe56e 100644 --- a/sysutils/py-mqttwarn/Makefile +++ b/sysutils/py-mqttwarn/Makefile @@ -38,7 +38,7 @@ NO_ARCH= yes # The following were omitted because their dependencies are not found in the # FreeBSD port tree: AMQP APPRISE ASTERISK FBCHAT IOHUB NMA NSCA OSXNOTIFY PASTEBINPUB PROWL PUSHBULLET # SLACK TOOTPASTE XIVELY XMPP -OPTIONS_DEFINE= APNS CELERY DNSUPDATE DOCS EXAMPLES GSS2 MYSQL POSTGRES REISPUB \ +OPTIONS_DEFINE= APNS CELERY DNSUPDATE DOCS EXAMPLES GSS2 MYSQL POSTGRES REDISPUB \ RRDTOOL SERIAL SSH TWILIO TWITTER WEBSOCKET USERS= mqttwarn @@ -52,7 +52,7 @@ DNSUPDATE_DESC= DNS updates GSS2_DESC= Google Docs Spreadsheet 2 MYSQL_DESC= MySQL plugin POSTGRES_DESC= PostgreSQL Plugin -REISPUB_DESC= Publishes to a Redis channel +REDISPUB_DESC= Publishes to a Redis channel RRDTOOL_DESC= Updates a round robin database created by rrdtool SERIAL_DESC= Serial port SSH_DESC= ssh plugin @@ -67,7 +67,7 @@ GSS2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gspread>=2.1.10:net/py-gspread@${PY_FLA ${PYTHON_PKGNAMEPREFIX}oauth2client>=4.1.2:security/py-oauth2client@${PY_FLAVOR} MYSQL_USES= mysql POSTGRES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.4:databases/py-psycopg2@${PY_FLAVOR} -REISPUB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=2.10.6:databases/py-redis@${PY_FLAVOR} +REDISPUB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=2.10.6:databases/py-redis@${PY_FLAVOR} RRDTOOL_LIB_DEPENDS= librrd.so:databases/rrdtool RRDTOOL_RUN_DEPENDS= rrdtool>0.1.12:databases/rrdtool SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>3.40:comms/py-pyserial@${PY_FLAVOR}