[openwrt/openwrt] package-dumpinfo: add CPE information to package index

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 2 07:45:20 PDT 2023


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/21552a955ae6865dfe2062a86a6c6f5f0d31a32c

commit 21552a955ae6865dfe2062a86a6c6f5f0d31a32c
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Wed Oct 19 15:43:37 2022 +0200

    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 at true.cz>
    (cherry picked from commit 33b3fea70245068030ef64b6d7c5b344d08ba9d8)
---
 include/package-dumpinfo.mk | 1 +
 1 file changed, 1 insertion(+)

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)




More information about the lede-commits mailing list