Gentoo Archives: gentoo-dev

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