package/libmspack: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 23 May 2021 21:03:02 +0000 (23:03 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 24 May 2021 11:40:32 +0000 (13:40 +0200)
cpe:2.3:a:kyzer:libmspack is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe:2.3:a:kyzer:libmspack

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

index e9fdc3ca8d6da78e20d4b2065afdbd96e1671b38..f806192eec69120505a6fd25ca6987f00b815ca8 100644 (file)
@@ -4,10 +4,15 @@
 #
 ################################################################################
 
-LIBMSPACK_VERSION = 0.10.1alpha
+LIBMSPACK_VERSION_MAJOR = 0.10.1
+LIBMSPACK_VERSION_MINOR = alpha
+LIBMSPACK_VERSION = $(LIBMSPACK_VERSION_MAJOR)$(LIBMSPACK_VERSION_MINOR)
 LIBMSPACK_SITE = https://www.cabextract.org.uk/libmspack
 LIBMSPACK_LICENSE = LGPL-2.1
 LIBMSPACK_LICENSE_FILES = COPYING.LIB
+LIBMSPACK_CPE_ID_VENDOR = kyzer
+LIBMSPACK_CPE_ID_VERSION = $(LIBMSPACK_VERSION_MAJOR)
+LIBMSPACK_CPE_ID_UPDATE = $(LIBMSPACK_VERSION_MINOR)
 LIBMSPACK_INSTALL_STAGING = YES
 
 $(eval $(autotools-package))