diff options
author | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 13:13:18 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 13:18:19 +0000 |
commit | 246f272970e04072488ec8dcc3edf9b53ccf16ce (patch) | |
tree | bc20aa4f92f98a8027af7883f501661c115cd773 /net-mgmt/librenms/files/patch-config.php.default | |
parent | lang/perl5.34: Update to 5.34.0. (diff) |
net-mgmt/librenms: Clean up Makefile and use LOCALBASE
Good ideas, and I applied LOCALBASE to other pathes too. Thank you.
Reported by: otis
Differential Revision: https://reviews.freebsd.org/D30377
Diffstat (limited to 'net-mgmt/librenms/files/patch-config.php.default')
-rw-r--r-- | net-mgmt/librenms/files/patch-config.php.default | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/net-mgmt/librenms/files/patch-config.php.default b/net-mgmt/librenms/files/patch-config.php.default index bb086de42082..27d957e2e7a3 100644 --- a/net-mgmt/librenms/files/patch-config.php.default +++ b/net-mgmt/librenms/files/patch-config.php.default @@ -47,18 +47,18 @@ +# These paths are supplied by the FreeBSD port and correct those found in +# the code. + -+$config['snmpwalk'] = '/usr/local/bin/snmpwalk'; -+$config['snmpget'] = '/usr/local/bin/snmpget'; -+$config['snmpbulkwalk'] = '/usr/local/bin/snmpbulkwalk'; -+$config['snmptranslate'] = '/usr/local/bin/snmptranslate'; ++$config['snmpwalk'] = '%%LOCALBASE%%/bin/snmpwalk'; ++$config['snmpget'] = '%%LOCALBASE%%/bin/snmpget'; ++$config['snmpbulkwalk'] = '%%LOCALBASE%%/bin/snmpbulkwalk'; ++$config['snmptranslate'] = '%%LOCALBASE%%/bin/snmptranslate'; + +$config['ping'] = '/sbin/ping'; -+$config['mtr'] = '/usr/local/bin/mtr'; -+$config['nmap'] = '/usr/local/bin/nmap'; ++$config['mtr'] = '%%LOCALBASE%%/bin/mtr'; ++$config['nmap'] = '%%LOCALBASE%%/bin/nmap'; + -+$config['nagios_plugins'] = '/usr/local/libexec/nagios'; -+$config['ipmitool'] = '/usr/local/bin/ipmitool'; -+$config['virsh'] = '/usr/local/bin/virsh'; -+$config['dot'] = '/usr/local/bin/dot'; -+$config['sfdp'] = '/usr/local/bin/sfdp'; -+$config['nfdump'] = '/usr/local/bin/nfdump'; ++$config['nagios_plugins'] = '%%LOCALBASE%%/libexec/nagios'; ++$config['ipmitool'] = '%%LOCALBASE%%/bin/ipmitool'; ++$config['virsh'] = '%%LOCALBASE%%/bin/virsh'; ++$config['dot'] = '%%LOCALBASE%%/bin/dot'; ++$config['sfdp'] = '%%LOCALBASE%%/bin/sfdp'; ++$config['nfdump'] = '%%LOCALBASE%%/bin/nfdump'; |