guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: gnutls: Enable PKCS#11 support.


From: guix-commits
Subject: 05/05: gnu: gnutls: Enable PKCS#11 support.
Date: Fri, 23 Apr 2021 23:49:17 -0400 (EDT)

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

commit a6334e182c3474b595070202d65271f399617f0f
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Fri Apr 23 22:30:40 2021 -0400

    gnu: gnutls: Enable PKCS#11 support.
    
    PKCS#11 support in GnuTLS is required by Glib-Networking.
    
    * gnu/packages/tls.scm (gnutls)[configure-flags](--without-p11-kit): Expose 
flag
    only if target-system is mips64el.
    [propagated-inputs]: Add p11-kit.
---
 gnu/packages/tls.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 25493cc..994d84b 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -208,7 +208,10 @@ living in the same process.")
 
              ;; FIXME: Temporarily disable p11-kit support since it is not
              ;; working on mips64el.
-             "--without-p11-kit")
+             ,@(if (string-prefix? "mips64el" (or (%current-target-system)
+                                 (%current-system)))
+                 '("--without-p11-kit")
+                 '()))
 
        #:phases (modify-phases %standard-phases
                   (add-after
@@ -244,6 +247,7 @@ living in the same process.")
      ;; These are all in the 'Requires.private' field of gnutls.pc.
      `(("libtasn1" ,libtasn1)
        ("libidn2" ,libidn2)
+       ("p11-kit" ,p11-kit)
        ("nettle" ,nettle)
        ("zlib" ,zlib)))
     (home-page "https://www.gnu.org/software/gnutls/";)



reply via email to

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