From 946c364b193132748259f799ab0067b8f359e3d1 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 (cherry picked from commit ae56deff2ce42da3c0331832457aaec480a873ed) Signed-off-by: Andreas Gnau --- 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 6185b780f5..eff3a668d6 100644 --- a/libs/boringssl/Makefile +++ b/libs/boringssl/Makefile @@ -17,6 +17,8 @@ PKG_MIRROR_HASH:=a60c79ca40d1a73639d4c1bba3431ca630ab1d670ab06307e8442b69cfaf0cc 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 eaf8e501d7..a0622947d2 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -19,6 +19,7 @@ PKG_HASH:=3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b 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 83969b8cc2..f8a0ca12ed 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 23dcd3aab3..543d80f92d 100644 --- a/net/aardvark-dns/Makefile +++ b/net/aardvark-dns/Makefile @@ -11,6 +11,7 @@ PKG_HASH:=3e95b363f89a945ee6e63f51051f9eb982bdc469bf8e727b5d7adca676789750 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 939701f216..5484509a16 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 b26bb6ca56..196a1f039b 100644 --- a/net/nfdump/Makefile +++ b/net/nfdump/Makefile @@ -16,6 +16,7 @@ PKG_HASH:=0545b792e81f5edd51a2fdfbfcc4eac7ba8087005811ab41c34bfac4d78fe926 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 b290d8a16b..2eb4e19f0d 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 f45a7f5fa2..f4cc115d43 100644 --- a/net/tmate-ssh-server/Makefile +++ b/net/tmate-ssh-server/Makefile @@ -11,6 +11,7 @@ PKG_HASH:=68602496ca6a17ea80f5be53eba047897ac714c7cdfcb3bcdc12c56b8f3c3b45 PKG_LICENSE:=ISC PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Paul Spooren +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 2bb7aaaa3d..d9bb02bf85 100644 --- a/net/v2ray-core/Makefile +++ b/net/v2ray-core/Makefile @@ -15,6 +15,7 @@ PKG_HASH:=15acf65228867d47dcab27f87af048a2f0e6ed5d347a2e68730d30ae2a3871eb 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 367d068987..6bd6fc98f5 100644 --- a/utils/ecdsautils/Makefile +++ b/utils/ecdsautils/Makefile @@ -18,6 +18,7 @@ PKG_MIRROR_HASH:=7291fd6d9904c5e7486b121a5c1c6ab0d7a35339390aab27521920ef81fe64c 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 a5e7bc3e77..84b87603d1 100644 --- a/utils/lsof/Makefile +++ b/utils/lsof/Makefile @@ -20,6 +20,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION).linux 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 e11adb2a39..4647ab8e41 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 dcdf2f20a0..260521d379 100644 --- a/utils/tang/Makefile +++ b/utils/tang/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=04263ed1cc98d60cab29fe47f908921b7b1aa4d6da5f9de2fcbe543773b75886 PKG_MAINTAINER:=Tibor Dudlák 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 db43e08e6b..1ac8c2ed33 100644 --- a/utils/tesseract/Makefile +++ b/utils/tesseract/Makefile @@ -17,6 +17,7 @@ PKG_HASH:=2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb 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 83682fee24..ae03f265ca 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -18,6 +18,7 @@ PKG_HASH:=c9cf5eece52d27c5d728000f11315d36cb400c6948d1964a34a7eae74b454099 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 359bd7ab9a..8094573dea 100644 --- a/utils/zstd/Makefile +++ b/utils/zstd/Makefile @@ -11,6 +11,7 @@ PKG_HASH:=7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0 PKG_MAINTAINER:= 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 -- 2.30.2