diff options
Diffstat (limited to 'net-mgmt/librenms')
-rw-r--r-- | net-mgmt/librenms/Makefile | 37 | ||||
-rw-r--r-- | net-mgmt/librenms/distinfo | 10 | ||||
-rw-r--r-- | net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php | 14 |
3 files changed, 34 insertions, 27 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index c1b20d7c28cf..a4b7eaa84e22 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,5 +1,5 @@ PORTNAME= librenms -PORTVERSION= 25.6.0 +PORTVERSION= 25.8.0 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor @@ -18,8 +18,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 @@ -46,10 +45,10 @@ 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 \ ping.php poll-billing.php poller-wrapper.py poller.php \ @@ -71,8 +70,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 @@ -94,12 +93,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 @@ -114,19 +121,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 \ - 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= 1750074912 +_RELEASE_TIMESTAMP= 1755492731 _ROOT_DIRS= LibreNMS app bootstrap config database doc html \ includes lang licenses mibs misc resources routes \ scripts tests diff --git a/net-mgmt/librenms/distinfo b/net-mgmt/librenms/distinfo index 0f3620d2bd2d..87c2b96b6a51 100644 --- a/net-mgmt/librenms/distinfo +++ b/net-mgmt/librenms/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1750080681 -SHA256 (librenms-vendor-25.6.0.tar.gz) = 8f802bad2fd21d2187930b9ead6c598571445d9b3614699cf2f38650a7bf45d1 -SIZE (librenms-vendor-25.6.0.tar.gz) = 27404672 -SHA256 (librenms-librenms-25.6.0_GH0.tar.gz) = b72aa199965f44e662965c58cd3ae7a107fbf7bd51fb11bf595c99033d897bae -SIZE (librenms-librenms-25.6.0_GH0.tar.gz) = 70700887 +TIMESTAMP = 1755522747 +SHA256 (librenms-vendor-25.8.0.tar.gz) = 9986dad74d2ebeee2ce2eeefd3ef1916e3ba058e004f034b137102f59ab79c11 +SIZE (librenms-vendor-25.8.0.tar.gz) = 27512017 +SHA256 (librenms-librenms-25.8.0_GH0.tar.gz) = 6022b7a9a12198fd49f358e281d400a1b704f4066612e07bc7d20223cce98c92 +SIZE (librenms-librenms-25.8.0_GH0.tar.gz) = 71480466 diff --git a/net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php b/net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php index 9db94e486f2b..3d34dc8eece5 100644 --- a/net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php +++ b/net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php @@ -1,20 +1,20 @@ ---- includes/html/output/capture.inc.php.orig 2023-10-27 13:17:37 UTC +--- includes/html/output/capture.inc.php.orig 2025-07-16 12:40:13 UTC +++ includes/html/output/capture.inc.php -@@ -32,7 +32,7 @@ $type = $_REQUEST['type']; +@@ -33,7 +33,7 @@ switch ($type) { switch ($type) { case 'poller': -- $cmd = ['php', \LibreNMS\Config::get('install_dir') . '/lnms', 'device:poll', $hostname, '--no-data', '-vv']; -+ $cmd = ['%%LOCALBASE%%/bin/php', \LibreNMS\Config::get('install_dir') . '/lnms', 'device:poll', $hostname, '--no-data', '-vv']; +- $cmd = ['php', \App\Facades\LibrenmsConfig::get('install_dir') . '/lnms', 'device:poll', $hostname, '--no-data', '-vv']; ++ $cmd = ['%%LOCALBASE%%/bin/php', \App\Facades\LibrenmsConfig::get('install_dir') . '/lnms', 'device:poll', $hostname, '--no-data', '-vv']; $filename = "poller-$hostname.txt"; break; case 'snmpwalk': -@@ -43,7 +43,7 @@ switch ($type) { +@@ -44,7 +44,7 @@ switch ($type) { $filename = $device['os'] . '-' . $device['hostname'] . '.snmpwalk'; break; case 'discovery': -- $cmd = ['php', \LibreNMS\Config::get('install_dir') . '/discovery.php', '-h', $hostname, '-d']; -+ $cmd = ['%%LOCALBASE%%/bin/php', \LibreNMS\Config::get('install_dir') . '/discovery.php', '-h', $hostname, '-d']; +- $cmd = ['php', \App\Facades\LibrenmsConfig::get('install_dir') . '/discovery.php', '-h', $hostname, '-d']; ++ $cmd = ['%%LOCALBASE%%/bin/php', \App\Facades\LibrenmsConfig::get('install_dir') . '/discovery.php', '-h', $hostname, '-d']; $filename = "discovery-$hostname.txt"; break; default: |