From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qIAmH8K7EmA2cgAA0tVLHw (envelope-from ) for ; Thu, 28 Jan 2021 13:27:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oHvJGsK7EmDVKAAAbx9fmQ (envelope-from ) for ; Thu, 28 Jan 2021 13:27:30 +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 15847940276 for ; Thu, 28 Jan 2021 13:27:30 +0000 (UTC) Received: from localhost ([::1]:40796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l57Kb-0007ON-3a for larch@yhetil.org; Thu, 28 Jan 2021 08:27:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l57KA-0007O8-Gi for guix-patches@gnu.org; Thu, 28 Jan 2021 08:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l57KA-0007h1-8B for guix-patches@gnu.org; Thu, 28 Jan 2021 08:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l57KA-0006qg-5I for guix-patches@gnu.org; Thu, 28 Jan 2021 08:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46139] [PATCH v3 1/1] gnu: Add tpm2-tss. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Jan 2021 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46139@debbugs.gnu.org Received: via spool by 46139-submit@debbugs.gnu.org id=B46139.161184041326290 (code B ref 46139); Thu, 28 Jan 2021 13:27:02 +0000 Received: (at 46139) by debbugs.gnu.org; 28 Jan 2021 13:26:53 +0000 Received: from localhost ([127.0.0.1]:47587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l57K1-0006pq-37 for submit@debbugs.gnu.org; Thu, 28 Jan 2021 08:26:53 -0500 Received: from mail.zaclys.net ([178.33.93.72]:57997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l57Jy-0006pU-RB for 46139@debbugs.gnu.org; Thu, 28 Jan 2021 08:26:52 -0500 Received: from localhost.localdomain (lam21-1_migr-78-196-200-185.fbx.proxad.net [78.196.200.185] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 10SDQTYw049317 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 28 Jan 2021 14:26:44 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 10SDQTYw049317 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1611840404; bh=IvmRoXE3GPyY5Ku/x6ycrpVoVmK2DcE4sdfD6ZfSDZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MPAAL/6CqAG75Db+VUOVloA0wodjWIaKwmHRxvTacr0fMfqeHuGaq1g0PIp2+tCjS uwPkhI8Qey4d8dRFrpIFKRt57W/Kq74TAXhIWAl/UM0OQMZXilkuz9vBncnoSeG0ZS KQvm0dq4rf6ugg//MY4qULocP4+oCqcXMHc63zkY= Date: Thu, 28 Jan 2021 14:26:28 +0100 Message-Id: <20210128132628.24609-2-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210128132628.24609-1-lle-bout@zaclys.net> References: <87czxqyq2k.fsf@nckx> <20210128132628.24609-1-lle-bout@zaclys.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: guix-patches--- via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b="MPAAL/6C"; dmarc=pass (policy=none) header.from=gnu.org; 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: 15847940276 X-Spam-Score: 1.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: UhHpvyy/eJU2 * gnu/packages/hardware.scm (tpm2-tss): New variable. --- gnu/packages/hardware.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 59f36a8135..bef0947827 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -28,6 +28,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) @@ -42,6 +43,8 @@ #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -543,3 +546,30 @@ screens. It displays various patterns and allows you to estimate the quality of your CRT/LCD monitor.") (home-page "https://github.com/TobiX/screentest") (license license:gpl2))) + +(define-public tpm2-tss + (package + (name "tpm2-tss") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/tpm2-software/tpm2-tss" + "/releases/download/" version "/tpm2-tss-" version + ".tar.gz")) + (sha256 + (base32 "05xynpwq851fp8f5fy7ac0blvz8mr5m5cbqj3gslgbwv63kjnfbq")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("openssl" ,openssl) + ("json-c" ,json-c) + ("curl" ,curl))) + (home-page "https://tpm2-software.github.io/") + (synopsis "OSS Implementation of the TCG TPM2 Software Stack (TSS2)") + (description "This package provides the +@acronym{TCG, Trusted Computing Group} @acronym{TSS2, TPM2 Software Stack}. +The stack contains libtss2-fapi, libtss2-esys, libtss2-sys, libtss2-mu, +libtss2-tcti-device, libtss2-tcti-swtpm and libtss2-tcti-mssim.") + (license license:bsd-2))) -- 2.30.0