%define _disable_ld_no_undefined 1 %global _legacy_common_support 1 Name: mk-livestatus Version: 1.2.4p5 Release: %mkrel 8 Summary: Nagios Event Broker Module Group: System/Servers License: BSD URL: http://mathias-kettner.com/checkmk_livestatus.html Source: http://www.mathias-kettner.de/download/%{name}-%{version}.tar.gz Requires: nagios %description MKLivestatus is a brand new Nagios Event Broker (NEB) Module which can be used to extend the core of Nagios. The MKLivestatus module provides access to the live status information kept in the running Nagios process. It serves a unix socket for data exchange with external scripts/addons. %prep %setup -q %build %configure %make_build %install %make_install install -d -m 775 %{buildroot}%{_sysconfdir}/nagios/conf.d cat > %{buildroot}%{_sysconfdir}/nagios/conf.d/livestatus.cfg <<'EOF' broker_module=%{_libdir}/mk-livestatus/livestatus.o %{_localstatedir}/spool/nagios/live EOF %files %{_bindir}/unixcat %{_libdir}/mk-livestatus %{_sysconfdir}/nagios/conf.d/livestatus.cfg %changelog * Tue Mar 15 2022 umeabot <umeabot> 1.2.4p5-8.mga9 + Revision: 1792926 - Mageia 9 Mass Rebuild * Fri Nov 13 2020 tv <tv> 1.2.4p5-7.mga8 + Revision: 1644955 - fix build * Thu Feb 13 2020 umeabot <umeabot> 1.2.4p5-6.mga8 + Revision: 1515170 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%configure2_5x - replace deprecated %%makeinstall_std * Sun Sep 23 2018 umeabot <umeabot> 1.2.4p5-5.mga7 + Revision: 1299567 - Mageia 7 Mass Rebuild * Thu Feb 04 2016 umeabot <umeabot> 1.2.4p5-4.mga6 + Revision: 935214 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.2.4p5-3.mga5 + Revision: 747263 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.2.4p5-2.mga5 + Revision: 682538 - Mageia 5 Mass Rebuild * Sat Aug 30 2014 alien <alien> 1.2.4p5-1.mga5 + Revision: 669523 - Update to version 1.2.4p5 * Sat Oct 19 2013 umeabot <umeabot> 1.2.3i1-2.mga4 + Revision: 531162 - Mageia 4 Mass Rebuild * Thu Aug 01 2013 alien <alien> 1.2.3i1-1.mga4 + Revision: 462375 - Update to new version - add config to make it work on nagios out of the box * Sat Jan 12 2013 umeabot <umeabot> 1.2.0p3-2.mga3 + Revision: 360119 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 23 2012 guillomovitch <guillomovitch> 1.2.0p3-1.mga3 + Revision: 334418 - new version - fix build * Tue Jun 26 2012 guillomovitch <guillomovitch> 1.2.0p1-1.mga3 + Revision: 263934 - imported package mk-livestatus