notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: net-mgmt/nrpe2/files/nrpe2.in
SVNWeb

Number of commits found: 10

Wed, 21 Aug 2013
[ 13:36 skreuzer search for other commits by this committer ] Original commit   Revision:325128
Update to 2.14

PR:		ports/180447
Submitted by:	Steven Kreuzer <skreuzer@FreeBSD.org>
Approved by:	maintainer timeout (42 days)
Fri, 31 May 2013
[ 11:54 crees search for other commits by this committer ] Original commit   Revision:319487
Stop checking for get_pidfile_from_conf function in rc.subr.

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
Mon, 8 Oct 2012
[ 08:15 dougb search for other commits by this committer ] Original commit   Revision:305521
Fix the currently-broken rc.d script:

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.
Wed, 12 Sep 2012
[ 20:57 crees search for other commits by this committer ] Original commit   Revision:304163
Improve rc script handling of pidfile, and do a few optimisations

PR:		ports/168225
Submitted by:	yar (based on)

While here, copy over default config file on install
Sat, 14 Jan 2012
[ 08:57 dougb search for other commits by this committer ] Original commit  (Only the first 10 of 951 ports in this commit are shown above. View all ports for this commit)
In the rc.d scripts, change assignments to rcvar to use the
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.
Sat, 27 Mar 2010
[ 00:15 dougb search for other commits by this committer ] Original commit  (Only the first 10 of 798 ports in this commit are shown above. View all ports for this commit)
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
Wed, 15 Jul 2009
[ 16:56 dougb search for other commits by this committer ] Original commit  (Only the first 10 of 213 ports in this commit are shown above. View all ports for this commit)
Fix a few "bad example" problems in the rc.d scripts that have been
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.
Thu, 25 Dec 2008
[ 20:24 miwi search for other commits by this committer ] Original commit 
- Modify rc.d script to allow administrator to change PID file location
  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
Fri, 21 Nov 2008
[ 21:00 miwi search for other commits by this committer ] Original commit 
- Update to 2.12

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)
Tue, 24 Jul 2007
[ 12:57 mm search for other commits by this committer ] Original commit 
- added support for variables from net-mgmt/nagios
- updated sample configuration file
- renamed startup script from nrpe2.sh to nrpe2
- changed maintainer to Jarrod Sayers <jarrot@netleader.com.au>

PR:             ports/114035
Submitted by:   Jarrod Sayers <jarrot@netleader.com.au>
Approved by:    maintainer, garga (mentor)

Number of commits found: 10