From bf1313a48a9e4051f187e257dd2487fb8a8a6bbe Mon Sep 17 00:00:00 2001 From: Vijay Anusuri Date: Mon, 9 Sep 2024 18:28:57 +0530 Subject: tpm2-tools: Upgrade 5.2 -> 5.7 Include Security fixes: Fixed CVE-2024-29038 Fixed CVE-2024-29039 Changelog: https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7 https://github.com/tpm2-software/tpm2-tools/releases/tag/5.6 https://github.com/tpm2-software/tpm2-tools/releases/tag/5.5 https://github.com/tpm2-software/tpm2-tools/releases/tag/5.4 https://github.com/tpm2-software/tpm2-tools/releases/tag/5.3 Signed-off-by: Vijay Anusuri Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb | 21 --------------------- meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 21 deletions(-) delete mode 100644 meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb create mode 100644 meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb deleted file mode 100644 index c20af7e..0000000 --- a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Tools for TPM2." -DESCRIPTION = "tpm2-tools" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" -SECTION = "tpm" - -DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive" - -SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" - -SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630" - -inherit autotools pkgconfig bash-completion - -do_configure:prepend() { - # do not extract the version number from git - sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac -} - -# need tss-esys -RDEPENDS:${PN} = "libtss2 tpm2-abrmd" diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb new file mode 100644 index 0000000..bd3d34b --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb @@ -0,0 +1,16 @@ +SUMMARY = "Tools for TPM2." +DESCRIPTION = "tpm2-tools" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" +SECTION = "tpm" + +DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive" + +SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" + +SRC_URI[sha256sum] = "3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a" + +inherit autotools pkgconfig bash-completion + +# need tss-esys +RDEPENDS:${PN} = "libtss2 tpm2-abrmd" -- cgit v1.2.3-54-g00ecf