From unknown Sat Jun 21 05:17:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48185] [PATCH] gnu: Add xmlsec-openssl. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 11:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48185 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48185@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162004303613837 (code B ref -1); Mon, 03 May 2021 11:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2021 11:57:16 +0000 Received: from localhost ([127.0.0.1]:46377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXCO-0003b7-BK for submit@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 ) id 1ldXCM-0003b1-Pg for submit@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 ) id 1ldXCM-0003ht-G2 for guix-patches@gnu.org; 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 ) id 1ldXCJ-0004sF-Lb for guix-patches@gnu.org; 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 ) id 1ldXCF-00059e-MU for guix-patches@gnu.org; Mon, 03 May 2021 11:57:07 +0000 X-Hashcash: 1:22:210503:guix-patches@gnu.org::u33KL2IA5HQ8z/GP:0bEt From: Simon Josefsson OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Mon, 03 May 2021 13:57:07 +0200 Message-ID: <87fsz4uj1o.fsf@latte.josefsson.org> 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@josefsson.org; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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----- --==-=-=-- From unknown Sat Jun 21 05:17:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Josefsson Subject: bug#48185: closed (Re: bug#48185: [PATCH] gnu: Add xmlsec-openssl.) Message-ID: References: <87mtt9johr.fsf@gnu.org> <87fsz4uj1o.fsf@latte.josefsson.org> X-Gnu-PR-Message: they-closed 48185 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48185@debbugs.gnu.org Date: Wed, 05 May 2021 13:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1620221522-4836-1" This is a multi-part message in MIME format... ------------=_1620221522-4836-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48185: [PATCH] gnu: Add xmlsec-openssl. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48185@debbugs.gnu.org. --=20 48185: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48185 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1620221522-4836-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48185-done) by debbugs.gnu.org; 5 May 2021 13:31:54 +0000 Received: from localhost ([127.0.0.1]:60242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leHd4-0001B2-AM for submit@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 ) id 1leHd3-00016A-23 for 48185-done@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 ) 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 ) id 1leHcw-0003pc-12; Wed, 05 May 2021 09:31:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Josefsson Subject: Re: bug#48185: [PATCH] gnu: Add xmlsec-openssl. References: <87fsz4uj1o.fsf@latte.josefsson.org> Date: Wed, 05 May 2021 15:31:44 +0200 In-Reply-To: <87fsz4uj1o.fsf@latte.josefsson.org> (Simon Josefsson's message of "Mon, 03 May 2021 13:57:07 +0200") Message-ID: <87mtt9johr.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon Josefsson skribis: > From a6e17a786497881f1eb8b9cff2fafba8034790db Mon Sep 17 00:00:00 2001 > From: Simon Josefsson > 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. ------------=_1620221522-4836-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 May 2021 11:57:16 +0000 Received: from localhost ([127.0.0.1]:46377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXCO-0003b7-BK for submit@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 ) id 1ldXCM-0003b1-Pg for submit@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 ) id 1ldXCM-0003ht-G2 for guix-patches@gnu.org; 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 ) id 1ldXCJ-0004sF-Lb for guix-patches@gnu.org; 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 ) id 1ldXCF-00059e-MU for guix-patches@gnu.org; Mon, 03 May 2021 11:57:07 +0000 X-Hashcash: 1:22:210503:guix-patches@gnu.org::u33KL2IA5HQ8z/GP:0bEt From: Simon Josefsson To: guix-patches@gnu.org 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@latte.josefsson.org> 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@josefsson.org; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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----- --==-=-=-- ------------=_1620221522-4836-1--