package/gnupg: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 7 Feb 2021 13:03:28 +0000 (14:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 8 Feb 2021 07:34:40 +0000 (08:34 +0100)
cpe:2.3:a:gnupg:gnupg is a valid CPE identifier for this package:

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

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

index 0cbb99629b3da4007a787299789f0fc059710ceb..2f62890db671f779a27a160214b42118aa9f27f2 100644 (file)
@@ -9,6 +9,8 @@ GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2
 GNUPG2_SITE = https://gnupg.org/ftp/gcrypt/gnupg
 GNUPG2_LICENSE = GPL-3.0+
 GNUPG2_LICENSE_FILES = COPYING
+GNUPG2_CPE_ID_VENDOR = gnupg
+GNUPG2_CPE_ID_PRODUCT = gnupg
 GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \
        $(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf