forked from matteocorti/check_ssl_cert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check_ssl_cert.spec
347 lines (237 loc) · 10.4 KB
/
check_ssl_cert.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
%define version 1.67.0
%define release 0
%define sourcename check_ssl_cert
%define packagename nagios-plugins-check_ssl_cert
%define nagiospluginsdir %{_libdir}/nagios/plugins
# No binaries in this package
%define debug_package %{nil}
Summary: A Nagios plugin to check X.509 certificates
Name: %{packagename}
Version: %{version}
Obsoletes: check_ssl_cert
Release: %{release}%{?dist}
License: GPLv3+
Packager: Matteo Corti <[email protected]>
Group: Applications/System
BuildRoot: %{_tmppath}/%{packagename}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: https://github.com/matteocorti/check_ssl_cert
Source: https://github.com/matteocorti/check_ssl_cert/releases/download/v%{version}/check_ssl_cert-%{version}.tar.gz
Requires: nagios-plugins expect perl(Date::Parse)
%description
Checks an X.509 certificate:
- checks if the server is running and delivers a valid certificate
- checks if the CA matches a given pattern
- checks the validity
%prep
%setup -q -n %{sourcename}-%{version}
%build
%install
make DESTDIR=${RPM_BUILD_ROOT}%{nagiospluginsdir} MANDIR=${RPM_BUILD_ROOT}%{_mandir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS README.md TODO COPYING VERSION COPYRIGHT
%attr(0755, root, root) %{nagiospluginsdir}/check_ssl_cert
%{_mandir}/man1/%{sourcename}.1*
%changelog
* Tue Apr 17 2018 Matteo Corti <[email protected]> - 1.67.0-0
- Updated to 1.67.0
* Fri Apr 6 2018 Matteo Corti <[email protected]> - 1.66.0-0
- Updated to 1.66.0
* Thu Mar 29 2018 Matteo Corti <[email protected]> - 1.65.0-0
- Updated to 1.65.0
* Wed Mar 28 2018 Matteo Corti <[email protected]> - 1.64.0-0
- Updated to 1.64.0
* Sat Mar 17 2018 Matteo Corti <[email protected]> - 1.63.0-0
- Updated to 1.63.0
* Tue Mar 6 2018 Matteo Corti <[email protected]> - 1.62.0-0
- Updated to 1.62.0
* Fri Jan 19 2018 Matteo Corti <[email protected]> - 1.61.0-0
- Updated to 1.61.0
* Fri Dec 15 2017 Matteo Corti <[email protected]> - 1.60.0-0
- Updated to 1.60.0
* Thu Dec 14 2017 Matteo Corti <[email protected]> - 1.59.0-0
- Updated to 1.59.0
* Wed Nov 29 2017 Matteo Corti <[email protected]> - 1.58.0-0
- Updated to 1.58.0
* Tue Nov 28 2017 Matteo Corti <[email protected]> - 1.57.0-0
- Updated to 1.57.0
* Fri Nov 17 2017 Matteo Corti <[email protected]> - 1.56.0-0
- Updated to 1.56.0
* Thu Nov 16 2017 Matteo Corti <[email protected]> - 1.55.0-0
- Updated to 1.55.0
* Tue Sep 19 2017 Matteo Corti <[email protected]> - 1.54.0-0
- Updated to 1.54.0
* Sun Sep 10 2017 Matteo Corti <[email protected]> - 1.53.0-0
- Updated to 1.53.0
* Sat Sep 9 2017 Matteo Corti <[email protected]> - 1.52.0-0
- Updated to 1.52.0
* Fri Jul 28 2017 Matteo Corti <[email protected]> - 1.51.0-0
- Updated to 1.51.0
* Mon Jul 24 2017 Matteo Corti <[email protected]> - 1.50.0-0
- Updated to 1.50.0
* Mon Jul 17 2017 Matteo Corti <[email protected]> - 1.49.0-0
- Updated to 1.49.0
* Fri Jun 23 2017 Matteo Corti <[email protected]> - 1.48.0-0
- Updated to 1.48.0
* Thu Jun 15 2017 Matteo Corti <[email protected]> - 1.47.0-0
- Updated to 1.47.0
* Mon May 15 2017 Matteo Corti <[email protected]> - 1.46.0-0
- Updated to 1.46.0
* Tue May 2 2017 Matteo Corti <[email protected]> - 1.45.0-0
- Updated to 1.45.0
* Fri Apr 28 2017 Matteo Corti <[email protected]> - 1.44.0-0
- Updated to 1.44.0
* Thu Mar 7 2017 Matteo Corti <[email protected]> - 1.43.0-0
- Updated to 1.43.0
* Thu Feb 16 2017 Matteo Corti <[email protected]> - 1.42.0-0
- Updated to 1.42.0
* Wed Feb 10 2017 Matteo Corti <[email protected]> - 1.41.0-0
- Updated to 1.41.0
* Wed Feb 8 2017 Matteo Corti <[email protected]> - 1.40.0-0
- Updated to 1.40.0
* Thu Feb 2 2017 Matteo Corti <[email protected]> - 1.39.0-0
- Updated to 1.39.0
* Thu Feb 2 2017 Matteo Corti <[email protected]> - 1.38.2-0
- Updated to 1.38.2
* Sun Jan 29 2017 Matteo Corti <[email protected]> - 1.38.1-0
- Updated to 1.38.1
* Sat Jan 28 2017 Matteo Corti <[email protected]> - 1.38.0-0
- Updated to 1.38.0
* Fri Dec 23 2016 Matteo Corti <[email protected]> - 1.37.0-0
- Updated to 1.37.0
* Tue Dec 13 2016 Matteo Corti <[email protected]> - 1.36.2-0
- Updated to 1.36.2
* Tue Dec 06 2016 Matteo Corti <[email protected]> - 1.36.1-0
- Updated to 1.36.1
* Sun Dec 04 2016 Matteo Corti <[email protected]> - 1.36.0-0
- Updated to 1.36.0
* Tue Oct 18 2016 Matteo Corti <[email protected]> - 1.35.0-0
- Updated to 1.35.0
* Mon Sep 19 2016 Matteo Corti <[email protected]> - 1.34.0-0
- Updated to 1.34.0
* Thu Aug 4 2016 Matteo Corti <[email protected]> - 1.33.0-0
- Updated to 1.33.0
* Fri Jul 29 2016 Matteo Corti <[email protected]> - 1.32.0-0
- Updated to 1.32.0
* Tue Jul 12 2016 Matteo Corti <[email protected]> - 1.31.0-0
- Updated to 1.31.0
* Thu Jun 30 2016 Matteo Corti <[email protected]> - 1.30.0-0
- Updated to 1.30.0
* Wed Jun 15 2016 Matteo Corti <[email protected]> - 1.29.0-0
- Updated to 1.29.0
* Wed Jun 01 2016 Matteo Corti <[email protected]> - 1.28.0-0
- Updated to 1.28.0
* Wed Apr 27 2016 Matteo Corti <[email protected]> - 1.27.0-0
- Updated to 1.27.0
* Tue Mar 29 2016 Matteo Corti <[email protected]> - 1.26.0-0
- Updated to 1.26.0
* Mon Mar 21 2016 Matteo Corti <[email protected]> - 1.25.0-0
- Updated to 1.25.0
* Wed Mar 9 2016 Matteo Corti <[email protected]> - 1.24.0-0
- Updated to 1.24.0
* Mon Mar 7 2016 Matteo Corti <[email protected]> - 1.23.0-0
- Updated to 1.23.0
* Thu Mar 3 2016 Matteo Corti <[email protected]> - 1.22.0-0
- Updated to 1.22.0
* Tue Mar 1 2016 Matteo Corti <[email protected]> - 1.21.0-0
- Updated to 1.21.0
* Fri Feb 26 2016 Matteo Corti <[email protected]> - 1.20.0-0
- Updated to 1.20.0
* Thu Feb 25 2016 Matteo Corti <[email protected]> - 1.19.0-0
- Updated to 1.19.0
* Sat Oct 31 2015 Matteo Corti <[email protected]> - 1.18.0-0
- Updated to 1.18.0
* Tue Oct 20 2015 Matteo Corti <[email protected]> - 1.17.2-0
- Updated to 1.17.2
* Tue Apr 7 2015 Matteo Corti <[email protected]> - 1.17.1-0
- Updated to 1.17.1
* Tue Oct 21 2014 Matteo Corti <[email protected]> - 1.17.0-0
- Updated to 1.17.0
* Fri Jun 6 2014 Matteo Corti <[email protected]> - 1.16.2-0
- updated to 1.16.2
* Thu May 22 2014 Andreas Dijkman <[email protected]> - 1.16.1-1
- Added noarch as buildarch
- Added expect and perl(Date::Parse) dependency
* Fri Feb 28 2014 Matteo Corti <[email protected]> - 1.16.1-0
- Updated to 1.16.1 (rpm make target)
* Mon Dec 23 2013 Matteo Corti <[email protected]> - 1.16.0-0
- Udated to 1.16.0 (force TLS)
* Mon Jul 29 2013 Matteo Corti <[email protected]> - 1.15.0-0
- Updated to 1.15.0 (force SSL version)
* Sun May 12 2013 Matteo Corti <[email protected]> - 1.14.6-0
- Updated to 1.16.6 (timeout and XMPP support)
* Sat Mar 2 2013 Matteo Corti <[email protected]> - 1.14.5-0
- Updated to 1.14.5 (TLS and multiple names fix)
* Fri Dec 7 2012 Matteo Corti <[email protected]> - 1.14.4-0
- Updated to 1.14.4 (bug fix release)
* Wed Sep 19 2012 Matteo Corti <[email protected]> - 1.14.3-0
- Updated to 1.14.3
* Fri Jul 13 2012 Matteo Corti <[email protected]> - 1.14.2-0
- Updated to 1.14.2
* Wed Jul 11 2012 Matteo Corti <[email protected]> - 1.14.1-0
- Updated to 1.14.1
* Fri Jul 6 2012 Matteo Corti <[email protected]> - 1.14.0-0
- updated to 1.14.0
* Thu Apr 5 2012 Matteo Corti <[email protected]> - 1.13.0-0
- updated to 1.13.0
* Wed Apr 4 2012 Matteo Corti <[email protected]> - 1.12.0-0
- updated to 1.12.0 (bug fix release)
* Sat Oct 22 2011 Matteo Corti <[email protected]> - 1.11.0-0
- ipdated to 1.10.1 (--altnames option)
* Thu Sep 1 2011 Matteo Corti <[email protected]> - 1.10.0-0
- apllied patch from Sven Nierlein for client certificate authentication
* Thu Mar 10 2011 Matteo Corti <[email protected]> - 1.9.1-0
- updated to 1.9.1: allows http as protocol and fixes -N with wildcards
* Mon Jan 24 2011 Matteo Corti <[email protected]> - 1.9.0-0
- updated to 1.9.0: --openssl option
* Thu Dec 16 2010 Dan Wallis - 1.8.1-0
- Fixed bugs with environment bleeding & shell globbing
* Thu Dec 9 2010 Matteo Corti <[email protected]> - 1.8.0-0
- added support for TLS servername extension
* Thu Oct 28 2010 Matteo Corti <[email protected]> - 1.7.7-0
- Fixed a bug in the signal specification
* Thu Oct 28 2010 Matteo Corti <[email protected]> - 1.7.6-0
- better temporary file clean up
* Thu Oct 14 2010 Matteo Corti <[email protected]> - 1.7.5-0
- updated to 1.7.5 (fixed the check order)
* Fri Oct 1 2010 Matteo Corti <[email protected]> - 1.7.4-0
- added -A command line option
* Wed Sep 15 2010 Matteo Corti <[email protected]> - 1.7.3-0
- Fixed a bug in the command line options processing
* Thu Aug 26 2010 Dan Wallis - 1.7.2-0
- updated to 1.7.2 (cat and expect fixes)
* Thu Aug 26 2010 Dan Wallis - 1.7.1-0
- updated to 1.7.1 ("-verify 6" revert)
* Thu Aug 26 2010 Dan Wallis - 1.7.0-0
* Wed Jul 21 2010 Matteo Corti <[email protected]> - 1.6.1-0
- updated to 1.6.0 (--temp option)
* Fri Jul 9 2010 Matteo Corti <[email protected]> - 1.6.0-0
- updated to version 1.6.0 (long options, --critical and --warning, man page)
* Wed Jul 7 2010 Matteo Corti <[email protected]> - 1.5.2-0
- updated to version 1.5.2 (Wolfgang Schricker patch, see ChangeLog)
* Thu Jul 1 2010 Matteo Corti <[email protected]> - 1.5.1-0
- updated to version 1.5.1 (Yannick Gravel patch, see ChangeLog)
* Tue Jun 8 2010 Matteo Corti <[email protected]> - 1.5.0-0
- updated to version 1.5.0 (-s option to allow self signed certificates)
* Thu Mar 11 2010 Matteo Corti <[email protected]> - 1.4.4-0
- updated to 1.4.4 (bug fix release)
* Tue Mar 9 2010 Matteo Corti <[email protected]> - 1.4.3-0
- updated to 1.4.3 (-n and -N options)
* Wed Dec 2 2009 Matteo Corti <[email protected]> - 1.4.2-0
- updated to 1.4.2
* Mon Nov 30 2009 Matteo Corti <[email protected]> - 1.4.1-0
- updated to 1.4.1 (-r option)
* Mon Nov 30 2009 Matteo Corti <[email protected]> - 1.4.0-0
- Updated to 1.4.0: verify the certificate chain
* Mon Mar 30 2009 Matteo Corti <[email protected]> - 1.3.0-0
- Tuomas Haarala patch: -P option
* Tue May 13 2008 Matteo Corti <[email protected]> - 1.2.2-0
- Dan Wallis patch to include the CN in the messages
* Mon Feb 25 2008 Matteo Corti <[email protected]> - 1.2.1-0
- Dan Wallis patches (error checking, see ChangeLog)
* Mon Feb 25 2008 Matteo Corti <[email protected]> - 1.2.0-0
- Dan Wallis patches (see the ChangeLog)
* Mon Sep 24 2007 Matteo Corti <[email protected]> - 1.1.0-0
- first RPM package