From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xB0ZOpjXCWGMaAEAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 01:56:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2GYiNZjXCWGlKwAAB5/wlQ (envelope-from ) for ; Tue, 03 Aug 2021 23:56:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D38161F6 for ; Wed, 4 Aug 2021 01:56:08 +0200 (CEST) Received: from localhost ([::1]:56856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mB4GV-0003hy-Dt for larch@yhetil.org; Tue, 03 Aug 2021 19:56:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB4GQ-0003hA-NZ for guix-patches@gnu.org; Tue, 03 Aug 2021 19:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mB4GQ-0007Nz-Ge for guix-patches@gnu.org; Tue, 03 Aug 2021 19:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mB4GQ-0001jK-15 for guix-patches@gnu.org; Tue, 03 Aug 2021 19:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49852] [PATCH v2 1/2] gnu: Add wolfSSL. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Aug 2021 23:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49852 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49852@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16280349336598 (code B ref -1); Tue, 03 Aug 2021 23:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2021 23:55:33 +0000 Received: from localhost ([127.0.0.1]:41760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB4Fp-0001i1-I0 for submit@debbugs.gnu.org; Tue, 03 Aug 2021 19:55:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:44100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB4Fn-0001ht-Bl for submit@debbugs.gnu.org; Tue, 03 Aug 2021 19:55:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB4Fm-0003Sw-S0 for guix-patches@gnu.org; Tue, 03 Aug 2021 19:55:22 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB4Fl-0006wE-01 for guix-patches@gnu.org; Tue, 03 Aug 2021 19:55:22 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 186D05C014E; Tue, 3 Aug 2021 19:55:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 03 Aug 2021 19:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=CgSXDsPzVoMXTJFbIVbjOV+qUvm/A/Lao3wgdoBaM14=; b=hxj38aSexN3k YZFhW2xJuA2XR7yXPz5vz7KlVaqquYMfNYHr+R+T5L8+Zcv9DCgwh+Aw5X25/FMK zm/0BwBD49NeEMDkYwoXWEJG7xOM8ZqPiRGbo77oLcxSez4sozVidlLaRi3MBv9S 1CNODBha69qDMG5VJq6vrDB4caxZaJE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=CgSXDsPzVoMXTJFbIVbjOV+qUvm/A/Lao3wgdoBaM 14=; b=eSvCxb2ZHKRQCaZsDM/n7K34mmeRXMJiZEXDc/SkurVC10PHV+jqhGbqT qcpkjjYNp+LLZYBVZ4vl21WbakIV/v+GyHNlt+QwT8UklFF9LwEDmITc90DWyTAl 5iriFUgLQjqPvsRNxWGjVCU1h1joifKJK3PSp8KBSXEPgetBHkt7LTwAg4wPwQqP fSptHSOphfTDLlJD4i0FzRyQtcbL02gaalZG8q/kE0wHGZdAw7rEYqFW1hickohB ClXBbRsCGCiUsyIwKhCYjQ+duaAikdFImRzT+ym9s6z3f4CN0F5fp+IAowDtgUf5 litvXcd/aMcfu7KzwoP1c/bmAu3DA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieehgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueehgeduudevkeekveeihfeifeekud dvffevgfdtgeffvdelueehleeiheelhffhnecuffhomhgrihhnpehgihhthhhusgdrtgho mhdpfiholhhfshhslhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 3 Aug 2021 19:55:19 -0400 (EDT) From: Leo Famulari Date: Tue, 3 Aug 2021 19:55:00 -0400 Message-Id: <189a8545bba9412c7237d51337ae584dfab26a97.1628034759.git.leo@famulari.name> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628034968; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CgSXDsPzVoMXTJFbIVbjOV+qUvm/A/Lao3wgdoBaM14=; b=eN4IIZeCWKnT5FfQjloHFwnHhx02CcebmqFK4FNzlJZCs74XVny/quf9IwsIa5fbQnFS5V ZgBnM+wZVUk27MoE16owfxijD234A+4+6H64ym8Zmh/oFCwiADv6tHMly4t99t4GufczV+ im9TC59iBEfRSmjKSGSzf6yVsLIXtQfN7BQTiyuIem1C0c9ZQbrVO1G1oAAF9IQtuxUnW7 JhcLq0HVq7Xs5iyYlvj1dytLNKnvk04p6Alth7XL63fd5U0z/n8bMRim9d6XaFKQ0XS+Ge 6Eb1vMxfxS3gn86Gxhj0iPFYTv30Bw09GBcT6hY4uu2lkxCPeGf123/pWb18Lg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628034968; a=rsa-sha256; cv=none; b=eUWSPG6loJlYXc0NHbSl0xEZhciXBIyMcWkXrdzPc81wdhNwrqTg7AsxVYfVlDPPpPsLl9 z8OXFb+AFRIdG5TzIC+4QV40lRy3JfluPGThEXJXtqTD74LCbdtD+lr7BDxoC6u/6bh4KX iQIEFJKOS1BuNhnu/TSBLYigN8gc32c6eJvVfoiyh7Lr4NXTs8slnExR9rV5MZDC3BSnj4 iFIhjEj9f2LlbmddThEUM+jluMmAff8iZ2hTkrVxcaycN76OPmLXax/FwLiVC4t45yVwAh ROwegrbVc/w0nznc4SZgJuiNlbtHNsBtAgyDe0Msjwn+4zUORVJV1qv6VRgVmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=hxj38aSe; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=eSvCxb2Z; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=hxj38aSe; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=eSvCxb2Z; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5D38161F6 X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3sRIay4md67A * gnu/packages/tls.scm (wolfssl): New variable. --- gnu/packages/tls.scm | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index d98a724b5f..7a0a9bd9a9 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2014 Ian Denhardt ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2015 David Thompson -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Leo Famulari +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari ;;; Copyright © 2016, 2017, 2019 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Nikita ;;; Copyright © 2016 Hartmut Goebel @@ -48,6 +48,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages compression) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages curl) @@ -1158,3 +1159,34 @@ default set of preferences. Remaining on a specific version for backwards compatibility is also supported.") (home-page "https://github.com/awslabs/s2n") (license license:asl2.0))) + +(define-public wolfssl + (package + (name "wolfssl") + (version "4.8.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wolfSSL/wolfssl") + (commit (string-append "v" version "-stable")))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w9gs9cq2yhj5s3diz3x1l15pgrc1pbm00jccizvcjyibmwyyf2h")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + '("--enable-reproducible-build"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (synopsis "SSL/TLS implementation") + (description "The wolfSSL embedded SSL library (formerly CyaSSL) is an +SSL/TLS library written in ANSI C and targeted for embedded, RTOS, and +resource-constrained environments - primarily because of its small size, speed, +and feature set. wolfSSL supports industry standards up to the current TLS 1.3 +and DTLS 1.2, is up to 20 times smaller than OpenSSL, and offers progressive +ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b.") + (home-page "https://www.wolfssl.com/") + (license license:gpl2+))) ; Audit -- 2.32.0