svn commit: r491598 - in head/sysutils: munin-common/files munin-node
Mathieu Arnold
mat at FreeBSD.org
Tue Jan 29 20:45:24 UTC 2019
Author: mat
Date: Tue Jan 29 20:45:23 2019
New Revision: 491598
URL: https://svnweb.freebsd.org/changeset/ports/491598
Log:
Fix munin-node when the hostname is mixed case.
PR: 235197
Submitted by: John W. O'Brien
Added:
head/sysutils/munin-common/files/patch-node_lib_Munin_Node_Server.pm (contents, props changed)
Modified:
head/sysutils/munin-node/Makefile (contents, props changed)
Added: head/sysutils/munin-common/files/patch-node_lib_Munin_Node_Server.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/munin-common/files/patch-node_lib_Munin_Node_Server.pm Tue Jan 29 20:45:23 2019 (r491598)
@@ -0,0 +1,14 @@
+Backporting: https://github.com/munin-monitoring/munin/commit/8ff5d5a9ec8b7ffd99dce61fee42defe7bda3b29
+See also: http://munin-monitoring.org/ticket/1451
+
+--- node/lib/Munin/Node/Server.pm.orig 2018-12-19 20:56:49 UTC
++++ node/lib/Munin/Node/Server.pm
+@@ -340,7 +340,7 @@ sub _print_service {
+ sub _list_services {
+ my ($session, $node) = @_;
+
+- $node ||= $config->{fqdn};
++ $node ||= lc($config->{fqdn});
+
+ if (exists $nodes{$node}) {
+ my @services = @{$nodes{$node}};
Modified: head/sysutils/munin-node/Makefile
==============================================================================
--- head/sysutils/munin-node/Makefile Tue Jan 29 20:16:20 2019 (r491597)
+++ head/sysutils/munin-node/Makefile Tue Jan 29 20:45:23 2019 (r491598)
@@ -3,7 +3,7 @@
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils perl5
MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -node
More information about the svn-ports-head
mailing list