Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 14:57:26 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480273 - in head/sysutils/ganglia-webfrontend: . files
Message-ID:  <201809211457.w8LEvQXo002277@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
+MAINTAINER=	jwb@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809211457.w8LEvQXo002277>