notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
non port: net-mgmt/nrpe/files/nrpe2.in
SVNWeb

Number of commits found: 3

Wed, 6 Sep 2017
[ 09:24 mat search for other commits by this committer ] Original commit   Revision:449332
Fix not starting after crash.

When nrpe quits ungracefully, for example, if the box was rebooted, it
often does not start because the pid file is still there, and the pid in
it exists and the pid in it is in use by some other process.

The dubious code is in src/nrpe.c in write_pid_file() around line 1756
that could be axed.

But I think the easiest way to fix this is with the attached patch.
precmd is run just before starting the daemon and after checking that it
is not already running.

With this, it starts just fine, and still refuses to start if it is
really already running, but starts fine if the pid file contains a pid
that exists but is not nrpe.

PR:		221740
Submitted by:	mat
Approved by:	maintainer timeout
Sponsored by:	Absolight
Thu, 13 Mar 2014
[ 21:24 mandree search for other commits by this committer ] Original commit   Revision:348129
Fix acquisition of pidfile location.

PR:		ports/186837
Submitted by:	Daniel Ylitalo <daniel@203webgroup.se>
Approved by:	zeising (maintainer)
Fri, 4 Oct 2013
[ 19:44 ohauer search for other commits by this committer ] Original commit   Revision:329368 (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
- update nrpe to version 2.15
- add stage support
- move from net-mgmt/nrpe2 -> net-mgmt/nrpe
  to reflect the port and package name

Changes:
2.15 - 09/06/2013
-----------------
- Now compiles on HP-UX (Grant Byers)
- Added support for IPv6 (Leo Baltus, Eric Stanley)

Number of commits found: 3