guix-commits
[Top][All Lists]
Advanced

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

362/377: gnu: gnutls: Enable PKCS#11 support.


From: guix-commits
Subject: 362/377: gnu: gnutls: Enable PKCS#11 support.
Date: Thu, 2 Sep 2021 17:56:23 -0400 (EDT)

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

commit 73720335d59a537c09ac9cc7b13afb1a1c671d61
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 d52a88f..a0d7c5e 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -214,7 +214,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
@@ -250,6 +253,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]