git: 3ec62b06e2c6 - main - security/easy-rsa: update to 3.1.0

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sat, 21 May 2022 13:10:11 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ec62b06e2c63703aba5944a0dbe58824a982299

commit 3ec62b06e2c63703aba5944a0dbe58824a982299
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-05-21 13:09:39 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-05-21 13:10:05 +0000

    security/easy-rsa: update to 3.1.0
    
    3.1.0 (2022-05-18)
       * Introduce basic support for OpenSSL version 3 (#492)
       * Update regex in grep to be POSIX compliant (#556)
       * Introduce status reporting tools (#555 & #557)
       * Display certificates using UTF8 (#551)
       * Allow certificates to be created with fixed date offset (#550)
       * Add 'verify' to verify certificate against CA (#549)
       * Add PKCS#12 alias 'friendlyName' (#544)
       * Disallow use of '--vars=FILE init-pki' (#566)
       * Support multiple IP-Addresses in SAN (#564)
       * Add option '--renew-days=NN', custom renew grace period (#557)
       * Add 'nopass' option to the 'export-pkcs' functions (#411)
       * Add support for 'busybox' (#543)
       * Add option '--tmp-dir=DIR' to declare Temp-dir (Commit f503a22)
    
    3.0.9 (2022-05-17)
       * Upgrade OpenSSL from 1.1.0j to 1.1.1o (#405, #407)
          - We are buliding this ourselves now.
       * Fix --version so it uses EASYRSA_OPENSSL (#416)
       * Use openssl rand instead of non-POSIX mktemp (#478)
       * Fix paths with spaces (#443)
       * Correct OpenSSL version from Homebrew on macOs (#416)
       * Fix revoking a renewed certificate (Original PR #394)
         Follow-up commit: ef22701878bb10df567d60f2ac50dce52a82c9ee
       * Introduce 'show-crl' (d1993892178c5219f4a38d50db3b53d1a972b36c)
       * Support Windows-Git 'version of bash' (#533)
       * Disallow use of single quote (') in vars file, Warning (#530)
       * Creating a CA uses x509-types/ca and COMMON (#526)
       * Prefer 'PKI/vars' over all other locations (#528)
       * Introduce 'init-pki soft'  option (#197)
       * Warnings are no longer silenced by --batch (#523)
       * Improve packaging options (#510)
       * Update regex for POSIX compliance (#556)
       * Correct date format for Darwin/BSD (#559)
---
 security/easy-rsa/Makefile            |  3 +--
 security/easy-rsa/distinfo            |  6 +++---
 security/easy-rsa/files/patch-easyrsa | 11 -----------
 3 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile
index a30fee2ede19..b1a0304f579e 100644
--- a/security/easy-rsa/Makefile
+++ b/security/easy-rsa/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	easy-rsa
-DISTVERSION=	3.0.8
-PORTREVISION=	1
+DISTVERSION=	3.1.0
 CATEGORIES=	security net-mgmt
 MASTER_SITES=	https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/
 DISTNAME=	EasyRSA-${DISTVERSION}
diff --git a/security/easy-rsa/distinfo b/security/easy-rsa/distinfo
index 310c316c2449..7d8559944507 100644
--- a/security/easy-rsa/distinfo
+++ b/security/easy-rsa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600501362
-SHA256 (EasyRSA-3.0.8.tgz) = cae114c212a5be4d89f2253d36c70ab94f68d295f24e8b6711c2cab0fabf7e18
-SIZE (EasyRSA-3.0.8.tgz) = 48907
+TIMESTAMP = 1653138476
+SHA256 (EasyRSA-3.1.0.tgz) = 01b07ecb58dc003e47d4e74f9fc4da35ec6842e96cd003d66ed72a43df983659
+SIZE (EasyRSA-3.1.0.tgz) = 61255
diff --git a/security/easy-rsa/files/patch-easyrsa b/security/easy-rsa/files/patch-easyrsa
deleted file mode 100644
index 4278fe9e171e..000000000000
--- a/security/easy-rsa/files/patch-easyrsa
+++ /dev/null
@@ -1,11 +0,0 @@
---- easyrsa.orig	2020-09-09 20:59:45 UTC
-+++ easyrsa
-@@ -1546,7 +1546,7 @@ default_server_san() {
- 		easyrsa_openssl req -in "$path" -noout -subject -nameopt sep_multiline |
- 		awk -F'=' '/^  *CN=/{print $2}'
- 		)
--	echo "$cn" | grep -E -q '^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$'
-+	echo "$cn" | grep -E -q '^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'
- 	#shellcheck disable=SC2181
- 	if [ $? -eq 0 ]; then
- 		print "subjectAltName = IP:$cn"