void-packages/srcpkgs/nrpe/template
2018-11-05 00:41:10 -02:00

29 lines
1.1 KiB
Bash

# Template file for 'nrpe'
pkgname=nrpe
version=3.2.1
revision=2
build_style=gnu-configure
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-ssl-inc=${XBPS_CROSS_BASE}/usr/include"
make_build_args="nrpe"
make_install_args="install-daemon install-config"
makedepends="libressl-devel"
depends="monitoring-plugins"
make_dirs="/etc/nagios 0775 _nagios _nagios"
conf_files="/etc/nagios/nrpe.cfg"
system_accounts="_nagios"
short_desc="Nagios Remote Plugin Executor"
maintainer="Randy McCaskill <randy@mccaskill.us>"
license="GPL-2.0-or-later"
homepage="https://github.com/NagiosEnterprises/nrpe"
distfiles="https://github.com/NagiosEnterprises/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=8ad2d1846ab9011fdd2942b8fc0c99dfad9a97e57f4a3e6e394a4ead99c0f1f0
post_install() {
vsv nrpe
# remove useless files
rm -f ${DESTDIR}/usr/bin/nrpe-uninstall
rm -f ${DESTDIR}/usr/libexec/check_nrpe
}