pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ganglia-webfrontend www/ganglia-webfrontend: Fix b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e1e68e6a53b
branches:  trunk
changeset: 313000:5e1e68e6a53b
user:      bacon <bacon%pkgsrc.org@localhost>
date:      Fri Sep 21 14:48:08 2018 +0000

description:
www/ganglia-webfrontend: Fix bug in cluster view

Emergency fix for a major bug that messes up the cluster view page.
Fixed upstream in the next release, but there is another regression
in the latest release that still needs to be identified before upgrading.

diffstat:

 www/ganglia-webfrontend/Makefile                        |   4 ++--
 www/ganglia-webfrontend/distinfo                        |   3 ++-
 www/ganglia-webfrontend/patches/patch-cluster__view.php |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 85c0a6e1b3f7 -r 5e1e68e6a53b www/ganglia-webfrontend/Makefile
--- a/www/ganglia-webfrontend/Makefile  Fri Sep 21 14:27:47 2018 +0000
+++ b/www/ganglia-webfrontend/Makefile  Fri Sep 21 14:48:08 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2017/03/12 07:20:52 maya Exp $
+# $NetBSD: Makefile,v 1.20 2018/09/21 14:48:08 bacon Exp $
 #
 
 DISTNAME=      ganglia-web-3.7.2
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${DISTNAME:S/web/webfrontend/}
 CATEGORIES=    www parallel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ganglia/}
diff -r 85c0a6e1b3f7 -r 5e1e68e6a53b www/ganglia-webfrontend/distinfo
--- a/www/ganglia-webfrontend/distinfo  Fri Sep 21 14:27:47 2018 +0000
+++ b/www/ganglia-webfrontend/distinfo  Fri Sep 21 14:48:08 2018 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.8 2016/06/17 12:09:08 fhajny Exp $
+$NetBSD: distinfo,v 1.9 2018/09/21 14:48:08 bacon Exp $
 
 SHA1 (ganglia-web-3.7.2.tar.gz) = c19f0446f1bfea71a8482d640ea0bfd5bdda788d
 RMD160 (ganglia-web-3.7.2.tar.gz) = 2abd57780260ea795a702a877dac63de4dfa669c
 SHA512 (ganglia-web-3.7.2.tar.gz) = 033b00923a4cf7f342a44de9e37da67411992054e7f103fa09d91bbd125fb9066cc4e77ae5011810d7d926e2997b48d30e3d505d83239cd4c0a6b996a7679f8d
 Size (ganglia-web-3.7.2.tar.gz) = 704632 bytes
 SHA1 (patch-Makefile) = c246326e81b3df16b3289891e0b6ad37fb8fca55
+SHA1 (patch-cluster__view.php) = 6a869c46fbbad7d75a3bbfbb7b7a69347653e35a
 SHA1 (patch-conf__default.php.in) = 0d5d9417d20f74bd1b1e3ab4e83738779a19fda1
 SHA1 (patch-eval__conf.php) = ce40cbee4c9867f86a67009074d0d46308dcb561
diff -r 85c0a6e1b3f7 -r 5e1e68e6a53b www/ganglia-webfrontend/patches/patch-cluster__view.php
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ganglia-webfrontend/patches/patch-cluster__view.php   Fri Sep 21 14:48:08 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-cluster__view.php,v 1.1 2018/09/21 14:48:08 bacon Exp $
+
+# Fix cluster_view display issue
+--- cluster_view.php.orig      2018-09-20 15:05:53.000000000 +0000
++++ 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) {



Home | Main Index | Thread Index | Old Index