diff options
author | jwb <jwb@FreeBSD.org> | 2018-09-21 22:57:26 +0800 |
---|---|---|
committer | jwb <jwb@FreeBSD.org> | 2018-09-21 22:57:26 +0800 |
commit | 10251d670af4a945a863e7c48bf893779d7e8252 (patch) | |
tree | 01e8d880d7fa9c97eb4d4d2cb8632d03bab9dc6b /sysutils | |
parent | 547c541157160e51cb56db8cbcceccb7a45120d8 (diff) | |
download | freebsd-ports-gnome-10251d670af4a945a863e7c48bf893779d7e8252.tar.gz freebsd-ports-gnome-10251d670af4a945a863e7c48bf893779d7e8252.tar.zst freebsd-ports-gnome-10251d670af4a945a863e7c48bf893779d7e8252.zip |
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
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ganglia-webfrontend/Makefile | 4 | ||||
-rw-r--r-- | sysutils/ganglia-webfrontend/files/patch-cluster__view.php | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sysutils/ganglia-webfrontend/Makefile b/sysutils/ganglia-webfrontend/Makefile index 11c076ff6820..e1ed935f866c 100644 --- a/sysutils/ganglia-webfrontend/Makefile +++ b/sysutils/ganglia-webfrontend/Makefile @@ -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 diff --git a/sysutils/ganglia-webfrontend/files/patch-cluster__view.php b/sysutils/ganglia-webfrontend/files/patch-cluster__view.php new file mode 100644 index 000000000000..9844d96825b4 --- /dev/null +++ b/sysutils/ganglia-webfrontend/files/patch-cluster__view.php @@ -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) { |