From pgollucci@frieza.p6m7g8.net  Thu Oct 14 20:15:43 2010
Return-Path: <pgollucci@frieza.p6m7g8.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BDC50106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 2010 20:15:43 +0000 (UTC)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: from frieza.p6m7g8.net (wsip-174-79-184-239.dc.dc.cox.net [174.79.184.239])
	by mx1.freebsd.org (Postfix) with ESMTP id 5FB588FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Oct 2010 20:15:42 +0000 (UTC)
Received: from frieza.p6m7g8.net (localhost [127.0.0.1])
	by frieza.p6m7g8.net (8.14.4/8.14.4) with ESMTP id o9EKFeJf047354;
	Thu, 14 Oct 2010 20:15:41 GMT
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: (from pgollucci@localhost)
	by frieza.p6m7g8.net (8.14.4/8.14.4/Submit) id o9EKFddv047353;
	Thu, 14 Oct 2010 20:15:39 GMT
	(envelope-from pgollucci)
Message-Id: <201010142015.o9EKFddv047353@frieza.p6m7g8.net>
Date: Thu, 14 Oct 2010 20:15:39 GMT
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jarrod@netleader.com.au
Subject: [PATCH] net-mgmt/nrpe: Correct default pidfile path
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         151463
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nrpe: Correct default pidfile path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 14 20:20:11 UTC 2010
>Closed-Date:    Fri Dec 10 23:10:51 UTC 2010
>Last-Modified:  Fri Dec 10 23:10:51 UTC 2010
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc / TaxiMagic
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Oct 12 00:51:25 UTC 2010
>Description:
Correct default pidfile path
fix unexec -> dirrmtry in pkg-plist

Port maintainer (jarrod@netleader.com.au) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- nrpe-2.12_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/nrpe2/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile	22 Aug 2009 00:32:03 -0000	1.27
+++ Makefile	14 Oct 2010 20:14:21 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	nrpe
 DISTVERSION=	2.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/nagios/${PORTNAME}-2.x/${PORTNAME}-${PORTVERSION}
 
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/nrpe2/pkg-plist,v
retrieving revision 1.6
diff -u -u -r1.6 pkg-plist
--- pkg-plist	21 Nov 2008 21:00:22 -0000	1.6
+++ pkg-plist	14 Oct 2010 20:15:07 -0000
@@ -1,4 +1,4 @@
 etc/nrpe.cfg-sample
 libexec/nagios/check_nrpe2
 sbin/nrpe2
-@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true
+@dirrmtry %%NAGIOSDIR%%
Index: files/nrpe2.in
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/nrpe2/files/nrpe2.in,v
retrieving revision 1.5
diff -u -u -r1.5 nrpe2.in
--- files/nrpe2.in	27 Mar 2010 00:14:26 -0000	1.5
+++ files/nrpe2.in	14 Oct 2010 20:14:10 -0000
@@ -13,7 +13,7 @@
 #                         Set it to "YES" to enable nrpe2.
 # nrpe2_flags (str):      Set to "" by default.
 # nrpe2_configfile (str): Set to "%%PREFIX%%/etc/nrpe.cfg" by default.
-# nrpe2_pidfile (str):    Set to "%%NAGIOSDIR%%/nrpe2.pid" by default.
+# nrpe2_pidfile (str):    Set to "/var/run/nrpe2.pid" by default.
 #
 
 . /etc/rc.subr
@@ -29,7 +29,7 @@
 
 [ -z "${nrpe2_enable}" ] && nrpe2_enable="NO"
 [ -z "${nrpe2_configfile}" ] && nrpe2_configfile="%%PREFIX%%/etc/nrpe.cfg"
-[ -z "${nrpe2_pidfile}" ] && nrpe2_pidfile="%%NAGIOSDIR%%/nrpe2.pid"
+[ -z "${nrpe2_pidfile}" ] && nrpe2_pidfile="/var/run/nrpe2.pid"
 
 load_rc_config "${name}"
 
--- nrpe-2.12_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Oct 14 21:03:44 UTC 2010 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151463 
State-Changed-From-To: open->feedback 
State-Changed-By: pgollucci 
State-Changed-When: Thu Nov 11 03:37:50 UTC 2010 
State-Changed-Why:  
Request Feedback: via direct email 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151463 
State-Changed-From-To: feedback->closed 
State-Changed-By: pgollucci 
State-Changed-When: Fri Dec 10 23:10:45 UTC 2010 
State-Changed-Why:  
at submitter request (me) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151463 
>Unformatted:
