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
This commit is contained in:
Klara Modin 2021-12-25 02:16:21 +01:00 committed by Érico Nogueira Rolim
parent 71920ea7fb
commit 178a8e3976

View file

@ -1,20 +1,21 @@
# Template file for 'monitoring-plugins' # Template file for 'monitoring-plugins'
pkgname=monitoring-plugins pkgname=monitoring-plugins
version=2.2 version=2.3.1
revision=9 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--libexecdir=/usr/lib/monitoring-plugins" configure_args="--libexecdir=/usr/lib/monitoring-plugins"
hostmakedepends="fping openssh postfix procps-ng smbclient net-snmp" hostmakedepends="fping openssh postfix procps-ng smbclient net-snmp bind-utils sudo"
makedepends="libldap-devel libmariadbclient-devel postgresql-libs-devel makedepends="libldap-devel libmariadbclient-devel postgresql-libs-devel
zlib-devel" zlib-devel libcurl-devel uriparser-devel"
depends="iputils procps-ng" depends="iputils procps-ng"
#checkdepends="perl" #checkdepends="perl"
short_desc="Monitoring plugins for Nagios and compatible monitoring solutions" short_desc="Monitoring plugins for Nagios and compatible monitoring solutions"
maintainer="Corné Oppelaar <hello@eaterofco.de>" maintainer="Corné Oppelaar <hello@eaterofco.de>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://www.monitoring-plugins.org/" homepage="https://www.monitoring-plugins.org/"
changelog="https://www.monitoring-plugins.org/news/index.html"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz" distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665 checksum=f56eb84871983fd719247249e3532228b37e2efaae657a3979bd14ac1f84a35b
do_configure() { 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' ./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'