From 1ac7c66afc48255962a40b6367aad36eb23a7c92 Mon Sep 17 00:00:00 2001 From: Petr Gotthard Date: Fri, 17 Feb 2023 19:02:13 +0000 Subject: tpm2-tools: upgrade 5.3 -> 5.5 Changelog: https://github.com/tpm2-software/tpm2-tools/blob/5.5/docs/CHANGELOG.md Signed-off-by: Petr Gotthard Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.3.bb | 23 ---------------------- meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb | 18 +++++++++++++++++ 2 files changed, 18 insertions(+), 23 deletions(-) delete mode 100644 meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.3.bb create mode 100644 meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.3.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.3.bb deleted file mode 100644 index 53d5abb..0000000 --- a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.3.bb +++ /dev/null @@ -1,23 +0,0 @@ -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] = "e7ce2fd36ef5cdbd7872d823a442e8754a4f0ca7c54b60efcdb75c12a1f98f8f" - -UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" - -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.5.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb new file mode 100644 index 0000000..ef73238 --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb @@ -0,0 +1,18 @@ +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] = "1fdb49c730537bfdaed088884881a61e3bfd121e957ec0bdceeec0261236c123" + +UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" + +inherit autotools pkgconfig bash-completion + +# need tss-esys +RDEPENDS:${PN} = "libtss2 tpm2-abrmd" -- cgit v1.2.3-54-g00ecf