pkgsrc/www/ganglia-webfrontend/patches/patch-eval__conf.php

18 lines
521 B
PHP
Raw Normal View History

Update www/ganglia-webfrontend to 3.7.1. Move config files to standard location. Make Apache/Nginx compatible (based on mail/rouncube). Upstream changes follow. 3.7.1 * Fix for auth bypass when using the authentication module * Fix for a XSS in the view adding interface * Update JQuery Mobile library to 1.4.5 3.7.0 * Cubism integration * Ganglia Reporting * Couple reported XSS issues have been corrected 3.6.2 * Performance improvements * New clearer heatmaps * Other minor improvements and fixes 3.5.7 * Required Jquery files were missing from 3.5.6 release. 3.5.6 * Number of fixes to address XSS (Cross Site Scripting) issues * Enhancement to the host view if use option "metric_groups_initially_collapsed". Clicking on metric groups dynamically loads images instead of reloading the page * Fixed mobile view * Incorporate legend in the selection when doing Inspect graph * Stacked graph fixes * Numerous other fixes and enhancements 3.5.2 * Fix for stacked graphs not showing after upgrading to 3.5.1 * Inspect graph now uses AJAX calls to retrieve data which should help in situations where users use Basic authentication 3.5.1 * Security advisory * Support for same hostname being in multiple clusters 3.5.0 * Enable zoom to a selection in Inspect Graph * Add Jump to Metric group drop down * Add Timeshift functionality to graphs * Other misc fixes and improvements 3.4.2 * Improvements to the live dashboard * Fixed the aggregate graphs metric auto complete which broke in 3.4.1 * Add ability to specify critical and warning thresholds. Use in Live Dashboard and Views. * Minor bug fixes 3.4.1 * Major improvements to Inspect Graph thanks to Peter Piela - deselect all data sources, select individual sources, change graph type from stack to line and vice versa * Live Dashboard - integration of Tasseo * Metrics drop down now includes ability to select optional reports No changelog could be found for 3.1.3-3.4.0.
2016-02-16 14:05:23 +01:00
$NetBSD: patch-eval__conf.php,v 1.1 2016/02/16 13:05:23 fhajny Exp $
Assert proper paths.
--- eval_conf.php.orig 2015-04-12 00:04:33.000000000 +0000
+++ eval_conf.php
@@ -13,8 +13,8 @@ require_once 'lib/GangliaAcl.php';
require_once 'lib/GangliaAuth.php';
# Include user-defined overrides if they exist.
-if( file_exists( $base_dir . "/conf.php" ) ) {
- include_once $base_dir . "/conf.php";
+if( file_exists( "@PKG_SYSCONFDIR@/conf.php" ) ) {
+ include_once "@PKG_SYSCONFDIR@/conf.php";
}
$errors = array();