From ae56deff2ce42da3c0331832457aaec480a873ed Mon Sep 17 00:00:00 2001 From: Wei-Ting Yang Date: Thu, 24 Apr 2025 19:45:39 +0800 Subject: [PATCH] treewide: assign some PKG_CPE_IDs Assign some PKG_CPE_IDs to enhance CVE coverage. https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=aardvark-dns https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=alpine_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=boringssl https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ecdsautils https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=file_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=knot_resolver https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=libwrap https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=lsof_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nfdump https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nlnetlabs%20name_server_daemon https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=rclone https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=setserial https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tang_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tesseract_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tmate-ssh-server https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ttyd https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=uw-imap https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=v2ray-core https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=zstandard Signed-off-by: Wei-Ting Yang --- libs/boringssl/Makefile | 2 ++ libs/file/Makefile | 1 + libs/tcp_wrappers/Makefile | 1 + libs/uw-imap/Makefile | 1 + mail/alpine/Makefile | 1 + net/aardvark-dns/Makefile | 1 + net/knot-resolver/Makefile | 1 + net/nfdump/Makefile | 1 + net/nsd/Makefile | 1 + net/rclone/Makefile | 1 + net/tmate-ssh-server/Makefile | 1 + net/v2ray-core/Makefile | 1 + utils/ecdsautils/Makefile | 1 + utils/lsof/Makefile | 1 + utils/setserial/Makefile | 1 + utils/tang/Makefile | 1 + utils/tesseract/Makefile | 1 + utils/ttyd/Makefile | 1 + utils/zstd/Makefile | 1 + 19 files changed, 20 insertions(+) diff --git a/libs/boringssl/Makefile b/libs/boringssl/Makefile index f912a29107..978821e569 100644 --- a/libs/boringssl/Makefile +++ b/libs/boringssl/Makefile @@ -17,6 +17,8 @@ PKG_MIRROR_HASH:=d69c6437981471451dc699742bb06a022579de1a63906c9fe398aae053fc33b PKG_MAINTAINER:=Martin Schneider PKG_LICENSE:=OpenSSL ISC PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:google:boringssl + PKG_BUILD_DEPENDS:=golang/host include $(INCLUDE_DIR)/package.mk diff --git a/libs/file/Makefile b/libs/file/Makefile index 32da7fe76e..de30ff2e44 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -19,6 +19,7 @@ PKG_HASH:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 PKG_MAINTAINER:=Marko Ratkaj PKG_LICENSE:=BSD-2-Clause PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:file_project:file PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/libs/tcp_wrappers/Makefile b/libs/tcp_wrappers/Makefile index 07a11fa141..7318fe50b0 100644 --- a/libs/tcp_wrappers/Makefile +++ b/libs/tcp_wrappers/Makefile @@ -17,6 +17,7 @@ PKG_HASH:=9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d PKG_LICENSE:=BSD PKG_LICENE_FILES:=DISCLAIMER +PKG_CPE_ID:=cpe:/a:libwrap_project:libwrap PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION) diff --git a/libs/uw-imap/Makefile b/libs/uw-imap/Makefile index 5af93a53af..42692d643c 100644 --- a/libs/uw-imap/Makefile +++ b/libs/uw-imap/Makefile @@ -21,6 +21,7 @@ PKG_MAINTAINER:=Lucian Cristian PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE.txt +PKG_CPE_ID:=cpe:/a:uw-imap_project:uw-imap PKG_FIXUP:=autoreconf diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile index 859b51e61a..a7dca29fa4 100644 --- a/mail/alpine/Makefile +++ b/mail/alpine/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=658a150982f6740bb4128e6dd81188eaa1212ca0bf689b83c2093bb518ecf776 PKG_MAINTAINER:=Antti Seppälä PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:alpine_project:alpine PKG_INSTALL:=1 diff --git a/net/aardvark-dns/Makefile b/net/aardvark-dns/Makefile index 7bae2dd2fe..70849e98f2 100644 --- a/net/aardvark-dns/Makefile +++ b/net/aardvark-dns/Makefile @@ -11,6 +11,7 @@ PKG_HASH:=19317d97525c19135b31f76101b9c13bf2b009cecfc11f467b2ab30fb2641867 PKG_MAINTAINER:=Oskari Rauta PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:containers:aardvark-dns PKG_BUILD_DEPENDS:=rust/host PKG_BUILD_PARALLEL:=1 diff --git a/net/knot-resolver/Makefile b/net/knot-resolver/Makefile index 612b328194..fdeb0f7afc 100644 --- a/net/knot-resolver/Makefile +++ b/net/knot-resolver/Makefile @@ -20,6 +20,7 @@ PKG_HASH:=6b6da6ecf06828041afad44dfa227781f0ae34ad183a667008509355d18bd9c8 PKG_MAINTAINER:=Jan Pavlinec PKG_LICENSE:=GPL-3.0-later PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:nic:knot_resolver include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/meson.mk diff --git a/net/nfdump/Makefile b/net/nfdump/Makefile index 0d90f3cc0f..407f53a804 100644 --- a/net/nfdump/Makefile +++ b/net/nfdump/Makefile @@ -17,6 +17,7 @@ PKG_MIRROR_HASH:=83eacf974c0ca9e81df1bcac9e5fcfa89e520d0bd002fcebeee93390e2a3f55 PKG_MAINTAINER:=W. Michael Petullo PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:nfdump_project:nfdump PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/net/nsd/Makefile b/net/nsd/Makefile index 33cd8b8b48..c7cfd36c78 100644 --- a/net/nsd/Makefile +++ b/net/nsd/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=3f60a3a13ec3f68e84bfa7e19daff663c82bcf1de96e4f53f2246525e773a27a PKG_MAINTAINER:=Vasilis Tsiligiannis PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:nlnetlabs:name_server_daemon PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 diff --git a/net/rclone/Makefile b/net/rclone/Makefile index 8df0b19f41..bb6aa2e9f7 100644 --- a/net/rclone/Makefile +++ b/net/rclone/Makefile @@ -17,6 +17,7 @@ PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Elon Huang \ Tianling Shen +PKG_CPE_ID:=cpe:/a:rclone:rclone PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 diff --git a/net/tmate-ssh-server/Makefile b/net/tmate-ssh-server/Makefile index 4f2844f395..45f8478f14 100644 --- a/net/tmate-ssh-server/Makefile +++ b/net/tmate-ssh-server/Makefile @@ -12,6 +12,7 @@ PKG_MIRROR_HASH:=e8fe9749766049c15242a85b51866d279f190186ada70e8900f4ae61e81d388 PKG_LICENSE:=ISC PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Tianling Shen +PKG_CPE_ID:=cpe:/a:tmate:tmate-ssh-server PKG_FIXUP:=autoreconf PKG_BUILD_PARALLEL:=1 diff --git a/net/v2ray-core/Makefile b/net/v2ray-core/Makefile index a8c3ad9ba4..a717b668b8 100644 --- a/net/v2ray-core/Makefile +++ b/net/v2ray-core/Makefile @@ -15,6 +15,7 @@ PKG_HASH:=20895d4200d3b7906a3fba90690cc2e27239989acc9c31601f40f2f71827e2e5 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Tianling Shen +PKG_CPE_ID:=cpe:/a:v2fly:v2ray-core PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 diff --git a/utils/ecdsautils/Makefile b/utils/ecdsautils/Makefile index 331fa3f300..0438d41a1e 100644 --- a/utils/ecdsautils/Makefile +++ b/utils/ecdsautils/Makefile @@ -18,6 +18,7 @@ PKG_MIRROR_HASH:=c62c20215a3d4352ee75bb8b6ae0d661534c4c4e6a5f9622d8d2306a9c15be3 PKG_MAINTAINER:=Matthias Schiffer PKG_LICENSE_FILES:=COPYRIGHT +PKG_CPE_ID:=cpe:/a:ecdsautils_project:ecdsautils CMAKE_INSTALL:=1 diff --git a/utils/lsof/Makefile b/utils/lsof/Makefile index 03faf4fb52..1c10bbffce 100644 --- a/utils/lsof/Makefile +++ b/utils/lsof/Makefile @@ -18,6 +18,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_MAINTAINER:=Maxim Storchak PKG_LICENSE:=lsof PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:lsof_project:lsof include $(INCLUDE_DIR)/package.mk diff --git a/utils/setserial/Makefile b/utils/setserial/Makefile index 9a76433232..9074ee295d 100644 --- a/utils/setserial/Makefile +++ b/utils/setserial/Makefile @@ -10,6 +10,7 @@ PKG_HASH:=7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0-only +PKG_CPE_ID:=cpe:/a:setserial_project:setserial include $(INCLUDE_DIR)/package.mk diff --git a/utils/tang/Makefile b/utils/tang/Makefile index d1b029378d..4abb7a65a5 100644 --- a/utils/tang/Makefile +++ b/utils/tang/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=eaf4a2abfea3d05f454a8841e98332be1e1e2432744c70bb7765651ed82c3f7c PKG_MAINTAINER:=Nikos Mavrogiannopoulos PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:tang_project:tang include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/meson.mk diff --git a/utils/tesseract/Makefile b/utils/tesseract/Makefile index 591195a1e3..99d2b76df9 100644 --- a/utils/tesseract/Makefile +++ b/utils/tesseract/Makefile @@ -17,6 +17,7 @@ PKG_HASH:=c4bc2a81c12a472f445b7c2fb4705a08bd643ef467f51ec84f0e148bd368051b PKG_MAINTAINER:=Valentin Kivachuk PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:tesseract_project:tesseract CMAKE_BINARY_SUBDIR:=openwrt-build diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 7532bdc914..c6733c47e9 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=039dd995229377caee919898b7bd54484accec3bba49c118e2d5cd6ec51e3650 PKG_MAINTAINER:=Shuanglei Tao PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:ttyd_project:ttyd include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk diff --git a/utils/zstd/Makefile b/utils/zstd/Makefile index 5cf061d7c3..883b951493 100644 --- a/utils/zstd/Makefile +++ b/utils/zstd/Makefile @@ -11,6 +11,7 @@ PKG_HASH:=eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3 PKG_MAINTAINER:=Aleksey Vasilenko PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING +PKG_CPE_ID:=cpe:/a:facebook:zstandard include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/meson.mk