From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Christian Melki <christian.melki@t2data.com>
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] tpm2-tools: Version bump. 4.1 -> 5.2
Date: Fri, 28 Jan 2022 15:56:34 +0100 [thread overview]
Message-ID: <20220128145634.GB11273@pengutronix.de> (raw)
In-Reply-To: <15e01361-df23-88a5-87aa-70acc2db36ab@t2data.com>
On Fri, Jan 28, 2022 at 02:33:29PM +0100, Christian Melki wrote:
>
>
> On 1/28/22 10:31 AM, Michael Olbrich wrote:
> > On Thu, Jan 27, 2022 at 04:54:31PM +0100, Bruno Thomsen wrote:
> > > Hi
> > >
> > > Den tor. 27. jan. 2022 kl. 15.36 skrev Christian Melki
> > > <christian.melki@t2data.com>:
> > > >
> > > > Approx 2 years worth of fixes.
> > > > https://github.com/tpm2-software/tpm2-tools/releases
> > > >
> > > > Fixes CVE-2021-3565.
> > > > Update license file hash.
> > > > tpm2-tools now depend on EFIVAR.
> > > >
> > > > Signed-off-by: Christian Melki <christian.melki@t2data.com>
> > > > ---
> > > > rules/tpm2-tools.in | 1 +
> > > > rules/tpm2-tools.make | 5 ++---
> > > > 2 files changed, 3 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git a/rules/tpm2-tools.in b/rules/tpm2-tools.in
> > > > index 4c9cbaa92..99482845b 100644
> > > > --- a/rules/tpm2-tools.in
> > > > +++ b/rules/tpm2-tools.in
> > > > @@ -5,6 +5,7 @@ config TPM2_TOOLS
> > > > select TPM2_TSS
> > > > select OPENSSL
> > > > select LIBCURL
> > > > + select EFIVAR
> >
> > It's optional and TPMs are used on !EFI platforms, so please add an option
> > for this.
> >
>
> Hmm. There is a bit of a pitfall here.
> tpm2-tools seems to detect the efivar header and library a bit separately.
> So if someone installs efivar on dependency and does not select adding
> efivar it will find the headers but ptxdist will block the pkgconfig.
> Which will result in a failed build.
>
> There is no "add this if someone else selected the dependency already" ? :)
No, need. You just need an autoconf expert :-)
TPM2_TOOLS_CONF_ENV := \
$(CROSS_ENV) \
$(call ptx/ifdef, PTXCONF_TPM2_TOOLS_EFI,,ac_cv_header_efivar_efivar_h=no)
or something like that. If that variable is set to 'no' then the check will
be skipped.
Michael
> > > > prompt "tpm2-tools"
> > > > help
> > > > This package contains a set of tools to use with TPM 2.0
> > > > diff --git a/rules/tpm2-tools.make b/rules/tpm2-tools.make
> > > > index ead881ffb..16cedff74 100644
> > > > --- a/rules/tpm2-tools.make
> > > > +++ b/rules/tpm2-tools.make
> > > > @@ -14,15 +14,14 @@ PACKAGES-$(PTXCONF_TPM2_TOOLS) += tpm2-tools
> > > > #
> > > > # Paths and names
> > > > #
> > > > -TPM2_TOOLS_VERSION := 4.1
> > > > -TPM2_TOOLS_MD5 := aecec22668233776922909f2ebf55e65
> > > > +TPM2_TOOLS_VERSION := 5.2
> > > > +TPM2_TOOLS_MD5 := 0057615ef43b9322d4577fc3bde0e8d6
> > > > TPM2_TOOLS := tpm2-tools-$(TPM2_TOOLS_VERSION)
> > > > TPM2_TOOLS_SUFFIX := tar.gz
> > > > TPM2_TOOLS_URL := https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)/$(TPM2_TOOLS).$(TPM2_TOOLS_SUFFIX)
> > > > TPM2_TOOLS_SOURCE := $(SRCDIR)/$(TPM2_TOOLS).$(TPM2_TOOLS_SUFFIX)
> > > > TPM2_TOOLS_DIR := $(BUILDDIR)/$(TPM2_TOOLS)
> > > > TPM2_TOOLS_LICENSE := BSD-3-Clause
> > > > -TPM2_TOOLS_LICENSE_FILES := file://LICENSE;md5=0eb1216e46938bd723098d93a23c3bcc
> > >
> > > You forgot to add the new license file hash as stated in the commit message.
> >
> > Indeed. Please add it again.
> >
> > Michael
> >
> >
>
--
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
next prev parent reply other threads:[~2022-01-28 14:57 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 14:35 [ptxdist] [PATCH] wpa_supplicant: Version bump 2.9 -> 2.10 Christian Melki
2022-01-27 14:35 ` [ptxdist] [PATCH] efivar: Version bump 37 -> 38 Christian Melki
2022-01-28 10:17 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] sysklogd: Version bump. 2.2.3 -> 2.3.0 Christian Melki
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] dump1090fa: Version bump 6.1 -> 7.1 Christian Melki
2022-01-27 15:56 ` Bruno Thomsen
2022-01-27 16:31 ` Christian Melki
2022-01-28 9:37 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] chrony: Version bump. 4.1 -> 4.2 Christian Melki
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] strace: Version bump. 5.15 -> 5.16 Christian Melki
2022-01-28 9:19 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] alsa-lib: Version bump 1.2.5.1 -> 1.2.6.1 Christian Melki
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] alsa-utils: Version bump 1.2.5.1 -> 1.2.6 Christian Melki
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] libsndfile: Version bump 1.0.25 -> 1.0.31 Christian Melki
2022-01-28 12:46 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [WIP: PATCH] pps-tools: Version bump. 1.0.2 -> 1.0.3 Christian Melki
2022-01-28 9:26 ` Michael Olbrich
2022-01-28 9:39 ` Christian Melki
2022-01-28 10:36 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] tpm2-tss: Version bump. 2.3.1 -> 3.1.0 Christian Melki
2022-01-28 16:16 ` Michael Olbrich
2022-01-28 17:22 ` Christian Melki
2022-01-28 18:32 ` Michael Olbrich
2022-01-29 8:29 ` Christian Melki
2022-01-29 15:36 ` Michael Olbrich
2022-01-27 14:35 ` [ptxdist] [PATCH] tpm2-tools: Version bump. 4.1 -> 5.2 Christian Melki
2022-01-27 15:54 ` Bruno Thomsen
2022-01-28 9:31 ` Michael Olbrich
2022-01-28 13:33 ` Christian Melki
2022-01-28 14:56 ` Michael Olbrich [this message]
2022-01-27 14:35 ` [ptxdist] [PATCH] ncurses: Version bump. 6.2 -> 6.3 Christian Melki
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-01-30 15:49 ` [ptxdist] [APPLIED] wpa_supplicant: Version bump 2.9 -> 2.10 Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220128145634.GB11273@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=bruno.thomsen@gmail.com \
--cc=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox