guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

130/184: gnu: botan: Use getentropy().


From: guix-commits
Subject: 130/184: gnu: botan: Use getentropy().
Date: Wed, 27 Nov 2019 14:37:14 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.

commit e679ea550c33e6a5439c18ecea096cd3831fd4a7
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Nov 9 00:28:25 2019 +0100

    gnu: botan: Use getentropy().
    
    * gnu/packages/crypto.scm (botan)[arguments]: Enable the ‘getentropy’
    OS feature.
---
 gnu/packages/crypto.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index c3d3e36..1f5bfc1 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -757,7 +757,10 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, 
BitTorrent BTIH, GOST R
                        ;; Otherwise, the `botan` executable cannot find
                        ;; libbotan.
                        (string-append "--ldflags=-Wl,-rpath=" lib)
+
+                       "--with-os-feature=getentropy"
                        "--with-rst2man"
+
                        ;; Recommended by upstream
                        "--with-zlib" "--with-bzip2" "--with-sqlite3"))))
          (replace 'check



reply via email to

[Prev in Thread] Current Thread [Next in Thread]