void-packages/srcpkgs/nrpe/template

35 lines
1.4 KiB
Bash

# Template file for 'nrpe'
pkgname=nrpe
version=4.1.0
revision=3
build_style=gnu-configure
build_helper="qemu"
configure_args="--with-pkgsysconfdir=/etc/nagios
--with-pluginsdir=/usr/lib/monitoring-plugins --with-nagios-user=_nagios
--with-nagios-group=_nagios --with-nrpe-user=_nagios --with-nrpe-group=_nagios
--with-opsys=linux --with-init-type=unknown --with-dist-type=void
--with-inetd-type=unknown
--with-ssl-inc=${XBPS_CROSS_BASE}/usr/include"
make_build_args="nrpe"
make_install_args="install-daemon install-config"
makedepends="openssl-devel"
depends="monitoring-plugins"
make_dirs="/etc/nagios 0775 _nagios _nagios"
conf_files="/etc/nagios/nrpe.cfg"
short_desc="Nagios Remote Plugin Executor"
maintainer="Randy McCaskill <randy@mccaskill.us>"
license="GPL-2.0-or-later"
homepage="https://github.com/NagiosEnterprises/nrpe"
changelog="https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md"
distfiles="https://github.com/NagiosEnterprises/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=a1f14aa8aaf935b576cc55ab5d77b7cb9c920d7702aff44c9d18c4c841ef8ecc
system_accounts="_nagios"
# broken="https://build.voidlinux.org/builders/aarch64_builder/builds/45067/steps/shell_3/logs/stdio"
post_install() {
vsv nrpe
# remove useless files
rm -f ${DESTDIR}/usr/bin/nrpe-uninstall
rm -f ${DESTDIR}/usr/libexec/check_nrpe
}