package/sdl: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 5 Mar 2021 15:32:03 +0000 (16:32 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 5 Mar 2021 21:51:51 +0000 (22:51 +0100)
cpe:2.3:a:libsdl:simple_directmedia_layer is a valid CPE identifier for
this package:

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

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

index 06564d610a5cf2d5ce4a4e40e134c78122cda688..7389cd3edb8fb4e6f572aa9560bbd4f06f5d8b1c 100644 (file)
@@ -9,6 +9,8 @@ SDL_SOURCE = SDL-$(SDL_VERSION).tar.gz
 SDL_SITE = http://www.libsdl.org/release
 SDL_LICENSE = LGPL-2.1+
 SDL_LICENSE_FILES = COPYING
+SDL_CPE_ID_VENDOR = libsdl
+SDL_CPE_ID_PRODUCT = simple_directmedia_layer
 SDL_INSTALL_STAGING = YES
 
 # we're patching configure.in, but package cannot autoreconf with our version of