Summary: Fast c-based poller for the cacti graphing solution Name: cacti-spine Version: 0.8.7a Release: 2 License: LGPL Group: Applications/System URL: http://www.cacti.net/ Source: http://www.cacti.net/downloads/spine/cacti-spine-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: cacti net-snmp mysql openssl Obsoletes: cacti-cactid <= %{version}-%{release} Provides: cacti-cactid = %{version}-%{release} Patch0: spine.h.diff Patch1: spine.configure.diff Patch2: poller.c.diff BuildRequires: libtool net-snmp-devel openssl-devel mysql-devel %description Spine is a supplemental poller for Cacti that makes use of pthreads to achieve excellent performance. %prep %setup %patch0 -p0 %ifarch x86_64 %patch1 -p0 %endif %patch2 -p0 %configure %{__make} %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT install -Dp -m755 spine $RPM_BUILD_ROOT/usr/share/cacti/sbin/spine install -Dp -m600 spine.conf $RPM_BUILD_ROOT/etc/cacti/spine.conf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING LICENSE* NEWS README /usr/share/cacti/sbin/spine %defattr(-, cacti, cacti, 0755) %config(noreplace) /etc/cacti/spine.conf %changelog * Mon Sep 29 2008 Mark Black 0.8.7a-2 - Fix potential buffer overflow * Mon Jun 16 2008 Mike Frisch 0.8.7a-1 - Initial release (to replace cacti-cactid)