svn commit: r480273 - in head/sysutils/ganglia-webfrontend: . files

Jason W. Bacon jwb at FreeBSD.org
Fri Sep 21 14:57:27 UTC 2018


Author: jwb
Date: Fri Sep 21 14:57:26 2018
New Revision: 480273
URL: https://svnweb.freebsd.org/changeset/ports/480273

Log:
  sysutils/ganglia-webfrontend: Fix known display bug in cluster view
  
  This is an emergency fix for a serious bug that wrecks the main page.
  I will upgrade to 3.7.4 after working out different issues with that release.
  
  Approved by:    jrm (mentor)
  Differential Revision:  https://reviews.freebsd.org/D17264

Added:
  head/sysutils/ganglia-webfrontend/files/patch-cluster__view.php   (contents, props changed)
Modified:
  head/sysutils/ganglia-webfrontend/Makefile

Modified: head/sysutils/ganglia-webfrontend/Makefile
==============================================================================
--- head/sysutils/ganglia-webfrontend/Makefile	Fri Sep 21 14:08:36 2018	(r480272)
+++ head/sysutils/ganglia-webfrontend/Makefile	Fri Sep 21 14:57:26 2018	(r480273)
@@ -2,11 +2,11 @@
 
 PORTNAME=	ganglia
 PORTVERSION=	3.7.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils net parallel www
 PKGNAMESUFFIX=	-webfrontend
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	jwb at FreeBSD.org
 COMMENT=	Ganglia cluster monitor, web frontend
 
 LICENSE=	BSD3CLAUSE

Added: head/sysutils/ganglia-webfrontend/files/patch-cluster__view.php
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ganglia-webfrontend/files/patch-cluster__view.php	Fri Sep 21 14:57:26 2018	(r480273)
@@ -0,0 +1,11 @@
+--- cluster_view.php.orig	2018-09-20 22:57:59 UTC
++++ cluster_view.php
+@@ -23,7 +23,7 @@ if ($refresh) {
+ }
+ 
+ function get_picker_metrics($metrics, $reports, $gweb_root, $graph_engine) {
+-  $context_metrics = "";
++  $context_metrics = array();
+   if (count($metrics)) {
+     foreach ($metrics as $host_metrics) {
+       foreach ($host_metrics as $metric_name => $metric_value) {


More information about the svn-ports-head mailing list