1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-14 14:33:46 +01:00
nagios-plugins/check_selinux/nagios-plugins-check_selinux.spec

49 lines
1.2 KiB
RPMSpec
Raw Normal View History

%define debug_package %{nil}
Summary: A Nagios plugin to check SELinux status on Linux servers
Name: nagios-plugins-check_selinux
Version: 1.3
Release: 1%{?dist}
License: GPLv3+
Group: Applications/System
URL: https://github.com/opinkerfi/nagios-plugins/tree/master/check_selinux
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_selinux/releases/nagios-plugins-check_selinux-%{version}.tar.gz
Requires: nagios-plugins-nrpe libselinux-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Packager: Tomas Edwardsson <tommi@ok.is>
BuildArch: noarch
%description
This plugin check the enforcing selinux status of a specified host, using NRPE
if the host is remote.
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
install -D -p -m 0755 check_selinux %{buildroot}%{_libdir}/nagios/plugins/check_selinux
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/nagios/plugins/*
%changelog
* Thu Feb 20 2014 Pall Sigurdsson <palli@opensource.is> 1.3-1
-
* Thu Feb 20 2014 Pall Sigurdsson
-
* Wed May 22 2013 Tomas Edwardsson <tommi@tommi.org> 1.1-1
- new package built with tito
* Wed May 22 2013 Tomas Edwardsson <tommi@opensource.is> 1.0-1
- Initial packaging