mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-21 08:11:47 -09:00
package/openjdk: CPE ID for openjdk
The CPE ID on version 21.0.2 in NVD:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:oracle:openjdk:21.0.2:*:*:*:*:*:*:*
The automatically generated OPENJDK_CPE_ID_VERSION cannot be used
because OPENJDK_VERSION includes a '+', e.g. "21.0.2+10". NVD will not
accept a version number with '+'.
Signed-off-by: Bjørn Damstedt Rasmussen <contact@bearware.dk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 875cc7bbf1)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
0bc7fbf48f
commit
daa15b62e4
@@ -17,9 +17,14 @@ OPENJDK_VERSION_MAJOR = 17
|
||||
OPENJDK_VERSION_MINOR = 0.18
|
||||
OPENJDK_VERSION_BUILD = 8
|
||||
endif
|
||||
|
||||
OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR)+$(OPENJDK_VERSION_BUILD)
|
||||
OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION))
|
||||
|
||||
OPENJDK_CPE_ID_VENDOR = oracle
|
||||
# Override automatic CPE ID because '+' in $(OPENJDK_VERSION) is not alphanumeric or ._-
|
||||
OPENJDK_CPE_ID_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR)
|
||||
|
||||
OPENJDK_LICENSE = GPL-2.0+ with exception
|
||||
OPENJDK_LICENSE_FILES = LICENSE
|
||||
OPENJDK_INSTALL_STAGING = YES
|
||||
|
||||
Reference in New Issue
Block a user