Nagios is a network monitoring application. NRPE is a daemon to be installed on a host to be monitored. The following patches are enabling nagios NRPE to be run from a prefixed portage. I also ported the init.d scripts, since I'm still intending to fix bug 196294. ;) The configure script of Nagios NRPE is looking for .so files. Though I tend to believe the correct approach would be to rewrite the linking detection checks in configure.in, it's too big a change for me to attempt and since I'm not a regular follower of Nagios developer mailinglists, I would miss any issues I'd created. So my patch simply adds a check for .dylib as well. Also I found in the ebuilds the following parameters to econf: --host=${CHOST} --prefix=/usr I removed both instead of rewriting --prefix.
Created attachment 241889 [details, diff] Patch against the nagios-nrpe package
I seem unable to attach any more files to any of my open bugs. Will do it tomorrow. :(
Created attachment 241917 [details, diff] Patch against Nagios-plugins package, which is used and needed by NRPE
I agree with the patches except you have to use EAPI3, adding maintainer for approval.
(In reply to comment #4) > I agree with the patches except you have to use EAPI3, adding maintainer for > approval. Recent version in the tree has EAPI=4. @Dirk: can you post updated patches?
(In reply to Christoph Junghans from comment #5) > Recent version in the tree has EAPI=4. > > @Dirk: can you post updated patches? Apologies, I stopped using Nagios and lost access to existing deployments.
Reopen, when new patches are available.