app-crypt/simple-tpm-pk11: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:31:47 +0000 (10:31 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:32:48 +0000 (10:32 -0400)
Package-Manager: portage-2.2.28

app-crypt/simple-tpm-pk11/simple-tpm-pk11-0.03.ebuild
app-crypt/simple-tpm-pk11/simple-tpm-pk11-0.04.ebuild

index 2bab320b589cba7de76bd00b48ff89d7cd63d11d..301b10b7cb41d90a6ff838ac3548cc212869f6f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,13 +20,14 @@ else
        KEYWORDS="~amd64"
 fi
 
-IUSE=""
+IUSE="libressl"
 RESTRICT="test" # needs to communicate with the TPM and gtest is all broken
 
 DEPEND="app-crypt/tpm-tools[pkcs11]
        dev-libs/opencryptoki[tpm]
        app-crypt/trousers
-       dev-libs/openssl:0="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}
        net-misc/openssh[-X509]"
 
index 2bab320b589cba7de76bd00b48ff89d7cd63d11d..301b10b7cb41d90a6ff838ac3548cc212869f6f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,13 +20,14 @@ else
        KEYWORDS="~amd64"
 fi
 
-IUSE=""
+IUSE="libressl"
 RESTRICT="test" # needs to communicate with the TPM and gtest is all broken
 
 DEPEND="app-crypt/tpm-tools[pkcs11]
        dev-libs/opencryptoki[tpm]
        app-crypt/trousers
-       dev-libs/openssl:0="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}
        net-misc/openssh[-X509]"