From 980be78e8501e633c7f6c7e9a3def58015b35b96 Mon Sep 17 00:00:00 2001 From: Kirill Date: Sat, 7 Oct 2023 05:30:49 +0200 Subject: [PATCH] net-mgmt/check_mysql_health: update to 3.0.0.5 Submitter becomes maintainer. Changelog: * 3.0.0.5 update GLPlugin, fix valdiff&lookback * 3.0.0.4 was a bad idea. now if there is no cache activity, there are no perfdata * 3.0.0.3 use the last good value for hitrates of there is absolutely no database activity * 3.0.0.2 default --lookback 3600 only if not given on the commandline fix version string * 3.0.0.1 default --lookback 3600 * 3.0 new structure, using Monitoring::GLPlugin PR: 274308 --- net-mgmt/check_mysql_health/Makefile | 7 ++++--- net-mgmt/check_mysql_health/distinfo | 6 +++--- .../files/patch-plugins-scripts_Makefile.am | 11 +++++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 net-mgmt/check_mysql_health/files/patch-plugins-scripts_Makefile.am diff --git a/net-mgmt/check_mysql_health/Makefile b/net-mgmt/check_mysql_health/Makefile index 5f740266f0bae..c0738f341a1e7 100644 --- a/net-mgmt/check_mysql_health/Makefile +++ b/net-mgmt/check_mysql_health/Makefile @@ -1,9 +1,9 @@ PORTNAME= check_mysql_health -PORTVERSION= 2.2.2 +DISTVERSION= 3.0.0.5 CATEGORIES= net-mgmt MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= kirill@varnakov.com COMMENT= Nagios plugin to check various parameters of a MySQL database WWW= https://labs.consol.de/de/nagios/check_mysql_health/ @@ -12,6 +12,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +USES= perl5 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \ --with-nagios-user=${NAGIOSUSER} \ @@ -21,7 +23,6 @@ CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \ --libexecdir=${PREFIX}/libexec/nagios \ --with-perl=${PERL} -USES= perl5 NO_ARCH= yes NAGIOSUSER?= nagios diff --git a/net-mgmt/check_mysql_health/distinfo b/net-mgmt/check_mysql_health/distinfo index 36bc78caea275..45aee4e65c4da 100644 --- a/net-mgmt/check_mysql_health/distinfo +++ b/net-mgmt/check_mysql_health/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1472021297 -SHA256 (check_mysql_health-2.2.2.tar.gz) = bae2a2b415a902a42287459acdc4dda5278decd43bd24b4ac7770ec2ad11559f -SIZE (check_mysql_health-2.2.2.tar.gz) = 140250 +TIMESTAMP = 1696574980 +SHA256 (check_mysql_health-3.0.0.5.tar.gz) = 7d13c4864d8ac7d1b447bfa1049250d7580985d2e90089886773bb80db213b8a +SIZE (check_mysql_health-3.0.0.5.tar.gz) = 155312 diff --git a/net-mgmt/check_mysql_health/files/patch-plugins-scripts_Makefile.am b/net-mgmt/check_mysql_health/files/patch-plugins-scripts_Makefile.am new file mode 100644 index 0000000000000..60ea5c9c0da30 --- /dev/null +++ b/net-mgmt/check_mysql_health/files/patch-plugins-scripts_Makefile.am @@ -0,0 +1,11 @@ +--- plugins-scripts/Makefile.am.orig 2017-12-16 17:32:11 UTC ++++ plugins-scripts/Makefile.am +@@ -20,7 +20,7 @@ WIN_MODULES=\ + Nagios/CheckLogfiles/Search/Wevtutil.pm + + +-SED=/bin/sed ++SED=/usr/bin/sed + GREP=/bin/grep + CAT=/bin/cat + ECHO=/bin/echo