1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="Small RSA key management package, based on OpenSSL"
12 HOMEPAGE="http://openvpn.net/"
13 SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz"
17 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
20 DEPEND="!libressl? ( >=dev-libs/openssl-0.9.6:0 )
21 libressl? ( dev-libs/libressl )"
23 !<net-misc/openvpn-2.3"
25 S="${WORKDIR}/${MY_P}"
28 epatch "${FILESDIR}/${PV}-pkcs11.patch"
32 exeinto /usr/share/easy-rsa
33 doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf
34 insinto /usr/share/easy-rsa
35 doins vars openssl-*.cnf
36 doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa