guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: libressl: Do not use 'getentropy'.


From: Ludovic Courtès
Subject: 01/02: gnu: libressl: Do not use 'getentropy'.
Date: Tue, 18 Apr 2017 17:45:31 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a2d648992a1d0510bf1dd160c320ec210fd285c2
Author: Ludovic Courtès <address@hidden>
Date:   Tue Apr 18 23:39:03 2017 +0200

    gnu: libressl: Do not use 'getentropy'.
    
    * gnu/packages/tls.scm (libressl)[arguments]: New field.
---
 gnu/packages/tls.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 1c99a3a..50e9de4 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -442,6 +442,11 @@ required structures.")
        (base32
         "0c4awq45cl757fv7f7f75i5i0ibc6v7ns13n7xvfak7chv2lrqql"))))
     (build-system gnu-build-system)
+    (arguments
+     ;; Do as if 'getentropy' was missing since older Linux kernels lack it
+     ;; and libc would return ENOSYS, which is not properly handled.
+     ;; See 
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00235.html>.
+     '(#:configure-flags '("ac_cv_func_getentropy=no")))
     (native-search-paths
       ;; FIXME: These two variables must designate a single file or directory
       ;; and are not actually "search paths."  In practice it works OK in



reply via email to

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