From cd6291f7c917dc75275bcf90fa851e2f741bfcee Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 12 Sep 2026 00:10:33 +0200 Subject: [PATCH] package/tpm2-openssl: bump version to 1.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/tpm2-software/tpm2-openssl/releases/tag/1.3.0 Update license hash due to copyright year bump: https://github.com/tpm2-software/tpm2-openssl/commit/3fb3a5ff7fcd9921ad6e933aed8f34e8e63d46db Pass -Wno-error to make sure warnings are not treated as errors, to workaround the fact that -Werror is pasedd by the build system since upstream commit https://github.com/tpm2-software/tpm2-openssl/commit/c3a8758cad1520d36d6cb87aa87ff8012f3283d8 first included in this release. This fixes a build error seen with the Gitlab pipelines for bootlin-aarch64-glibc-old: src/tpm2-provider-encoder.c: In function ‘tpm2_rsa_encoder_encode_SubjectPublicKeyInfo_der’: src/tpm2-provider-encoder.c:86:71: error: the comparison will always evaluate as ‘true’ for the address of ‘tpm2_rsa_encode_public_ SubjectPublicKeyInfo_der’ will never be NULL [-Werror=address] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/tpm2-openssl/tpm2-openssl.hash | 4 ++-- package/tpm2-openssl/tpm2-openssl.mk | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package/tpm2-openssl/tpm2-openssl.hash b/package/tpm2-openssl/tpm2-openssl.hash index ee15ee885f..36ef705069 100644 --- a/package/tpm2-openssl/tpm2-openssl.hash +++ b/package/tpm2-openssl/tpm2-openssl.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 2ee15da2dceae1466ffba868e75a00b119d752babc1b6a2792286336a3324fb0 tpm2-openssl-1.2.0.tar.gz -sha256 7ffba9d66226eb67abb9747ce1cd47477d566143a8ded597bbd974c6fb5fe9f5 LICENSE +sha256 9a9aca55d4265ec501bcf9c56d21d6ca18dba902553f21c888fe725b42ea9964 tpm2-openssl-1.3.0.tar.gz +sha256 355dd0ed306eaba0b7397542973b0bdcce84fed036a58f94be8cf7d75f42deba LICENSE diff --git a/package/tpm2-openssl/tpm2-openssl.mk b/package/tpm2-openssl/tpm2-openssl.mk index ed590c2f47..60bdf3cf4f 100644 --- a/package/tpm2-openssl/tpm2-openssl.mk +++ b/package/tpm2-openssl/tpm2-openssl.mk @@ -4,13 +4,17 @@ # ################################################################################ -TPM2_OPENSSL_VERSION = 1.2.0 +TPM2_OPENSSL_VERSION = 1.3.0 TPM2_OPENSSL_SITE = https://github.com/tpm2-software/tpm2-openssl/releases/download/$(TPM2_OPENSSL_VERSION) TPM2_OPENSSL_LICENSE = BSD-3-Clause TPM2_OPENSSL_LICENSE_FILES = LICENSE TPM2_OPENSSL_INSTALL_STAGING = YES TPM2_OPENSSL_DEPENDENCIES = host-pkgconf openssl tpm2-tss +# Need to disable -Werror to avoid warnings being treated as errors +# with some gcc versions +TPM2_OPENSSL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error" + # Provide --with-modulesdir to avoid using abs_builddir and DESTDIR # (also defined as absolute path) at the same time to define modules # install path (am__installdirs).