Skip to contentSkip to conversation

tpm2-tools: Upgrade 5.2 -> 5.7

PATCH In review [email protected] 1 participant 2 messages Sep 9, 2024 – Oct 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm2-tools: Upgrade 5.2 -> 5.7

From: Vijay Anusuri <[email protected]>

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

---
 .../tpm2-tools/{tpm2-tools_5.2.bb => tpm2-tools_5.7.bb}  | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
 rename meta-tpm/recipes-tpm2/tpm2-tools/{tpm2-tools_5.2.bb => tpm2-tools_5.7.bb} (51%)
meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb renamed from meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb +2 -7
similarity index 51%
rename from meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb
rename to meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb
index c20af7e..bd3d34b 100644
@@ -1,21 +1,16 @@
 SUMMARY = "Tools for TPM2."
 DESCRIPTION = "tpm2-tools"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
+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] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630"
+SRC_URI[sha256sum] = "3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a"
 
 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"
Signature · 1 line
2.25.1
#1 lore raw

Hi Team,

Gentle Reminder ...!!!

Any Update on this ?

Thanks & Regards,
Vijay

Quoted 63 lines · On Mon, Sep 9, 2024 at 6:29 PM <[email protected]> wrote:

From: Vijay Anusuri <[email protected]>

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

---
 .../tpm2-tools/{tpm2-tools_5.2.bb => tpm2-tools_5.7.bb}  | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
 rename meta-tpm/recipes-tpm2/tpm2-tools/{tpm2-tools_5.2.bb =>

tpm2-tools_5.7.bb} (51%)

meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb renamed from meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb +0 -1
similarity index 51%
rename from meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb
rename to meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb
index c20af7e..bd3d34b 100644
@@ -1,21 +1,16 @@
 SUMMARY = "Tools for TPM2."
 DESCRIPTION = "tpm2-tools"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://doc/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" +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] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630" +SRC_URI[sha256sum] = "3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a"

inherit autotools pkgconfig bash-completion

meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.7.bb renamed from meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb +0 -7
-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"
--

2.25.1