SPECS: nagios-grapher.spec - TODO, %files
wolvverine
wolvverine at pld-linux.org
Sun Oct 29 19:21:52 CET 2006
Author: wolvverine Date: Sun Oct 29 18:21:52 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- TODO, %files
---- Files affected:
SPECS:
nagios-grapher.spec (1.38 -> 1.39)
---- Diffs:
================================================================
Index: SPECS/nagios-grapher.spec
diff -u SPECS/nagios-grapher.spec:1.38 SPECS/nagios-grapher.spec:1.39
--- SPECS/nagios-grapher.spec:1.38 Sun Oct 29 02:59:58 2006
+++ SPECS/nagios-grapher.spec Sun Oct 29 19:21:47 2006
@@ -1,8 +1,13 @@
# $Revision$, $Date$
# TODO
-# - change path for rrd font in ngraph.ncfg
+# - path for rrd font from config.layout (patch for configure.ac and ngraph.ncfg.in)
# - bconds for network/pipe
# - service nagios-grapher does not support chkconfig
+# - logrotate config
+# - !! patch for collect2.pl - user,group,permision for files/dirs
+# defined in ngraph.ncfg (look %files section)
+# - !! patch for lib/NagiosGrapher/Hooks/SrvExtWriteHostextInfo.pm line 94
+
%include /usr/lib/rpm/macros.perl
Summary: Plugins for Nagios to integration with RRDTool
Summary(pl): Wtyczka dla Nagiosa integrująca z RRDTool
@@ -81,7 +86,7 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/nagios/serviceext
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/nagios/{serviceext,hostext}
install -d $RPM_BUILD_ROOT%{_var}/log/nagios
install -d $RPM_BUILD_ROOT%{_var}/lib/nagios/nagios_grapher
@@ -115,17 +120,18 @@
%doc README doc contrib/rrd_commix/README-rrd_commix
%attr(754,root,root) /etc/rc.d/init.d/%{name}
#%%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%config(noreplace) %verify(not md5 mtime size) %attr(640,root,nagios) %{_sysconfdir}/nagios/ngraph.d/*
-%config(noreplace) %verify(not md5 mtime size) %attr(640,root,nagios) %{_sysconfdir}/nagios/*.ncfg
-%dir %attr(775,root,nagios) %{_sysconfdir}/nagios/serviceext
-#%%config(noreplace) %verify(not md5 mtime size) %attr(640,root,nagios) %{_sysconfdir}/nagios/serviceext/*
+%config(noreplace) %verify(not md5 mtime size) %attr(640,nagios,nagios-data) %{_sysconfdir}/nagios/ngraph.d/*
+%config(noreplace) %verify(not md5 mtime size) %attr(640,nagios,nagios-data) %{_sysconfdir}/nagios/*.ncfg
+%dir %attr(775,nagios,nagios-data) %{_sysconfdir}/nagios/serviceext
+%dir %attr(775,nagios,nagios-data) %{_sysconfdir}/nagios/hostext
+#%%config(noreplace) %verify(not md5 mtime size) %attr(640,nagios,nagios-data) %{_sysconfdir}/nagios/serviceext/*
%dir %{_plugindir}
%attr(755,root,root) %{_plugindir}/*
%attr(755,root,root) %{_libdir}/nagios/cgi/*
%attr(755,root,root) %{perl_vendorlib}/*
%{_datadir}/nagios/images/*
%dir %attr(755,nagios,nagios-data) %{_var}/lib/nagios/nagios_grapher
-%config(noreplace) %verify(not md5 mtime size) %attr(660,root,nagios) %{_var}/log/nagios/ngraph.log
+%config(noreplace) %verify(not md5 mtime size) %attr(660,nagios,nagios-data) %{_var}/log/nagios/ngraph.log
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -133,6 +139,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.39 2006/10/29 18:21:47 wolvverine
+- TODO, %files
+
Revision 1.38 2006/10/29 00:59:58 shadzik
- automate Requires
- cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nagios-grapher.spec?r1=1.38&r2=1.39&f=u
More information about the pld-cvs-commit
mailing list