package/python3: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 1 Mar 2021 17:27:27 +0000 (18:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 1 Mar 2021 19:18:43 +0000 (20:18 +0100)
cpe:2.3:a:python:python is a valid CPE identifier for this package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python3/python3.mk

index 63d6c3f535747bcab8a1a06ceda63f9b6f8c3fb2..def34f46ad6fc4b8c9345422102e1a247c811943 100644 (file)
@@ -10,6 +10,8 @@ PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
 PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
 PYTHON3_LICENSE = Python-2.0, others
 PYTHON3_LICENSE_FILES = LICENSE
+PYTHON3_CPE_ID_VENDOR = python
+PYTHON3_CPE_ID_PRODUCT = python
 
 # This host Python is installed in $(HOST_DIR), as it is needed when
 # cross-compiling third-party Python modules.