app-crypt/crackpkcs12: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:55:30 +0000 (04:55 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:55:30 +0000 (04:55 -0400)
Package-Manager: portage-2.2.28

app-crypt/crackpkcs12/crackpkcs12-0.2.9.ebuild

index e5d598e2512c974602939c62e772c245c2583fd3..1596b9da57f4e34148c2790a886da2f248bfced1 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI="5"
 
 DESCRIPTION="multithreaded program to crack PKCS#12 files"
 HOMEPAGE="http://crackpkcs12.sourceforge.net/"
@@ -11,7 +11,8 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND="dev-libs/openssl"
+RDEPEND="!libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 DEPEND="${RDEPEND}"