Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Contrib
cacti
cacti.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cacti.spec of Package cacti
# spec file for package cacti (Version 0.8.7g) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cacti Version: 0.8.7g Release: 0.0 Summary: Web Front-End to Monitor System Data via RRDtool License: GPL v2 or later Group: System/Monitoring Url: http://www.cacti.net/ Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.cron Source2: %{name}-httpd.conf Source3: %{name}.logrotate Patch0: %{name}-%{version}-cacti-log-path.patch #http://www.cacti.net/download_patches.php %if 0%{?suse_version} BuildRequires: apache2-devel db-devel %endif %if 0%{?fedora_version} || 0%{?centos_version} BuildRequires: httpd-devel %endif %if 0%{?mandriva_version} BuildRequires: apache-devel %endif Requires: http_daemon net-snmp rrdtool php mod_php_any Requires: php-snmp php-mysql php-session php5-sockets logrotate cron BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} %define apxs /usr/sbin/apxs2 %else %define apxs /usr/sbin/apxs %endif %define apache2_sysconfdir %(%{apxs} -q SYSCONFDIR) %define prefix %{_datadir}/cacti %description Cacti is a complete front-end to RRDtool: it stores all necessary information for creating graphs and populates them with data from a MySQL database. The front-end is completely PHP driven. Along with being ableto maintain graphs, data sources, and round robin archives ina database, Cacti also handles data gathering. There exists an SNMP support for those accustomed to creating traffic graphs with MRTG as well. Authors: -------- Ian Berry <iberry@raxnet.net> %prep %setup -q %patch0 -p1 %build #nothing to build %install install -d -m 755 $RPM_BUILD_ROOT%{prefix} install -d -m 755 $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_var}/log/%{name} cp *.php $RPM_BUILD_ROOT%{prefix} cp -pr lib $RPM_BUILD_ROOT%{prefix} cp -pr include $RPM_BUILD_ROOT%{prefix} cp -pr images $RPM_BUILD_ROOT%{prefix} cp -pr install $RPM_BUILD_ROOT%{prefix} cp -pr resource $RPM_BUILD_ROOT%{prefix} cp -pr rra $RPM_BUILD_ROOT%{prefix} cp -pr scripts $RPM_BUILD_ROOT%{prefix} cp -pr cli $RPM_BUILD_ROOT%{prefix} install -m 644 *.sql $RPM_BUILD_ROOT%{prefix} # cron task install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/cacti # apache2 config install -d -m 755 $RPM_BUILD_ROOT%{apache2_sysconfdir}/conf.d install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{apache2_sysconfdir}/conf.d/cacti.conf # logrotate config mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} # Set the correct permissions for pl and sh files #find $RPM_BUILD_ROOT%{prefix} -type f -name "*.sh" -o -name "*.pl" -exec chmod ugo+x {} \; # compute files list without config file find $RPM_BUILD_ROOT%{prefix} -type d | sed -e 's|'$RPM_BUILD_ROOT'|%dir |' >> %{name}.list find $RPM_BUILD_ROOT%{prefix} -type f ! -name config.php | sed -e 's|'$RPM_BUILD_ROOT'||' >> %{name}.list %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.list %defattr(-,root,root) %doc LICENSE docs/* %attr(-,wwwrun,www) %dir %{_localstatedir}/lib/cacti %attr(-,wwwrun,www) %dir /var/log/cacti %dir %{apache2_sysconfdir} %dir %{apache2_sysconfdir}/conf.d %config(noreplace) %{prefix}/include/config.php %config(noreplace) %{_sysconfdir}/cron.d/%{name} %config(noreplace) %{apache2_sysconfdir}/conf.d/cacti.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %post %if 0%{?suse_version} chown -R wwwrun.www %{prefix}/rra %endif %changelog * Sat Jul 10 2010 joop.boonen@opensuse.org - update to cacti-0.8.7g * Sat May 22 2010 joop.boonen@opensuse.org - update to cacti-0.8.7f * Wed Nov 11 2009 joop.boonen@opensuse.org - Added the missing cli directory * Mon Aug 31 2009 joop.boonen@opensuse.org - Minor change in the name of the patch file * Fri Aug 28 2009 puzel@novell.com - update to cacti-0.8.7e.tar.bz2 - bug#0001044: Creating a DS, Output field can't be selected for DT with a DIM when "Use Per-Data Source Value" is on - bug#0001341: SNMP query: add oid_suffix for weird SNMP queries - bug#0001345: Overwriting $snmp_index in query_snmp_host() breaks SNMP Data query if using get method - bug#0001346: Strip out noisy 'No Such Instance currently exists at this OID' - bug#0001404: timeout in "function ping_icmp" (lib/ping.php) - bug#0001405: Spaces in DS when .rrd file is created, so it fails - bug#0001407: Place graph thumbnail into div to lower page length changes on load graphs - bug#0001410: Thumbnail Columns is not honored for host display with snmp index group style - bug#0001411: Graph searching issue - bug#0001413: strip_quotes fails - bug#0001426: multiple form opening due to bug in draw_edit_form() - bug#0001436: CSV Export Start Date and End Date are always 1970-01-01 01:00:00 - bug#0001443: format_snmp_string can return a number with a leading space - bug#0001446: Wrong dates override in CSV export - bug#0001456: oid_uptime is not parsed correctly - bug#0001460: Skiping input parameters in data_query_field_list() may lead to SQL errors - bug#0001464: Typo in install/index.php - bug#0001467: Customisable oid index parse regexp for weird MIBs - bug#0001468: Tree is not expanded correctly - bug#0001469: Tree is not being expanded if user followed link outside of cacti - bug#0001476: Mark stacked columns in rrdtool_function_xport() output - bug#0001477: Spelling error in a variable in html_tree.php - bug#0001478: Combo boxes on Graph Management page produce URLs with leading spaces - bug: Top Graph Header Breaks When Plugins Used - bug: SNMP v3 Password issue caused by Firefox's Password AutoFill - bug: Strip Quotes does not properly handle the value 'U' - bug: Changes to the graph tree would not show up immediately for current user - bzip sources * Mon Jun 15 2009 prusnak@suse.cz - reverted BuildRequires from libdb-4_5-devel to db-devel * Fri May 22 2009 joop.boonen@opensuse.org - Working with prefix * Sat Apr 25 2009 joop_boonen@web.de - Updated BuildRequires to libdb-4_5-devel * Sat Feb 14 2009 joop_boonen@web.de - cleaned out the spec file - deleted file for the PA platform * Fri Feb 13 2009 joop_boonen@web.de - build version cacti-0.8.7d * Thu Feb 12 2009 joop_boonen@web.de - improving the spec file - added multi rpm distro build - Added the plug-in framework * Mon Feb 2 2009 joop_boonen@web.de - building version 0.8.7c * Mon Apr 14 2008 crrodriguez@suse.de - add official cacti patches - cleanup buildrequires * Tue Apr 8 2008 crrodriguez@suse.de - cacti does not really work without cron, but cron is not installed by default in the minimal system * Tue Feb 19 2008 prusnak@suse.cz - updated to 0.8.7b * security fixes: - Fix several security vulnerabilities * bug fixes: - Unnecessary (and faulty) DEF generation for CF:AVERAGE - Small visual fix for Cacti in "View Cacti Log File" - Graph xport modification to increase default rows output - Poller incorrectly identifies unique hosts - CLI Scripts bring MySQL down on large installations - Filtering broken on Data Sources page - Fix looping poller recache events - ss_fping.php 100%% "Pkt Loss" does not work properly - Graphs with no template and/or no host cause filtering errors on Graph Management page - View Poller Cache does not show Data Sources that have no host - Graph Generation fails if e.g. ifDescr contains some blanks - TCP/UDP ping port ignored - Downed Device Detection: None leads to database errors - update_host_status handles ping_availability incorrectly - "U" not allowed as min/max RRD value - Deleted user causes error on user log viewer - Re-assign duplicate radio button IDs - Add HTML title attributes for certain pages - ALL_DATA_SOURCES_NODUPS includes DUPs? SIMILAR_DATA_SOURCES_DUPS is available again - Cacti does not guarentee RRA consolidation functions exist in RRA's - Alert on changing logarithmic scaling removed - add_hosts.php did not accept privacy protocol * features added: - show basic RRDtool graph options on Graph Template edit - Add additional logging to Graph Xport - Add rows dropdown to devices, graphs and data sources - Add device_id and event count to devices - Add ids to devices, graphs and data sources pages - Add database repair utility * Tue Nov 20 2007 prusnak@suse.cz - updated to 0.8.7a * "Use Per-Data Source Value (Ignore this Value)" runs only when when checking "Allow Empty Input" * Add --autoscale-min (rrdtool 1.2.x only) and --autoscale-max (using upper AND lower limit) * Allow for --logarithmic scaling without autoscaling * Data sources in RRAs have random order, messing up predefined CDEFs * Graph Templates drop down populates with duplicates * Upgrade from 0.8.6j to 0.8.7 defaults to Authentication Method NONE * Graph template - GRINT creates CF function DEF * Invalid date format - "half hour" not the GNU Date format * SQL error when using 'Auth Method' None when no 'guest' user exists * Graph Filter dropdowns do not respect user graph permissions * Potential SQL injection vulnerability * RRDtool 1.2.15 complain for garbage characters when rrdtool_function_xport is used * cmd.php: potential call to invalid "availability_method" key on wrong hash * Log file viewer inefficient filtering uses excess memory * doc change for using COUNTERs as integers only * Fixed extra spaces in GPRINT. Better Alignment for Autopadding * doc change for patching cacti when running SELinux * Cron interval detection causes multiple pollers to run * Max OIDS is not saved in device view * Undefined variable: rra in graph.php on line 241 * Dates are not stored in host table using correct format * Graph Export Generates SQL Errors * Usernames with spaces and dashes are not able to save * Allow for --units=si on logarithmic scaled graphs (rrdtool-1.2.x only). * add opacity/alpha channel to graph items (rrdtool-1.2.x only). * Move to Top for List and Tree View. Omit boring scrolling * add availability pings to host interface * Tue Oct 30 2007 prusnak@suse.cz - update to 0.8.7 * changes are too numerous to list * see CHANGELOG - dropped obsolete patches: * graph-image.patch (included in update) * Wed Sep 19 2007 prusnak@suse.cz - fix CVE-2007-3112 and CVE-2007-3113 (graph-image.patch) [#326228] * Mon Jun 25 2007 dmueller@suse.de - fix last checkin * Thu Jun 21 2007 dmueller@suse.de - update buildrequires * Thu Feb 8 2007 prusnak@suse.cz - updated to 0.8.6j: * fixed CVE-2006-6799 * fixed hostname sorting on the devices page * fixed poller.php does not giving any output with MySQL disabled * added bottom navigation bar to graph viewing * added "collapsible" branches to the graph tree editor * added natural sort to graph items in the tree - dropped obsoleted patches: * cacti-0.8.6h-CVE-2006-6799.patch (included in update) - fixed spec file for #norootforbuild * Tue Jan 9 2007 prusnak@suse.cz - fixed CVE-2006-6799 [#231082] * Fri Mar 17 2006 stark@suse.de - fix path settings * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Jan 18 2006 mrueckert@suse.de - dont require php4 directly use the php abstraction * Fri Jan 6 2006 stark@suse.de - update to 0.8.6h - fixed logrotate setting * Tue Jan 3 2006 stark@suse.de - update to 0.8.6g * Tue Oct 25 2005 stark@suse.de - added php4-session to required packages (#130282) * Sat Jul 2 2005 stark@suse.de - update to 0.8.6f * Sat Jun 18 2005 stark@suse.de - update to 0.8.6e final * Thu Jun 16 2005 stark@suse.de - update to 0.8.6e * Fri Jan 21 2005 stark@suse.de - update to 0.8.6c * Fri Nov 19 2004 stark@suse.de - update to 0.8.6b - added logrotate config * Mon Sep 20 2004 stark@suse.de - fix sql injection bug (#43908) * Mon Aug 30 2004 ro@suse.de - remove apache1 traces * Wed Apr 28 2004 stark@suse.de - update to 0.8.5a * Mon Feb 16 2004 stark@suse.de - update to 0.8.5 * Mon Dec 29 2003 stark@suse.de - initial SUSE package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor