Gentoo Archives: gentoo-dev

From: "Francisco Blas Izquierdo Riera (klondike)" <klondike@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] [PATCH 2/4] dev-haskell/cryptonite: Change USE to cpu_flags_x86_rdrand
Date: Mon, 13 Jul 2020 17:12:01
Message-Id: 1019ac00-5c9a-7f5b-d1b7-712521d94aac@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] CPU_FLAGS_X86: Introduce 'rdrand' flag by "Francisco Blas Izquierdo Riera (klondike)"
1 Package-Manager: Portage-2.3.99, Repoman-2.3.23
2 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@g.o>
3 ---
4  dev-haskell/cryptonite/cryptonite-0.21.ebuild    | 4 ++--
5  dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild | 2 +-
6  dev-haskell/cryptonite/metadata.xml              | 1 -
7  3 files changed, 3 insertions(+), 4 deletions(-)
8
9 diff --git a/dev-haskell/cryptonite/cryptonite-0.21.ebuild b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
10 index 531dfe8cfb7..c3497dae415 100644
11 --- a/dev-haskell/cryptonite/cryptonite-0.21.ebuild
12 +++ b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
13 @@ -1,4 +1,4 @@
14 -# Copyright 1999-2019 Gentoo Authors
15 +# Copyright 1999-2020 Gentoo Authors
16  # Distributed under the terms of the GNU General Public License v2
17  
18  EAPI=7
19 @@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
20  LICENSE="BSD"
21  SLOT="0/${PV}"
22  KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
23 -IUSE="cpu-flags-x86-rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
24 +IUSE="cpu_flags_x86_rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
25  
26  RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
27      >=dev-lang/ghc-7.4.1:=
28 diff --git a/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild b/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
29 index 8d097bb5cfa..3cdbcf44b91 100644
30 --- a/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
31 +++ b/dev-haskell/cryptonite/cryptonite-0.26-r1.ebuild
32 @@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
33  LICENSE="BSD"
34  SLOT="0/${PV}"
35  KEYWORDS="~amd64 ~x86"
36 -IUSE="+cpu-flags-x86-rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
37 +IUSE="+cpu_flags_x86_rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
38  
39  RDEPEND=">=dev-haskell/basement-0.0.6:=[profile?]
40      >=dev-haskell/memory-0.14.18:=[profile?]
41 diff --git a/dev-haskell/cryptonite/metadata.xml b/dev-haskell/cryptonite/metadata.xml
42 index c845b334ecd..8e02ebe625c 100644
43 --- a/dev-haskell/cryptonite/metadata.xml
44 +++ b/dev-haskell/cryptonite/metadata.xml
45 @@ -29,7 +29,6 @@
46          Evaluate the security related to your requirements before using.
47      </longdescription>
48      <use>
49 -        <flag name="cpu-flags-x86-rdrand">allow compilation with RDRAND on system and architecture that supports it</flag>
50          <flag name="integer-gmp">Whether or not to use GMP for some functions</flag>
51      </use>
52      <upstream>
53 --
54 2.26.2

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies