diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2015-12-06 20:37:05 +0100 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2015-12-06 21:06:55 +0100 |
commit | 48f522ef0252dca88d842d7c5fddf01830f1081b (patch) | |
tree | d56a773aaa12ad10bb83864b793b9a8f5fa94386 /app-crypt/easy-rsa | |
parent | app-text/ttf2pk2: arm stable, bug #555220 (diff) | |
download | gentoo-48f522ef0252dca88d842d7c5fddf01830f1081b.tar.gz gentoo-48f522ef0252dca88d842d7c5fddf01830f1081b.tar.bz2 gentoo-48f522ef0252dca88d842d7c5fddf01830f1081b.zip |
app-crypt/easy-rsa: add libressl support (fixes bug 565240)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-crypt/easy-rsa')
-rw-r--r-- | app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild b/app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild new file mode 100644 index 000000000000..a3cbd8c1258b --- /dev/null +++ b/app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MY_P="EasyRSA-${PV}" + +DESCRIPTION="Small RSA key management package, based on OpenSSL" +HOMEPAGE="http://openvpn.net/" +SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="libressl" + +DEPEND="!libressl? ( >=dev-libs/openssl-0.9.6:0 ) + libressl? ( dev-libs/libressl )" +RDEPEND="${DEPEND} + !<net-misc/openvpn-2.3" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PV}-pkcs11.patch" +} + +src_install() { + exeinto /usr/share/easy-rsa + doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf + insinto /usr/share/easy-rsa + doins vars openssl-*.cnf + doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa +} |