You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/easy-rsa/easy-rsa-2.2.2.ebuild

37 lines
984 B

# Copyright 1999-2015 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.2.ebuild,v 1.1 2015/04/04 08:58:32 djc Exp $
EAPI=5
inherit eutils
MY_P="EasyRSA-${PV}"
DESCRIPTION="Small RSA key management package, based on OpenSSL."
HOMEPAGE="http://openvpn.net/"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=">=dev-libs/openssl-0.9.6"
RDEPEND="${DEPEND}
!<net-misc/openvpn-2.3"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PV}-pkcs11.patch"
}
src_install() {
exeinto "/usr/share/easy-rsa"
doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf
insinto "/usr/share/easy-rsa"
doins vars openssl-*.cnf
doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
}