From 1181d6f42239603ab27f17d837e59b439d0ba7a1 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 28 Jan 2021 20:53:24 +0100 Subject: [PATCH] package/runc: add CPE variables cpe:2.3:a:linuxfoundation:runc is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alinuxfoundation%3Arunc Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/runc/runc.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/runc/runc.mk b/package/runc/runc.mk index 45fe1442ad..0fec360d5f 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -4,10 +4,13 @@ # ################################################################################ -RUNC_VERSION = 1.0.0-rc92 +RUNC_VERSION = $(RUNC_CPE_ID_VERSION)-$(RUNC_CPE_ID_VERSION_MINOR) RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) RUNC_LICENSE = Apache-2.0 RUNC_LICENSE_FILES = LICENSE +RUNC_CPE_ID_VENDOR = linuxfoundation +RUNC_CPE_ID_VERSION = 1.0.0 +RUNC_CPE_ID_VERSION_MINOR = rc92 RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION) RUNC_TAGS = cgo static_build -- 2.30.2