It is present in all supported versions of FreeBSD, and has had poor takeup.
I strongly suspect the strange-looking checks are partially to blame for
scaring maintainers off.
Go forth and please use it!
PR: ports/178269
Approved by: maintainers of all ports involved
1. Tidy up the header
2. nrpe2 runs as an unpriviliged user, so REQUIRE: LOGIN is manadatory
3. Move load_rc_config up higher
4. Since _enable and _configfile are mandatory they should use :=
5. Only sets command_args once, and puts -d last as is traditional.
6. Pulls the pidfile from nrpe.cfg, which means it only has to be set once.
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.
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.
without editing rc.d script. New knob nrpe2_pidfile is provided for
this and it defaults to the old value of the PID file.
- Bump PORTREVISION
PR: 129386
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by: maintainer
Included in this PR is reload support requested by ports/126476 in addition to a
change in the location of the PID file. I have however opted to move this file to
NAGIOSDIR to reduce the number of directories created by all Nagios related ports.
PR: 128409
Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Finally bump the port to the current version after remaining at 2.7 for a while
due to garbage characters being returned by nrpe2. Issue was caused by the
reading command buffer not being \0 terminated. This has been resolved in CVS
but has been back-ported for now.
PR: ports/120874
Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
- Make sure nagios user/group is created when installing from ports
- Pass maintainership to submitter
PR: ports/107175
Submitted by: Dan Langille <dan at langille.org>
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
- make nrpe write pid file in /var/run
- replace pkg-plist file with PLIST_FILES in Makefile
PR: ports/81139
Submitted by: Meno Abels <meno.abels@adviser.com>
Approved by: Paul Dlug <paul@nerdlabs.com> (maintainer)
- Corrected incorrect paths to plugins in the sample configuration file.
- Installed the check_nrpe plugin (in case the installer wants to use this host as a client).
PR: 48690
Submitted by: Paul Dlug <paul@nerdlabs.com>