From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "51100@debbugs.gnu.org" <51100@debbugs.gnu.org>
Subject: [bug#51100] [PATCH 4/8] Update and fix Flatpak and portals
Date: Fri, 08 Oct 2021 20:03:19 +0000 [thread overview]
Message-ID: <5iopUmIVAAKwNv_cATe8VzZuufIs8QAhldp5IAQHOahJt6J6e52vNE9JBgJApB5doRcafyzmMavmEQ_DzsQ-10pn3RPdmAq0tTzQ68I0WLk=@protonmail.com> (raw)
In-Reply-To: <wqqIvk4z95qopSw49DlQ3ISlqhGucnQDwdTWy2q1ljNWrt4jkZDsNZlTfcG2mfOCIaUpLQzSXLdVjcj0qLL6JyFlONNtj8Air867vjyCRsU=@protonmail.com>
From 71d64041fb6754a1b1cf67b0ea0e18da9b724f74 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Fri, 8 Oct 2021 14:15:13 -0400
Subject: [PATCH 4/8] gnu: Add p11-kit-next.
* gnu/packages/tls.scm (p11-kit-next): New variable.
[source]: Update to latest version of p11-kit.
[arguments]: Configure with system-wide CA certificate store which fixes a
certificate error with Flatpak. Original patch by Andrew Whatson.
---
gnu/packages/tls.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 69ed9de11f..beda86e8c0 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
+;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -165,6 +166,31 @@ coordinating the use of PKCS#11 by different components or libraries
living in the same process.")
(license license:bsd-3)))
+(define-public p11-kit-next
+ (package
+ (inherit p11-kit)
+ (name "p11-kit-next")
+ (version "0.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/p11-glue/p11-kit/releases/"
+ "download/" version "/p11-kit-" version ".tar.xz"))
+ (sha256
+ (base32 "11f6saclxsclc1f3lbavzw8kikws4cr3mfd1avly8dgnhh2i9rl1"))))
+ (arguments
+ `(#:configure-flags '("--with-trust-paths=/etc/ssl/certs/ca-certificates.crt")
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'prepare-tests
+ (lambda _
+ ;; "test-runtime" expects XDG_RUNTIME_DIR to be set up
+ ;; and looks for .cache and other directories (only).
+ ;; For simplicity just drop it since it is irrelevant
+ ;; in the build container.
+ (substitute* "Makefile"
+ (("test-runtime\\$\\(EXEEXT\\)") ""))
+ #t)))))))
+
(define-public gnutls
(package
(name "gnutls")
--
2.33.0
next prev parent reply other threads:[~2021-10-08 20:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 19:52 [bug#51100] [PATCH 0/8] Update and fix Flatpak and portals John Kehayias via Guix-patches via
2021-10-08 20:00 ` [bug#51100] [PATCH 1/8] " John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 2/8] " John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 3/8] " John Kehayias via Guix-patches via
2021-10-08 20:03 ` John Kehayias via Guix-patches via [this message]
2021-10-08 20:04 ` [bug#51100] [PATCH 5/8] " John Kehayias via Guix-patches via
2021-10-08 20:04 ` [bug#51100] [PATCH 6/8] " John Kehayias via Guix-patches via
2021-10-08 20:05 ` [bug#51100] [PATCH 7/8] " John Kehayias via Guix-patches via
2021-10-08 20:05 ` [bug#51100] [PATCH 8/8] " John Kehayias via Guix-patches via
2021-10-25 19:15 ` bug#51100: [PATCH 0/8] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='5iopUmIVAAKwNv_cATe8VzZuufIs8QAhldp5IAQHOahJt6J6e52vNE9JBgJApB5doRcafyzmMavmEQ_DzsQ-10pn3RPdmAq0tTzQ68I0WLk=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51100@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.