From 689cb3acb1c2719f2af1e3ab88eb80668d1ff9c2 Mon Sep 17 00:00:00 2001 From: Klara Modin Date: Sat, 25 Dec 2021 02:16:21 +0100 Subject: [PATCH] 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 $ ./xbps-src clean monitoring-plugins \\ && ./xbps-src configure monitoring-plugins | grep WARNING configure: WARNING: Skipping dbi plugin configure: WARNING: install DBI libs to compile this plugin (see REQUIREMENTS). configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see REQUIREMENTS). configure: WARNING: Get lmstat from Globetrotter Software to monitor flexlm licenses configure: WARNING: Tried - install Net::SNMP perl module if you want to use the perl snmp plugins configure: WARNING: Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin configure: WARNING: Could not find qmail-qstat or eqivalent --- srcpkgs/monitoring-plugins/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/monitoring-plugins/template b/srcpkgs/monitoring-plugins/template index e6117e8fe6f0..1000998c221f 100644 --- a/srcpkgs/monitoring-plugins/template +++ b/srcpkgs/monitoring-plugins/template @@ -1,20 +1,21 @@ # Template file for 'monitoring-plugins' pkgname=monitoring-plugins -version=2.2 -revision=9 +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" +hostmakedepends="fping openssh postfix procps-ng smbclient net-snmp bind-utils sudo" makedepends="libldap-devel libmariadbclient-devel postgresql-libs-devel - zlib-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 " 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=296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665 +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'