Hello community, here is the log from the commit of package cacti for openSUSE:13.1 checked in at 2013-10-01 08:09:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/cacti (Old) and /work/SRC/openSUSE:13.1/.cacti.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cacti" Changes: -------- --- /work/SRC/openSUSE:13.1/cacti/cacti.changes 2013-09-23 10:48:11.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.cacti.new/cacti.changes 2013-10-01 08:09:07.000000000 +0200 @@ -1,0 +2,11 @@ +Thu Aug 8 06:57:12 UTC 2013 - [email protected] + +- Update to version 0.8.8b + - bug: Fixed issue with custom data source information being lost when saved from edit + - bug: Repopulate the poller cache on new installations + - bug: Fix issue with poller not escaping the script query path correctly + - bug: Allow snmpv3 priv proto none + - bug: Fix issue where host activate may flush the entire poller item cache + - security: SQL injection and shell escaping issues + +------------------------------------------------------------------- Old: ---- cacti-0.8.8a-cacti-log-path.patch cacti-0.8.8a-cacti-script.patch cacti-0.8.8a-snmpv3-priv-proto-none.patch cacti-0.8.8a.tar.bz2 New: ---- cacti-0.8.8b-cacti-log-path.patch cacti-0.8.8b-cacti-script.patch cacti-0.8.8b.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cacti.spec ++++++ --- /var/tmp/diff_new_pack.eenYTo/_old 2013-10-01 08:09:07.000000000 +0200 +++ /var/tmp/diff_new_pack.eenYTo/_new 2013-10-01 08:09:07.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package cacti # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,14 @@ # - Name: cacti -Version: 0.8.8a +Version: 0.8.8b Release: 0.0 Summary: Web Front-End to Monitor System Data via RRDtool License: GPL-2.0+ Group: System/Monitoring Url: http://www.cacti.net/ -Source0: %{name}-%{version}.tar.bz2 +Source0: http://www.cacti.net/downloads/%{name}-%{version}.tar.gz Source1: %{name}.cron Source2: %{name}-httpd.conf Source3: %{name}.logrotate @@ -36,17 +35,15 @@ Patch0: %{name}-%{version}-cacti-log-path.patch # PATCH-FIX-OPENSUSE cacti-0.8.8-cacti-script.patch Patch1: %{name}-%{version}-cacti-script.patch -# 0.8.8a specific patch remove after next release -Patch2: %{name}-%{version}-snmpv3-priv-proto-none.patch Provides: cacti-system %if 0%{?suse_version} BuildRequires: apache2-devel -Requires: cron Requires: apache2 Requires: apache2-mod_php5 +Requires: cron Requires: php5-mysql -Requires: php5-sockets Requires: php5-snmp +Requires: php5-sockets Requires: rrdtool %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} @@ -71,8 +68,8 @@ Requires: apache Requires: apache-mod_php Requires: php-mysql -Requires: php-sockets Requires: php-snmp +Requires: php-sockets Requires: rrdtool %endif Requires: logrotate @@ -106,7 +103,6 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %build #nothing to build ++++++ cacti-0.8.8b-cacti-log-path.patch ++++++ diff -Naur cacti-0.8.7i-PIA-3.1.orig/include/global_settings.php cacti-0.8.7i-PIA-3.1/include/global_settings.php --- cacti-0.8.7i-PIA-3.1.orig/include/global_settings.php 2011-12-12 03:09:54.000000000 +0100 +++ cacti-0.8.7i-PIA-3.1/include/global_settings.php 2011-12-13 23:40:54.000000000 +0100 @@ -96,9 +96,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/cacti.log)", "method" => "filepath", - "default" => $config["base_path"] . "/log/cacti.log", + "default" => "/var/log/cacti/cacti.log", "max_length" => "255" ), "pollerpaths_header" => array( diff -Naur cacti-0.8.7i-PIA-3.1.orig/install/index.php cacti-0.8.7i-PIA-3.1/install/index.php --- cacti-0.8.7i-PIA-3.1.orig/install/index.php 2011-12-12 02:56:07.000000000 +0100 +++ cacti-0.8.7i-PIA-3.1/install/index.php 2011-12-13 23:42:51.000000000 +0100 @@ -266,7 +266,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/cacti.log"; } /* SNMP Version */ diff -Naur cacti-0.8.7i-PIA-3.1.orig/lib/functions.php cacti-0.8.7i-PIA-3.1/lib/functions.php --- cacti-0.8.7i-PIA-3.1.orig/lib/functions.php 2011-12-12 03:09:55.000000000 +0100 +++ cacti-0.8.7i-PIA-3.1/lib/functions.php 2011-12-13 23:36:05.000000000 +0100 @@ -493,7 +493,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/cacti.log"; } /* echo the data to the log (append) */ diff -Naur cacti-0.8.7i-PIA-3.1.orig/utilities.php cacti-0.8.7i-PIA-3.1/utilities.php --- cacti-0.8.7i-PIA-3.1.orig/utilities.php 2011-12-12 03:09:55.000000000 +0100 +++ cacti-0.8.7i-PIA-3.1/utilities.php 2011-12-13 23:38:33.000000000 +0100 @@ -803,7 +803,7 @@ $logfile = read_config_option("path_cactilog"); if ($logfile == "") { - $logfile = "./log/rrd.log"; + $logfile = "/var/log/rrd.log"; } /* helps determine output color */ @@ -1051,7 +1051,7 @@ $logfile = read_config_option("path_cactilog"); if ($logfile == "") { - $logfile = "./log/cacti.log"; + $logfile = "/var/log/cacti/cacti.log"; } html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); ++++++ cacti-0.8.8b-cacti-script.patch ++++++ diff -Naur cacti-0.8.7i-PIA-3.1.orig/script_server.pl cacti-0.8.7i-PIA-3.1/script_server.pl --- cacti-0.8.7i-PIA-3.1.orig/script_server.pl 2010-12-04 22:11:33.000000000 +0100 +++ cacti-0.8.7i-PIA-3.1/script_server.pl 2011-12-14 00:20:25.000000000 +0100 @@ -1,4 +1,4 @@ -chdir("./scripts"); +chdir("/usr/share/cacti/scripts"); $loaded = 0; while ($file = <*.pl>) { next if $file eq $0; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
