diff options
author | Dan Langille <dvl@FreeBSD.org> | 2025-07-16 13:12:36 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2025-07-16 13:14:11 +0000 |
commit | c5ac18f858cbb7e9b6f2bebaaaa68f3e79885fa5 (patch) | |
tree | e3e5b54b56cf2af0f4b414ba6c0ee8530145ac1c | |
parent | devel/py-xattr: update to 1.2.0. (diff) |
net-mgmt/librenms: Update to 25.7.0
You need to run: `lnms migrate` after upgrading
FYI: tune_port.php & addhost.php are gone.
re: https://github.com/librenms/librenms/releases/tag/25.7.0
-rw-r--r-- | net-mgmt/librenms/Makefile | 10 | ||||
-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, 17 insertions, 17 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index c1b20d7c28cf..753c61c967e5 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,5 +1,5 @@ PORTNAME= librenms -PORTVERSION= 25.6.0 +PORTVERSION= 25.7.0 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor @@ -46,7 +46,7 @@ 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 \ + 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 \ @@ -71,7 +71,7 @@ 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 \ + scripts/watchmaillog/watchmaillog.pl \ snmp-scan.py snmptrap.php syslog.php validate.php NO_ARCH= yes @@ -114,7 +114,7 @@ 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 \ @@ -126,7 +126,7 @@ _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= 1752667260 _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..2f878674ceac 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 = 1752667982 +SHA256 (librenms-vendor-25.7.0.tar.gz) = 2e46a87f51efd4433455086028ee63d737ab99ca45d5102427fb26bb8cf820a2 +SIZE (librenms-vendor-25.7.0.tar.gz) = 27511817 +SHA256 (librenms-librenms-25.7.0_GH0.tar.gz) = bea4e4a0da0cf7a52913cdb8caeaa1dcea21e03c5dc75275e91b43943a0caf9f +SIZE (librenms-librenms-25.7.0_GH0.tar.gz) = 71136130 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: |