dev-libs/softhsm: openssl-1.1 does not have gost
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 Jan 2019 20:08:08 +0000 (22:08 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 Jan 2019 20:09:45 +0000 (22:09 +0200)
build should auto-detect available algorithm.

as a temporary solution extract to own USE flag for user to specify.

Closes: https://bugs.gentoo.org/674534
Thanks: Toralf Förster
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-libs/softhsm/metadata.xml
dev-libs/softhsm/softhsm-2.4.0.ebuild
dev-libs/softhsm/softhsm-2.5.0.ebuild

index 1db90fe1ffe9bc0017e57c8e8fbecc66197046ae..5b486dde6ca3268bfddebd379da70e788fe15d58 100644 (file)
@@ -6,8 +6,7 @@
                <name>Crypto</name>
        </maintainer>
        <use>
-               <flag name="migration-tool">
-               Build db migration tool
-               </flag>
+               <flag name="gost">Enable gost algorithm</flag>
+               <flag name="migration-tool">Build db migration tool</flag>
        </use>
 </pkgmetadata>
index ec4f819aecca68c9706bf87079bb76b073a4d90e..1db7548275ed0b5ff70ef720c4b30abd948341fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/"
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz"
 
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist libressl migration-tool test"
+IUSE="bindist gost libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
@@ -33,7 +33,7 @@ src_configure() {
                --disable-p11-kit \
                --localstatedir="${EROOT}/var" \
                $(use_enable !bindist ecc) \
-               $(use_enable !libressl gost) \
+               $(use_enable gost) \
                $(use_with migration-tool migrate)
 }
 
index efb92f3af4d2b432ea524749da3181c543594265..a23cda5d73ecc63e9b65510bac1cca8c51b7f894 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/"
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz"
 
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist libressl migration-tool test"
+IUSE="bindist gost libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
@@ -37,7 +37,7 @@ src_configure() {
                --disable-p11-kit \
                --localstatedir="${EROOT}/var" \
                $(use_enable !bindist ecc) \
-               $(use_enable !libressl gost) \
+               $(use_enable gost) \
                $(use_with migration-tool migrate)
 }