diff options
-rw-r--r-- | net-mgmt/nrpe/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/nrpe/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/nrpe/pkg-plist | 1 | ||||
-rw-r--r-- | net-mgmt/nrpe2/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/nrpe2/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/nrpe2/pkg-plist | 1 | ||||
-rw-r--r-- | net/nrpe/Makefile | 7 | ||||
-rw-r--r-- | net/nrpe/distinfo | 2 | ||||
-rw-r--r-- | net/nrpe/pkg-plist | 1 |
9 files changed, 21 insertions, 9 deletions
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile index 509c01cda809..d40aab5f8a6c 100644 --- a/net-mgmt/nrpe/Makefile +++ b/net-mgmt/nrpe/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 diff --git a/net-mgmt/nrpe/distinfo b/net-mgmt/nrpe/distinfo index 36922ba9be62..695d13fa77a5 100644 --- a/net-mgmt/nrpe/distinfo +++ b/net-mgmt/nrpe/distinfo @@ -1 +1 @@ -MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb +MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373 diff --git a/net-mgmt/nrpe/pkg-plist b/net-mgmt/nrpe/pkg-plist index 04a829861ccb..fb4d15e163fc 100644 --- a/net-mgmt/nrpe/pkg-plist +++ b/net-mgmt/nrpe/pkg-plist @@ -1,3 +1,4 @@ sbin/nrpe etc/nrpe.cfg-sample etc/rc.d/nrpe.sh +libexec/nagios/check_nrpe 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 diff --git a/net-mgmt/nrpe2/distinfo b/net-mgmt/nrpe2/distinfo index 36922ba9be62..695d13fa77a5 100644 --- a/net-mgmt/nrpe2/distinfo +++ b/net-mgmt/nrpe2/distinfo @@ -1 +1 @@ -MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb +MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373 diff --git a/net-mgmt/nrpe2/pkg-plist b/net-mgmt/nrpe2/pkg-plist index 04a829861ccb..fb4d15e163fc 100644 --- a/net-mgmt/nrpe2/pkg-plist +++ b/net-mgmt/nrpe2/pkg-plist @@ -1,3 +1,4 @@ sbin/nrpe etc/nrpe.cfg-sample etc/rc.d/nrpe.sh +libexec/nagios/check_nrpe diff --git a/net/nrpe/Makefile b/net/nrpe/Makefile index 509c01cda809..d40aab5f8a6c 100644 --- a/net/nrpe/Makefile +++ b/net/nrpe/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 diff --git a/net/nrpe/distinfo b/net/nrpe/distinfo index 36922ba9be62..695d13fa77a5 100644 --- a/net/nrpe/distinfo +++ b/net/nrpe/distinfo @@ -1 +1 @@ -MD5 (nrpe-1.7.tar.gz) = f9462e9446ef1928e27a612ac5f87fdb +MD5 (nrpe-1.8.tar.gz) = b285e2838685508ab85395f480018373 diff --git a/net/nrpe/pkg-plist b/net/nrpe/pkg-plist index 04a829861ccb..fb4d15e163fc 100644 --- a/net/nrpe/pkg-plist +++ b/net/nrpe/pkg-plist @@ -1,3 +1,4 @@ sbin/nrpe etc/nrpe.cfg-sample etc/rc.d/nrpe.sh +libexec/nagios/check_nrpe |