update to easy-rsa 3.0.3

This commit is contained in:
sthen 2018-01-13 01:23:46 +00:00
parent a4435af6dd
commit b010be9f60
4 changed files with 23 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2016/02/18 13:50:00 sthen Exp $
# $OpenBSD: Makefile,v 1.6 2018/01/13 01:23:46 sthen Exp $
COMMENT = small RSA key management package
V = 3.0.1
V = 3.0.3
PKGNAME = easy-rsa-$V
DISTNAME = EasyRSA-$V
EXTRACT_SUFX = .tgz
@ -13,7 +13,7 @@ HOMEPAGE = http://openvpn.net/
# GPLv2 only
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/OpenVPN/easy-rsa/releases/download/$V/
MASTER_SITES = https://github.com/OpenVPN/easy-rsa/releases/download/v$V/
# relies on passing environment variables to $ENV:: in config files
RUN_DEPENDS = security/openssl

View File

@ -1,2 +1,2 @@
SHA256 (EasyRSA-3.0.1.tgz) = 29r1uURLmeDFIh/UvPFThMYjgMG2POoj1CI5QU17LU4=
SIZE (EasyRSA-3.0.1.tgz) = 40960
SHA256 (EasyRSA-3.0.3.tgz) = +yOdZ/S9CfgXsAJUUNQi7Xrj7pOvc3xX1KzY/bZGB54=
SIZE (EasyRSA-3.0.3.tgz) = 40960

View File

@ -1,12 +1,21 @@
$OpenBSD: patch-easyrsa,v 1.1 2016/02/18 13:50:00 sthen Exp $
--- easyrsa.orig Thu Feb 18 11:41:22 2016
+++ easyrsa Thu Feb 18 11:41:37 2016
@@ -1003,7 +1003,7 @@ Note: using Easy-RSA configuration from: $vars"
$OpenBSD: patch-easyrsa,v 1.2 2018/01/13 01:23:46 sthen Exp $
Makes extensive use of passing environment variables and using
$ENV:: in OpenSSL config files. Bizarrely, parsing of these config
files is done by the library rather than the openssl(1) command
line tool, and this was removed from LibreSSL, so easy-rsa won't
work with LibreSSL without extensive changes, so patching to use
OpenSSL from ports instead.
Index: easyrsa
--- easyrsa.orig
+++ easyrsa
@@ -1042,7 +1042,7 @@ Note: using Easy-RSA configuration from: $vars"
# Set defaults, preferring existing env-vars if present
set_var EASYRSA "$PWD"
set_var EASYRSA "${0%/*}"
- set_var EASYRSA_OPENSSL openssl
+ set_var EASYRSA_OPENSSL "/usr/local/bin/eopenssl"
set_var EASYRSA_PKI "$EASYRSA/pki"
set_var EASYRSA_PKI "$PWD/pki"
set_var EASYRSA_DN cn_only
set_var EASYRSA_REQ_COUNTRY "US"

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2016/02/18 13:50:00 sthen Exp $
@comment $OpenBSD: PLIST,v 1.3 2018/01/13 01:23:46 sthen Exp $
@extraunexec rm -rf %D/share/easy-rsa/pki
share/easy-rsa/
share/easy-rsa/COPYING
share/easy-rsa/COPYING.md
share/easy-rsa/ChangeLog
share/easy-rsa/README.quickstart.md
share/easy-rsa/doc/
@ -18,4 +18,5 @@ share/easy-rsa/x509-types/
share/easy-rsa/x509-types/COMMON
share/easy-rsa/x509-types/ca
share/easy-rsa/x509-types/client
share/easy-rsa/x509-types/san
share/easy-rsa/x509-types/server