void-packages/srcpkgs/monitoring-plugins/template
Klara Modin 178a8e3976 monitoring-plugins: update to 2.3.1
in addition:
add bind-utils to hostmakedepends as nslookup is needed to build check_dns
add libcurl-devel and uriparser-devel in order to build check_curl
add sudo to hostmakedepends as ./configure complains otherwise

There are still some things that ./configure complains about but there's
less that can be done about that.

dbi: libdbi are not currently available in the repos

radius: neither radcli or FreeRADIUS Client Library are available in the
repos (there are others listed in REQUIREMENTS but they are noted as
unmaintained and also aren't available in the repos).

lmstat, Net:SNMP perl module, and qstat: not available in the repos

qmail-qstat: provided by sqmail, but it conflicts with postfix which is
installed by default
2022-01-03 19:47:02 -03:00

27 lines
1 KiB
Bash

# Template file for 'monitoring-plugins'
pkgname=monitoring-plugins
version=2.3.1
revision=1
build_style=gnu-configure
configure_args="--libexecdir=/usr/lib/monitoring-plugins"
hostmakedepends="fping openssh postfix procps-ng smbclient net-snmp bind-utils sudo"
makedepends="libldap-devel libmariadbclient-devel postgresql-libs-devel
zlib-devel libcurl-devel uriparser-devel"
depends="iputils procps-ng"
#checkdepends="perl"
short_desc="Monitoring plugins for Nagios and compatible monitoring solutions"
maintainer="Corné Oppelaar <hello@eaterofco.de>"
license="GPL-3.0-or-later"
homepage="https://www.monitoring-plugins.org/"
changelog="https://www.monitoring-plugins.org/news/index.html"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=f56eb84871983fd719247249e3532228b37e2efaae657a3979bd14ac1f84a35b
do_configure() {
./configure ${configure_args} --with-ping-command='/usr/bin/iputils-ping -n -U -w %d -c %d %s' --with-ping6-command='/usr/bin/iputils-ping6 -n -U -w %d -c %d %s'
}
do_check() {
# Require interactivity
:
}