summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2013-01-24 09:49:20 +0000
committerDirkjan Ochtman <djc@gentoo.org>2013-01-24 09:49:20 +0000
commitb3fe7a441240879668eb4c06be9466488540118e (patch)
treeee1e0916d5f21310fac31ec3f7200da4f459c130 /app-crypt
parentInitial version of app-crypt/easy-rsa. (diff)
downloadhistorical-b3fe7a441240879668eb4c06be9466488540118e.tar.gz
historical-b3fe7a441240879668eb4c06be9466488540118e.tar.bz2
historical-b3fe7a441240879668eb4c06be9466488540118e.zip
Initial version of app-crypt/easy-rsa.
Package-Manager: portage-2.1.11.40/cvs/Linux x86_64 Manifest-Sign-Key: 0x6B065BFB
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/easy-rsa/Manifest14
-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
5 files changed, 91 insertions, 2 deletions
diff --git a/app-crypt/easy-rsa/Manifest b/app-crypt/easy-rsa/Manifest
index fa52753e9cfd..4ae01bf521d4 100644
--- a/app-crypt/easy-rsa/Manifest
+++ b/app-crypt/easy-rsa/Manifest
@@ -1,6 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD easy-rsa-2.2.0.ebuild 839 SHA256 0b0e50c4f73bb1e5078b9640166201a8c3e088581eb51ab744a5fb88fc48edbb SHA512 5e1c690e3ab6e7a67202153779de61264c442eae64bd230d51c9bc10c02f6d72d94e2c9a4111459471d9aac4001e995d91814fbf5acad36c0bc5931871fb2450 WHIRLPOOL 79dcb9110eb7a447de45eba1f7da9f238682335989fd343087d306b09563e3310bce389e95bac900df8c17aa54a5b35dcda8ac7d468ae348fe491c9656c02e23
+MISC ChangeLog 453 SHA256 306e2acc741faafe78e890e9e041e769ae733fd228a7547b888a9928f9b0298b SHA512 3895e6ff08b41b664b44ddfc8a5732835cec8151d267d04fc6b9ad3a0c17b44fc1e34d50213f02bf6f14995a1b219751b3551ba4637ff7bcd5036097749dcf26 WHIRLPOOL 9994960ff813fce9fbb916ea84f778cbcf75e71f68ca9363f6cc10d33764a2df2a6b3c5f7e5286097fe77a7bb44a6f6f3f75308233cde9d761f332a7996d59ad
MISC metadata.xml 237 SHA256 f768d449802f509a6b82eff5e92f162e092db7e4859119a00a7f053c930d8a25 SHA512 babb5d56272909a65ad21a565d59c736d360ed2997c7f8ab3ec2b2d66c8cbddeb20968315040e3e504befd75a729eb61ad50e8cd69349c14de049a54dd47908b WHIRLPOOL 60d2aa6cad87dbb33a1e05f9fc5890810988d08cb50af5ca290e3b3de4d9d1baeeb6ac34faf81d4a79d55ac59109a2f1652ada77efbac72b519dad08a566e542
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlEBA7oACgkQxeMuLWsGW/sJLgCfVcJz7Y8S0lDEJ3Hd6lcDpfoz
+0dcAn0Em48XJMl+EPmGj7rh0d+Ny6kJI
+=+yRU
+-----END PGP SIGNATURE-----
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>