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)
committerArne Zachlod <arne@nerdkeller.org>
Wed, 27 Sep 2023 15:29:14 +0000 (17:29 +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>
13 files changed:
package/firmware/intel-microcode/Makefile
package/libs/gmp/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 eb7d808139f9279fab62a390d59a3e7028e449cc..2796f8d2dfc94773adbd0f53c919203ee0c3f8c7 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_USE_MIPS16:=0
 
index 26e05f79a1610caa3e81da13c9244dca3893f978..5f9ff456330c38b603710a66099a9e68df30a541 100644 (file)
@@ -10,6 +10,7 @@ PKG_HASH:=34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887
 
 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 d5d943699485654fea9374dd625f76add64df43a..b8af4d6f11c30b45649680b4ba2b215e2733ec66 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=ed285f4accaf05344f90975757b3dbfe772ba41d1c401c2648b7fa45b711bdd4
 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 65133d105cecfc018e95895fca7530557b20e440..fdc1d450095b22eff26fafb9969ee42e63ec66e7 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=0a5545aaadb640142c1f888d366a78ddf8724799967fa20686a70053bd621751
 
 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 da2b5564168f94b60c854860b9435ddcea225eae..a8377fe1eaf9a83e35cd746597aea28f36e71aaf 100644 (file)
@@ -17,6 +17,7 @@ PKG_HASH:=4c44e42762f903f9094ba5a598998c800a97a62afd6fd31ec1e0a799e308659c
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:kernel:iw
 
 include $(INCLUDE_DIR)/package.mk
 
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 db1f32087205da973292d171012124522d8e6a72..514587207187c7ec008fbe0299d9e15f21953771 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 94534b9c5e9a6908ea6e67a409f6394c396742a2..3f68fb24a16075f196abdf94130c32c4b0f37e93 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 279759e972d85bdd334ddeedd2e57fcef76e2ccc..7311e0c71521167487ee5d4fcd8da0c6c6234867 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 19f3b4dfdad3dee62fc3f7eadd1c995b3558032a..fb664e667329c8f7c23ea5958cd38d1333c477a2 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