package/python-pyopenssl: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Apr 2021 21:32:18 +0000 (23:32 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 07:29:06 +0000 (09:29 +0200)
cpe:2.3:a:pyopenssl:pyopenssl is a valid CPE identifier for this
package:

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

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

index bbbd836a1b7675574a84cf60528ba22145e8e856..a7ea7edfde7f6bb326b642a092fc441ef730b1fd 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_PYOPENSSL_SOURCE = pyOpenSSL-$(PYTHON_PYOPENSSL_VERSION).tar.gz
 PYTHON_PYOPENSSL_SITE = https://files.pythonhosted.org/packages/0d/1d/6cc4bd4e79f78be6640fab268555a11af48474fac9df187c3361a1d1d2f0
 PYTHON_PYOPENSSL_LICENSE = Apache-2.0
 PYTHON_PYOPENSSL_LICENSE_FILES = LICENSE
+PYTHON_PYOPENSSL_CPE_ID_VENDOR = pyopenssl
+PYTHON_PYOPENSSL_CPE_ID_PRODUCT = pyopenssl
 PYTHON_PYOPENSSL_SETUP_TYPE = setuptools
 
 $(eval $(python-package))