From patchwork Mon May 3 11:57:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Josefsson X-Patchwork-Id: 29078 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3C9FB27BC81; Mon, 3 May 2021 12:58:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D89DD27BC82 for ; Mon, 3 May 2021 12:58:28 +0100 (BST) Received: from localhost ([::1]:49356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldXDY-0003sz-1Q for patchwork@mira.cbaines.net; Mon, 03 May 2021 07:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldXD8-0003st-0x for guix-patches@gnu.org; Mon, 03 May 2021 07:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldXD7-0005RB-Po for guix-patches@gnu.org; Mon, 03 May 2021 07:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldXD7-0003bP-OQ for guix-patches@gnu.org; Mon, 03 May 2021 07:58:01 -0400 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 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Simon Josefsson X-ACL-Warn: , Simon Josefsson via Guix-patches X-Patchwork-Original-From: Simon Josefsson via Guix-patches via From: Simon Josefsson X-getmail-retrieved-from-mailbox: Patches 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 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. --- 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