add nrpe2 (after repocopy from net-mgmt/nrpe)
nrpe is Nagios Remote Plugin Executor PR: 59485
This commit is contained in:
parent
2927a6353a
commit
b9786cccae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117512
@ -5,27 +5,33 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nrpe
|
||||
PORTVERSION= 1.9
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
PORTNAME= nrpe2
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= nagios
|
||||
DISTNAME= nrpe-${PORTVERSION}
|
||||
|
||||
MAINTAINER= paul@nerdlabs.com
|
||||
COMMENT= Nagios Remote Plugin Executor
|
||||
MAINTAINER= paul@nerdlabs.com
|
||||
COMMENT= Nagios Remote Plugin Executor
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \
|
||||
--sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin
|
||||
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc
|
||||
|
||||
.if defined(WITH_SSL)
|
||||
USE_OPENSSL= yes
|
||||
CONFIGURE_ARGS+= --enable-ssl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-ssl
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe2
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe2
|
||||
${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (nrpe-1.9.tar.gz) = b4a5e00963f1aaa754ae877b9f921565
|
||||
SIZE (nrpe-1.9.tar.gz) = 41513
|
||||
MD5 (nrpe-2.0.tar.gz) = 70ef9502a3b7e49fa520dbceabfa04d0
|
||||
SIZE (nrpe-2.0.tar.gz) = 52157
|
||||
|
@ -6,4 +6,9 @@ remote hosts. The check_nrpe plugin is called from Nagios and actually makes
|
||||
the plugin requests to the remote host. Requires that nrpe be running on the
|
||||
remote host (either as a standalone daemon or as a service under inetd).
|
||||
|
||||
nrpe2 is incompatible with nrpe version 1, if you are running this version
|
||||
see net-mgmt/nrpe. Both ports can be installed in parallel but share the same
|
||||
configuration file by default. This is easily changed in the nrpe startup
|
||||
file.
|
||||
|
||||
WWW: http://www.nagios.org/
|
||||
|
@ -1,4 +1,4 @@
|
||||
sbin/nrpe
|
||||
sbin/nrpe2
|
||||
etc/nrpe.cfg-sample
|
||||
etc/rc.d/nrpe.sh
|
||||
libexec/nagios/check_nrpe
|
||||
libexec/nagios/check_nrpe2
|
||||
|
Loading…
Reference in New Issue
Block a user