Changes of Revision 12
[-] | Changed | cacti.spec |
x 1
2 # 3 -# spec file for package cacti (Version 0.8.7c) 4 +# spec file for package cacti (Version 0.8.7d) 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.7c 13 +Version: 0.8.7d 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}/cron.d/%{name} 19 %config(noreplace) %{apache2_sysconfdir}/conf.d/cacti.conf 20 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} 21 + 22 %changelog 23 +* Sat Feb 21 2009 Carsten Schoene <cs@linux-administrator.com> 24 +- updated to 0.8.7d 25 + * Allow to specify on_change handler for checkbox_group 26 + * When Using Web Basic Authentication HTML Bookmarks Do Not Work 27 + * Spine uses illegal flag for ping on Mac OS X 28 + * Deleting 1000 graphs along with their Data Sources crashes the Server 29 + * "No more variables left in this MIB View" instead of value of input field 30 + * ss_host_disk.php etc. error corrected when using SNMP V3 (index off by 1) 31 + * graph_items.php variable $id defined in wrong place 32 + * Several bugs in new cli script "structured_rra_paths" 33 + * ping.pl script fails when using tcp:hostname 34 + * cdef.php error due to wrong function name 35 + * syntax error in lib/rrd.php with PHP 4.4.4 36 + * utilities.php does not handle view_snmp_cache when host_id = -1 (Any) 37 + * Group DN could not be found 38 + * Result from SNMP not valid 39 + * Problem on CDEF function ALL|SIMILAR_DATA_SOURCES_(NO)?DUPS 40 + * Error of variable in lib/html_tree.php 41 + * Cross site scripting checking is overly protective on search filters 42 + * LDAP authentication results in PHP warning message 43 + * Resolved issue with reapply suggested names not working for data sources under certain conditions 44 + * Correct missing db_conn argument issue 45 + * Deleting large number of hosts results in SQL errors due to MySQL buffer overrun 46 + * SNMP cli version information added to tech support page 47 + 48 * Tue Jan 27 2009 Carsten Schoene <cs@linux-administrator.com> 49 - updated to 0.8.7c 50 * Dual pane tree does not have the option of not rendering all trees in one page 51 |
||
[+] | Added | cacti-0.8.7d-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", ""); |