package/liburiparser: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 3 Mar 2021 09:27:49 +0000 (10:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 3 Mar 2021 12:42:00 +0000 (13:42 +0100)
cpe:2.3:a:uriparser_project:uriparser is a valid CPE identifier for this
package:

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

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

index e333354ecc103cf2286c45c5c9386836819af769..4ba1e051e379422416a386ea365fed99b4ec1698 100644 (file)
@@ -9,6 +9,8 @@ LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
 LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
 LIBURIPARSER_LICENSE = BSD-3-Clause
 LIBURIPARSER_LICENSE_FILES = COPYING
+LIBURIPARSER_CPE_ID_VENDOR = uriparser_project
+LIBURIPARSER_CPE_ID_PRODUCT = uriparser
 LIBURIPARSER_INSTALL_STAGING = YES
 LIBURIPARSER_CONF_OPTS = -DURIPARSER_BUILD_DOCS=OFF -DURIPARSER_BUILD_TESTS=OFF