openbsd-ports/net/nagios/nrpe/Makefile
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00

40 lines
1.1 KiB
Makefile

COMMENT= Nagios Remote Plugin Executor
DISTNAME= nrpe-4.0.3
REVISION= 2
CATEGORIES= net
HOMEPAGE= https://github.com/NagiosEnterprises/nrpe
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB= c crypto ssl
MASTER_SITES= https://github.com/NagiosEnterprises/nrpe/releases/download/${DISTNAME}/
RUN_DEPENDS= net/monitoring-plugins
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --libexecdir=${LOCALBASE}/libexec/nagios \
--with-need-dh=no \
--with-nrpe-user=_nrpe \
--with-nrpe-group=_nrpe \
--with-piddir=/var/run/nrpe
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*.md ${PREFIX}/share/doc/nrpe
${INSTALL_DATA} ${WRKSRC}/SECURITY.md ${PREFIX}/share/doc/nrpe
${INSTALL_DATA} ${WRKSRC}/docs/NRPE.* ${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}/update-cfg.pl ${PREFIX}/libexec/nagios
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin
NO_TEST= Yes
.include <bsd.port.mk>