From: Petr Štetiar Date: Wed, 19 Oct 2022 13:43:37 +0000 (+0200) Subject: package-dumpinfo: add CPE information to package index X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=33b3fea70245068030ef64b6d7c5b344d08ba9d8;p=openwrt%2Fstaging%2Fldir.git package-dumpinfo: add CPE information to package index 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 --- diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk index 597452e4b9..afc325c1ed 100644 --- a/include/package-dumpinfo.mk +++ b/include/package-dumpinfo.mk @@ -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)