Author: glen                         Date: Tue Aug  4 06:03:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add command definition to client package; rel 3

---- Files affected:
packages/nagios-nsca:
   nagios-nsca.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/nagios-nsca/nagios-nsca.spec
diff -u packages/nagios-nsca/nagios-nsca.spec:1.16 
packages/nagios-nsca/nagios-nsca.spec:1.17
--- packages/nagios-nsca/nagios-nsca.spec:1.16  Wed Nov 26 21:57:19 2008
+++ packages/nagios-nsca/nagios-nsca.spec       Tue Aug  4 08:03:07 2009
@@ -7,13 +7,14 @@
 Summary(pl.UTF-8):     Demon NSCA dla Nagiosa
 Name:          nagios-nsca
 Version:       2.7.2
-Release:       2
+Release:       3
 License:       GPL
 Group:         Networking
 Source0:       http://dl.sourceforge.net/nagios/nsca-%{version}.tar.gz
 # Source0-md5: 33a98e7975f633a9489d7a8938ed6131
 Source1:       %{name}.init
 Source2:       %{name}.submit
+Source3:       nsca-command.cfg
 Patch0:                %{name}-groups.patch
 Patch1:                %{name}-config.patch
 URL:           http://www.nagios.org/
@@ -81,7 +82,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,%{_sbindir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/plugins,/etc/rc.d/init.d,%{_sbindir}}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/nagios-nsca
 install src/nsca $RPM_BUILD_ROOT%{_sbindir}
@@ -91,7 +92,8 @@
 install sample-config/send_nsca.cfg $RPM_BUILD_ROOT%{_sysconfdir}/send_nsca.cfg
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/send_nsca-submit
-echo '# put your central nagios machine name or address here' > \
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/plugins/nsca.cfg
+echo '# Put your central Nagios machine name or address here' > \
        $RPM_BUILD_ROOT%{_sysconfdir}/send_nsca-central
 
 %clean
@@ -118,7 +120,9 @@
 %defattr(644,root,root,755)
 %attr(640,root,nagios) %config(noreplace) %verify(not group md5 mtime size) 
%{_sysconfdir}/send_nsca.cfg
 %attr(640,root,nagios) %config(noreplace) %verify(not group md5 mtime size) 
%{_sysconfdir}/send_nsca-central
-%attr(755,root,root) %{_sbindir}/send_nsca*
+%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/plugins/nsca.cfg
+%attr(755,root,root) %{_sbindir}/send_nsca
+%attr(755,root,root) %{_sbindir}/send_nsca-submit
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -126,6 +130,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2009/08/04 06:03:07  glen
+- add command definition to client package; rel 3
+
 Revision 1.16  2008/11/26 20:57:19  glen
 - release 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-nsca/nagios-nsca.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to