diff options
author | leeym <leeym@FreeBSD.org> | 2003-03-05 09:32:37 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-03-05 09:32:37 +0800 |
commit | cb05e0d29e190083c517185dc5da2611333c7147 (patch) | |
tree | eada0c893a4347f5b8f3f1d509d68907c1e4f739 /net-mgmt/nrpe2/Makefile | |
parent | 40a923afbacee91de0e2e7346b0d3b2e6ceed60f (diff) | |
download | freebsd-ports-gnome-cb05e0d29e190083c517185dc5da2611333c7147.tar.gz freebsd-ports-gnome-cb05e0d29e190083c517185dc5da2611333c7147.tar.zst freebsd-ports-gnome-cb05e0d29e190083c517185dc5da2611333c7147.zip |
- Updated the net/nrpe port to version 1.8 which contains minor bug fixes.
- Corrected incorrect paths to plugins in the sample configuration file.
- Installed the check_nrpe plugin (in case the installer wants to use this host as a client).
PR: 48690
Submitted by: Paul Dlug <paul@nerdlabs.com>
Diffstat (limited to 'net-mgmt/nrpe2/Makefile')
-rw-r--r-- | net-mgmt/nrpe2/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile index 509c01cda809..d40aab5f8a6c 100644 --- a/net-mgmt/nrpe2/Makefile +++ b/net-mgmt/nrpe2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nrpe -PORTVERSION= 1.7 +PORTVERSION= 1.8 PORTREVISION= 0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -18,13 +18,16 @@ COMMENT= Nagios Remote Plugin Executor 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 - ${SED} -i bak -e "s=/usr/local/bin/nrpe=${PREFIX}/sbin/nrpe=" ${WRKSRC}/init-script.freebsd + ${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 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe + ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe ${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample ${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh |