package-dumpinfo: add CPE information to package index
authorPetr Štetiar <ynezz@true.cz>
Wed, 19 Oct 2022 13:43:37 +0000 (15:43 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 2 Nov 2023 14:44:45 +0000 (14:44 +0000)
Common Platform Enumeration (CPE) is a structured naming scheme for
information technology systems, software, and packages.

In order for the information to be processed further, it should also be
available in package index files.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 33b3fea70245068030ef64b6d7c5b344d08ba9d8)

include/package-dumpinfo.mk

index 597452e4b930745f81636c50663e4bfde9687f18..afc325c1ed66e838b57219be5ae476335b8ae58f 100644 (file)
@@ -36,6 +36,7 @@ $(if $(USERID),Require-User: $(USERID)
 )Source: $(PKG_SOURCE)
 $(if $(LICENSE),License: $(LICENSE)
 )$(if $(LICENSE_FILES),LicenseFiles: $(LICENSE_FILES)
+)$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID)
 )Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))
 $(if $(KCONFIG),Kernel-Config: $(KCONFIG)
 )$(if $(BUILDONLY),Build-Only: $(BUILDONLY)