From owner-svn-ports-all@freebsd.org Sat Mar 23 11:11:27 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3A50154A6D6; Sat, 23 Mar 2019 11:11:26 +0000 (UTC) (envelope-from mandree@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85BE48B743; Sat, 23 Mar 2019 11:11:26 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5EC7278F3; Sat, 23 Mar 2019 11:11:26 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2NBBQJO010479; Sat, 23 Mar 2019 11:11:26 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2NBBPdl010302; Sat, 23 Mar 2019 11:11:25 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201903231111.x2NBBPdl010302@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sat, 23 Mar 2019 11:11:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496638 - in head/security/easy-rsa: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head/security/easy-rsa: . files X-SVN-Commit-Revision: 496638 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 85BE48B743 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Mar 2019 11:11:27 -0000 Author: mandree Date: Sat Mar 23 11:11:25 2019 New Revision: 496638 URL: https://svnweb.freebsd.org/changeset/ports/496638 Log: security/easy-rsa: update to 3.0.6 ChangeLog: This also includes a cherry-pick for Issue #261 that happened only after v3.0.6, Added: head/security/easy-rsa/files/patch-37edb7d1d724571508b4c1c55c6d53f3f768adb3 (contents, props changed) head/security/easy-rsa/files/patch-4ce6e9c8e4b681c739b179a506a8ad1ca6d6ebe4 (contents, props changed) Deleted: head/security/easy-rsa/files/patch-easyrsa head/security/easy-rsa/files/patch-zgit-c5ff31e8 Modified: head/security/easy-rsa/Makefile head/security/easy-rsa/distinfo Modified: head/security/easy-rsa/Makefile ============================================================================== --- head/security/easy-rsa/Makefile Sat Mar 23 11:10:10 2019 (r496637) +++ head/security/easy-rsa/Makefile Sat Mar 23 11:11:25 2019 (r496638) @@ -1,11 +1,10 @@ # $FreeBSD$ PORTNAME= easy-rsa -DISTVERSION= 3.0.5 -PORTREVISION= 1 +DISTVERSION= 3.0.6 CATEGORIES= security net-mgmt MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/ -DISTNAME= EasyRSA-nix-${DISTVERSION} +DISTNAME= EasyRSA-unix-v${DISTVERSION} # Eric F. Crist does not require my # approval for changes to this package. -- mandree@FreeBSD.org @@ -19,12 +18,14 @@ CONFLICTS_INSTALL=easy-rsa2-* USES= tar:tgz NO_BUILD= yes -WRKSRC= ${WRKDIR}/EasyRSA-${DISTVERSION} +WRKSRC= ${WRKDIR}/EasyRSA-v${DISTVERSION} +PATCH_STRIP= -p2 + OPTIONS_DEFINE= DOCS EXAMPLES PORTDATA= x509-types/ -_pd_files= ChangeLog README.quickstart.md +_pd_files= ChangeLog COPYING.md README.md README.quickstart.md _pd_dirs= doc/ PORTDOCS= ${_pd_files} ${_pd_dirs} Modified: head/security/easy-rsa/distinfo ============================================================================== --- head/security/easy-rsa/distinfo Sat Mar 23 11:10:10 2019 (r496637) +++ head/security/easy-rsa/distinfo Sat Mar 23 11:11:25 2019 (r496638) @@ -1,3 +1,3 @@ -TIMESTAMP = 1537015455 -SHA256 (EasyRSA-nix-3.0.5.tgz) = 5ebfe7dfa20008aa15cecb136f2b308f6e23e29f17568969a3ba772aa50bbb37 -SIZE (EasyRSA-nix-3.0.5.tgz) = 50270 +TIMESTAMP = 1553337199 +SHA256 (EasyRSA-unix-v3.0.6.tgz) = cb29aed2d27824e59dbaad547f11dcab380a53c9fe05681249e804af436f1396 +SIZE (EasyRSA-unix-v3.0.6.tgz) = 40840 Added: head/security/easy-rsa/files/patch-37edb7d1d724571508b4c1c55c6d53f3f768adb3 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/easy-rsa/files/patch-37edb7d1d724571508b4c1c55c6d53f3f768adb3 Sat Mar 23 11:11:25 2019 (r496638) @@ -0,0 +1,24 @@ +From 37edb7d1d724571508b4c1c55c6d53f3f768adb3 Mon Sep 17 00:00:00 2001 +From: Eric F Crist +Date: Mon, 4 Feb 2019 13:01:09 -0600 +Subject: [PATCH] Remove RANDFILE var from openssl-easyrsa.cnf + +This fixes #261. + +Signed-off-by: Eric F Crist +--- + easyrsa3/openssl-easyrsa.cnf | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/easyrsa3/openssl-easyrsa.cnf b/easyrsa3/openssl-easyrsa.cnf +index 1139414..22a1eda 100644 +--- a/easyrsa3/openssl-easyrsa.cnf ++++ b/easyrsa3/openssl-easyrsa.cnf +@@ -1,6 +1,4 @@ +-# For use with Easy-RSA 3.1 and OpenSSL or LibreSSL +- +-RANDFILE = $ENV::EASYRSA_PKI/.rnd ++# For use with Easy-RSA 3.0+ and OpenSSL or LibreSSL + + #################################################################### + [ ca ] Added: head/security/easy-rsa/files/patch-4ce6e9c8e4b681c739b179a506a8ad1ca6d6ebe4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/easy-rsa/files/patch-4ce6e9c8e4b681c739b179a506a8ad1ca6d6ebe4 Sat Mar 23 11:11:25 2019 (r496638) @@ -0,0 +1,31 @@ +From 4ce6e9c8e4b681c739b179a506a8ad1ca6d6ebe4 Mon Sep 17 00:00:00 2001 +From: Stefan Pietsch +Date: Fri, 8 Feb 2019 00:11:08 +0100 +Subject: [PATCH] Fix typo + +--- + easyrsa3/openssl-easyrsa.cnf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/easyrsa3/openssl-easyrsa.cnf b/easyrsa3/openssl-easyrsa.cnf +index 22a1eda..2184d4c 100644 +--- a/easyrsa3/openssl-easyrsa.cnf ++++ b/easyrsa3/openssl-easyrsa.cnf +@@ -19,7 +19,7 @@ crl = $dir/crl.pem # The current CRL + private_key = $dir/private/ca.key # The private key + RANDFILE = $dir/.rand # private random number file + +-x509_extensions = basic_exts # The extentions to add to the cert ++x509_extensions = basic_exts # The extensions to add to the cert + + # This allows a V2 CRL. Ancient browsers don't like it, but anything Easy-RSA + # is designed for will. In return, we get the Issuer attached to CRLs. +@@ -57,7 +57,7 @@ default_bits = $ENV::EASYRSA_KEY_SIZE + default_keyfile = privkey.pem + default_md = $ENV::EASYRSA_DIGEST + distinguished_name = $ENV::EASYRSA_DN +-x509_extensions = easyrsa_ca # The extentions to add to the self signed cert ++x509_extensions = easyrsa_ca # The extensions to add to the self signed cert + + # A placeholder to handle the $EXTRA_EXTS feature: + #%EXTRA_EXTS% # Do NOT remove or change this line as $EXTRA_EXTS support requires it