summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-07-01 16:14:57 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-07-01 16:15:32 +0300
commit1312dc9bffa2928d25351596c0dc0cdc424973c8 (patch)
tree7e57db3731952444c030ca05257cf581d18b8496 /app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild
parentsys-kernel/gentoo-sources: updating manifest (diff)
downloadgentoo-1312dc9bffa2928d25351596c0dc0cdc424973c8.tar.gz
gentoo-1312dc9bffa2928d25351596c0dc0cdc424973c8.tar.bz2
gentoo-1312dc9bffa2928d25351596c0dc0cdc424973c8.zip
app-crypt/easy-rsa: Version bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild')
-rw-r--r--app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild b/app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild
new file mode 100644
index 000000000000..d9ada0b6cb9a
--- /dev/null
+++ b/app-crypt/easy-rsa/easy-rsa-3.0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="EasyRSA-${PV}"
+
+DESCRIPTION="Small RSA key management package, based on OpenSSL"
+HOMEPAGE="https://openvpn.net/"
+SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/v${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-vpn/openvpn-2.3"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ exeinto /usr/share/easy-rsa
+ doexe easyrsa
+ insinto /usr/share/easy-rsa
+ doins -r vars.example openssl-easyrsa.cnf x509-types
+ dodoc README.quickstart.md ChangeLog
+ dodoc -r doc
+ doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
+}