From ff4f6c611822575160706df82f5ac950e01b7b20 Mon Sep 17 00:00:00 2001 From: jeremy Date: Mon, 14 Nov 2022 22:39:20 +0000 Subject: [PATCH] Update to easy-rsa 3.1.1 Fixes issue with LibreSSL 3.6.0. Add upstream patch to work around bug in number_only option parsing in 3.1.1. OK tb@ sthen@ --- security/easy-rsa/Makefile | 7 ++++++- security/easy-rsa/distinfo | 6 ++++-- security/easy-rsa/pkg/PLIST | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile index 03416201105..56d5efe2326 100644 --- a/security/easy-rsa/Makefile +++ b/security/easy-rsa/Makefile @@ -1,6 +1,6 @@ COMMENT = small RSA key management package -V = 3.1.0 +V = 3.1.1 PKGNAME = easy-rsa-${V} DISTNAME = EasyRSA-${V} EXTRACT_SUFX = .tgz @@ -8,6 +8,11 @@ CATEGORIES = security HOMEPAGE = https://openvpn.net/ +# Use upstream commit to fix number_only option parsing +MASTER_SITES0 = https://github.com/OpenVPN/easy-rsa/commit/ +PATCH_DIST_STRIP = -p2 +PATCHFILES = easy-rsa-number_only-fix{4472516e24b068542cfd1ff5c3e51c3b89eb38b1}.patch:0 + # GPLv2 only PERMIT_PACKAGE = Yes diff --git a/security/easy-rsa/distinfo b/security/easy-rsa/distinfo index b148c6cb356..4575c11c21f 100644 --- a/security/easy-rsa/distinfo +++ b/security/easy-rsa/distinfo @@ -1,2 +1,4 @@ -SHA256 (EasyRSA-3.1.0.tgz) = AbB+y1jcAD5H1OdPn8TaNexoQuls0APWbtcqQ9+YNlk= -SIZE (EasyRSA-3.1.0.tgz) = 61255 +SHA256 (EasyRSA-3.1.1.tgz) = d51CXKzx3lYmK3p+1rkLNuYUzpJz8IrXuGmSdAyzsqU= +SHA256 (easy-rsa-number_only-fix.patch) = TOznrkB8Qf4XPgmuWj7W6O/JibAKFwNNEjyz+A1AoZs= +SIZE (EasyRSA-3.1.1.tgz) = 68434 +SIZE (easy-rsa-number_only-fix.patch) = 1409 diff --git a/security/easy-rsa/pkg/PLIST b/security/easy-rsa/pkg/PLIST index f352b02c441..52d3ea53f0f 100644 --- a/security/easy-rsa/pkg/PLIST +++ b/security/easy-rsa/pkg/PLIST @@ -6,7 +6,9 @@ share/easy-rsa/README.md share/easy-rsa/README.quickstart.md share/easy-rsa/doc/ share/easy-rsa/doc/EasyRSA-Advanced.md +share/easy-rsa/doc/EasyRSA-Contributing.md share/easy-rsa/doc/EasyRSA-Readme.md +share/easy-rsa/doc/EasyRSA-Renew-and-Revoke.md share/easy-rsa/doc/EasyRSA-Upgrade-Notes.md share/easy-rsa/doc/Hacking.md share/easy-rsa/doc/Intro-To-PKI.md