Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2026 16:46:08 +0000
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 00cf03dc769d - main - net-mgmt/librenms: Allow for use of mariadb
Message-ID:  <696130d0.33c48.73ef4663@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00cf03dc769d7974c52b2e41f90b52b289ea45c7

commit 00cf03dc769d7974c52b2e41f90b52b289ea45c7
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2026-01-09 16:43:31 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2026-01-09 16:46:05 +0000

    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
---
 UPDATING                               | 7 +++++++
 net-mgmt/librenms/Makefile             | 2 +-
 net-mgmt/librenms/files/pkg-message.in | 6 ++++++
 3 files changed, 14 insertions(+), 1 deletion(-)

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
 }
 ]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696130d0.33c48.73ef4663>