1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/easy-rsa: download & install easyrsa-tools.lib

to support, for instance, easyrsa show-expire

Reported by:	avg@ (Andriy Gapon, by e-mail)

For upstream bug report,
see also:	https://github.com/OpenVPN/easy-rsa/issues/1144
This commit is contained in:
Matthias Andree 2024-10-02 22:23:04 +02:00
parent 630a8b7e90
commit 1fc19dfd3c
3 changed files with 10 additions and 4 deletions

View File

@ -1,11 +1,13 @@
PORTNAME= easy-rsa
DISTVERSION= 3.2.1
PORTREVISION= 0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security net-mgmt
MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/ \
LOCAL/mandree/
DISTNAME= EasyRSA-${DISTVERSION}
LOCAL/mandree/ \
https://github.com/OpenVPN/easy-rsa/raw/refs/tags/v${DISTVERSION}/dev/:lib
DISTFILES= ${EXTRACT_ONLY} easyrsa-tools.lib:lib
EXTRACT_ONLY= EasyRSA-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= mandree@FreeBSD.org
COMMENT= Small RSA key management package based on openssl
@ -35,6 +37,7 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}/x509-types/
${INSTALL_SCRIPT} ${WRKSRC}/easyrsa ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${DISTDIR}/easyrsa-tools.lib ${STAGEDIR}${PREFIX}/bin/
${LN} -fh ${STAGEDIR}${PREFIX}/bin/easyrsa ${STAGEDIR}${PREFIX}/bin/easy-rsa
${INSTALL_DATA} ${WRKSRC}/vars.example ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/openssl-easyrsa.cnf ${STAGEDIR}${DATADIR}/openssl-easyrsa.cnf.example

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1726777433
TIMESTAMP = 1727863160
SHA256 (EasyRSA-3.2.1.tgz) = ec0fdca46c07afef341e0e0eeb2bf0cfe74a11322b77163e5d764d28cb4eec89
SIZE (EasyRSA-3.2.1.tgz) = 79917
SHA256 (easyrsa-tools.lib) = eea232959d41f49330e032bf94a49b4b6b0574d75e199dd219096f1739077b3e
SIZE (easyrsa-tools.lib) = 24329

View File

@ -1,4 +1,5 @@
bin/easyrsa
bin/easyrsa-tools.lib
bin/easy-rsa
@sample %%DATADIR%%/openssl-easyrsa.cnf.example %%DATADIR%%/openssl-easyrsa.cnf
%%DATADIR%%/vars.example