aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/check_mysql_health/Makefile7
-rw-r--r--net-mgmt/check_mysql_health/distinfo6
-rw-r--r--net-mgmt/check_mysql_health/files/patch-plugins-scripts_Makefile.am11
3 files changed, 18 insertions, 6 deletions
diff --git a/net-mgmt/check_mysql_health/Makefile b/net-mgmt/check_mysql_health/Makefile
index 5f740266f0ba..c0738f341a1e 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 36bc78caea27..45aee4e65c4d 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 000000000000..60ea5c9c0da3
--- /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