ports/sysutils/ganglia-webfrontend/files/patch-ganglia.php
Brooks Davis ab348058e8 Populate the node list dropdown on the cluster view page when the user
has turned off show hosts.  It's nice not to have to load 190+ images
just so I can select a host from the dropdown.

Do some general cleanup of the port infrastructure.
 - Install into a staging directory in the build target and install
   that.
 - Add a target to generate the plist from the staging directory
   rather than doing it by hand.
 - Use a pkg-install script to copy conf.php.sample to conf.php as
   needed instead of some bits in the make file and different ones
   in the plist.
 - Use SUB_FILES to handle pkg-message rather than hand-rolled sed.
2005-04-27 20:36:33 +00:00

16 lines
486 B
PHP

$FreeBSD$
--- ganglia.php.orig
+++ ganglia.php
@@ -260,8 +260,8 @@
$request = "/$clustername";
break;
case "cluster-summary":
- xml_set_element_handler($parser, "start_cluster_summary", "end_all");
- $request = "/$clustername?filter=summary";
+ xml_set_element_handler($parser, "start_cluster", "end_all");
+ $request = "/$clustername";
break;
case "node":
case "host":