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 15:30:45 +0000 (17:30 +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/llvm-bpf/Makefile
tools/mtd-utils/Makefile
tools/sed/Makefile
tools/zip/Makefile

index 5f96463ae02d88566b7d9c43ca641d6dce5005fb..df1dc70f39d2fb13925588c8474baca5f37c2666 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=3.8.2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
 PKG_HASH:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2
+PKG_CPE_ID:=cpe:/a:gnu:bison
 
 HOST_BUILD_PARALLEL:=1
 
index 967cf6817b5e6795e20d97d16ea5052f746367b4..48f556f4fc5b7d22e3144a62494838482fc2429e 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=6.2.1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gmp/
 PKG_HASH:=fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
+PKG_CPE_ID:=cpe:/a:gmplib:gmp
 
 HOST_FIXUP:=autoreconf
 
index 527b3578242767a12c9aae23cb781d79f382aa7f..f5172ae98a779e49b0f280b1fc4a019dfe7afcee 100644 (file)
@@ -13,6 +13,7 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.xz
 PKG_SOURCE_URL:=https://github.com/llvm/llvm-project/releases/download/llvmorg-$(PKG_VERSION)
 PKG_HASH:=6075ad30f1ac0e15f07c1bf062c1e1268c241d674f11bd32cdf0e040c71f2bf3
+PKG_CPE_ID:=cpe:/a:llvm:llvm
 
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION).src
 
index 7eebcfb827f74bf3a8a57e9d5675723039c8a7ac..5268dd03a3522db7ccdf5e02a2f22efad549d372 100644 (file)
@@ -13,6 +13,7 @@ PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/mtd-utils/
 PKG_HASH:=8ad4c5f34716d40646aa28724a2f5616d325a6f119254f914e26976f1f76e9d6
+PKG_CPE_ID:=cpe:/a:mtd-utils_project:mtd-utils
 
 PKG_FIXUP:=autoreconf
 
index 4218ac2d593be19c9bbbc3bdfa24a89b14a369d8..58f70c4ad94928edd7f4dd347f8682ac889a78e6 100644 (file)
@@ -12,6 +12,7 @@ PKG_VERSION:=4.8
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
 PKG_HASH:=f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633
+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