From nobody Sun Oct 2 09:08:20 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MgJ6F1W45z4Tysr; Sun, 2 Oct 2022 09:08:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgJ6F0bCCz3Zh2; Sun, 2 Oct 2022 09:08:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664701701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BbKh2y/qwAAXyc7ZKyQeoBNp1DxQ4SxHTCJ6aSfYu7E=; b=GRMyG/mYec2NBAm3idRBoZHfLxOcKqxa/R6qHOg9eq4xTXngH6XU+MCFcEGKmu31FUFMGH 60qsoGmm4tdf01EF6fuhyifn2+0dqWXv3+0GwUPJQmAnOMN33Ddl+yvyYWlKIfVZKBbYqi Qy0//uRrfNIk+ggbGQN3tl5ZhVDZqiuV878+ePhGecnpFSXgeKesQ8dZxSkXSjjzi0NYu7 D3I3FvSFKOM+9vMUm1vVRYMhPCdHH2LnKoFjI7SixQUUALCNutUNMG5JYkjnpsAaBkE7M3 zOGkuPri9s0uKHVdhqJVlDzhCTFNXzsjiO73v5u9WxxxN1QpTBcZy5suWp5k2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MgJ6D6ZXSzpfq; Sun, 2 Oct 2022 09:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29298Kh7007118; Sun, 2 Oct 2022 09:08:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29298Kgu007117; Sun, 2 Oct 2022 09:08:20 GMT (envelope-from git) Date: Sun, 2 Oct 2022 09:08:20 GMT Message-Id: <202210020908.29298Kgu007117@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: 5d062d5c18a1 - main - security/easy-rsa: sed \s -> [[:space:]] List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d062d5c18a1de48b8c30bf69929e1e3cb37679f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664701701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BbKh2y/qwAAXyc7ZKyQeoBNp1DxQ4SxHTCJ6aSfYu7E=; b=RFJ+QfNxFX6KVQfG0DSZWxfoaclISXtkoBblbSazkuAMcI0qk+tyR232dM/EeCBqoq2mJt aC7wEm6F6iTDlxq0wSDW8LEyeXw0NlZ5NEeIEaXmM/lxwHzSmXczIhFvvxCh9yWpeSzhKg h+TXd9W/xgEh4dTdOfZvau5H91LKKgoTz8/z676PWSBcy9YaKo9JoVpGkmZ4fd1TwtDAb3 Pfp9aHiTHofuir1awu8k8z99DV3jBbhj9ZYqbQdh/sHIpbE2SXKO/jzeRbYNI1fwWr99sT wUu18XO+q+iFgVGcX+mHBcChY5HZ5irw1o9e0BNqY+tjVIv14yXQm9czVU0ixw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664701701; a=rsa-sha256; cv=none; b=beW7wlvbd582q4GZuYvshyDtCqhTjhksHDoVKtqfQpiOa/MqaUg1lxNUJLiK5JAyXJGjS+ zacFuyjNhjo6X8SAzn75rQU7ySR25ns2uACH2x71Y/1oOo+Z1awQ0avI9NfhBaEqH5yG8f pN12s59HD9JRsaSSHPjDGwSih1DVQdGnLo4jvixdZbaYys/mifnmyonam7l5E0VOxpK2ai 9SZn6eXi8JdIesJRx+tcgLIuq6y671edUWrAiFBl4RoMPvAXFRnLPgakHiQqMVv1cMcplw ZNsdBixa75pqTS0FFgyi8r46yu2/Tu+fIbBelXlZeoo5VSx1oZi0WOBg3pi4TQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d062d5c18a1de48b8c30bf69929e1e3cb37679f commit 5d062d5c18a1de48b8c30bf69929e1e3cb37679f Author: Matthias Andree AuthorDate: 2022-10-02 09:07:03 +0000 Commit: Matthias Andree CommitDate: 2022-10-02 09:08:17 +0000 security/easy-rsa: sed \s -> [[:space:]] Fix https://github.com/OpenVPN/easy-rsa/issues/714 Patch suggested (needed to be integrated) and Reported by: topical@gmx.net PR: 266726 MFH: 2022Q4 --- security/easy-rsa/Makefile | 4 +--- security/easy-rsa/files/patch-easyrsa | 26 ++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index 02cd6237fa37..8a3ff8cf0c9d 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -1,12 +1,10 @@ PORTNAME= easy-rsa DISTVERSION= 3.1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net-mgmt MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/ DISTNAME= EasyRSA-${DISTVERSION} -# Eric F. Crist does not require my -# approval for changes to this package. -- mandree@FreeBSD.org MAINTAINER= mandree@FreeBSD.org COMMENT= Small RSA key management package based on openssl WWW= https://github.com/OpenVPN/easy-rsa diff --git a/security/easy-rsa/files/patch-easyrsa b/security/easy-rsa/files/patch-easyrsa index c6582845c35b..f839ca4b6015 100644 --- a/security/easy-rsa/files/patch-easyrsa +++ b/security/easy-rsa/files/patch-easyrsa @@ -3,12 +3,30 @@ Filed upstream as Issue #591 --- easyrsa.orig 2022-05-19 01:53:50 UTC +++ easyrsa -@@ -3829,6 +3829,8 @@ VERSION_TEXT +@@ -2037,7 +2037,7 @@ renewable() { + verify_ca_init + + in_dir="$EASYRSA_PKI" +- MATCH=$(echo "$*" | sed -re 's/\s+/|/g') ++ MATCH=$(echo "$*" | sed -re 's/[[:space:]]+/|/g') + DATE=$(date --date \ + "+${EASYRSA_CERT_RENEW} days" \ + +"%y%m%d%H%M%S") +@@ -2445,7 +2445,7 @@ display_san() { + + if echo "$EASYRSA_EXTRA_EXTS" | grep -q subjectAltName; then + print "$(echo "$EASYRSA_EXTRA_EXTS" | grep subjectAltName | +- sed 's/^\s*subjectAltName\s*=\s*//')" ++ sed 's/^[[:space:]]*subjectAltName[[:space:]]*=[[:space:]]*//')" + else + san="$( + x509v3san="X509v3 Subject Alternative Name:" +@@ -3828,6 +3828,8 @@ VERSION_TEXT + NL=' ' - -+LC_TIME=C ; export LC_TIME ; unset LC_ALL + ++LC_TIME=C ; export LC_TIME ; unset LC_ALL + # Be secure with a restrictive umask [ -z "$EASYRSA_NO_UMASK" ] && umask "${EASYRSA_UMASK:-077}" -