package/mesa3d{,-headers}: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 15 May 2021 21:41:42 +0000 (23:41 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 May 2021 16:29:55 +0000 (18:29 +0200)
cpe:2.3:a:mesa3d:mesa is a valid CPE identifier for this package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add to mesa3d-headers too]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/mesa3d-headers/mesa3d-headers.mk
package/mesa3d/mesa3d.mk

index 9c0079c3f94721c3ca7153f5585d6e60542f5c13..d86ad929f872a6fa8d6b13c3a2b1f3f9f3089913 100644 (file)
@@ -18,6 +18,9 @@ MESA3D_HEADERS_SITE = https://mesa.freedesktop.org/archive
 MESA3D_HEADERS_DL_SUBDIR = mesa3d
 MESA3D_HEADERS_LICENSE = MIT, SGI, Khronos
 MESA3D_HEADERS_LICENSE_FILES = docs/license.rst
+MESA3D_HEADERS_CPE_ID_VENDOR = mesa3d
+MESA3D_HEADERS_CPE_ID_PRODUCT = mesa
+
 
 # Only installs header files
 MESA3D_HEADERS_INSTALL_STAGING = YES
index b18faeb2ce1fa03f64f861912471d02b878be17d..ca44a66e5413f8a3f633dd89f0184d8cffba7545 100644 (file)
@@ -10,6 +10,8 @@ MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
 MESA3D_SITE = https://mesa.freedesktop.org/archive
 MESA3D_LICENSE = MIT, SGI, Khronos
 MESA3D_LICENSE_FILES = docs/license.rst
+MESA3D_CPE_ID_VENDOR = mesa3d
+MESA3D_CPE_ID_PRODUCT = mesa
 
 MESA3D_INSTALL_STAGING = YES