1 |
commit: 3aa9a7071818cab9ef3e6db9d5ce56c513970e99 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 4 20:08:08 2019 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 4 20:09:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa9a707 |
7 |
|
8 |
dev-libs/softhsm: openssl-1.1 does not have gost |
9 |
|
10 |
build should auto-detect available algorithm. |
11 |
|
12 |
as a temporary solution extract to own USE flag for user to specify. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/674534 |
15 |
Thanks: Toralf Förster |
16 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
17 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
18 |
|
19 |
dev-libs/softhsm/metadata.xml | 5 ++--- |
20 |
dev-libs/softhsm/softhsm-2.4.0.ebuild | 6 +++--- |
21 |
dev-libs/softhsm/softhsm-2.5.0.ebuild | 6 +++--- |
22 |
3 files changed, 8 insertions(+), 9 deletions(-) |
23 |
|
24 |
diff --git a/dev-libs/softhsm/metadata.xml b/dev-libs/softhsm/metadata.xml |
25 |
index 1db90fe1ffe..5b486dde6ca 100644 |
26 |
--- a/dev-libs/softhsm/metadata.xml |
27 |
+++ b/dev-libs/softhsm/metadata.xml |
28 |
@@ -6,8 +6,7 @@ |
29 |
<name>Crypto</name> |
30 |
</maintainer> |
31 |
<use> |
32 |
- <flag name="migration-tool"> |
33 |
- Build db migration tool |
34 |
- </flag> |
35 |
+ <flag name="gost">Enable gost algorithm</flag> |
36 |
+ <flag name="migration-tool">Build db migration tool</flag> |
37 |
</use> |
38 |
</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild b/dev-libs/softhsm/softhsm-2.4.0.ebuild |
41 |
index ec4f819aecc..1db7548275e 100644 |
42 |
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild |
43 |
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild |
44 |
@@ -1,4 +1,4 @@ |
45 |
-# Copyright 1999-2018 Gentoo Foundation |
46 |
+# Copyright 1999-2019 Gentoo Authors |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
|
49 |
EAPI=7 |
50 |
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/" |
51 |
SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" |
52 |
|
53 |
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
54 |
-IUSE="bindist libressl migration-tool test" |
55 |
+IUSE="bindist gost libressl migration-tool test" |
56 |
SLOT="2" |
57 |
LICENSE="BSD" |
58 |
|
59 |
@@ -33,7 +33,7 @@ src_configure() { |
60 |
--disable-p11-kit \ |
61 |
--localstatedir="${EROOT}/var" \ |
62 |
$(use_enable !bindist ecc) \ |
63 |
- $(use_enable !libressl gost) \ |
64 |
+ $(use_enable gost) \ |
65 |
$(use_with migration-tool migrate) |
66 |
} |
67 |
|
68 |
|
69 |
diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild b/dev-libs/softhsm/softhsm-2.5.0.ebuild |
70 |
index efb92f3af4d..a23cda5d73e 100644 |
71 |
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild |
72 |
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild |
73 |
@@ -1,4 +1,4 @@ |
74 |
-# Copyright 1999-2018 Gentoo Authors |
75 |
+# Copyright 1999-2019 Gentoo Authors |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
|
78 |
EAPI=7 |
79 |
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/" |
80 |
SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" |
81 |
|
82 |
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
83 |
-IUSE="bindist libressl migration-tool test" |
84 |
+IUSE="bindist gost libressl migration-tool test" |
85 |
SLOT="2" |
86 |
LICENSE="BSD" |
87 |
|
88 |
@@ -37,7 +37,7 @@ src_configure() { |
89 |
--disable-p11-kit \ |
90 |
--localstatedir="${EROOT}/var" \ |
91 |
$(use_enable !bindist ecc) \ |
92 |
- $(use_enable !libressl gost) \ |
93 |
+ $(use_enable gost) \ |
94 |
$(use_with migration-tool migrate) |
95 |
} |