packages: assign PKG_CPE_ID for all missing packages
authorAlexander Couzens <lynxis@fe80.eu>
Mon, 18 Sep 2023 20:53:14 +0000 (22:53 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Wed, 27 Sep 2023 20:37:01 +0000 (22:37 +0200)
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
14 files changed:
package/firmware/intel-microcode/Makefile
package/libs/gmp/Makefile
package/libs/libbpf/Makefile
package/libs/libbsd/Makefile
package/libs/libnetfilter-conntrack/Makefile
package/libs/libpcap/Makefile
package/network/utils/ebtables/Makefile
package/network/utils/ipset/Makefile
package/network/utils/iw/Makefile
package/utils/adb/Makefile
package/utils/bsdiff/Makefile
package/utils/dtc/Makefile
package/utils/lua/Makefile
package/utils/lua5.3/Makefile

index 5102bf81eae8fc5277c6a9a0f86de7869c8b28d4..9e87dccc12b29e8fcf3e93e25c6893195a266bb9 100644 (file)
@@ -15,6 +15,7 @@ PKG_SOURCE:=intel-microcode_3.$(PKG_VERSION).1.tar.xz
 PKG_SOURCE_URL:=@DEBIAN/pool/non-free-firmware/i/intel-microcode/
 PKG_HASH:=29e77c275b3f60a691832c0844f70effbd94a4594d04af21e0c2e6e0c1ac1894
 PKG_BUILD_DIR:=$(BUILD_DIR)/intel-microcode-3.$(PKG_VERSION).1
+PKG_CPE_ID:=cpe:/a:intel:microcode
 
 PKG_BUILD_DEPENDS:=iucode-tool/host
 
index c9f886e7648d888b21b210a8ef52c415f6f39c9e..601e4f804def7821d0cb60514842ada639132560 100644 (file)
@@ -19,6 +19,7 @@ PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
 PKG_FIXUP:=autoreconf
 PKG_LICENSE:=GPL-2.0-or-later
+PKG_CPE_ID:=cpe:/a:gmplib:gmp
 
 PKG_BUILD_FLAGS:=no-mips16
 
index 316a56627432e10c5e3083e28192a4eb8536c3ec..a034231138456edb9ea2829b282120932040e3f8 100644 (file)
@@ -18,6 +18,7 @@ PKG_SOURCE_VERSION:=1728e3e4bef0e138ea95ffe62163eb9a6ac6fa32
 PKG_ABI_VERSION:=$(firstword $(subst .,$(space),$(PKG_VERSION)))
 
 PKG_MAINTAINER:=Tony Ambardar <itugrok@yahoo.com>
+PKG_CPE_ID:=cpe:/a:libbpf_project:libbpf
 
 PKG_BUILD_FLAGS:=no-mips16
 PKG_BUILD_PARALLEL:=1
index 1872e3ce30f3b536bbe3ac822592eb856ca4f7cd..6a148a985fd9f2bebb7d2c4b4413964234b366d7 100644 (file)
@@ -10,6 +10,7 @@ PKG_HASH:=9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261
 
 PKG_LICENSE:=BSD-4-Clause
 PKG_LICENSE_FILES:=COPYING
+PKG_CPE_ID:=cpe:/a:freedesktop:libbsd
 
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
index 50432e9cd8d27ee1e8b1b9309370da16364c9497..97197b4a619cd8db5a5bcec526c62ceae17209e4 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=67bd9df49fe34e8b82144f6dfb93b320f384a8ea59727e92ff8d18b5f4b579a8
 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=COPYING
+PKG_CPE_ID:=cpe:/a:netfilter:libnetfilter_conntrack
 
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
index 107c00aa03165d7a99ce14357570a177a2df40bd..d7358e32d036c36d90a8cb179f74b12d5b05b7a9 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=ed19a0383fad72e3ad435fd239d7cd80d64916b87269550159d20e47160ebe5f
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
+PKG_CPE_ID:=cpe:/a:tcpdump:libpcap
 
 PKG_ASLR_PIE_REGULAR:=1
 
index 67cc14a76089b64b94c6dd21304876d72783aead..f35b768b43754d20437c6d21f83343640f1bfb84 100644 (file)
@@ -17,6 +17,7 @@ PKG_SOURCE_VERSION:=48cff25dfea5b37e16ba5dc6601e98ab140f5f99
 PKG_MIRROR_HASH:=1327cdc3402e5e3056819e4e9b6f9d4a5bfd401f2c4f58447afb2c3c73fc8aac
 
 PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:netfilter:ebtables
 
 include $(INCLUDE_DIR)/package.mk
 
index 6d48103d0ecf37127c49fab8fa920d473fe1c86d..b0aac8fe36ee1dfc7f45b7dea902b56ed2d16628 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=be49c9ff489dd6610cad6541e743c3384eac96e9f24707da7b3929d8f2ac64d8
 
 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
 PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:netfilter:ipset
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
index 746c2c3c129cd3e19b3486c71b04cf0b8a626fd0..528f6868b232e8e94a28e4143ea3311adadf4cb1 100644 (file)
@@ -17,6 +17,7 @@ PKG_HASH:=f167bbe947dd53bb9ebc0c1dcef5db6ad73ac1d6084f2c6f9376c5c360cc4d4e
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:kernel:iw
 
 PKG_BUILD_FLAGS:=gc-sections lto
 
index 0482a40da15bfc46098ef16d021bd21b5462abe8..c207c333b24dae511e220ac259518ee936f16b26 100644 (file)
@@ -13,6 +13,7 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
 PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.xz
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
 PKG_MAINTAINER:=Henryk Heisig <hyniu@o2.pl>
+PKG_CPE_ID:=cpe:/a:google:android_debug_bridge
 
 include $(INCLUDE_DIR)/package.mk
 
index 09e6f126f627ac4ba91fb0a5280a01b566dc2b37..32e59cea9c69652930cabdbd772644dc45269bdd 100644 (file)
@@ -18,6 +18,7 @@ PKG_MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
 HOST_BUILD_DEPENDS:=bzip2/host
 
 PKG_LICENSE:=BSD-2-Clause
+PKG_CPE_ID:=cpe:/a:daemonology:bsdiff
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
index 2e20c29cc641ca6a778f8261be8861508d8d62cf..dc10e9c5195b17f01e9ed6ab381dbedd9a0124fa 100644 (file)
@@ -15,6 +15,7 @@ PKG_SOURCE_URL:=@KERNEL/software/utils/dtc
 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
 PKG_LICENSE:=GPL-2.0-only
 PKG_LICENSE_FILES:=GPL
+PKG_CPE_ID:=cpe:/a:dtc_project:dtc
 
 PKG_INSTALL:=1
 
index e4d2fd1c500069a16d1ce19babf40dee37450e93..9496ffb366be977104319d945043f0758b3ad21e 100644 (file)
@@ -19,6 +19,7 @@ PKG_BUILD_PARALLEL:=1
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYRIGHT
+PKG_CPE_ID:=cpe:/a:lua:lua
 
 HOST_PATCH_DIR := ./patches-host
 
index 9a707fbbab2a078bd1eec7f4068ed64996dc4df8..d43ac59ed4285c1993f4edde6029e17f7904ef16 100644 (file)
@@ -19,6 +19,7 @@ PKG_BUILD_PARALLEL:=1
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=COPYRIGHT
+PKG_CPE_ID:=cpe:/a:lua:lua
 
 HOST_PATCH_DIR := ./patches-host