|
@@ -4,7 +4,7 @@
|
|
|
#
|
|
#
|
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
|
|
-TPM2_TSS_VERSION = 3.2.2
|
|
|
|
|
|
|
+TPM2_TSS_VERSION = 4.1.3
|
|
|
TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
|
|
TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
|
|
|
TPM2_TSS_LICENSE = BSD-2-Clause
|
|
TPM2_TSS_LICENSE = BSD-2-Clause
|
|
|
TPM2_TSS_LICENSE_FILES = LICENSE
|
|
TPM2_TSS_LICENSE_FILES = LICENSE
|
|
@@ -13,13 +13,6 @@ TPM2_TSS_CPE_ID_PRODUCT = tpm2_software_stack
|
|
|
TPM2_TSS_INSTALL_STAGING = YES
|
|
TPM2_TSS_INSTALL_STAGING = YES
|
|
|
TPM2_TSS_DEPENDENCIES = openssl host-pkgconf
|
|
TPM2_TSS_DEPENDENCIES = openssl host-pkgconf
|
|
|
|
|
|
|
|
-# 0001-configure-Only-use-CXX-when-fuzzing.patch
|
|
|
|
|
-TPM2_TSS_AUTORECONF = YES
|
|
|
|
|
-
|
|
|
|
|
-# Fixed in upstream commit
|
|
|
|
|
-# https://github.com/tpm2-software/tpm2-tss/commit/7ab42953216adec046d000a5e3085f3ee5e9cabf
|
|
|
|
|
-TPM2_TSS_IGNORE_CVES += CVE-2023-22745
|
|
|
|
|
-
|
|
|
|
|
# systemd-sysusers and systemd-tmpfiles are only used at install time
|
|
# systemd-sysusers and systemd-tmpfiles are only used at install time
|
|
|
# to trigger the creation of users and tmpfiles, which we do not care
|
|
# to trigger the creation of users and tmpfiles, which we do not care
|
|
|
# about at build time. groupadd, useradd, and setfacl are used in the
|
|
# about at build time. groupadd, useradd, and setfacl are used in the
|
|
@@ -40,10 +33,10 @@ TPM2_TSS_CONF_OPTS = \
|
|
|
TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
|
TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TPM2_TSS_FAPI),y)
|
|
ifeq ($(BR2_PACKAGE_TPM2_TSS_FAPI),y)
|
|
|
-TPM2_TSS_DEPENDENCIES += json-c libcurl
|
|
|
|
|
|
|
+TPM2_TSS_DEPENDENCIES += json-c libcurl util-linux
|
|
|
TPM2_TSS_CONF_OPTS += --enable-fapi
|
|
TPM2_TSS_CONF_OPTS += --enable-fapi
|
|
|
else
|
|
else
|
|
|
-TPM2_TSS_CONF_OPTS += --disable-fapi
|
|
|
|
|
|
|
+TPM2_TSS_CONF_OPTS += --disable-fapi --disable-policy
|
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
define TPM2_TSS_USERS
|
|
define TPM2_TSS_USERS
|