| 1 |
%define version 1.7.7 |
| 2 |
%define release 0 |
| 3 |
%define sourcename check_rbl |
| 4 |
%define packagename nagios-plugins-check-rbl |
| 5 |
%define nagiospluginsdir %{_libdir}/nagios/plugins |
| 6 |
|
| 7 |
# No binaries in this package |
| 8 |
%define debug_package %{nil} |
| 9 |
|
| 10 |
Summary: check_rbl is a Nagios plugin to check if an SMTP server is blacklisted |
| 11 |
Name: %{packagename} |
| 12 |
Obsoletes: check_rbl <= 100 |
| 13 |
Version: %{version} |
| 14 |
Release: %{release}%{?dist} |
| 15 |
License: GPLv3+ |
| 16 |
Packager: Matteo Corti <[email protected]> |
| 17 |
Group: Applications/System |
| 18 |
BuildRoot: %{_tmppath}/%{packagename}-%{version}-%{release}-root-%(%{__id_u} -n) |
| 19 |
URL: https://github.com/matteocorti/check_rbl |
| 20 |
Source: https://github.com/matteocorti/check_rbl/releases/download/v%{version}/check_rbl-%{version}.tar.gz |
| 21 |
|
| 22 |
# Fedora build requirement (not needed for EPEL{4,5}) |
| 23 |
BuildRequires: perl(ExtUtils::MakeMaker) |
| 24 |
# Fedora build requirement (EPEL >=9, Fedora >= 38) |
| 25 |
BuildRequires: perl(FindBin) make |
| 26 |
|
| 27 |
Requires: perl-Module-Install perl-Readonly perl-Monitoring-Plugin perl-Test-Simple perl-Perl-Critic rpm-build perl-Net-DNS perl-Net-IP perl-Data-Validate-IP perl-App-cpanminus perl-Capture-Tiny |
| 28 |
Requires: perl(Data::Validate::Domain) |
| 29 |
|
| 30 |
%description |
| 31 |
check_rbl is a Nagios plugin to check if an SMTP server is blacklisted |
| 32 |
|
| 33 |
%prep |
| 34 |
%setup -q -n %{sourcename}-%{version} |
| 35 |
|
| 36 |
%build |
| 37 |
%{__perl} Makefile.PL INSTALLDIRS=vendor \ |
| 38 |
INSTALLSCRIPT=%{nagiospluginsdir} \ |
| 39 |
INSTALLVENDORSCRIPT=%{nagiospluginsdir} |
| 40 |
make %{?_smp_mflags} |
| 41 |
|
| 42 |
%install |
| 43 |
rm -rf %{buildroot} |
| 44 |
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
| 45 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
| 46 |
find %{buildroot} -type f -name "*.pod" -exec rm -f {} \; |
| 47 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
| 48 |
%{_fixperms} %{buildroot}/* |
| 49 |
|
| 50 |
%clean |
| 51 |
rm -rf %{buildroot} |
| 52 |
|
| 53 |
%files |
| 54 |
%defattr(-,root,root,-) |
| 55 |
%doc AUTHORS Changes NEWS README.md TODO COPYING COPYRIGHT |
| 56 |
%{nagiospluginsdir}/%{sourcename} |
| 57 |
%{_mandir}/man1/%{sourcename}.1* |
| 58 |
|
| 59 |
%changelog |
| 60 |
* Thu Mar 27 2025 Matteo Corti <[email protected]> - 1.7.7-0 |
| 61 |
- Update to 1.7.7 |
| 62 |
|
| 63 |
* Fri Jan 17 2025 Matteo Corti <[email protected]> - 1.7.6-0 |
| 64 |
- Update to 1.7.6 |
| 65 |
|
| 66 |
* Fri Sep 20 2024 Matteo Corti <[email protected]> - 1.7.4-0 |
| 67 |
- Update to 1.7.4 |
| 68 |
|
| 69 |
* Wed Mar 27 2024 Matteo Corti <[email protected]> - 1.7.3-0 |
| 70 |
- Update to 1.7.3 |
| 71 |
|
| 72 |
* Thu Dec 28 2023 Peter Bieringer <[email protected]> - 1.7.2-1 |
| 73 |
- Add BuildRequirement for EPEL >= 9 and Fedora >= 38: perl(FindBin) make |
| 74 |
- Add Requirement perl(Data::Validate::Domain) |
| 75 |
|
| 76 |
* Thu Jun 29 2023 Matteo Corti <[email protected]> - 1.7.2-0 |
| 77 |
- Update to 1.7.2 |
| 78 |
|
| 79 |
* Mon Apr 10 2023 Matteo Corti <[email protected]> - 1.7.1-0 |
| 80 |
- Update to 1.7.1 |
| 81 |
|
| 82 |
* Mon Aug 8 2022 Matteo Corti <[email protected]> - 1.7.0-1 |
| 83 |
- Updated the package dependencies |
| 84 |
|
| 85 |
* Sun Aug 7 2022 Matteo Corti <[email protected]> - 1.7.0-0 |
| 86 |
- Update to 1.7.0 |
| 87 |
|
| 88 |
* Thu May 12 2022 Matteo Corti <[email protected]> - 1.6.4-0 |
| 89 |
- Update to 1.6.4 |
| 90 |
|
| 91 |
* Thu Dec 16 2021 Matteo Corti <[email protected]> - 1.6.3-0 |
| 92 |
- Update to 1.6.3 |
| 93 |
|
| 94 |
* Tue Jun 1 2021 Matteo Corti <[email protected]> - 1.6.2-0 |
| 95 |
- Update to 1.6.2 |
| 96 |
w |
| 97 |
* Thu May 27 2021 Matteo Corti <[email protected]> - 1.6.1-0 |
| 98 |
- Update to 1.6.1 |
| 99 |
|
| 100 |
* Thu May 27 2021 Matteo Corti <[email protected]> - 1.6.0-0 |
| 101 |
- Update to 1.6.0 |
| 102 |
|
| 103 |
* Sun Jan 3 2021 Matteo Corti <[email protected]> - 1.5.7-0 |
| 104 |
- Update to 1.5.7 |
| 105 |
|
| 106 |
* Mon Nov 30 2020 Matteo Corti <[email protected]> - 1.5.6-0 |
| 107 |
- Update to 1.5.6 |
| 108 |
|
| 109 |
* Tue May 26 2020 Matteo Corti <[email protected]> - 1.5.4-0 |
| 110 |
- Update to 1.5.4 |
| 111 |
|
| 112 |
* Tue Dec 24 2019 Matteo Corti <[email protected]> - 1.5.3-0 |
| 113 |
- Update to 1.5.3 |
| 114 |
|
| 115 |
* Tue Dec 03 2019 Matteo Corti <[email protected]> - 1.5.2-0 |
| 116 |
- Update to 1.5.2 |
| 117 |
|
| 118 |
* Mon Jun 03 2019 Matteo Corti <[email protected]> - 1.5.0-0 |
| 119 |
- Update to 1.5.0 |
| 120 |
|
| 121 |
* Sun Jun 02 2019 Matteo Corti <[email protected]> - 1.4.5-0 |
| 122 |
- Update to 1.4.5 |
| 123 |
|
| 124 |
* Thu Feb 28 2019 Matteo Corti <[email protected]> - 1.4.4-0 |
| 125 |
- Update to 1.4.4 |
| 126 |
|
| 127 |
* Wed May 30 2018 Matteo Corti <[email protected]> - 1.4.3-0 |
| 128 |
- Update to 1.4.3 |
| 129 |
|
| 130 |
* Sun May 27 2018 Matteo Corti <[email protected]> - 1.4.2-0 |
| 131 |
- Update to 1.4.2 |
| 132 |
|
| 133 |
* Mon Jul 17 2017 Matteo Corti <[email protected]> - 1.4.1-0 |
| 134 |
- Update to 1.4.1 |
| 135 |
|
| 136 |
* Tue Apr 18 2017 Matteo Corti <[email protected]> - 1.4.0-0 |
| 137 |
- Update to 1.4.0 |
| 138 |
|
| 139 |
* Wed Dec 30 2015 Matteo Corti <[email protected]> - 1.3.8-0 |
| 140 |
- Update to 1.3.8 |
| 141 |
|
| 142 |
* Sun Feb 1 2015 Matteo Corti <[email protected]> - 1.3.7-0 |
| 143 |
- Update to 1.3.7 (using Monitoring::Plugins) |
| 144 |
|
| 145 |
* Fri Dec 5 2014 Matteo Corti <[email protected]> - 1.3.6-0 |
| 146 |
- Updated to 1.3.6 (removed dependency on Data::Dumper) |
| 147 |
|
| 148 |
* Sat Sep 20 2014 Matteo Corti <[email protected]> - 1.3.5-0 |
| 149 |
- Updated to 1.3.5 |
| 150 |
|
| 151 |
* Fri Sep 19 2014 Matteo Corti <[email protected]> - 1.3.4-0 |
| 152 |
- Updated to 1.3.4 |
| 153 |
|
| 154 |
* Sat Aug 9 2014 Matteo Corti <[email protected]> - 1.3.3-0 |
| 155 |
- updated to 1.3.3 |
| 156 |
|
| 157 |
* Thu Jan 30 2014 Matteo Corti <[email protected]> - 1.3.2-0 |
| 158 |
- Dependencies and documentation update |
| 159 |
|
| 160 |
* Mon Jul 11 2011 Matteo Corti <[email protected]> - 1.3.0-0 |
| 161 |
- Updated to 1.3.0 (whitelistings support) |
| 162 |
|
| 163 |
* Tue Mar 22 2011 Matteo Corti <[email protected]> - 1.2.2-0 |
| 164 |
- Updated to 1.2.2 (bug fix) and renamed the package |
| 165 |
|
| 166 |
* Mon Jul 5 2010 Matteo Corti <[email protected]> - 1.2.1-0 |
| 167 |
- Updated to 1.2.1 (bug fix) |
| 168 |
|
| 169 |
* Thu Apr 8 2010 Matteo Corti <[email protected]> - 1.2.0-0 |
| 170 |
- Updated to 1.2.0 and improved the SPEC file |
| 171 |
|
| 172 |
* Tue Oct 27 2009 Matteo Corti <[email protected]> - 1.1.0-0 |
| 173 |
- Updated to 1.1.0 (parallel checks) |
| 174 |
|
| 175 |
* Thu Jan 22 2009 Matteo Corti <[email protected]> - 1.0.2-0 |
| 176 |
- --retry command line argument |
| 177 |
|
| 178 |
* Tue Jan 6 2009 Matteo Corti <[email protected]> - 1.0.1-0 |
| 179 |
- Execution time in the performance data |
| 180 |
|
| 181 |
* Mon Dec 29 2008 Matteo Corti <[email protected]> - 1.0.0-0 |
| 182 |
- Initial release |
| 183 |
|