aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/librenms/Makefile')
-rw-r--r--net-mgmt/librenms/Makefile44
1 files changed, 25 insertions, 19 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index db8ee52889af..2bf35fae5744 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,6 @@
PORTNAME= librenms
-PORTVERSION= 25.5.0
+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
@@ -32,14 +32,12 @@ USE_RC_SUBR= librenms
SHEBANG_FILES= ../${PORTNAME}-vendor-${PORTVERSION}/paragonie/random_compat/build-phar.sh \
../${PORTNAME}-vendor-${PORTVERSION}/tecnickcom/tcpdf/tools/tcpdf_addfont.php \
../librenms-vendor-${PORTVERSION}/bin/carbon \
- ../librenms-vendor-${PORTVERSION}/bin/doctrine-dbal \
../librenms-vendor-${PORTVERSION}/bin/patch-type-declarations \
../librenms-vendor-${PORTVERSION}/bin/php-parse \
../librenms-vendor-${PORTVERSION}/bin/psysh \
../librenms-vendor-${PORTVERSION}/bin/validate-json \
../librenms-vendor-${PORTVERSION}/bin/var-dump-server \
../librenms-vendor-${PORTVERSION}/bin/yaml-lint \
- ../librenms-vendor-${PORTVERSION}/doctrine/dbal/bin/doctrine-dbal \
../librenms-vendor-${PORTVERSION}/justinrainbow/json-schema/bin/validate-json \
../librenms-vendor-${PORTVERSION}/nesbot/carbon/bin/carbon \
../librenms-vendor-${PORTVERSION}/nikic/php-parser/bin/php-parse \
@@ -48,13 +46,13 @@ SHEBANG_FILES= ../${PORTNAME}-vendor-${PORTVERSION}/paragonie/random_compat/buil
../librenms-vendor-${PORTVERSION}/symfony/error-handler/Resources/bin/patch-type-declarations \
../librenms-vendor-${PORTVERSION}/symfony/var-dumper/Resources/bin/var-dump-server \
../librenms-vendor-${PORTVERSION}/symfony/yaml/Resources/bin/yaml-lint \
- addhost.php alerts.php artisan billing-calculate.php \
- check-services.php config_to_json.php cronic daily.php daily.sh \
- delhost.php discovery-wrapper.py discovery.php dist-pollers.php \
- irc.php librenms-service.py LibreNMS/command_runner.py \
+ alerts.php artisan billing-calculate.php check-services.php \
+ config_to_json.php cronic daily.php daily.sh delhost.php \
+ discovery-wrapper.py discovery.php dist-pollers.php irc.php \
+ librenms-service.py LibreNMS/command_runner.py \
LibreNMS/wrapper.py lnms misc/lnms-completion.bash \
misc/smokeping-debian.example misc/smokeping-rhel.example \
- pbin.sh ping.php poll-billing.php poller-wrapper.py poller.php \
+ ping.php poll-billing.php poller-wrapper.py poller.php \
renamehost.php scripts/auth_test.php scripts/bash_lint.sh \
scripts/check_requirements.py scripts/collect-port-polling.php \
scripts/collect-snmp-data.php scripts/composer_wrapper.php \
@@ -73,8 +71,8 @@ SHEBANG_FILES= ../${PORTNAME}-vendor-${PORTVERSION}/paragonie/random_compat/buil
scripts/rename-mibs.php scripts/rrdstep.php \
scripts/save-test-data.php scripts/syslog-notify-oxidized.php \
scripts/test-alert.php scripts/test-template.php \
- scripts/tune_port.php scripts/watchmaillog/watchmaillog.pl \
- snmp-scan.py snmptrap.php syslog.php validate.php
+ scripts/watchmaillog/watchmaillog.pl snmp-scan.py snmptrap.php \
+ syslog.php validate.php
NO_ARCH= yes
NO_BUILD= yes
@@ -96,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
@@ -116,19 +122,19 @@ X11_RUN_DEPENDS_OFF= mtr:net/mtr@nox11
X11_USES= magick:6
X11_USES_OFF= magick:6,nox11
-_ROOT_FILES= addhost.php alerts.php artisan billing-calculate.php \
+_ROOT_FILES= alerts.php artisan billing-calculate.php \
check-services.php composer.json composer.lock \
config.php.default config_to_json.php cronic daily.php \
delhost.php discovery-wrapper.py discovery.php \
dist-pollers.php irc.php librenms-service.py mkdocs.yml \
- pbin.sh phpunit.xml ping.php poll-billing.php \
- poller.php poller-wrapper.py renamehost.php \
- snmp-scan.py snmptrap.php syslog.php validate.php
+ phpunit.xml ping.php poll-billing.php poller.php \
+ poller-wrapper.py renamehost.php snmp-scan.py \
+ snmptrap.php syslog.php validate.php
_SCRIPT_FILES= daily.sh lnms
# _RELEASE_TIMESTAMP is used for a patch inside the vendor code
# it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01
# It sits here so you remember to update it with each release
-_RELEASE_TIMESTAMP= 1747410665
+_RELEASE_TIMESTAMP= 1752667260
_ROOT_DIRS= LibreNMS app bootstrap config database doc html \
includes lang licenses mibs misc resources routes \
scripts tests
@@ -145,7 +151,7 @@ _OTHER_DIRS= database/seeders/config html/plugins html/js/lang \
tests/Browser/source tests/Browser/screenshots \
vendor/librenms/laravel-vue-i18n-generator/tests/output \
vendor/symfony/mime/Resources/bin \
- vendor/symfony/string/Resources/bin
+ vendor/symfony/string/Resources/bin
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \