42d7973d56
FreeBSD-relevant ChangeLog extract since 3.0.6: * Remove RANDFILE environment variable (#261) * Workaround for bug in win32 mktemp (#247, #305, PR #312) * Handle IP address in SAN and renewals (#317) * Workaround for ash and no set -o echo (#319) * Shore up windows testing framework (#314) * Provide upgrade mechanism for older versions of EasyRSA (#349) * Add support for KDC certificates (#322) * Add support for Edward Curves (#354, #350) * Add support for EASYRSA_PASSIN and EASYRSA_PASSOUT env vars (#368) * Add support for RID to SAN (#362) Update WWW: link in pkg-descr. Remove patches that have been integrated upstream. Shuffle USES=-line to please portlint. Add NO_ARCH=yes, since this is all scripts and text. Reported by: Eric F Crist (upstream maintainer)
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= easy-rsa
|
|
DISTVERSION= 3.0.7
|
|
CATEGORIES= security net-mgmt
|
|
MASTER_SITES= https://github.com/OpenVPN/easy-rsa/releases/download/v${DISTVERSION}/
|
|
DISTNAME= EasyRSA-${DISTVERSION}
|
|
|
|
# Eric F. Crist <ecrist@secure-computing.net> does not require my
|
|
# approval for changes to this package. -- mandree@FreeBSD.org
|
|
MAINTAINER= mandree@FreeBSD.org
|
|
COMMENT= Small RSA key management package based on openssl
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= tar:tgz
|
|
|
|
CONFLICTS_INSTALL=easy-rsa2-*
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WRKSRC= ${WRKDIR}/EasyRSA-${DISTVERSION}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
PORTDATA= x509-types/
|
|
_pd_files= ChangeLog COPYING.md README.md README.quickstart.md mktemp.txt
|
|
_pd_dirs= doc/
|
|
PORTDOCS= ${_pd_files} ${_pd_dirs}
|
|
|
|
SUB_FILES= easyrsa
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/x509-types/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/easyrsa ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/easyrsa ${STAGEDIR}${DATADIR}/easyrsa.real
|
|
${INSTALL_DATA} ${WRKSRC}/vars.example ${STAGEDIR}${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/openssl-easyrsa.cnf ${STAGEDIR}${DATADIR}/openssl-easyrsa.cnf.example
|
|
(cd ${WRKSRC}/x509-types/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/x509-types/)
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${_pd_files}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.for i in ${_pd_dirs}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
|
|
(cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|