Changes of Revision 9
[-] | Changed | nrpe.spec |
x 1
2 Release: %{release} 3 License: GPL 4 Group: Application/System 5 -Source0: %{myname}-%{version}.tar.gz 6 +Source0: %{myname}-%{version}.tar.bz2 7 +Source1: %{myname}-rpmlintrc 8 +Patch0: %{myname}-suse-init.patch 9 BuildRoot: %{_tmppath}/%{name}-buildroot 10 Prefix: %{_prefix} 11 Prefix: /etc/init.d 12
13 14 %package plugin 15 Group: Application/System 16 -Summary: Provides nrpe plugin for Nagios. 17 +Summary: Provides nrpe plugin for Nagios 18 Requires: nagios-plugins 19 BuildRequires: nagios-plugins 20 21
22 23 %prep 24 %setup -q -n %{myname}-%{version} 25 - 26 +%patch0 27 28 %pre 29 # Create `nagios' group on the system if necessary 30
31 %dir /etc/nagios 32 %defattr(644,root,root) 33 %config(noreplace) /etc/nagios/*.cfg 34 -%defattr(755,%{nsusr},%{nsgrp}) 35 +%defattr(644,%{nsusr},%{nsgrp}) 36 %doc Changelog LEGAL README 37 38 %files plugin 39 |
||
[+] | Added | nrpe-suse-init.patch ^ |
@@ -0,0 +1,31 @@ +--- init-script.suse.in.orig 2009-01-09 20:48:58.000000000 +0100 ++++ init-script.suse.in 2009-01-09 20:50:04.000000000 +0100 +@@ -8,8 +8,8 @@ + # + ### BEGIN INIT INFO + # Provides: nrpe +-# Required-Start: $network +-# Required-Stop: ++# Required-Start: $network $remote_fs ++# Required-Stop: $null + # Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: start nrpe +@@ -63,7 +63,7 @@ + killproc -TERM $NRPEBIN + rc_status -v ; rc_reset + ;; +- restart) ++ restart|reload) + $0 stop + $0 start + rc_status +@@ -76,7 +76,7 @@ + + ;; + *) +- echo "Usage: $0 {start|stop|restart|status}" ++ echo "Usage: $0 {start|stop|restart|reload|status}" + exit 1 + ;; + esac | ||
Deleted | nrpe-2.11.tar.gz ^ | |
Renamed | nrpe-2.12.tar.bz2 ^ | |
[+] | Added | nrpe-rpmlintrc ^ |
@@ -0,0 +1,4 @@ +from Config import * +addFilter("nrpe.* postun-without-%insserv_cleanup") +addFilter("nrpe.* preun-without-%stop_on_removal-preun") +addFilter("nrpe.* script-without-shebang") |