SPECS: cacti-cactid.spec - drop cron support; add Requires: cacti ...

arekm arekm at pld-linux.org
Tue Oct 11 14:48:54 CEST 2005


Author: arekm                        Date: Tue Oct 11 12:48:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop cron support; add Requires: cacti so cacti will run cactid on it's own

---- Files affected:
SPECS:
   cacti-cactid.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/cacti-cactid.spec
diff -u SPECS/cacti-cactid.spec:1.4 SPECS/cacti-cactid.spec:1.5
--- SPECS/cacti-cactid.spec:1.4	Tue Oct 11 13:26:38 2005
+++ SPECS/cacti-cactid.spec	Tue Oct 11 14:48:49 2005
@@ -2,7 +2,7 @@
 Summary:	A backend data gatherer for cacti
 Name:		cacti-cactid
 Version:	0.8.6f
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications
 Source0:	http://www.cacti.net/downloads/cactid/%{name}-%{version}.tar.gz
@@ -13,6 +13,7 @@
 BuildRequires:	net-snmp-devel
 BuildRequires:	openssl-devel
 BuildRequires:	zlib-devel
+Requires:	cacti
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,17 +33,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install cactid.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
-cat  << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
-*/5 * * * * nobody umask 022; /usr/bin/cactid > /dev/null 2>&1
-EOF
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -50,8 +46,7 @@
 %defattr(644,root,root,755)
 %doc CHANGELOG README
 %attr(755,root,root) %{_bindir}/*
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cactid.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cactid.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/10/11 12:48:49  arekm
+- drop cron support; add Requires: cacti so cacti will run cactid on it's own
+
 Revision 1.4  2005/10/11 11:26:38  arekm
 - unfortunately it's not a daemon, run from cron
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cacti-cactid.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list