This is a small RSA key management package, based on the openssl command line
tool, that can be found in the easy-rsa subdirectory of the OpenVPN distribution.
This commit is contained in:
parent
0d4d79ae46
commit
fddd5a788a
5 changed files with 76 additions and 0 deletions
3
easyrsa/DESCR
Normal file
3
easyrsa/DESCR
Normal file
|
@ -0,0 +1,3 @@
|
|||
This is a small RSA key management package, based on the openssl command line
|
||||
tool, that can be found in the easy-rsa subdirectory of the OpenVPN
|
||||
distribution.
|
9
easyrsa/MESSAGE
Normal file
9
easyrsa/MESSAGE
Normal file
|
@ -0,0 +1,9 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.1 2015/08/19 14:06:47 triaxx Exp $
|
||||
|
||||
To create a pki infrastructure, copy the example directory in your home:
|
||||
cp -r ${EGDIR} ~
|
||||
and init the pki:
|
||||
cd easyrsa && easyrsa init-pki
|
||||
|
||||
===========================================================================
|
45
easyrsa/Makefile
Normal file
45
easyrsa/Makefile
Normal file
|
@ -0,0 +1,45 @@
|
|||
# $NetBSD: Makefile,v 1.1 2015/08/19 14:06:47 triaxx Exp $
|
||||
|
||||
DISTNAME= easy-rsa-${VERSION}
|
||||
PKGNAME= easyrsa-${VERSION}
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenVPN/easy-rsa/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/OpenVPN/easy-rsa
|
||||
COMMENT= Small RSA key management based on openssl command
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
DEPENDS+= openssl-[0-9]*:../../security/openssl
|
||||
|
||||
VERSION= 3.0.0-rc2
|
||||
GIT_REPOSITORIES= easy-rsa
|
||||
GIT_REPO.easy-rsa= https://github.com/OpenVPN/easy-rsa.git
|
||||
GIT_TAG.easy-rsa= v${VERSION}
|
||||
|
||||
WRKSRC= ${WRKDIR}/easy-rsa
|
||||
INSTALLATION_DIRS+= ${BINDIR} ${EGDIR} ${DOCDIR}
|
||||
BINDIR= ${PREFIX}/bin
|
||||
EGDIR= ${PREFIX}/share/examples/easyrsa
|
||||
DOCDIR= ${PREFIX}/share/doc/easyrsa
|
||||
DOC_FILES= COPYING ChangeLog KNOWN_ISSUES README README.quickstart.md
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/easyrsa3/easyrsa ${DESTDIR}${BINDIR}/easyrsa
|
||||
|
||||
${INSTALL_DATA} ${WRKSRC}/easyrsa3/openssl-1.0.cnf ${DESTDIR}${EGDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/easyrsa3/vars.example ${DESTDIR}${EGDIR}/vars
|
||||
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/x509-types
|
||||
${INSTALL_DATA} ${WRKSRC}/easyrsa3/x509-types/* ${DESTDIR}${EGDIR}/x509-types
|
||||
|
||||
.for f in ${DOC_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${DOCDIR}
|
||||
|
||||
.include "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
19
easyrsa/PLIST
Normal file
19
easyrsa/PLIST
Normal file
|
@ -0,0 +1,19 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2015/08/19 14:06:47 triaxx Exp $
|
||||
bin/easyrsa
|
||||
share/doc/easyrsa/COPYING
|
||||
share/doc/easyrsa/ChangeLog
|
||||
share/doc/easyrsa/EasyRSA-Advanced.md
|
||||
share/doc/easyrsa/EasyRSA-Readme.md
|
||||
share/doc/easyrsa/EasyRSA-Upgrade-Notes.md
|
||||
share/doc/easyrsa/Hacking.md
|
||||
share/doc/easyrsa/Intro-To-PKI.md
|
||||
share/doc/easyrsa/KNOWN_ISSUES
|
||||
share/doc/easyrsa/README
|
||||
share/doc/easyrsa/README.quickstart.md
|
||||
share/doc/easyrsa/TODO
|
||||
share/examples/easyrsa/openssl-1.0.cnf
|
||||
share/examples/easyrsa/vars
|
||||
share/examples/easyrsa/x509-types/COMMON
|
||||
share/examples/easyrsa/x509-types/ca
|
||||
share/examples/easyrsa/x509-types/client
|
||||
share/examples/easyrsa/x509-types/server
|
0
easyrsa/distinfo
Normal file
0
easyrsa/distinfo
Normal file
Loading…
Reference in a new issue