45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2006/02/04 13:16:08 david Exp $
|
||
|
|
||
|
COMMENT= "Nagios Remote Plugin Executor"
|
||
|
|
||
|
DISTNAME= nrpe-2.3
|
||
|
CATEGORIES= net
|
||
|
|
||
|
MAINTAINER= David Krause <david@openbsd.org>
|
||
|
HOMEPAGE= http://www.nagios.org/
|
||
|
|
||
|
# GPL
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
WANTLIB= c crypto ssl wrap
|
||
|
|
||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
|
||
|
|
||
|
RUN_DEPENDS= nagios-plugins::net/nagios/plugins
|
||
|
|
||
|
CONFIGURE_STYLE= gnu
|
||
|
CONFIGURE_ARGS+=--enable-command-args
|
||
|
CONFIGURE_ARGS+=--libexecdir=${LOCALBASE}/libexec/nagios
|
||
|
CONFIGURE_ARGS+=--with-nrpe-user=_nrpe
|
||
|
CONFIGURE_ARGS+=--with-nrpe-group=_nrpe
|
||
|
CONFIGURE_ARGS+=--with-kerberos-inc=/usr/include/kerberosV/
|
||
|
|
||
|
pre-configure:
|
||
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/src/nrpe.c
|
||
|
|
||
|
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>
|