package/libmodsecurity: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 6 Mar 2021 09:41:36 +0000 (10:41 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Mar 2021 10:18:24 +0000 (11:18 +0100)
cpe:2.3:a:trustwave:modsecurity is a valid CPE identifier for this
package:

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

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

index 063f969fc68a3ea9d499839a58e6a7ab4c9cd078..a84cd27b3498678a867bae6a79cbb44826c87892 100644 (file)
@@ -10,6 +10,8 @@ LIBMODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity/releases/downloa
 LIBMODSECURITY_INSTALL_STAGING = YES
 LIBMODSECURITY_LICENSE = Apache-2.0
 LIBMODSECURITY_LICENSE_FILES = LICENSE
+LIBMODSECURITY_CPE_ID_VENDOR = trustwave
+LIBMODSECURITY_CPE_ID_PRODUCT = modsecurity
 # 0002-test-for-uClinux-in-configure-script.patch
 LIBMODSECURITY_AUTORECONF = YES
 # libinjection uses AC_CHECK_FILE, not available in cross-compile