Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 14:15:49 -0500 (EST)
From:      Paul Dlug <paul@nerdlabs.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        paul@nerdlabs.com
Subject:   ports/59431: [PATCH] net/nrpe: [SUMMARIZE CHANGES]
Message-ID:  <200311181915.hAIJFnoo071370@lugnut.aps.org>
Resent-Message-ID: <200311181920.hAIJKEPe079638@freefall.freebsd.org>

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

>Number:         59431
>Category:       ports
>Synopsis:       [PATCH] net/nrpe: [SUMMARIZE CHANGES]
>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:   Tue Nov 18 11:20:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Paul Dlug
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD lugnut.aps.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #8: Sat Oct  4 17:42:40 EDT
>Description:
Removed dependence on REINPLACE since the build can take the paths in CONFIGURE_ARGS and generate the correct config files and startup scripts.

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

--- nrpe-1.9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/nrpe/Makefile /usr/home/paul/myports/net/nrpe/Makefile
--- /usr/ports/net/nrpe/Makefile	Wed Aug  6 10:31:28 2003
+++ /usr/home/paul/myports/net/nrpe/Makefile	Tue Nov 18 14:14:01 2003
@@ -2,7 +2,7 @@
 # Date created:				1 Aug 2002
 # Whom:					Paul Dlug<paul@nerdlabs.com>
 #
-# $FreeBSD: ports/net/nrpe/Makefile,v 1.5 2003/08/06 14:31:28 leeym Exp $
+# $FreeBSD: ports/net/nrpe/Makefile,v 1.4 2003/03/05 01:32:37 leeym Exp $
 #
 
 PORTNAME=	nrpe
@@ -15,15 +15,11 @@
 MAINTAINER=	paul@nerdlabs.com
 COMMENT=	Nagios Remote Plugin Executor
 
-RUN_DEPENDS=    ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
+RUN_DEPENDS=	${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
 
 GNU_CONFIGURE=	yes
-USE_REINPLACE=	yes
 
-pre-install:
-	@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-	${REINPLACE_CMD} -e "s=/usr/local/bin/nrpe=${PREFIX}/sbin/nrpe=" ${WRKSRC}/init-script.freebsd
-	${REINPLACE_CMD} -e "s=/usr/local/libexec=${PREFIX}/libexec/nagios=" ${WRKSRC}/nrpe.cfg
+CONFIGURE_ARGS=	--libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
--- nrpe-1.9.patch ends here ---

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



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