package/nodejs: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 6 Feb 2021 11:16:14 +0000 (12:16 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 Feb 2021 13:51:28 +0000 (14:51 +0100)
cpe:2.3:a:nodejs:node.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%3Anodejs%3Anode.js

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

index 8916d47940cb71f4545f40ad873078ddbe699489..31ef4997164868779b448234f2eafe6d70a4c066 100644 (file)
@@ -14,6 +14,8 @@ HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python host-zlib
 NODEJS_INSTALL_STAGING = YES
 NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components)
 NODEJS_LICENSE_FILES = LICENSE
+NODEJS_CPE_ID_VENDOR = nodejs
+NODEJS_CPE_ID_PRODUCT = node.js
 
 NODEJS_CONF_OPTS = \
        --without-snapshot \