summaryrefslogtreecommitdiff
path: root/app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-09-25 08:57:42 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-09-25 10:02:10 +0200
commita9ecb34ff20df90482830e6813d61f02ba3936e1 (patch)
tree7001820f1143d0c93d0b5741c6f2f399f468c62c /app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild
parent848512a62e7cc061f81c91e6b758ed86bba2e8cd (diff)
downloadgentoo-a9ecb34ff20df90482830e6813d61f02ba3936e1.tar.gz
gentoo-a9ecb34ff20df90482830e6813d61f02ba3936e1.tar.bz2
gentoo-a9ecb34ff20df90482830e6813d61f02ba3936e1.zip
app-crypt/easy-rsa: add 3.2.1
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild')
-rw-r--r--app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild b/app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild
new file mode 100644
index 000000000000..af86a09c2dfe
--- /dev/null
+++ b/app-crypt/easy-rsa/easy-rsa-3.2.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Small RSA key management package, based on OpenSSL"
+HOMEPAGE="https://openvpn.net/"
+SRC_URI="https://github.com/OpenVPN/easy-rsa/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+DEPEND=">=dev-libs/openssl-0.9.6:0="
+RDEPEND="${DEPEND}"
+
+src_install() {
+ exeinto /usr/share/easy-rsa
+ doexe easyrsa3/easyrsa dev/easyrsa-tools.lib
+ insinto /usr/share/easy-rsa
+ doins -r easyrsa3/{vars.example,openssl-easyrsa.cnf,x509-types}
+ dodoc README.quickstart.md ChangeLog
+ dodoc -r doc
+ doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
+}