package/bitcoin: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 30 Jan 2021 13:31:15 +0000 (14:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 30 Jan 2021 16:02:35 +0000 (17:02 +0100)
cpe:2.3:a:bitcoin:bitcoin_core is a valid CPE identifier for this
package:

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

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

index cd127127b6f6b525df13d587d4ee1ead993e5a8a..5f1684879cec11ee2be7d5138660c358d15df94d 100644 (file)
@@ -9,6 +9,8 @@ BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
 BITCOIN_AUTORECONF = YES
 BITCOIN_LICENSE = MIT
 BITCOIN_LICENSE_FILES = COPYING
+BITCOIN_CPE_ID_VENDOR = bitcoin
+BITCOIN_CPE_ID_PRODUCT = bitcoin_core
 BITCOIN_DEPENDENCIES = host-pkgconf boost libevent
 BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1
 BITCOIN_CONF_OPTS = \