package/asterisk: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 6 Feb 2021 11:05:54 +0000 (12:05 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 Feb 2021 13:51:25 +0000 (14:51 +0100)
cpe:2.3:a:asterisk:open_source is a valid CPE identifier for this
package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/asterisk/asterisk.mk

index fb3eb6ec8a57abf4005e24ef09e1992e22e01ed0..b220b5418924a2b205d43d0551f5c8a75328915a 100644 (file)
@@ -21,6 +21,9 @@ ASTERISK_LICENSE_FILES = \
        codecs/speex/speex_resampler.h \
        utils/db1-ast/include/db.h
 
+ASTERISK_CPE_ID_VENDOR = asterisk
+ASTERISK_CPE_ID_PRODUCT = open_source
+
 # For patches 0002, 0003 and 0005
 ASTERISK_AUTORECONF = YES
 ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson