From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Jan 2022 17:16:19 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nDTv9-00GCPZ-94 for lore@lore.pengutronix.de; Fri, 28 Jan 2022 17:16:19 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nDTv8-0003RG-NL; Fri, 28 Jan 2022 17:16:18 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDTuy-0003QN-06; Fri, 28 Jan 2022 17:16:08 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nDTux-00D1mj-P0; Fri, 28 Jan 2022 17:16:07 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nDTuw-000840-De; Fri, 28 Jan 2022 17:16:06 +0100 Date: Fri, 28 Jan 2022 17:16:06 +0100 From: Michael Olbrich To: Christian Melki Message-ID: Mail-Followup-To: Christian Melki , ptxdist@pengutronix.de References: <20220127143532.2212796-1-christian.melki@t2data.com> <20220127143532.2212796-11-christian.melki@t2data.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220127143532.2212796-11-christian.melki@t2data.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] tpm2-tss: Version bump. 2.3.1 -> 3.1.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Jan 27, 2022 at 03:35:30PM +0100, Christian Melki wrote: > Approx. 2,5 year worth of fixes. > https://github.com/tpm2-software/tpm2-tss/releases > Fixes CVE-2020-24455 (three times over). > tpm2-tss now depends on JSON_C and LIBCURL. > Remove changed configuration options. Fails to build here: checking for groupadd... no configure: error: Missing required program 'groupadd': ensure it is installed and on PATH. Adding a group should not be done during install anyways and it would fail, so I think this should work: TPM2_TSS_CONF_ENV := \ $(CROSS_ENV) \ GROUPADD=: \ USERADD=: Michael > Signed-off-by: Christian Melki > --- > rules/tpm2-tss.in | 2 ++ > rules/tpm2-tss.make | 7 ++----- > 2 files changed, 4 insertions(+), 5 deletions(-) > > diff --git a/rules/tpm2-tss.in b/rules/tpm2-tss.in > index dbb310072..75d32188c 100644 > --- a/rules/tpm2-tss.in > +++ b/rules/tpm2-tss.in > @@ -4,6 +4,8 @@ config TPM2_TSS > tristate > select HOST_AUTOTOOLS_AUTOCONF_ARCHIVE > select OPENSSL > + select JSON_C > + select LIBCURL > prompt "tpm2-tss" > help > TPM2 Software stack library - TSS and TCTI libraries > diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make > index 768c64426..72aff609a 100644 > --- a/rules/tpm2-tss.make > +++ b/rules/tpm2-tss.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_TPM2_TSS) += tpm2-tss > # > # Paths and names > # > -TPM2_TSS_VERSION := 2.3.1 > -TPM2_TSS_MD5 := 5744b10e3cef56df5d65b50f51fb3fe9 > +TPM2_TSS_VERSION := 3.1.0 > +TPM2_TSS_MD5 := 4d04cf52fff4ee061bb3f7b4f4ea03b7 > TPM2_TSS := tpm2-tss-$(TPM2_TSS_VERSION) > TPM2_TSS_SUFFIX := tar.gz > TPM2_TSS_URL := https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)/$(TPM2_TSS).$(TPM2_TSS_SUFFIX) > @@ -36,9 +36,6 @@ TPM2_TSS_CONF_OPT := \ > $(CROSS_AUTOCONF_USR) \ > --enable-debug=info \ > --disable-unit \ > - --enable-esapi \ > - --disable-tcti-device-async \ > - --disable-tcti-partial-reads \ > --enable-tcti-device \ > --enable-tcti-mssim \ > --disable-tcti-fuzzing \ > -- > 2.30.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de