app-crypt/efitools: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 09:05:17 +0000 (05:05 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 09:05:17 +0000 (05:05 -0400)
Package-Manager: portage-2.2.28

app-crypt/efitools/efitools-1.4.2-r1.ebuild
app-crypt/efitools/efitools-1.7.0.ebuild

index dabedc534abf2214e571b0e7c3703f7946dc4b91..f231f2c0f4b827ea2ac4e4dcc11004c73b8c13da 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI="5"
 
 DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
 HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jejb/efitools.git"
@@ -11,9 +11,11 @@ SRC_URI="http://blog.hansenpartnership.com/wp-uploads/2013/efitools-${PV}.tar.gz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND="dev-libs/openssl
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        sys-apps/util-linux"
 DEPEND="${RDEPEND}
        sys-apps/help2man
index 4395a3d2810f59d055a3e7353d6fa88013917bfe..d54950bc975756091f5a76a6d3c753524f424144 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI="5"
 inherit git-r3
 
 DESCRIPTION="Tools for manipulating UEFI secure boot platforms"
@@ -15,9 +15,11 @@ EGIT_COMMIT="v1.7.0"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="libressl"
 
-RDEPEND="dev-libs/openssl
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        sys-apps/util-linux"
 DEPEND="${RDEPEND}
        sys-apps/help2man