aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-10-19 15:43:37 +0200
committerPetr Štetiar <ynezz@true.cz>2023-11-02 14:44:45 +0000
commit21552a955ae6865dfe2062a86a6c6f5f0d31a32c (patch)
tree9c162f44948ac3fd1010e64dea7eb9782040fa5e
parent40203cdbde5022ab7244c3a014184dedd013b740 (diff)
downloadupstream-21552a955ae6865dfe2062a86a6c6f5f0d31a32c.tar.gz
upstream-21552a955ae6865dfe2062a86a6c6f5f0d31a32c.tar.bz2
upstream-21552a955ae6865dfe2062a86a6c6f5f0d31a32c.zip
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 <ynezz@true.cz> (cherry picked from commit 33b3fea70245068030ef64b6d7c5b344d08ba9d8)
-rw-r--r--include/package-dumpinfo.mk1
1 files changed, 1 insertions, 0 deletions
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)