[Buildroot] [git commit branch/2021.02.x] package/python3-setuptools: add _CPE_ID_VENDOR and_CPE_ID_PRODUCT

Peter Korsgaard peter at korsgaard.com
Mon Apr 26 13:13:12 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=f24a371d9241c30d6cad85e2fd42e79cf13de450
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

cpe:2.3:a:python:setuptools:* is a valid CPE identifier for this package:

 https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe:2.3:a:python:setuptools

Note: 63332c33aa already added those for the python(2) variant.

Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
[yann.morin.1998 at free.fr:
  - add reference to 63332c33aa
  - move up, right after license
]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit c819d208349d90bd7cbe70bf2f50a9cd0b7c78f5)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python3-setuptools/python3-setuptools.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/python3-setuptools/python3-setuptools.mk b/package/python3-setuptools/python3-setuptools.mk
index 3f4f1100fe..34d5993120 100644
--- a/package/python3-setuptools/python3-setuptools.mk
+++ b/package/python3-setuptools/python3-setuptools.mk
@@ -11,6 +11,8 @@ PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip
 PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
 PYTHON3_SETUPTOOLS_LICENSE = MIT
 PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE
+PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python
+PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools
 PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools
 HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools
 HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3


More information about the buildroot mailing list