Changes of Revision 18
[-] | Changed | cacti.spec |
x 1
2 # 3 -# spec file for package cacti (Version 0.8.7g) 4 +# spec file for package cacti (Version 0.8.7h) 5 # 6 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. 7 # This file and all modifications and additions to the pristine 8
9 10 Name: cacti 11 BuildRequires: apache2-devel libapr-util1-devel pcre-devel 12 -Version: 0.8.7g 13 +Version: 0.8.7h 14 Release: 1 15 Summary: Web Front-End to Monitor System Data via RRDtool 16 License: GPL v2 or later 17
18 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} 19 20 %changelog 21 +* Tue Sep 27 2011 Carsten Schoene <cs@linux-administrator.com> - 0.8.7h-1 22 +- updated to 0.8.7h 23 + * Reapply Suggested Names does not work correctly for graphs and data sources not associated with Data Queries 24 + * Remove PHP 5.3 deprecated functions 25 + * Concurrent changes to graph tree ordering can corrupt sort values 26 + * Symbol ($) does not appear in labels/gprint strings to rrdtool during graph generation 27 + * Script server treats quoted arguments with spaces incorrectly as multiple separate arguments 28 + * MySQL SSL connection support 29 + * Modifying data template values does not propagate as expected 30 + * Adding graphs to a device fails to add entries to poller_item if using the script server 31 + * Perform consistency check on ds maximum vs. ds minimum 32 + * Graph Export export date is incorrect 33 + * Data template copying ignores some item templating 34 + * Command line device add script fails when SNMP default is disabled 35 + * One minute polling not working correctly 36 + * Cannot export graph data to CSV with IE 8 37 + * MySQL "TYPE=" command deprecated since MySQL 4.1 removed in MySQL 5.4.4 38 + * Zoomed graph views should auto refresh 39 + * Reapply Suggested Name prompt as spelling problems 40 + * Graph edit page has more than one html form tag 41 + * Graph export API function has required argument not defined 42 + * Graph creation selector does not work with data query that has no associated graph templates 43 + * Improper formatting of data queries can result in SQL errors 44 + * Ping script does not process output of update ping utility 45 + * RRDtool Cacti fetch function does not work for some locales 46 + * PHP function strip_quotes causes HEX values to be truncated 47 + * Form validation error message does not highlight text area control 48 + * Cacti snmp_walk function fails if max_oids is an empty value 49 + * Default tree view mode set to single pane mode not working 50 + * Data input method description text does not make sense 51 + * Equal sign not correctly parsed in snmp data results 52 + * mode in lib/ldap.php on line 375 53 + * Script server does not accept more than one blank space before the function name 54 + * Importing templates "using defaults for this installation" associates all rra's defined 55 + * graph_image.php does not check local_graph_id 56 + * Error when exporting templates are not properly reported 57 + * No error reporting for wrong RRA 58 + * Poller does not process SIGTERM signal correctly 59 + * Removing multiple data sources is inefficient 60 + * Technical support page uses check table which waits for table lock 61 + * Do not query for number or items per host if concurrent polling processes is set to one 62 + * Usage of PHP_SELF without basename in html.php (at least partly fixed) 63 + * Attempts to update existing tree item fail 64 + * Reflected XSS on Cacti 0.8.7g 65 + * IE9 breaks Cacti when objects are hidden using 'display:none;' style tag 66 + * Undefined index in lib/html.php 67 + * REQUEST_URI not properly escaped in graph_view.php for preview mode 68 + * Saving Script Server or Script Data Input Method Results in SQL Error 69 + * NAN values in hdd utilization graphs (Poller Output Table not Empty) 70 + * Fix SQL injection issues in login page 71 + * RRDtool fetch in Cacti fails to function properly on rrdtool files with NaN values in the output 72 + * Accept "Connection refused" on TCP ping tests 73 + * Add missing row selection javascript to graph preview 74 + * Script server throws "undefined variable" error when in debug mode 75 + * Removing graphs does not take advantage of bulk deletes 76 + * Fixed issue with multiple "U" results for a data input method with multiple output parameters 77 + * SNMP v3 use AuthNoPriv when privacy passphrase is empty 78 + * Fixed sql errors when using template and search filter on graph management 79 + * Delete Data Source multi fails to perform bulk deletes on Data Source items 80 + * Allow Timespan Selector to work with $_REQUEST as well as $_POST 81 + * While in the mrtg view of Cacti Graphs, or in viewing graph properties zoom fails 82 + * The filepath api call should trim the filename before checking for the files existence 83 + * Fix issues with IE9 while editing templates 84 + * Form action in graph_items.php incorrect 85 + * Initial drawing of tree causing Next/Previous with malformed URI 86 + * Spine enhancement for parallel collection of data at device level 87 + * Get values of |host_*| variables in graph elements from data source 88 + * Reindex method "Index Count Changed" requires that OID_NUM_INDEXES is given for SNMP Data Queries 89 + * Implement counting for script (server) data queries just like OID_NUM_INDEXES 90 + * Allow for reindex method "Index Count Changed" to apply to script (server) queries as well 91 + * Ability to use input field of a script in graph title 92 + * Make reindexing and repopulating the poller cache a lossless process 93 + * Change default font sizes 94 + * Add analyze database and push out host cli scripts 95 + 96 * Sat Jul 10 2010 Carsten Schoene <cs@linux-administrator.com> - 0.8.7g-1 97 - updated to 0.8.7g 98 * RRDTool 1.4.x not recognized during installation 99 |
||
[+] | Deleted | cacti-0.8.7b-cacti-log-path.patch ^ |
@@ -1,64 +0,0 @@ ---- include/global_settings.php -+++ include/global_settings.php -@@ -94,9 +94,9 @@ - ), - "path_cactilog" => array( - "friendly_name" => "Cacti Log File Path", -- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", -+ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", - "method" => "filepath", -- "default" => $config["base_path"] . "/log/cacti.log", -+ "default" => "/var/log/cacti.log", - "max_length" => "255" - ), - "pollerpaths_header" => array( ---- install/index.php -+++ install/index.php -@@ -244,7 +244,7 @@ - if (config_value_exists("path_cactilog")) { - $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); - } else { -- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; -+ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; - } - - /* SNMP Version */ ---- lib/functions.php -+++ lib/functions.php -@@ -365,7 +365,7 @@ - /* Log to Logfile */ - if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { - if ($logfile == "") { -- $logfile = $config["base_path"] . "/log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - /* echo the data to the log (append) */ ---- script_server.pl -+++ script_server.pl -@@ -1,4 +1,4 @@ --chdir("./scripts"); -+chdir("/usr/share/cacti/scripts"); - $loaded = 0; - while ($file = <*.pl>) { - next if $file eq $0; ---- utilities.php -+++ utilities.php -@@ -681,7 +681,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/rrd.log"; -+ $logfile = "/var/log/rrd.log"; - } - - /* helps determine output color */ -@@ -919,7 +919,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
[+] | Deleted | cacti-0.8.7c-cacti-log-path.patch ^ |
@@ -1,64 +0,0 @@ ---- include/global_settings.php -+++ include/global_settings.php -@@ -94,9 +94,9 @@ - ), - "path_cactilog" => array( - "friendly_name" => "Cacti Log File Path", -- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", -+ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", - "method" => "filepath", -- "default" => $config["base_path"] . "/log/cacti.log", -+ "default" => "/var/log/cacti.log", - "max_length" => "255" - ), - "pollerpaths_header" => array( ---- install/index.php -+++ install/index.php -@@ -244,7 +244,7 @@ - if (config_value_exists("path_cactilog")) { - $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); - } else { -- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; -+ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; - } - - /* SNMP Version */ ---- lib/functions.php -+++ lib/functions.php -@@ -365,7 +365,7 @@ - /* Log to Logfile */ - if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { - if ($logfile == "") { -- $logfile = $config["base_path"] . "/log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - /* echo the data to the log (append) */ ---- script_server.pl -+++ script_server.pl -@@ -1,4 +1,4 @@ --chdir("./scripts"); -+chdir("/usr/share/cacti/scripts"); - $loaded = 0; - while ($file = <*.pl>) { - next if $file eq $0; ---- utilities.php -+++ utilities.php -@@ -681,7 +681,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/rrd.log"; -+ $logfile = "/var/log/rrd.log"; - } - - /* helps determine output color */ -@@ -919,7 +919,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
[+] | Deleted | cacti-0.8.7d-cacti-log-path.patch ^ |
@@ -1,64 +0,0 @@ ---- include/global_settings.php -+++ include/global_settings.php -@@ -94,9 +94,9 @@ - ), - "path_cactilog" => array( - "friendly_name" => "Cacti Log File Path", -- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", -+ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", - "method" => "filepath", -- "default" => $config["base_path"] . "/log/cacti.log", -+ "default" => "/var/log/cacti.log", - "max_length" => "255" - ), - "pollerpaths_header" => array( ---- install/index.php -+++ install/index.php -@@ -244,7 +244,7 @@ - if (config_value_exists("path_cactilog")) { - $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); - } else { -- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; -+ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; - } - - /* SNMP Version */ ---- lib/functions.php -+++ lib/functions.php -@@ -365,7 +365,7 @@ - /* Log to Logfile */ - if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { - if ($logfile == "") { -- $logfile = $config["base_path"] . "/log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - /* echo the data to the log (append) */ ---- script_server.pl -+++ script_server.pl -@@ -1,4 +1,4 @@ --chdir("./scripts"); -+chdir("/usr/share/cacti/scripts"); - $loaded = 0; - while ($file = <*.pl>) { - next if $file eq $0; ---- utilities.php -+++ utilities.php -@@ -681,7 +681,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/rrd.log"; -+ $logfile = "/var/log/rrd.log"; - } - - /* helps determine output color */ -@@ -919,7 +919,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
[+] | Deleted | cacti-0.8.7e-cacti-log-path.patch ^ |
@@ -1,64 +0,0 @@ ---- include/global_settings.php -+++ include/global_settings.php -@@ -94,9 +94,9 @@ - ), - "path_cactilog" => array( - "friendly_name" => "Cacti Log File Path", -- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", -+ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", - "method" => "filepath", -- "default" => $config["base_path"] . "/log/cacti.log", -+ "default" => "/var/log/cacti.log", - "max_length" => "255" - ), - "pollerpaths_header" => array( ---- install/index.php -+++ install/index.php -@@ -244,7 +244,7 @@ - if (config_value_exists("path_cactilog")) { - $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); - } else { -- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; -+ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; - } - - /* SNMP Version */ ---- lib/functions.php -+++ lib/functions.php -@@ -365,7 +365,7 @@ - /* Log to Logfile */ - if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { - if ($logfile == "") { -- $logfile = $config["base_path"] . "/log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - /* echo the data to the log (append) */ ---- script_server.pl -+++ script_server.pl -@@ -1,4 +1,4 @@ --chdir("./scripts"); -+chdir("/usr/share/cacti/scripts"); - $loaded = 0; - while ($file = <*.pl>) { - next if $file eq $0; ---- utilities.php -+++ utilities.php -@@ -681,7 +681,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/rrd.log"; -+ $logfile = "/var/log/rrd.log"; - } - - /* helps determine output color */ -@@ -919,7 +919,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
[+] | Deleted | cacti-0.8.7g-cacti-log-path.patch ^ |
@@ -1,64 +0,0 @@ ---- include/global_settings.php -+++ include/global_settings.php -@@ -94,9 +94,9 @@ - ), - "path_cactilog" => array( - "friendly_name" => "Cacti Log File Path", -- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", -+ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", - "method" => "filepath", -- "default" => $config["base_path"] . "/log/cacti.log", -+ "default" => "/var/log/cacti.log", - "max_length" => "255" - ), - "pollerpaths_header" => array( ---- install/index.php -+++ install/index.php -@@ -244,7 +244,7 @@ - if (config_value_exists("path_cactilog")) { - $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); - } else { -- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; -+ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; - } - - /* SNMP Version */ ---- lib/functions.php -+++ lib/functions.php -@@ -365,7 +365,7 @@ - /* Log to Logfile */ - if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { - if ($logfile == "") { -- $logfile = $config["base_path"] . "/log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - /* echo the data to the log (append) */ ---- script_server.pl -+++ script_server.pl -@@ -1,4 +1,4 @@ --chdir("./scripts"); -+chdir("/usr/share/cacti/scripts"); - $loaded = 0; - while ($file = <*.pl>) { - next if $file eq $0; ---- utilities.php -+++ utilities.php -@@ -681,7 +681,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/rrd.log"; -+ $logfile = "/var/log/rrd.log"; - } - - /* helps determine output color */ -@@ -919,7 +919,7 @@ - $logfile = read_config_option("path_cactilog"); - - if ($logfile == "") { -- $logfile = "./log/cacti.log"; -+ $logfile = "/var/log/cacti.log"; - } - - html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
[+] | Added | cacti-0.8.7h-cacti-log-path.patch ^ |
@@ -0,0 +1,64 @@ +--- include/global_settings.php ++++ include/global_settings.php +@@ -94,9 +94,9 @@ + ), + "path_cactilog" => array( + "friendly_name" => "Cacti Log File Path", +- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", ++ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", + "method" => "filepath", +- "default" => $config["base_path"] . "/log/cacti.log", ++ "default" => "/var/log/cacti.log", + "max_length" => "255" + ), + "pollerpaths_header" => array( +--- install/index.php ++++ install/index.php +@@ -244,7 +244,7 @@ + if (config_value_exists("path_cactilog")) { + $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); + } else { +- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; ++ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; + } + + /* SNMP Version */ +--- lib/functions.php ++++ lib/functions.php +@@ -365,7 +365,7 @@ + /* Log to Logfile */ + if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { + if ($logfile == "") { +- $logfile = $config["base_path"] . "/log/cacti.log"; ++ $logfile = "/var/log/cacti.log"; + } + + /* echo the data to the log (append) */ +--- script_server.pl ++++ script_server.pl +@@ -1,4 +1,4 @@ +-chdir("./scripts"); ++chdir("/usr/share/cacti/scripts"); + $loaded = 0; + while ($file = <*.pl>) { + next if $file eq $0; +--- utilities.php ++++ utilities.php +@@ -681,7 +681,7 @@ + $logfile = read_config_option("path_cactilog"); + + if ($logfile == "") { +- $logfile = "./log/rrd.log"; ++ $logfile = "/var/log/rrd.log"; + } + + /* helps determine output color */ +@@ -919,7 +919,7 @@ + $logfile = read_config_option("path_cactilog"); + + if ($logfile == "") { +- $logfile = "./log/cacti.log"; ++ $logfile = "/var/log/cacti.log"; + } + + html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
Deleted | cacti-0.8.7a.tar.bz2 ^ | |
Deleted | cacti-0.8.7b.tar.gz ^ | |
Deleted | cacti-0.8.7c.tar.bz2 ^ | |
Deleted | cacti-0.8.7d.tar.bz2 ^ | |
Deleted | cacti-0.8.7e.tar.bz2 ^ | |
Deleted | cacti-0.8.7g.tar.bz2 ^ | |
Added | cacti-0.8.7h.tar.bz2 ^ |