Import security/easy-rsa, which is split off from OpenVPN in 2.3+.

From Bjorn Ketelaars, ok benoit@

Easy-RSA 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. While this tool is primarily concerned
with key management for the SSL VPN application space, it can also
be used for building web certificates.
This commit is contained in:
sthen 2013-04-02 11:40:36 +00:00
parent c83f6cc116
commit cac4849e00
5 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/02 11:40:36 sthen Exp $
COMMENT = small RSA key management package
PKGNAME = easy-rsa-2.2.0
DISTNAME = ${PKGNAME}_master
CATEGORIES = security
HOMEPAGE = http://openvpn.net/
# GPLv2 only
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/downloads/OpenVPN/easy-rsa/
CONFIGURE_STYLE = gnu
NO_TEST = Yes
post-install:
@mv ${PREFIX}/share/easy-rsa/vars{,.dist}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (easy-rsa-2.2.0_master.tar.gz) = 0j3cOnZLQNA62nbzh8kq5Nz09SZtpUwrrhMDJbBe6+I=
SIZE (easy-rsa-2.2.0_master.tar.gz) = 80460

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2013/04/02 11:40:36 sthen Exp $
--- Makefile.in.orig Tue Apr 2 07:35:09 2013
+++ Makefile.in Tue Apr 2 07:36:41 2013
@@ -186,9 +186,7 @@ MAINTAINERCLEANFILES = \
EXTRA_DIST = easy-rsa
SUBDIRS = doc distro
-dist_doc_DATA = \
- COPYRIGHT.GPL \
- COPYING
+dist_doc_DATA =
dist_easyrsa_DATA =
all: all-recursive

View File

@ -0,0 +1,5 @@
Easy-RSA 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. While this tool is primarily concerned
with key management for the SSL VPN application space, it can also
be used for building web certificates.

View File

@ -0,0 +1,25 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/02 11:40:36 sthen Exp $
share/doc/easy-rsa/
share/doc/easy-rsa/README-2.0
share/easy-rsa/
share/easy-rsa/build-ca
share/easy-rsa/build-dh
share/easy-rsa/build-inter
share/easy-rsa/build-key
share/easy-rsa/build-key-pass
share/easy-rsa/build-key-pkcs12
share/easy-rsa/build-key-server
share/easy-rsa/build-req
share/easy-rsa/build-req-pass
share/easy-rsa/clean-all
share/easy-rsa/inherit-inter
share/easy-rsa/list-crl
share/easy-rsa/openssl-0.9.6.cnf
share/easy-rsa/openssl-0.9.8.cnf
share/easy-rsa/openssl-1.0.0.cnf
share/easy-rsa/pkitool
share/easy-rsa/revoke-full
share/easy-rsa/sign-req
share/easy-rsa/vars.dist
@sample share/easy-rsa/vars
share/easy-rsa/whichopensslcnf