tools: assign PKG_CPE_ID
authorAlexander Couzens <lynxis@fe80.eu>
Mon, 18 Sep 2023 22:10:03 +0000 (00:10 +0200)
committerArne Zachlod <arne@nerdkeller.org>
Wed, 27 Sep 2023 14:15:16 +0000 (16:15 +0200)
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining tools which have a CPE ID.
Not every tool has CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
tools/bison/Makefile
tools/gmp/Makefile
tools/mtd-utils/Makefile
tools/sed/Makefile
tools/zip/Makefile

index 45255da4fb17c840375bec0be51272962117fc1d..f64d2243ea81bbd6b563b8d3e2259c3e4c3f3559 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=3.4.1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
 PKG_HASH:=27159ac5ebf736dffd5636fd2cd625767c9e437de65baa63cb0de83570bd820d
+PKG_CPE_ID:=cpe:/a:gnu:bison
 
 HOST_BUILD_PARALLEL:=1
 
index 19dc8215f3f8a6b55fb83a7f6317d534a4de746a..a532411ff1be6cb753948cc90743765d5ad53c37 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=6.1.2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gmp/
 PKG_HASH:=87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
+PKG_CPE_ID:=cpe:/a:gmplib:gmp
 
 HOST_FIXUP:=autoreconf
 
index e0e083d2b60969ae540ba30969f88cdd85de3025..aef27355e888b3e6744d94258b7406cc729716d1 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=2.1.1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/mtd-utils/
 PKG_HASH:=8d15e8b70f036d6af1a66011f8ca0e048e9675fa7983d33bea92c24313a232d2
+PKG_CPE_ID:=cpe:/a:mtd-utils_project:mtd-utils
 
 PKG_FIXUP:=autoreconf
 
index ddeb6c457f8fc8032ece3c7d517bbdc357f56815..d77a367c21339dee8b3878259c84ce7958e6a2cd 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=4.7
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
 PKG_HASH:=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a
+PKG_CPE_ID:=cpe:/a:gnu:sed
 export SED:=
 
 HOST_BUILD_PARALLEL:=1
index 7dd81a1b8bc3bfeb5773d0770cb57c164f6db157..4490cf9213986a49093458d247c4d83ae86f93b2 100644 (file)
@@ -17,6 +17,7 @@ PKG_HASH:=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
 
 PKG_LICENSE:=BSD-4-Clause
 PKG_LICENSE_FILES:=LICENSE
+PKG_CPE_ID:=cpe:/a:zip_project:zip
 
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)/zip$(PKG_REV)
 HOST_BUILD_PARALLEL:=1