literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
(http://nagios.sourceforge.net/docs/3_0/faststartup.html) recommends,
for faster startup times, pre-caching the configuration file. This patch
adds a "nagios_precache" rcvar which controls using the pre-cache
startup method.
- also fix a trailing \
PR: ports/139848
Submitted by: kimo <kimor79@yahoo.com>
Approved by: maintainer (Jarrod Sayers <jarrod@netleader.com.au>)
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
- Mark as MAKE_JOBS_UNSAFE.
- Stop using DISTVERSION and use PORTVERSION in net-mgmt/nagios.
PR: ports/134175
Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Note:
Included are updated suggestions from ports/128226. The correction to the ping
command has been extended into the online documentation and the -U option
removed as it's not supported. Also, the default for time_change_threshold is
set to that in include/nagios.h.
PR: 128306
Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
may result in logos being incorrectly searched for by lingering definition
of physical_html_path in cgi.cfg. A note about this and where to check for
correct value mentioned in pkg-message.
Kudos to Kristof Meers <kristof.meers@psy.kuleuven.be> for alerting me to the
problem.
PR: ports/91592
Submitted by: maintainer
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)
See Changelog for details.
Details about the changes to the port (as differntiated from the source):
- we depend on perl5 on build
- remove nagmin support as the nagmin port was never commited
- add rc.subr support
- document supported tunables
- add post-install documentation that documents the remaining
steps the user needs to take to finish the installation
- add deinstallation script the reminds the user to remove
the username, group and directory
PR: ports/62537
Submitted by: Blaz Zupan <blaz@si.FreeBSD.org> (maintainer)