summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2013-01-24 09:49:12 +0000
committerDirkjan Ochtman <djc@gentoo.org>2013-01-24 09:49:12 +0000
commita1fb20bf741480848139ea089d7a7336d8e98d24 (patch)
treeaae6bd504b045284ccd19f773ab82fd0042e19d4 /app-crypt/easy-rsa
parentPass --without-corosync to configure when heartbeat is set. Fixes bug 433433 ... (diff)
downloadgentoo-2-a1fb20bf741480848139ea089d7a7336d8e98d24.tar.gz
gentoo-2-a1fb20bf741480848139ea089d7a7336d8e98d24.tar.bz2
gentoo-2-a1fb20bf741480848139ea089d7a7336d8e98d24.zip
Initial version of app-crypt/easy-rsa.
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB)
Diffstat (limited to 'app-crypt/easy-rsa')
-rw-r--r--app-crypt/easy-rsa/ChangeLog10
-rw-r--r--app-crypt/easy-rsa/Manifest6
-rw-r--r--app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild34
-rw-r--r--app-crypt/easy-rsa/files/65easy-rsa1
-rw-r--r--app-crypt/easy-rsa/files/easy-rsa-2.0.0-pkcs11.patch36
-rw-r--r--app-crypt/easy-rsa/metadata.xml8
6 files changed, 95 insertions, 0 deletions
diff --git a/app-crypt/easy-rsa/ChangeLog b/app-crypt/easy-rsa/ChangeLog
new file mode 100644
index 000000000000..905536cc0376
--- /dev/null
+++ b/app-crypt/easy-rsa/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-crypt/easy-rsa
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/easy-rsa/ChangeLog,v 1.1 2013/01/24 09:49:12 djc Exp $
+
+*easy-rsa-2.2.0 (24 Jan 2013)
+
+ 24 Jan 2013; Dirkjan Ochtman <djc@gentoo.org> +files/65easy-rsa,
+ +files/easy-rsa-2.0.0-pkcs11.patch, +easy-rsa-2.2.0.ebuild, +metadata.xml:
+ Initial version 2.2.0 (bug 409579, thanks to alon.barlev@gmail.com).
+
diff --git a/app-crypt/easy-rsa/Manifest b/app-crypt/easy-rsa/Manifest
new file mode 100644
index 000000000000..fa52753e9cfd
--- /dev/null
+++ b/app-crypt/easy-rsa/Manifest
@@ -0,0 +1,6 @@
+AUX 65easy-rsa 37 SHA256 685842f170ec8ce19be9de1681ec8f8121e677e6b3bcd21dea89b843e68e2839 SHA512 2f8c4f489ebd2ad2e5a0d45351361ecfc06a9481d9e15ea48215addb82ddf2083a85acb0a5c171d0c7e5406152d3679a5a7835e22ba9953e554614d94026d778 WHIRLPOOL b757f05f78d1e780b5991e5b19889d2692be188fc58e67a9606ca6334b0452d63302c4c5e556f2fdb542c6d86026e0f31c76845607b275f14e0875b1c518f303
+AUX easy-rsa-2.0.0-pkcs11.patch 1184 SHA256 100d545927d2bc4395f96777f1e5f0e577bb71edf3d452e91885da4229c7cb79 SHA512 eff515f5fb17e8e95c93cc6af01fc9f24d0baa83e6d44a8c0c8852150ca7d2b224f35c7b5d970908da8f151f63ddf2ae5c589be44b79d72d4af4628262da187d WHIRLPOOL fad0e2c42ea93c896c6b6dbfdcac9241051109f27a011f283c64844b0e050a5b72cd8db4cbbb146eeeb1d69256b934c5f9251c5a8f1240e532a1c52ab0ba8636
+DIST easy-rsa-2.2.0_master.tar.gz 80460 SHA256 d23ddc3a764b40d03ada76f387c92ae4dcf4f5266da54c2bae130325b05eebe2 SHA512 81b5d6e805c5d9fcadf6425dbc311b6a151d857cb837ce9b419b653ee546e5742d13864d25e9ab8caffee95e5116d1611323288e80c65c3c88730533919e2fb4 WHIRLPOOL ff65ca8e3b47123aa3765937d508682afe51c9831e8dbc3e57cb5000088cc69ad5e086618e647e90677481c2d5e7d34733fd7ba50a067810e1a42c876d348823
+EBUILD easy-rsa-2.2.0.ebuild 836 SHA256 5eae05d4608712dba4becd0cdb0a48574ffa351c1f8d7d260ab61cefe2f11ef3 SHA512 a12b0bc44d670f4c59afdfd9968eb6591ffd2ba01cec64496dfc3668584ccbd74fe96b6ecfa447e8f8e57cf44e6525cfe80a8b0ec14bb1610597beeed2aa93f1 WHIRLPOOL d0e8eee671f3ee883ab7a707d0d6dc668705358a7b9ecee2dc804cf716c12aa17bcfd6e808570674f2ff938a1e8071c50fa32ee73a7962cd4ad3574825ab60dc
+MISC ChangeLog 366 SHA256 54fe0a26d883bc5b0f805bfbd86532ae28a93dc77d9fb2da4b740aa09f85c990 SHA512 c690651ec90e1d96af1b0427c1a6fe94dfcadd455acd621e5a1546de64078657e1e15043efff23d953f52f3468d66293e3c724611689052c9ba3c39536260b70 WHIRLPOOL 8583cfe9ad41c4a56fbbaa322c0d7484d45b033d95cd603a3d79788fc58eb12758f64bbc8afe94409bde7cbdc09068d2e4fef4edee7dee593cb1501e83b91139
+MISC metadata.xml 237 SHA256 f768d449802f509a6b82eff5e92f162e092db7e4859119a00a7f053c930d8a25 SHA512 babb5d56272909a65ad21a565d59c736d360ed2997c7f8ab3ec2b2d66c8cbddeb20968315040e3e504befd75a729eb61ad50e8cd69349c14de049a54dd47908b WHIRLPOOL 60d2aa6cad87dbb33a1e05f9fc5890810988d08cb50af5ca290e3b3de4d9d1baeeb6ac34faf81d4a79d55ac59109a2f1652ada77efbac72b519dad08a566e542
diff --git a/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild b/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild
new file mode 100644
index 000000000000..689863f4545f
--- /dev/null
+++ b/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild,v 1.1 2013/01/24 09:49:12 djc Exp $
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs flag-o-matic
+
+DESCRIPTION="Small RSA key management package, based on OpenSSL."
+HOMEPAGE="http://openvpn.net/"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="http://swupdate.openvpn.net/community/releases/${P}_master.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-libs/openssl-0.9.6"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}_master"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.0.0-pkcs11.patch"
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
+}
diff --git a/app-crypt/easy-rsa/files/65easy-rsa b/app-crypt/easy-rsa/files/65easy-rsa
new file mode 100644
index 000000000000..cc8b42e22ea5
--- /dev/null
+++ b/app-crypt/easy-rsa/files/65easy-rsa
@@ -0,0 +1 @@
+CONFIG_PROTECT="/usr/share/easy-rsa"
diff --git a/app-crypt/easy-rsa/files/easy-rsa-2.0.0-pkcs11.patch b/app-crypt/easy-rsa/files/easy-rsa-2.0.0-pkcs11.patch
new file mode 100644
index 000000000000..c7115cc357db
--- /dev/null
+++ b/app-crypt/easy-rsa/files/easy-rsa-2.0.0-pkcs11.patch
@@ -0,0 +1,36 @@
+diff --git a/easy-rsa/2.0/openssl-0.9.8.cnf b/easy-rsa/2.0/openssl-0.9.8.cnf
+index 340b8af..89602a2 100755
+--- a/easy-rsa/2.0/openssl-0.9.8.cnf
++++ b/easy-rsa/2.0/openssl-0.9.8.cnf
+@@ -283,8 +283,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
+ #pkcs11 = pkcs11_section
+
+ [ pkcs11_section ]
+-engine_id = pkcs11
+-dynamic_path = /usr/lib/engines/engine_pkcs11.so
+-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+-PIN = $ENV::PKCS11_PIN
+-init = 0
++#engine_id = pkcs11
++#dynamic_path = /usr/lib/engines/engine_pkcs11.so
++#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
++#PIN = $ENV::PKCS11_PIN
++#init = 0
+diff --git a/easy-rsa/2.0/openssl-1.0.0.cnf b/easy-rsa/2.0/openssl-1.0.0.cnf
+index fa258a5..527919d 100755
+--- a/easy-rsa/2.0/openssl-1.0.0.cnf
++++ b/easy-rsa/2.0/openssl-1.0.0.cnf
+@@ -278,8 +278,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
+ #pkcs11 = pkcs11_section
+
+ [ pkcs11_section ]
+-engine_id = pkcs11
+-dynamic_path = /usr/lib/engines/engine_pkcs11.so
+-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+-PIN = $ENV::PKCS11_PIN
+-init = 0
++#engine_id = pkcs11
++#dynamic_path = /usr/lib/engines/engine_pkcs11.so
++#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
++#PIN = $ENV::PKCS11_PIN
++#init = 0
diff --git a/app-crypt/easy-rsa/metadata.xml b/app-crypt/easy-rsa/metadata.xml
new file mode 100644
index 000000000000..56a1880364bf
--- /dev/null
+++ b/app-crypt/easy-rsa/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+ </maintainer>
+</pkgmetadata>