diff options
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/librenms/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/librenms/files/patch-includes_html_output_capture.inc.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index 140c730b38bd..38bd57339b9d 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,5 +1,6 @@ PORTNAME= librenms PORTVERSION= 23.11.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor 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 22e95d6b950a..9db94e486f2b 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 @@ -5,7 +5,7 @@ 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 = ['%%LOCALBASE%%/bin/php', \LibreNMS\Config::get('install_dir') . '/lnms', 'device:poll', $hostname, '--no-data', '-vv']; $filename = "poller-$hostname.txt"; break; case 'snmpwalk': @@ -14,7 +14,7 @@ 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 = ['%%LOCALBASE%%/bin/php', \LibreNMS\Config::get('install_dir') . '/discovery.php', '-h', $hostname, '-d']; $filename = "discovery-$hostname.txt"; break; default: |