3d1fe8b0f7
Fixes the following security issues: CVE-2019-7317 CVE-2019-2821 CVE-2019-2769 CVE-2019-2762 CVE-2019-2745 CVE-2019-2816 CVE-2019-2842 CVE-2019-2786 CVE-2019-2818 CVE-2019-2766 CVE-2019-6129 For details. see the advisory: https://openjdk.java.net/groups/vulnerability/advisories/2019-07-16 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
1.2 KiB
Makefile
27 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# host-openjdk-bin
|
|
#
|
|
################################################################################
|
|
|
|
HOST_OPENJDK_BIN_VERSION_MAJOR = 12.0.2
|
|
HOST_OPENJDK_BIN_VERSION_MINOR = 10
|
|
HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR)_$(HOST_OPENJDK_BIN_VERSION_MINOR)
|
|
HOST_OPENJDK_BIN_SOURCE = OpenJDK12U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz
|
|
HOST_OPENJDK_BIN_SITE = https://github.com/AdoptOpenJDK/openjdk12-binaries/releases/download/jdk-$(HOST_OPENJDK_BIN_VERSION_MAJOR)%2B$(HOST_OPENJDK_BIN_VERSION_MINOR)
|
|
HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception
|
|
HOST_OPENJDK_BIN_LICENSE_FILES = legal/java.prefs/LICENSE legal/java.prefs/ASSEMBLY_EXCEPTION
|
|
|
|
# unpack200 has an invalid RPATH and relies on libzlib. When
|
|
# host-libzlib is installed on the system, the error "ERROR: package
|
|
# host-libzlib installs executables without proper RPATH: will occur.
|
|
# Because unpack200 is a deprecated tool, removing it to fix this
|
|
# issue is safe.
|
|
define HOST_OPENJDK_BIN_INSTALL_CMDS
|
|
cp -dpfr $(@D)/bin/* $(HOST_DIR)/bin/
|
|
cp -dpfr $(@D)/lib/* $(HOST_DIR)/lib/
|
|
$(RM) -f $(HOST_DIR)/bin/unpack200
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|