unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Josefsson via Guix-patches via <guix-patches@gnu.org>
To: 48185@debbugs.gnu.org
Subject: [bug#48185] [PATCH] gnu: Add xmlsec-openssl.
Date: Mon, 03 May 2021 13:57:07 +0200	[thread overview]
Message-ID: <87fsz4uj1o.fsf@latte.josefsson.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]

Hi!  I'm trying to make the OATH Toolkit recipe for Guix build the PSKC
parts.  Unfortunately I realized that the GnuTLS backend of xmlsec is
lacking some functionality that is required [1] [2], and that linking
against xmlsec-openssl solves this.  However, Guix doesn't have
xmlsec-openssl, so this patch is necessary before I can suggest a patch
for PSKC support in OATH Toolkit for Guix.

/Simon
[1] https://github.com/lsh123/xmlsec/issues/317
[2] https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/89d144c711e7dcf9c449dacf3ba0d0ba24210a79

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-xmlsec-openssl.patch --]
[-- Type: text/x-diff, Size: 964 bytes --]

From a6e17a786497881f1eb8b9cff2fafba8034790db Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Mon, 3 May 2021 13:49:33 +0200
Subject: [PATCH] gnu: Add xmlsec-openssl.

* gnu/packages/xml.scm (xmlsec-openssl): New variable.
---
 gnu/packages/xml.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 04cb09779b..931698a575 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1253,6 +1253,14 @@ Libxml2).")
      '(#:configure-flags '("--disable-md5")))
     (synopsis "XML Security Library (using NSS instead of GnuTLS)")))
 
+(define-public xmlsec-openssl
+  (package/inherit xmlsec
+    (name "xmlsec-openssl")
+    (inputs
+     `(("openssl" ,openssl)
+       ("libltdl" ,libltdl)))
+    (synopsis "XML Security Library (using OpenSSL instead of GnuTLS)")))
+
 (define-public minixml
   (package
     (name "minixml")
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

             reply	other threads:[~2021-05-03 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 11:57 Simon Josefsson via Guix-patches via [this message]
2021-05-05 13:31 ` bug#48185: [PATCH] gnu: Add xmlsec-openssl 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsz4uj1o.fsf@latte.josefsson.org \
    --to=guix-patches@gnu.org \
    --cc=48185@debbugs.gnu.org \
    --cc=simon@josefsson.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).