pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ganglia-webfrontend



Module Name:    pkgsrc
Committed By:   bacon
Date:           Fri Sep 21 14:48:08 UTC 2018

Modified Files:
        pkgsrc/www/ganglia-webfrontend: Makefile distinfo
Added Files:
        pkgsrc/www/ganglia-webfrontend/patches: patch-cluster__view.php

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/ganglia-webfrontend/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/ganglia-webfrontend/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ganglia-webfrontend/patches/patch-cluster__view.php

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ganglia-webfrontend/Makefile
diff -u pkgsrc/www/ganglia-webfrontend/Makefile:1.19 pkgsrc/www/ganglia-webfrontend/Makefile:1.20
--- pkgsrc/www/ganglia-webfrontend/Makefile:1.19        Sun Mar 12 07:20:52 2017
+++ pkgsrc/www/ganglia-webfrontend/Makefile     Fri Sep 21 14:48:08 2018
@@ -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/}

Index: pkgsrc/www/ganglia-webfrontend/distinfo
diff -u pkgsrc/www/ganglia-webfrontend/distinfo:1.8 pkgsrc/www/ganglia-webfrontend/distinfo:1.9
--- pkgsrc/www/ganglia-webfrontend/distinfo:1.8 Fri Jun 17 12:09:08 2016
+++ pkgsrc/www/ganglia-webfrontend/distinfo     Fri Sep 21 14:48:08 2018
@@ -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

Added files:

Index: pkgsrc/www/ganglia-webfrontend/patches/patch-cluster__view.php
diff -u /dev/null pkgsrc/www/ganglia-webfrontend/patches/patch-cluster__view.php:1.1
--- /dev/null   Fri Sep 21 14:48:08 2018
+++ pkgsrc/www/ganglia-webfrontend/patches/patch-cluster__view.php      Fri Sep 21 14:48:08 2018
@@ -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