aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2020-03-03 16:25:33 +0000
committerDan Langille <dvl@FreeBSD.org>2020-03-03 16:25:33 +0000
commit6d40a7d6fe233e01981c2f0545dab83ec4726039 (patch)
tree1f61c218fc1ad2a6c9a72a1e254395570c9ed120 /UPDATING
parent8909168306407742a67f486c0b8e3e5556da3629 (diff)
downloadports-6d40a7d6fe233e01981c2f0545dab83ec4726039.tar.gz
ports-6d40a7d6fe233e01981c2f0545dab83ec4726039.zip
Update to 1.61
While here, adjust the webserver options (see PR) NOTE: upgrading existing installations will break unless you read UPGRADING and follow the instructions. In short: * Apache / mod_php is no longer an option * config.php needs entries added manually We are jumping a few versions here: * https://github.com/librenms/librenms/releases/tag/1.61 * https://github.com/librenms/librenms/releases/tag/1.60 * https://github.com/librenms/librenms/releases/tag/1.59 * https://github.com/librenms/librenms/releases/tag/1.58.1 * https://github.com/librenms/librenms/releases/tag/1.58 PR: 235949 Submitted by: Dries Michiels <driesm.michiels@gmail.com>
Notes
Notes: svn path=/head/; revision=527681
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING48
1 files changed, 48 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index 6318f17ea235..b2ad56ed64e2 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,54 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20200303:
+ AFFECTS: users of net-mgmt/librenms
+ AUTHOR: dvl@FreeBSD.org
+
+ 1. Apache / mod_php options removed
+
+ The APACHEMOD option has been removed. LibreNMS can be used
+ with other webservers, not just Apache. In other to simplify
+ the port, the option was removed.
+
+ Now you manually install the webserver of your preference.
+
+ If upgrading from LibreNMS < 1.61, you can do this to
+ prevent 'pkg autoremove' from uninstalling Apache / mod_php:
+
+ $ sudo pkg set -A 0 apache24 mod_php74
+ Mark apache24-2.4.41 as not automatically installed? [y/N]: y
+ Mark mod_php74-7.4.3 as not automatically installed? [y/N]: y
+
+ Adjust mod_php74 to suit the version of mod_php you have.
+
+ 2. include/defaults.inc.php is gone
+
+ The file include/defaults.inc.php is no longer distributed by
+ the upstream project. The FreeBSD port patched this file to
+ correct the paths to common tools such as ping, snmpwalk, etc.
+
+ These values previously adjusted by the port must now be specified
+ in config.php. New installs will have this automatically, but existing
+ installs must be updated manually. These are the entries you should
+ add if upgrading from LibreNMS < 1.61:
+
+ $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['ping'] = '/sbin/ping';
+ $config['mtr'] = '/usr/local/bin/mtr';
+ $config['nmap'] = '/usr/local/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';
+
20200229:
AFFECTS: users of textproc/apache-solr
AUTHOR: mfechner@FreeBSD.org