Changes of Revision 15
[-] | Changed | cacti.spec |
x 1
2 # 3 -# spec file for package cacti (Version 0.8.7d) 4 +# spec file for package cacti (Version 0.8.7e) 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.7d 13 +Version: 0.8.7e 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 +* Sun Sep 27 2009 Carsten Schoene <cs@linux-administrator.com> - 0.8.7e-1 22 +- updated to 0.8.7e 23 + * Creating a DS, Output field can't be selected for DT with a DIM when "Use Per-Data Source Value" is on 24 + * SNMP query: add oid_suffix for weird SNMP queries 25 + * Overwriting $snmp_index in query_snmp_host() breaks SNMP Data query if using get method 26 + * Strip out noisy "No Such Instance currently exists at this OID" 27 + * timeout in "function ping_icmp" (lib/ping.php) 28 + * Spaces in DS when .rrd file is created, so it fails 29 + * Place graph thumbnail into div to lower page length changes on load graphs 30 + * Thumbnail Columns is not honored for host display with snmp index group style 31 + * Graph searching issue 32 + * strip_quotes fails 33 + * multiple form opening due to bug in draw_edit_form() 34 + * CSV Export Start Date and End Date are always 1970-01-01 01:00:00 35 + * format_snmp_string can return a number with a leading space 36 + * Wrong dates override in CSV export 37 + * oid_uptime is not parsed correctly 38 + * Skiping input parameters in data_query_field_list() may lead to SQL errors 39 + * Typo in install/index.php 40 + * Customisable oid index parse regexp for weird MIBs 41 + * Tree is not expanded correctly 42 + * Tree is not being expanded if user followed link outside of cacti 43 + * Mark stacked columns in rrdtool_function_xport() output 44 + * Spelling error in a variable in html_tree.php 45 + * Combo boxes on Graph Management page produce URLs with leading spaces 46 + * Top Graph Header Breaks When Plugins Used 47 + * SNMP v3 Password issue caused by Firefox's Password AutoFill 48 + * Strip Quotes does not properly handle the value "U" 49 + * Changes to the graph tree would not show up immediately for current user 50 + 51 * Sat Feb 21 2009 Carsten Schoene <cs@linux-administrator.com> 52 - updated to 0.8.7d 53 * Allow to specify on_change handler for checkbox_group 54 |
||
[+] | Added | cacti-0.8.7e-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.7e.tar.bz2 ^ |