Skip to content

Commit 0be58f2

Browse files
committed
Does not require host if --no-not-resolve was specified
1 parent 9923029 commit 0be58f2

8 files changed

Lines changed: 21 additions & 8 deletions

File tree

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ authors:
275275
- name: Zadkiel
276276
website: https://github.com/aslafy-z
277277
title: "check_ssl_cert"
278-
version: 2.97.0
279-
date-released: 2026-03-15
278+
version: 2.98.0
279+
date-released: 2026-04-28
280280
url: "https://github.com/matteocorti/check_ssl_cert"
281281
repository-code: "https://github.com/matteocorti/check_ssl_cert"
282282
keywords:

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2026-04-28 Matteo Corti <matteo@corti.li>
2+
3+
* check_ssl_cert (main): Does not require host if --no-not-resolve was specified
4+
15
2026-03-15 Matteo Corti <matteo@corti.li>
26

37
* check_ssl_cert (main): Added support for uutils date

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# News
22

3+
* 2026-04-28 Version 2.98.0
4+
* Does not require host if ```--no-not-resolve``` was specified
35
* 2026-03-15 Version 2.97.0
46
* Added support for uutils date
57
* 2026-02-14 Version 2.96.0

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Added support for uutils date
1+
Does not require host if ```--no-not-resolve``` was specified

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.97.0
1+
2.98.0

check_ssl_cert

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
################################################################################
2727
# Constants
2828

29-
VERSION=2.97.0
29+
VERSION=2.98.0
3030
SHORTNAME="SSL_CERT"
3131

3232
# reset possibly set variables
@@ -5282,7 +5282,11 @@ main() {
52825282
check_required_prog 'bc'
52835283
BCBIN=${PROG}
52845284

5285-
check_required_prog 'host'
5285+
if [ -n "${DO_NOT_RESOLVE}" ] ; then
5286+
check_required_prog 'host'
5287+
fi
5288+
5289+
52865290
check_required_prog 'hostname'
52875291

52885292
if [ -n "${CRITICAL_DAYS}" ] && [ -n "${WARNING_DAYS}" ] && [ -n "${CRITICAL_SECONDS}" ] && [ -n "${WARNING_SECONDS}" ]; then

check_ssl_cert.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" Process this file with
22
.\" groff -man -Tascii check_ssl_cert.1
33
.\"
4-
.TH "check_ssl_cert" 1 "March, 2026" "2.97.0" "USER COMMANDS"
4+
.TH "check_ssl_cert" 1 "April, 2026" "2.98.0" "USER COMMANDS"
55
.SH NAME
66
check_ssl_cert \- checks the validity of X.509 certificates
77
.SH SYNOPSIS

check_ssl_cert.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%global version 2.97.0
1+
%global version 2.98.0
22
%global release 0
33
%global sourcename check_ssl_cert
44
%global packagename nagios-plugins-check_ssl_cert
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
5555
%endif
5656

5757
%changelog
58+
* Tue Apr 28 2026 Matteo Corti <matteo@corti.li> - 2.98.0-0
59+
- Updated to 2.98.0
60+
5861
* Sun Mar 15 2026 Matteo Corti <matteo@corti.li> - 2.97.0-0
5962
- Updated to 2.97.0
6063

0 commit comments

Comments
 (0)