package/opencv3: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 23 May 2021 13:57:23 +0000 (15:57 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 23 May 2021 17:48:41 +0000 (19:48 +0200)
cpe:2.3:a:opencv:opencv is a valid CPE identifier for this package:

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

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

index b1b86ba71dd4089472bdddf8be0de2e99b288f0e..5c82da99750d54c03d93359e0915a1183c8f260b 100644 (file)
@@ -9,6 +9,8 @@ OPENCV3_SITE = $(call github,opencv,opencv,$(OPENCV3_VERSION))
 OPENCV3_INSTALL_STAGING = YES
 OPENCV3_LICENSE = BSD-3-Clause
 OPENCV3_LICENSE_FILES = LICENSE
+OPENCV3_CPE_ID_VENDOR = opencv
+OPENCV3_CPE_ID_PRODUCT = opencv
 OPENCV3_SUPPORTS_IN_SOURCE_BUILD = NO
 
 OPENCV3_CXXFLAGS = $(TARGET_CXXFLAGS)