2010-08-12 00:39:22 +02:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: A Nagios plugin to check SMTP blacklists
|
|
|
|
Name: nagios-okplugin-mailblacklist
|
2014-02-20 19:01:51 +01:00
|
|
|
Version: 1.1
|
2010-08-12 00:39:22 +02:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://opensource.ok.is/trac/wiki/Nagios-OKPlugin-MailBlacklist
|
|
|
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_bl/releases/%{name}-%{version}.tar.gz
|
|
|
|
Requires: nagios-plugins
|
|
|
|
Requires: nagios-plugins-perl
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Packager: Tomas Edwardsson <tommi@ok.is>
|
2012-04-20 16:40:13 +02:00
|
|
|
BuildArch: noarch
|
2010-08-12 00:39:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Checks DNS Blacklists for existance of hosts
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
perl -pi -e "s|/usr/lib|%{_libdir}|g" check_bl
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
install -D -p -m 0755 check_bl %{buildroot}%{_libdir}/nagios/plugins/check_bl
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README COPYING
|
|
|
|
%{_libdir}/nagios/plugins/*
|
|
|
|
|
|
|
|
%changelog
|
2014-02-20 19:01:51 +01:00
|
|
|
* Thu Feb 20 2014 Pall Sigurdsson <palli@opensource.is> 1.1-1
|
|
|
|
-
|
|
|
|
|
2012-08-23 12:58:21 +02:00
|
|
|
* Thu Aug 23 2012 Pall Sigurdsson <palli@opensource.is> 1.0-1
|
|
|
|
- Updated buildarch to noarch (tommi@tommi.org)
|
|
|
|
|
2012-03-12 17:08:55 +01:00
|
|
|
* Mon Mar 12 2012 Pall Sigurdsson <palli@opensource.is> 0.0.2-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2010-08-12 00:39:22 +02:00
|
|
|
* Mon Mar 1 2010 Tomas Edwardsson <tommi@ok.is> 0.1-1
|
|
|
|
- Initial packaging
|