Changes of Revision 21
[-] | Changed | cacti.changes |
x 1
2 ------------------------------------------------------------------- 3 +Wed Aug 7 19:46:08 UTC 2013 - cs@linux-administrator.com 4 + 5 +- udpate to release 0.8.8b 6 + bug: Fixed issue with custom data source information being lost when saved from edit 7 + bug: Repopulate the poller cache on new installations 8 + bug: Fix issue with poller not escaping the script query path correctly 9 + bug: Allow snmpv3 priv proto none 10 + bug: Fix issue where host activate may flush the entire poller item cache 11 + security: SQL injection and shell escaping issues 12 + 13 +------------------------------------------------------------------- 14 Thu May 3 18:35:21 UTC 2012 - cs@linux-administrator.com 15 16 - update to release 0.8.8a 17 |
||
[-] | Changed | cacti.spec ^ |
17 1
2 # 3 -# spec file for package cacti (Version 0.8.7h) 4 +# spec file for package cacti 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.8a 13 +Version: 0.8.8b 14 Release: 1 15 Summary: Web Front-End to Monitor System Data via RRDtool 16 License: GPL v2 or later 17 |
||
[+] | Deleted | cacti-0.8.8a-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.8b-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", ""); | ||
Added | cacti-0.8.8b.tar.bz2 ^ |