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:21:26 +0000 (17:21 +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 5175f5f53c3fb3629aa6f83f4869a2d3ed904ced..c45002fba3832f42bf5d4959ee1203fd5fcbd851 100644 (file)
@@ -15,6 +15,7 @@ PKG_SOURCE:=intel-microcode_3.$(PKG_VERSION).1.tar.xz
 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/i/intel-microcode/
 PKG_HASH:=4cf6c3638bb52d9d45c1916af866fd0929628a6f459daac3edfd369149e9c665
 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 2020709d01de6fb40c0b80b212c7131af275d76c..7f525724b06cf49568caeb4c5884b1114bbbe5b3 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=0cd13be008923528687af6c6b860f35392d49251c04ee0648282d36b1faec1cf
 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 ea82536e9d5430e27592398633fa2ac6ae58f99c..7eb0c3f714641b00727f834b8a62097b16f8ed4d 100644 (file)
@@ -16,6 +16,7 @@ PKG_SOURCE_URL:=http://www.tcpdump.org/release/
 PKG_HASH:=635237637c5b619bcceba91900666b64d56ecb7be63f298f601ec786ce087094
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
+PKG_CPE_ID:=cpe:/a:tcpdump:libpcap
 
 PKG_ASLR_PIE_REGULAR:=1
 PKG_BUILD_PARALLEL:=1
index 732e9bf2b54277fa50ad0f708c43e1d73193dc51..4d7f0334ec92838def52fdbd8bc04a04418d2915 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 bc4945e0f6c6e5981aa06c945f95bd498c36d7a9..c31fcb168aa5d1a4ed2903eb1a268150dd66e3bf 100644 (file)
@@ -18,6 +18,7 @@ PKG_HASH:=0e7d44caa9c153d96a9b5f12644fbe35a632537a5a7f653792b72e53d9d5c2db
 
 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 8e11046189c0464e88f9c91adfa12bfa245f2bdb..f9aec5b0f9ec243d8f34bd9a4e57a53a2aa3355a 100644 (file)
@@ -18,6 +18,7 @@ PKG_MIRROR_HASH:=797b322bc03952f3127ae0a7da476c14ada1bbe9a9ae234a56dd6f864c568e1
 
 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 deec4e3ad6bc3422cf2f1fb3068e05f2e081ab5c..060229a59ec94ac6490031a423faae21241f4584 100644 (file)
@@ -12,6 +12,8 @@ PKG_HASH:=10503b0217e1b07933e29e8d347a00015b2431bea5f59afe0bed3af30340c82d
 PKG_SOURCE_URL:=@KERNEL/software/utils/dtc
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=GPL
+PKG_CPE_ID:=cpe:/a:dtc_project:dtc
+
 PKG_INSTALL:=1
 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
 
index d262d1e1fc2bfa1772ff2a88e388346d4550106f..f39e43252490d61522a51d1edfd2cab8ddfc80d7 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 c9e9bebb1ac7ff3a984695006b3c6998f3e23cb8..4333072b30a5fc0a020fe640f43e3d2fcae8378d 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