SPECS: nagios-grapher.spec - rename templates: *.ncfg_disabled -> *.ncfg

glen glen at pld-linux.org
Mon Dec 1 17:56:56 CET 2008


Author: glen                         Date: Mon Dec  1 16:56:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rename templates: *.ncfg_disabled -> *.ncfg

---- Files affected:
SPECS:
   nagios-grapher.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/nagios-grapher.spec
diff -u SPECS/nagios-grapher.spec:1.45 SPECS/nagios-grapher.spec:1.46
--- SPECS/nagios-grapher.spec:1.45	Mon Dec  1 17:52:05 2008
+++ SPECS/nagios-grapher.spec	Mon Dec  1 17:56:50 2008
@@ -7,7 +7,7 @@
 
 %define		subver	rc5
 %define		subver2	0.5
-%define		rel		0.17
+%define		rel		0.18
 %include	/usr/lib/rpm/macros.perl
 Summary:	Plugins for Nagios to integration with RRDTool
 Summary(pl.UTF-8):	Wtyczka dla Nagiosa integrująca z RRDTool
@@ -72,6 +72,10 @@
 # pointless to include in %doc
 rm -f doc/gpl.txt
 
+for a in cfg/templates/*/*_disabled; do
+	mv $a ${a%_disabled}
+done
+
 cat <<'EOF' > plugin.cfg
 # Enable in nagios.cfg one based on the interface you are using,
 # updecho for network, fifo_write for pipe:
@@ -132,8 +136,7 @@
 cp contrib/rrd_commix/README contrib/rrd_commix/README-rrd_commix
 
 # copies in %doc
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/nagios/ngraph.d/templates/standard/*_disabled
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/nagios/ngraph.d/templates/extra/*_disabled
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/nagios/ngraph.d/templates/{standard,extra}/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -180,10 +183,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2008/12/01 16:56:50  glen
+- rename templates: *.ncfg_disabled -> *.ncfg
+
 Revision 1.45  2008/12/01 16:52:05  glen
 - add rrd dir
 - add nagios plugin config
-- permissions fixes
+- permissions fixes
+- need IM coder-png installed
 
 Revision 1.44  2008/11/30 15:44:45  glen
 - update to 1.6.1-rc5-0.5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-grapher.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list