Update to 2.0.r1 also includes:
- Rewrite of port Makefile, options closer aligned in order to bsd.port.mk
- Added dependency of libiconv (library required by CGI's, currently installed
via nagios-plugins port)
- Added support for embedded Perl interpreter (requires Perl 5.8+), caching
automatically assumed if enabled, off by default
- Added support for use of nanosleep() in event timings, off by default
- Added ability to override default view at http://webserver/nagios/ URL,
suggested values listed in Makefile (validity after future Nagios releases
not guaranteed)
- Default install location for web component moved to www/nagios, overridable
using existing NAGIOSWWWDIR tunable
- Corrected minor build issues by tweaking use of CFLAGS
- Moved pkg-install, pkg-deinstall and pkg-message into SUB_FILES
- Added configuration file tunable (nagios_configfile) for /etc/rc.conf
- Configuration tests now show error on failure instead of command to run
- Host status (status.sav) now saved across application starts and restarts
- Added patch to correct PERL_SYS_INIT3 call in base/utils.c, patch
supplied and tested by Karl Friesen <krf@splip.com>, thanks!
- Added Apache configuration suggestion in pkg-message for new installs
Files changed:
- ports/net-mgmt/nagios/Makefile
- ports/net-mgmt/nagios/distinfo
- ports/net-mgmt/nagios/files/patch-Makefile.in
- ports/net-mgmt/nagios/pkg-plist
Files created:
- ports/net-mgmt/nagios/files/nagios.sh.in
- ports/net-mgmt/nagios/files/patch-base-utils.c
- ports/net-mgmt/nagios/files/patch-contrib-Makefile.in
- ports/net-mgmt/nagios/files/pkg-deinstall.in
- ports/net-mgmt/nagios/files/pkg-install.in
- ports/net-mgmt/nagios/files/pkg-message.in
Files to be removed:
- ports/net-mgmt/nagios/files/DEINSTALL.tmpl
- ports/net-mgmt/nagios/files/INSTALL.tmpl
- ports/net-mgmt/nagios/files/MESSAGE.tmpl
- ports/net-mgmt/nagios/files/nagios.sh.tmpl
PR: ports/91499
Submitted by: Jarrod Sayers <jarrod@netleader.com.au>
- Support changes made to user, group or spool directory to be recorded in the
packing list correctly
- Added support for overriding install path of web component with an aim to
migrate the default from share/nagios to www/nagios
- Added temporary knob to allow users to migrate to the new default without
actually setting the path
PR: ports/88312
Submitted by: Jarrod Sayers (maintainer)
- move nagios workfile directory from /usr/local/var/nagios
to /var/spool/nagios. /usr/local is read-only on some NFS
booted systems.
- remove scripts/checkps, everybody should have a working
/bin/ps by now.
- add new switches WITH_MYSQL and WITH_PGSQL which enable
support for putting configuration files into a MySQL or
PostgreSQL database, based on a patch submitted in PR
48102 by Krzysztof Stryjek <wtp@mud.pl>
PR: ports/48988
Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
Move ${PREFIX}/share/nagios/sbin to ${PREFIX}/share/nagios/cgi-bin as that
is the location originally used by the nagios author.
Apache runs as user "www" now, so nagios the nagios socket should be owned by
"www" instead of nobody.
Submitted by: David Douthitt <n9ubh@callsign.net> via maintainer
- install configuration files with .dist suffix so that users configuration
files are not deleted on package removal
- create ${PREFIX}/var/netsaint/rw directory needed for correct operation
of CGI script
- fix netsaint.log file permission problem
- depend on netsaint-plugins port
PR: 26328
Submitted by: maintainer