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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Simon Josefsson <simon@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 48185-done <at> debbugs.gnu.org:


Received: (at 48185-done) by debbugs.gnu.org; 5 May 2021 13:31:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 05 09:31:54 2021
Received: from localhost ([127.0.0.1]:60242 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1leHd4-0001B2-AM
	for submit <at> debbugs.gnu.org; Wed, 05 May 2021 09:31:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47314)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1leHd3-00016A-23
 for 48185-done <at> debbugs.gnu.org; Wed, 05 May 2021 09:31:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44342)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1leHcw-00062c-Q2; Wed, 05 May 2021 09:31:47 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36072 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1leHcw-0003pc-12; Wed, 05 May 2021 09:31:46 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Josefsson <simon@HIDDEN>
Subject: Re: bug#48185: [PATCH] gnu: Add xmlsec-openssl.
References: <87fsz4uj1o.fsf@HIDDEN>
Date: Wed, 05 May 2021 15:31:44 +0200
In-Reply-To: <87fsz4uj1o.fsf@HIDDEN> (Simon Josefsson's message
 of "Mon, 03 May 2021 13:57:07 +0200")
Message-ID: <87mtt9johr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48185-done
Cc: 48185-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Simon,

Simon Josefsson <simon@HIDDEN> skribis:

> From a6e17a786497881f1eb8b9cff2fafba8034790db Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon@HIDDEN>
> 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=E2=80=99.




Notification sent to Simon Josefsson <simon@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 May 2021 11:57:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 03 07:57:16 2021
Received: from localhost ([127.0.0.1]:46377 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldXCO-0003b7-BK
	for submit <at> debbugs.gnu.org; Mon, 03 May 2021 07:57:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:50662)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simon@HIDDEN>) id 1ldXCM-0003b1-Pg
 for submit <at> debbugs.gnu.org; Mon, 03 May 2021 07:57:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47954)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simon@HIDDEN>)
 id 1ldXCM-0003ht-G2
 for guix-patches@HIDDEN; Mon, 03 May 2021 07:57:14 -0400
Received: from uggla.sjd.se ([2001:9b1:8633::107]:57874)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simon@HIDDEN>)
 id 1ldXCJ-0004sF-Lb
 for guix-patches@HIDDEN; Mon, 03 May 2021 07:57:14 -0400
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=RBXdDf8XIrWGmp4LrLDqixYN6ZFZ8fwJLIQLv56lnuU=; t=1620043029; x=1621252629;
 b=Yv1nvkoeXzmJ+MxKrahxxChy3nRsRXlZt81Xl1BH5Vt/gM/m9y3a4ATcZi/q6NtDl8veWtQSc7
 0lLc9jBc7yCg==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=RBXdDf8XIrWGmp4LrLDqixYN6ZFZ8fwJLIQLv56lnuU=; t=1620043029; x=1621252629;
 b=BLL861RCP6YOewiIFOJR8RY1uDwM+RBjKIxgxWFbpFXTTQE+PJnh+J1nqfkSz1fd/lPVBY0FBu
 0U4FrJ5bazjGQje3EqOFnWmKaXscSWlKuFpfYGsURBeCyIRlAUMeh2N2ruLerNzUhRaPSwf3qkXpu
 6+kB3NfRrWGVfP+Kd8gh1OLwn/0ZqlU8oKeo0AM6OQuDLMACHDdVKyrzo+4hCiWCFlxRMvLYBY2NJ
 dQFYjzD4vC+hNhe5/byKIHJxvTeKDO8ngAiNn97uHL/4g5Atr9ZmxzeNk5e/6FEQGAB/FV8bE2tQC
 vJwEuIGG4DHgznXK7FtTriH1KtFCfi5aqP/bS4YWgveLFyoMZdoaB4YsooNhOUALtsM+2Zq5RqNbA
 ywHKyyUTHSv2SVf8IqUmByaHqO0ZLVyOEUkU7SGqUchzt4dg3VSfAxbWpEiZr3y/oFD/1QNUE4
 ;
Received: from [2001:9b1:41ac:ff00:64ec:6e67:e060:d32b] (port=50304 helo=latte)
 by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <simon@HIDDEN>) id 1ldXCF-00059e-MU
 for guix-patches@HIDDEN; Mon, 03 May 2021 11:57:07 +0000
X-Hashcash: 1:22:210503:guix-patches@HIDDEN::u33KL2IA5HQ8z/GP:0bEt
From: Simon Josefsson <simon@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add xmlsec-openssl.
OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
Date: Mon, 03 May 2021 13:57:07 +0200
Message-ID: <87fsz4uj1o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2001:9b1:8633::107;
 envelope-from=simon@HIDDEN; helo=uggla.sjd.se
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

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

--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=0001-gnu-Add-xmlsec-openssl.patch
Content-Transfer-Encoding: quoted-printable

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

* gnu/packages/xml.scm (xmlsec-openssl): New variable.
=2D--
 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
=2D-- 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)")))
=20
+(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")
=2D-=20
2.20.1


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYI/lEwAKCRBRcisI/kdF
ovUfAPoD60hVwE7yLmRosIh0bNZYPitFNOCDj+xt7Y2SBr0bGAEAkolF8WtuwUTC
IkznLi7QsyxPEzfjDwdnR9e67fryVAo=
=X6aG
-----END PGP SIGNATURE-----
--==-=-=--




Acknowledgement sent to Simon Josefsson <simon@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#48185; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 5 May 2021 13:45:01 UTC

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