SPECS: collectd.spec - simple init script added
luzik
luzik at pld-linux.org
Mon May 26 09:47:41 CEST 2008
Author: luzik Date: Mon May 26 07:47:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- simple init script added
---- Files affected:
SPECS:
collectd.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/collectd.spec
diff -u SPECS/collectd.spec:1.18 SPECS/collectd.spec:1.19
--- SPECS/collectd.spec:1.18 Mon May 26 08:08:50 2008
+++ SPECS/collectd.spec Mon May 26 09:47:36 2008
@@ -2,7 +2,6 @@
# TODO:
# - lm_sensors subpackage
# - initscripts for local/client/server mode (subpackage ?)
-# - collection CGI script
# - package contrib scripts as %doc
# - put every plugin into subpackages
# - Current plugins status:
@@ -72,6 +71,7 @@
Source0: http://collectd.org/files/%{name}-%{version}.tar.gz
# Source0-md5: a677ddcad97fdb3cdd09efac4842b11d
Source1: %{name}.conf
+Source2: %{name}-init
URL: http://collectd.org/
BuildRequires: OpenIPMI-devel
BuildRequires: autoconf
@@ -263,13 +263,14 @@
install -d $RPM_BUILD_ROOT%{_var}/{log/,lib/%{name}}
install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d/
#install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
install src/collectd.conf $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
install contrib/collection.conf $RPM_BUILD_ROOT%{_sysconfdir}
install contrib/collection.cgi $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
-
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -336,8 +337,7 @@
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
-#%attr(754,root,root) /etc/rc.d/init.d/%{name}
-#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
%{_mandir}/man1/collectd.1*
%{_mandir}/man1/collectd-nagios.1*
@@ -412,6 +412,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2008-05-26 07:47:36 luzik
+- simple init script added
+
Revision 1.18 2008-05-26 06:08:50 luzik
- added collection script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/collectd.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list