1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- 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>
This commit is contained in:
Yen-Ming Lee 2003-03-05 01:32:37 +00:00
parent dbe54846be
commit 4f930e01f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76891
9 changed files with 21 additions and 9 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb
MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373

View File

@ -1,3 +1,4 @@
sbin/nrpe
etc/nrpe.cfg-sample
etc/rc.d/nrpe.sh
libexec/nagios/check_nrpe

View File

@ -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

View File

@ -1 +1 @@
MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb
MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373

View File

@ -1,3 +1,4 @@
sbin/nrpe
etc/nrpe.cfg-sample
etc/rc.d/nrpe.sh
libexec/nagios/check_nrpe

View File

@ -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

View File

@ -1 +1 @@
MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb
MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373

View File

@ -1,3 +1,4 @@
sbin/nrpe
etc/nrpe.cfg-sample
etc/rc.d/nrpe.sh
libexec/nagios/check_nrpe