Skip to content

Commit

Permalink
security/easy-rsa: download & install easyrsa-tools.lib
Browse files Browse the repository at this point in the history
to support, for instance, easyrsa show-expire

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

For upstream bug report,
see also:	OpenVPN/easy-rsa#1144
  • Loading branch information
mandree committed Oct 2, 2024
1 parent 630a8b7 commit 1fc19df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions security/easy-rsa/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
COMMENT= Small RSA key management package based on openssl
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion security/easy-rsa/distinfo
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions security/easy-rsa/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1fc19df

Please sign in to comment.