aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2025-07-31 17:49:55 +0000
committerDan Langille <dvl@FreeBSD.org>2025-07-31 17:52:27 +0000
commit280f13347a6a9368ea59ba222239fb2a22d4f48e (patch)
tree6a53f3e8d769f9b8348e30a2a2d6c8ac6c959d0e
parent54dac3dfd0e0e5ce0e8986259a140d7d46f86529 (diff)
net-mgmt/librenms: Add option for sudo@sssd
Let the user choose between sudo and sudo@sssd sudo remains the default. I now hear cries for doas support. Soon, neither will be required.
-rw-r--r--net-mgmt/librenms/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 6ba90cb011f0..2bf35fae5744 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,6 @@
PORTNAME= librenms
PORTVERSION= 25.7.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/dvl:vendor
@@ -18,8 +19,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
bash:shells/bash \
dot:graphics/graphviz \
rrdtool:databases/rrdtool \
- snmpget:net-mgmt/net-snmp \
- sudo:security/sudo
+ snmpget:net-mgmt/net-snmp
USES= cpe php python shebangfix
USE_GITHUB= yes
@@ -94,12 +94,20 @@ DBDIR= /var/db/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS \
NMAP WMIC X11
-OPTIONS_DEFAULT= FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC
+OPTIONS_DEFAULT= FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER SUDO \
+ WMIC
+OPTIONS_RADIO= SUDO
+OPTIONS_RADIO_SUDO= SUDO SUDO_SSSD
+
+SUDO_RUN_DEPENDS= sudo:security/sudo
+SUDO_SSSD_RUN_DEPENDS= sudo:security/sudo@sssd
FPING_DESC= Enable fping support ping monitoring
IPMITOOL_DESC= Enable support for monitoring hardware IPMI
MYSQLD_DESC= Use local MySQL server
WMIC_DESC= Enable support for WMI polling
+SUDO_DESC= use security/sudo
+SUDO_SSSD_DESC= use security/sudo@sssd
FPING_RUN_DEPENDS= fping:net/fping
IPMITOOL_RUN_DEPENDS= ipmitool:sysutils/ipmitool