GNU bug report logs - #48185
[PATCH] gnu: Add xmlsec-openssl.

Previous Next

Package: guix-patches;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Mon, 3 May 2021 11:58:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48185: closed ([PATCH] gnu: Add xmlsec-openssl.)
Date: Wed, 05 May 2021 13:32:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 05 May 2021 15:31:44 +0200
with message-id <87mtt9johr.fsf <at> gnu.org>
and subject line Re: bug#48185: [PATCH] gnu: Add xmlsec-openssl.
has caused the debbugs.gnu.org bug report #48185,
regarding [PATCH] gnu: Add xmlsec-openssl.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48185: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48185
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Simon Josefsson <simon <at> josefsson.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add xmlsec-openssl.
Date: Mon, 03 May 2021 13:57:07 +0200
[Message part 3 (text/plain, inline)]
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
[0001-gnu-Add-xmlsec-openssl.patch (text/x-diff, inline)]
From a6e17a786497881f1eb8b9cff2fafba8034790db Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon <at> 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

[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 48185-done <at> debbugs.gnu.org
Subject: Re: bug#48185: [PATCH] gnu: Add xmlsec-openssl.
Date: Wed, 05 May 2021 15:31:44 +0200
Hi Simon,

Simon Josefsson <simon <at> josefsson.org> skribis:

> From a6e17a786497881f1eb8b9cff2fafba8034790db Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon <at> 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.

Applied, thanks!

Ludo’.


This bug report was last modified 4 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.