aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2026-01-09 16:43:31 +0000
committerDan Langille <dvl@FreeBSD.org>2026-01-09 16:46:05 +0000
commit00cf03dc769d7974c52b2e41f90b52b289ea45c7 (patch)
tree4ea34afd1a8e860afcce571d92326dad96a130a4
parent2ec4b08c4d5f37c6351bb90644e70a96b768e8e0 (diff)
net-mgmt/librenms: Allow for use of mariadb
Remove the run-time dependency upon a mysql client. This update allows the mysql client to be removed and replaced by a mariadb client. PR: 292266
-rw-r--r--UPDATING7
-rw-r--r--net-mgmt/librenms/Makefile2
-rw-r--r--net-mgmt/librenms/files/pkg-message.in6
3 files changed, 14 insertions, 1 deletions
diff --git a/UPDATING b/UPDATING
index 21099f05a8da..2a81ce5e13aa 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,13 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20260109:
+ AFFECTS: users of net-mgmt/librenms
+ AUTHOR: dvl@FreeBSD.org
+
+ mysql-client is no longer a dependency. This allows users to select
+ mysql or mariadb at run time. This was not poossible before.
+
20260103:
AFFECTS: users of x11/nvidia-{driver, kmod}-devel variants
AUTHOR: junchoon@dec.sakura.ne.jp
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 64232761c3fa..b65b750aa328 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,6 @@
PORTNAME= librenms
PORTVERSION= 25.12.0
+PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/dvl:vendor
@@ -104,7 +105,6 @@ FPING_RUN_DEPENDS= fping:net/fping
IPMITOOL_RUN_DEPENDS= ipmitool:sysutils/ipmitool
LIBVIRT_RUN_DEPENDS= virsh:devel/libvirt
MYSQLD_USES= mysql:server
-MYSQLD_USES_OFF= mysql:client
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
NMAP_RUN_DEPENDS= nmap:security/nmap
WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client
diff --git a/net-mgmt/librenms/files/pkg-message.in b/net-mgmt/librenms/files/pkg-message.in
index c9437f5c008b..83552792bda1 100644
--- a/net-mgmt/librenms/files/pkg-message.in
+++ b/net-mgmt/librenms/files/pkg-message.in
@@ -94,6 +94,9 @@ started:
cd %%WWWDIR%%
echo ./validate.php | sudu su -fm www
+NOTE: The mysql client is no longer a run-time dependency.
+ If needed, you must install it.
+
EOM
}
{ type: upgrade
@@ -134,6 +137,9 @@ does not properly start. Monitor /var/log/librenms/*.log and if you see
service librenms restart
+NOTE: The mysql client is no longer a run-time dependency.
+ If needed, you must install it.
+
EOM
}
]