2011-12-17 17:01:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2011/12/17 22:01:13 sthen Exp $
|
2006-02-04 08:16:08 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Nagios Remote Plugin Executor
|
2006-02-04 08:16:08 -05:00
|
|
|
|
2011-04-21 07:23:38 -04:00
|
|
|
# packaged from Icinga git repo.
|
|
|
|
DISTNAME= icinga-nrpe-2.12.20100914
|
2011-12-17 17:01:12 -05:00
|
|
|
REVISION= 1
|
2011-04-21 07:23:38 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/icinga-//}
|
|
|
|
WRKDIST= ${WRKDIR}/icinga-nrpe
|
2006-02-04 08:16:08 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2008-11-13 03:33:16 -05:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
2006-02-04 08:16:08 -05:00
|
|
|
HOMEPAGE= http://www.nagios.org/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-04-21 07:23:38 -04:00
|
|
|
|
2006-02-04 08:16:08 -05:00
|
|
|
WANTLIB= c crypto ssl wrap
|
|
|
|
|
2011-04-21 07:23:38 -04:00
|
|
|
MASTER_SITES= http://spacehopper.org/mirrors/
|
2006-02-04 08:16:08 -05:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
RUN_DEPENDS= net/nagios/plugins
|
2006-02-04 08:16:08 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2011-04-21 07:23:38 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-command-args \
|
|
|
|
--libexecdir=${LOCALBASE}/libexec/nagios \
|
|
|
|
--with-nrpe-user=_nrpe \
|
|
|
|
--with-nrpe-group=_nrpe \
|
|
|
|
--with-kerberos-inc=/usr/include/kerberosV/ \
|
|
|
|
ac_cv_lib_wrap_main=yes
|
2006-02-04 08:16:08 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2008-11-13 03:33:16 -05:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/src/nrpe.c
|
2006-02-04 08:16:08 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nrpe
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nrpe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nrpe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/nrpe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${PREFIX}/share/examples/nrpe
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|