package/opencv4: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 27 Jul 2021 21:51:48 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 28 Jul 2021 19:05:30 +0000 (21:05 +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: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/opencv4/opencv4.mk

index 94ff77f14cec709254fe23febbeca4517d0218b9..412d89a85fc33fd57b8d45bcacdd1d12b12002ee 100644 (file)
@@ -9,6 +9,8 @@ OPENCV4_SITE = $(call github,opencv,opencv,$(OPENCV4_VERSION))
 OPENCV4_INSTALL_STAGING = YES
 OPENCV4_LICENSE = Apache-2.0
 OPENCV4_LICENSE_FILES = LICENSE
+OPENCV4_CPE_ID_VENDOR = opencv
+OPENCV4_CPE_ID_PRODUCT = opencv
 OPENCV4_SUPPORTS_IN_SOURCE_BUILD = NO
 
 OPENCV4_CXXFLAGS = $(TARGET_CXXFLAGS)