package/zstd: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 23 Jan 2021 22:11:10 +0000 (23:11 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 23 Jan 2021 22:45:34 +0000 (23:45 +0100)
cpe:2.3:a:facebook:zstandard is a valid CPE identifier for this package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/zstd/zstd.mk

index a4f0632fcf3ada5398ea605b6144f531193e33c2..dba76b090934f82be0955bfe006496bf76cc656a 100644 (file)
@@ -9,6 +9,8 @@ ZSTD_SITE = https://github.com/facebook/zstd/releases/download/v$(ZSTD_VERSION)
 ZSTD_INSTALL_STAGING = YES
 ZSTD_LICENSE = BSD-3-Clause or GPL-2.0
 ZSTD_LICENSE_FILES = LICENSE COPYING
+ZSTD_CPE_ID_VENDOR = facebook
+ZSTD_CPE_ID_PRODUCT = zstandard
 
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
 ZSTD_OPTS += HAVE_THREAD=1