git: 33e5fc630e24 - main - security/testssl.sh: Update to 3.0.7

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Sat, 19 Feb 2022 20:43:06 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33e5fc630e242922621e2e0303fd2f1c2543c301

commit 33e5fc630e242922621e2e0303fd2f1c2543c301
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-02-19 20:42:22 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-02-19 20:43:01 +0000

    security/testssl.sh: Update to 3.0.7
    
    Changes:
      Fix "ID resumption test failed" bug under Darwin
      Fix "locale error message when en_US.UTF-8 isn't available" bug
      Fix "Darwin / LibreSSL startup problem" which leads to a question upfront
      Make upfront handshake tests more compatible by adding </dev/null (David)
      Take 'HTTP Age' HTTP header into account when determine HTTP time (Wahnes)
      Fix JSON header (structured JSON output) name (David)
      Robustness: Update reset_hostdepended_vars() for mass tests (David)
      Simplify determination of git stuff (Matthias)
      Fix "newline to spaces" in JSON and CSV findings (David)
      Fix "Bad file descriptor with --connect-timeout option"
      SSLv2 fixes, OpenSSL fixes 3.X (David)
      Improve cipher_pref_check() for detecting prioritization of ChaCha ciphers
      Simplify + speed up pre-check
      Addressing lame DNS responses on WSL
      Fix big serial # issue in certs
      Fix invalid JSON when certificate issuer containing non-ASCII chars
---
 security/testssl.sh/Makefile               | 2 +-
 security/testssl.sh/distinfo               | 6 +++---
 security/testssl.sh/files/patch-testssl.sh | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/security/testssl.sh/Makefile b/security/testssl.sh/Makefile
index d8d641b0bb27..7f65435754d3 100644
--- a/security/testssl.sh/Makefile
+++ b/security/testssl.sh/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	testssl.sh
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.6
+DISTVERSION=	3.0.7
 CATEGORIES=	security
 
 MAINTAINER=	adamw@FreeBSD.org
diff --git a/security/testssl.sh/distinfo b/security/testssl.sh/distinfo
index 6c4a67b59dc1..31abe3c57ded 100644
--- a/security/testssl.sh/distinfo
+++ b/security/testssl.sh/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633279615
-SHA256 (drwetter-testssl.sh-v3.0.6_GH0.tar.gz) = 05768444d6cf3dc5812f8fb88695d17a82668089deddd6aaf969041ba4c10b10
-SIZE (drwetter-testssl.sh-v3.0.6_GH0.tar.gz) = 9217988
+TIMESTAMP = 1645302781
+SHA256 (drwetter-testssl.sh-v3.0.7_GH0.tar.gz) = c2beb3ae1fc1301ad845c7aa01c0a292c41b95747ef67f34601f21fb2da16145
+SIZE (drwetter-testssl.sh-v3.0.7_GH0.tar.gz) = 9219774
diff --git a/security/testssl.sh/files/patch-testssl.sh b/security/testssl.sh/files/patch-testssl.sh
index 13c5e3bee4a2..46ad2069d189 100644
--- a/security/testssl.sh/files/patch-testssl.sh
+++ b/security/testssl.sh/files/patch-testssl.sh
@@ -1,4 +1,4 @@
---- testssl.sh.orig	2020-09-29 09:50:09 UTC
+--- testssl.sh.orig	2022-02-19 20:34:21 UTC
 +++ testssl.sh
 @@ -132,7 +132,7 @@ declare -r RUN_DIR="$(dirname "$0")"
  declare -r SYSTEM="$(uname -s)"
@@ -14,16 +14,16 @@
  #
  # Following variables make use of $ENV and can be used like "OPENSSL=<myprivate_path_to_openssl> ./testssl.sh <URI>"
 +if [[ -z "$OPENSSL" ]]; then
-+     OPENSSL=%%PREFIX%%/openssl-unsafe/bin/openssl
++     OPENSSL="%%PREFIX%%/openssl-unsafe/bin/openssl"
 +fi
  declare -x OPENSSL
  OPENSSL_TIMEOUT=${OPENSSL_TIMEOUT:-""}  # Default connect timeout with openssl before we call the server side unreachable
  CONNECT_TIMEOUT=${CONNECT_TIMEOUT:-""}  # Default connect timeout with sockets before we call the server side unreachable
-@@ -20128,7 +20131,6 @@ lets_roll() {
+@@ -20345,7 +20348,6 @@ lets_roll() {
       mybanner
       check_proxy
       check4openssl_oldfarts
 -     check_bsd_mount
- 
+      setup_lc_collate
  
       if "$do_display_only"; then