diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index 40524b8..0f2af66 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -4,6 +4,7 @@ Fri Apr 21 12:13:06 CEST 2017 - ro@suse.de - adapt buildrequires for centos - enclose all permissions handling with if suse_version - wrap recommends with if suse_version +- disable radius check (no freeradius-client-devel rpm found) ------------------------------------------------------------------- Fri Jan 13 10:11:02 UTC 2017 - lars@linux-schulserver.de diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec index cfc8512..507768d 100644 --- a/monitoring-plugins.spec +++ b/monitoring-plugins.spec @@ -111,7 +111,6 @@ BuildRequires: syslog-ng BuildRequires: heimdal-devel %endif %else -BuildRequires: freeradius-devel BuildRequires: krb5-devel %endif # recommend the old, included checks to allow an easy update - but @@ -858,6 +857,7 @@ threshold ranges. The process count can be filtered by process owner, parent process PID, current state (e.g., 'Z'), or may be the total number of running processes. +%if 0%{?suse_version} %package radius Summary: Test RADIUS server Group: System/Monitoring @@ -874,6 +874,7 @@ possibly be determined by careful watching of the command line in a process listing. This risk is exacerbated because nagios will run the plugin at regular predictable intervals. Please be sure that the password used does not allow access to sensitive system resources. +%endif %package real Summary: Test REAL service @@ -1500,10 +1501,12 @@ fi %{nagios_plugindir}/check_procs_perf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_procs +%if 0%{?suse_version} %files radius %defattr(0755,root,root) %dir %{nagios_plugindir} %{nagios_plugindir}/check_radius +%endif %files real %defattr(0755,root,root)