package/chartjs: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 21 Jan 2021 22:04:56 +0000 (23:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 23 Jan 2021 20:34:33 +0000 (21:34 +0100)
cpe:2.3:a:chartjs:chart.js is a valid CPE identifier for this package:

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

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

index 82c86dc6cc7c54c13c4773ea77840f2d09241213..2748a94d36aef854d14c3d8a15303c7062c1ffac 100644 (file)
@@ -8,6 +8,8 @@ CHARTJS_VERSION = 2.9.4
 CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
 CHARTJS_LICENSE = MIT
 CHARTJS_LICENSE_FILES = LICENSE.md
+CHARTJS_CPE_ID_VENDOR = chartjs
+CHARTJS_CPE_ID_PRODUCT = chart.js
 
 define CHARTJS_INSTALL_TARGET_CMDS
        $(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.css \