package/tpm2-tss: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 16 May 2021 17:11:01 +0000 (19:11 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 May 2021 17:28:14 +0000 (19:28 +0200)
cpe:2.3:a:tpm2_software_stack_project:tpm2_software_stack is a valid CPE
identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Atpm2_software_stack_project%3Atpm2_software_stack

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/tpm2-tss/tpm2-tss.mk

index bde6b352bfcae861b385df90d15d22a2501d034e..9ffbef2f07557058aad629b130b1bbe65ee0565d 100644 (file)
@@ -8,6 +8,8 @@ TPM2_TSS_VERSION = 3.0.3
 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
 TPM2_TSS_LICENSE = BSD-2-Clause
 TPM2_TSS_LICENSE_FILES = LICENSE
+TPM2_TSS_CPE_ID_VENDOR = tpm2_software_stack_project
+TPM2_TSS_CPE_ID_PRODUCT = tpm2_software_stack
 TPM2_TSS_INSTALL_STAGING = YES
 TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf
 TPM2_TSS_CONF_OPTS = --with-crypto=ossl --disable-doxygen-doc --disable-defaultflags