Changes of Revision 2
[-] | Changed | icinga-mod_gearman.spec |
x 1
2 %define pkgname mod_gearman 3 Name: %{monitor}-%{pkgname} 4 Version: 0.8 5 +Release: 1 6 Group: Application/System 7 License: GPLv3 8 Url: http://labs.consol.de/lang/de/nagios/mod-gearman/ 9 Summary: Distributed active Icinga/Nagios checks 10 Source0: http://labs.consol.de/wp-content/uploads/2010/09/%{pkgname}-%{version}.tar.bz2 11 +Patch0: mod_gearman-init-worker.patch 12 BuildRoot: %{_tmppath}/%{name}-%{version}-root 13 -BuildRequires: libgearman-devel >= 0.14 14 +BuildRequires: gcc-c++ gearmand-devel >= 0.14 ncurses-devel 15 +BuildRequires: %{monitor} 16 17 %description 18 Mod Gearman is a new way of distributing active Nagios checks across your network. 19
20 21 %prep 22 %setup -n %{pkgname}-%{version} 23 +%patch0 24 25 %build 26 %configure \ 27
28 %clean 29 rm -rf %{buildroot} 30 31 +%preun 32 +%stop_on_removal 33 + 34 +%postun 35 +%insserv_cleanup 36 + 37 %files 38 %defattr(-,root,root) 39 %doc Changes COPYING README README.html THANKS TODO 40 +%{_sysconfdir}/init.d/mod_gearman_worker 41 +%{_bindir}/check_gearman 42 +%{_bindir}/gearman_top 43 +%{_bindir}/mod_gearman_worker 44 +%{_bindir}/send_gearman 45 +%{_bindir}/send_multi 46 +%dir %{_libdir}/mod_gearman 47 +%{_libdir}/mod_gearman/mod_gearman.o 48 +%{_libdir}/mod_gearman/mod_gearman.so 49 +%dir %{_datadir}/mod_gearman 50 +%{_datadir}/mod_gearman/shared.conf 51 +%{_datadir}/mod_gearman/standalone_worker.conf 52 53 %changelog 54 |
||
[+] | Added | mod_gearman-init-worker.patch ^ |
@@ -0,0 +1,14 @@ +--- worker/initscript.in.orig 2011-01-13 12:54:57.320793344 +0100 ++++ worker/initscript.in 2011-01-13 12:57:22.412234657 +0100 +@@ -2,10 +2,8 @@ + + ### BEGIN INIT INFO + # Provides: mod_gearman_worker +-# Required-Start: $local_fs ++# Required-Start: $local_fs $remote_fs + # Required-Stop: $local_fs +-# Should-Start: +-# Should-Stop: + # Default-Start: 2 3 4 5 + # Default-Stop: 0 1 6 + # Short-Description: Start/Stop the mod_gearman worker daemon |