[openwrt/openwrt] packages: assign PKG_CPE_ID for all missing packages
LEDE Commits
lede-commits at lists.infradead.org
Wed Sep 27 13:22:49 PDT 2023
lynxis pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/21d852083dd017aa4fa814275da1c4868fea43ba
commit 21d852083dd017aa4fa814275da1c4868fea43ba
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Mon Sep 18 22:53:14 2023 +0200
packages: assign PKG_CPE_ID for all missing packages
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 at fe80.eu>
Signed-off-by: Arne Zachlod <arne at nerdkeller.org>
---
package/firmware/intel-microcode/Makefile | 1 +
package/libs/gmp/Makefile | 1 +
package/libs/libbsd/Makefile | 1 +
package/libs/libnetfilter-conntrack/Makefile | 1 +
package/libs/libpcap/Makefile | 1 +
package/network/utils/ebtables/Makefile | 1 +
package/network/utils/ipset/Makefile | 1 +
package/network/utils/iw/Makefile | 1 +
package/utils/adb/Makefile | 1 +
package/utils/bsdiff/Makefile | 1 +
package/utils/lua/Makefile | 1 +
11 files changed, 11 insertions(+)
diff --git a/package/firmware/intel-microcode/Makefile b/package/firmware/intel-microcode/Makefile
index b3c3674f87..99c73a9bd9 100644
--- a/package/firmware/intel-microcode/Makefile
+++ b/package/firmware/intel-microcode/Makefile
@@ -15,6 +15,7 @@ PKG_SOURCE:=intel-microcode_3.$(PKG_VERSION).$(PKG_RELEASE).tar.xz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/i/intel-microcode/
PKG_HASH:=bcc3b81c452fe4649a948c022475d76c1cdfbb730f36749a082f412f1406a3b9
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-3.$(PKG_VERSION).$(PKG_RELEASE)
+PKG_CPE_ID:=cpe:/a:intel:microcode
PKG_BUILD_DEPENDS:=iucode-tool/host
diff --git a/package/libs/gmp/Makefile b/package/libs/gmp/Makefile
index 4ea69019f6..d4131a3f67 100644
--- a/package/libs/gmp/Makefile
+++ b/package/libs/gmp/Makefile
@@ -19,6 +19,7 @@ PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
PKG_LICENSE:=GPL-2.0+
+PKG_CPE_ID:=cpe:/a:gmplib:gmp
PKG_USE_MIPS16:=0
diff --git a/package/libs/libbsd/Makefile b/package/libs/libbsd/Makefile
index 63b9ceafc3..46c5b9bd03 100644
--- a/package/libs/libbsd/Makefile
+++ b/package/libs/libbsd/Makefile
@@ -10,6 +10,7 @@ PKG_SOURCE_URL:=https://libbsd.freedesktop.org/releases
PKG_LICENSE:=BSD-4-Clause
PKG_LICENSE_FILES:=COPYING
+PKG_CPE_ID:=cpe:/a:freedesktop:libbsd
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/libnetfilter-conntrack/Makefile b/package/libs/libnetfilter-conntrack/Makefile
index a97482ecc0..ee783949e0 100644
--- a/package/libs/libnetfilter-conntrack/Makefile
+++ b/package/libs/libnetfilter-conntrack/Makefile
@@ -20,6 +20,7 @@ PKG_MAINTAINER:=Jo-Philipp Wich <jo at mein.io>
PKG_FIXUP:=autoreconf
PKG_LICENSE:=GPL-2.0+
+PKG_CPE_ID:=cpe:/a:netfilter:libnetfilter_conntrack
PKG_INSTALL:=1
diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 91519ccc1f..9779b43eee 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -21,6 +21,7 @@ PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=0
PKG_LICENSE:=BSD-3-Clause
+PKG_CPE_ID:=cpe:/a:tcpdump:libpcap
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk
diff --git a/package/network/utils/ebtables/Makefile b/package/network/utils/ebtables/Makefile
index 732e9bf2b5..4d7f0334ec 100644
--- a/package/network/utils/ebtables/Makefile
+++ b/package/network/utils/ebtables/Makefile
@@ -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
diff --git a/package/network/utils/ipset/Makefile b/package/network/utils/ipset/Makefile
index 2cb6ec981e..660ac3eeb0 100644
--- a/package/network/utils/ipset/Makefile
+++ b/package/network/utils/ipset/Makefile
@@ -18,6 +18,7 @@ PKG_HASH:=4644c7c5005e90a9b6385d625283eb0b69b34de7192301428665dd909fdaa35a
PKG_MAINTAINER:=Jo-Philipp Wich <jo at mein.io>
PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:netfilter:ipset
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile
index 64438a1931..7585e278f2 100644
--- a/package/network/utils/iw/Makefile
+++ b/package/network/utils/iw/Makefile
@@ -17,6 +17,7 @@ PKG_HASH:=1e38ea794a223525b2ea7fe78fd14f2a56121e62e21ba5f9dbe8c494b35b5c0d
PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
PKG_LICENSE:=GPL-2.0
+PKG_CPE_ID:=cpe:/a:kernel:iw
include $(INCLUDE_DIR)/package.mk
diff --git a/package/utils/adb/Makefile b/package/utils/adb/Makefile
index 0482a40da1..c207c333b2 100644
--- a/package/utils/adb/Makefile
+++ b/package/utils/adb/Makefile
@@ -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 at o2.pl>
+PKG_CPE_ID:=cpe:/a:google:android_debug_bridge
include $(INCLUDE_DIR)/package.mk
diff --git a/package/utils/bsdiff/Makefile b/package/utils/bsdiff/Makefile
index db1f320872..5145872071 100644
--- a/package/utils/bsdiff/Makefile
+++ b/package/utils/bsdiff/Makefile
@@ -18,6 +18,7 @@ PKG_MAINTAINER:=Hauke Mehrtens <hauke at 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
diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index 077a60fbf3..b8253ef737 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -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
More information about the lede-commits
mailing list