Author: glen Date: Thu Feb 8 16:10:23 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - write pidfile to dir writable by nrpe process; rel 2
---- Files affected: SPECS: nagios-nrpe.spec (1.32 -> 1.33) ---- Diffs: ================================================================ Index: SPECS/nagios-nrpe.spec diff -u SPECS/nagios-nrpe.spec:1.32 SPECS/nagios-nrpe.spec:1.33 --- SPECS/nagios-nrpe.spec:1.32 Wed Dec 20 01:30:22 2006 +++ SPECS/nagios-nrpe.spec Thu Feb 8 17:10:17 2007 @@ -3,7 +3,7 @@ Summary(pl): Demon i wtyczka zdalnego wywoływania wtyczek Nagios Name: nagios-nrpe Version: 2.6 -Release: 1 +Release: 2 License: GPL v2 Group: Networking Source0: http://dl.sourceforge.net/nagios/nrpe-%{version}.tar.gz @@ -82,7 +82,7 @@ %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir},%{_libdir}/nagios/plugins,%{_sbindir}} \ - $RPM_BUILD_ROOT%{_localstatedir} + $RPM_BUILD_ROOT{%{_localstatedir},/var/run/nrpe} install sample-config/nrpe.cfg $RPM_BUILD_ROOT%{_sysconfdir}/nrpe.cfg install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/nrpe @@ -102,12 +102,16 @@ /sbin/chkconfig --del nrpe fi +%triggerpostun -- %{name} < 2.6-1.1 +%{__sed} -i -e 's,/var/run/nrpe.pid,/var/run/nrpe/nrpe.pid,' %{_sysconfdir}/nrpe.cfg + %files %defattr(644,root,root,755) %doc Changelog LEGAL README* SECURITY -%attr(754,root,root) /etc/rc.d/init.d/nrpe %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nrpe.cfg %attr(755,root,root) %{_sbindir}/nrpe +%attr(754,root,root) /etc/rc.d/init.d/nrpe +%dir %attr(775,root,nagios) /var/run/nrpe %files plugin %defattr(644,root,root,755) @@ -119,6 +123,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.33 2007/02/08 16:10:17 glen +- write pidfile to dir writable by nrpe process; rel 2 + Revision 1.32 2006/12/20 00:30:22 glen - 2.6 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/nagios-nrpe.spec?r1=1.32&r2=1.33&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
