ports/151463: [PATCH] net-mgmt/nrpe: Correct default pidfile path
Philip M. Gollucci
pgollucci at p6m7g8.com
Thu Oct 14 20:20:12 UTC 2010
>Number: 151463
>Category: ports
>Synopsis: [PATCH] net-mgmt/nrpe: Correct default pidfile path
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 14 20:20:11 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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
- at unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true
+ at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list