056cf1be94
Changes in 2.12: * Fix for unterminated multiline plugin (garbage) output. Changes in 2.11: * Added lib64 library paths to configure script for 64-bit systems. * Added --with-ssl-lib configure script option. * Added --with-log-facility option to control syslog logging. Changes in 2.10: * Moved PDF docs to docs/ subdirectory, added OpenOffice source document. * A critical result is now returned for child processed that die due to a signal. Changes in 2.9: * Fixed bug with --with-nrpe-group configure script option. * Fixed bug with check_disk thresholds in sample config file. * Added NRPE_PROGRAMVERSION and NRPE_MULTILINESUPPORT environment variables for scripts that need to detect NRPE version and capabilities. * Added asprintf() support for systems that are missing it. Changes in 2.8.1: * Fixed configure script error with user-specified NRPE group. Changes in 2.8: * Added support for multiline plugin output (limited to 1KB at the moment). * Changes to sample config files. * Added ';' as an additional prohibited metachar for command arguments. * Updated documentation and added easier installation commands. Changes in 2.7.1: * Changed C++ style comment to C style to fix compilation errors on AIX. Changes in 2.7: * Patches for detection SSL header and library locations. * NRPE daemon will now partially ignore non-fatal configuration file errors and attempt to startup. Changes in 2.6: * Added -u option to check_nrpe to return UNKNOWN states on socket timeouts. * Added connection_timeout variable to NRPE daemon to catch dead client connections. * Added graceful timeout to check_nrpe to ensure connection to NRPE daemon is properly closed.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2008/06/21 14:52:48 tonnerre Exp $
|
|
#
|
|
|
|
DISTNAME= nrpe-2.12
|
|
PKGNAME= nagios-${DISTNAME}
|
|
CATEGORIES= net sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/nagios/
|
|
COMMENT= Nagios remote program execution daemon
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= perl
|
|
USE_PKGINSTALL= yes
|
|
|
|
PKG_SYSCONFSUBDIR= nagios
|
|
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
PKG_GROUPS+= ${NAGIOS_GROUP}
|
|
PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}
|
|
PKG_GECOS.${NAGIOS_USER}= Nagios Runtime User
|
|
|
|
PKG_GROUPS_VARS+= NAGIOS_GROUP
|
|
PKG_USERS_VARS+= NAGIOS_USER
|
|
|
|
CONFIGURE_ARGS+= --with-nrpe-user=${NAGIOS_USER:Q}
|
|
CONFIGURE_ARGS+= --with-nrpe-group=${NAGIOS_GROUP:Q}
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/nagios/nrpe.cfg ${PKG_SYSCONFDIR}/nrpe.cfg
|
|
RCD_SCRIPTS+= nrpe
|
|
|
|
INSTALLATION_DIRS= sbin libexec/nagios share/examples/nagios share/examples/rc.d
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios
|
|
${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${PREFIX}/share/examples/nagios
|
|
${INSTALL_SCRIPT} ${WRKDIR}/nrpe ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|