Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 13:10:01 +1030 (CST)
From:      Jarrod Sayers <jarrod@netleader.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91436: [patch] net-mgmt/nrpe: Update to 2.0
Message-ID:  <200601070240.k072e1OM008913@wallace.netleader.com.au>
Resent-Message-ID: <200601070250.k072o33Z044051@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91436
>Category:       ports
>Synopsis:       [patch] net-mgmt/nrpe: Update to 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 07 02:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jarrod Sayers
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
System: FreeBSD wallace.netleader.com.au 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #16: Sat Nov 26 17:10:11 CST 2005 root@wallace.netleader.com.au:/usr/obj/usr/src/sys/WALLACE i386
>Description:
Update of net-mgmt/nrpe from 1.9_2 to 2.0 also allows configuring of user and
group based on current net-mgmt/nagios tunables (NAGIOSUSER and NAGIOSGROUP)
and also port used in communication (new tunable, NRPEPORT), default set to
one currently assumed, 5666.

SSL communication was introduced in nrpe 2.0 which has been disabled to allow
for backwards compatability.  The maintainer of this port can contact me for
additional patches to make port more configurable (tweaking of SSL is one)
and also align it more with the net-mgmt/nagios port - their call.
>How-To-Repeat:
>Fix:
Suggested diff obtainable at:
http://www.netleader.com.au/~jarrod/freebsd/net-mgmt-nrpe-update-to-2.0.diff

--- net-mgmt-nrpe-update-to-2.0.diff begins here ---
--- ports/net-mgmt/nrpe/Makefile.orig	Wed May 25 15:55:00 2005
+++ ports/net-mgmt/nrpe/Makefile	Sat Jan  7 12:32:20 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	nrpe
-PORTVERSION=	1.9
-PORTREVISION=	2
+PORTVERSION=	2.0
 CATEGORIES=	net-mgmt
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	nagios
@@ -24,7 +23,15 @@
 SUB_FILES=	nrpe.sh pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
+NAGIOSUSER?=	nagios
+NAGIOSGROUP?=	nagios
+NRPEPORT?=	5666
+
 CONFIGURE_ARGS=	\
+		--with-nrpe-user=${NAGIOSUSER} \
+		--with-nrpe-group=${NAGIOSGROUP} \
+		--with-nrpe-port=${NRPEPORT} \
+		--disable-ssl \
 	    --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \
 	    --sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin
 
--- ports/net-mgmt/nrpe/distinfo.orig	Wed Mar 31 12:40:30 2004
+++ ports/net-mgmt/nrpe/distinfo	Sat Jan  7 12:33:28 2006
@@ -1,2 +1,2 @@
-MD5 (nrpe-1.9.tar.gz) = b4a5e00963f1aaa754ae877b9f921565
-SIZE (nrpe-1.9.tar.gz) = 41513
+MD5 (nrpe-2.0.tar.gz) = 70ef9502a3b7e49fa520dbceabfa04d0
+SIZE (nrpe-2.0.tar.gz) = 52157
--- ports/net-mgmt/nrpe/files/nrpe.sh.in.orig	Tue May 24 08:59:42 2005
+++ ports/net-mgmt/nrpe/files/nrpe.sh.in	Sat Jan  7 12:40:26 2006
@@ -20,7 +20,7 @@
 [ -z "$nrpe_enable" ]	&& nrpe_enable="NO"
 [ -z "$nrpe_config" ]	&& nrpe_config="%%PREFIX%%/etc/nrpe.cfg"
 
-nrpe_flags="-c ${nrpe_config} --daemon"
+nrpe_flags="-c ${nrpe_config} -d"
 
 load_rc_config $name
 
--- net-mgmt-nrpe-update-to-2.0.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601070240.k072e1OM008913>