1 |
commit: 48f522ef0252dca88d842d7c5fddf01830f1081b |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 6 19:37:05 2015 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 6 20:06:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f522ef |
7 |
|
8 |
app-crypt/easy-rsa: add libressl support (fixes bug 565240) |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild | 37 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 37 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 0000000..a3cbd8c |
18 |
--- /dev/null |
19 |
+++ b/app-crypt/easy-rsa/easy-rsa-2.2.2-r1.ebuild |
20 |
@@ -0,0 +1,37 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+inherit eutils |
28 |
+ |
29 |
+MY_P="EasyRSA-${PV}" |
30 |
+ |
31 |
+DESCRIPTION="Small RSA key management package, based on OpenSSL" |
32 |
+HOMEPAGE="http://openvpn.net/" |
33 |
+SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
38 |
+IUSE="libressl" |
39 |
+ |
40 |
+DEPEND="!libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
41 |
+ libressl? ( dev-libs/libressl )" |
42 |
+RDEPEND="${DEPEND} |
43 |
+ !<net-misc/openvpn-2.3" |
44 |
+ |
45 |
+S="${WORKDIR}/${MY_P}" |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ epatch "${FILESDIR}/${PV}-pkcs11.patch" |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ exeinto /usr/share/easy-rsa |
53 |
+ doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf |
54 |
+ insinto /usr/share/easy-rsa |
55 |
+ doins vars openssl-*.cnf |
56 |
+ doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa |
57 |
+} |