package/openjdk{-bin}: bump version to 17.0.1+12
PATCH 1/1 package/openjdk{-bin}: bump version to 17.0.1+12
OpenJDK 17 is a new LTS release, which leaves the Buildroot Config option of "LTS" and "LATEST" as a misnomer because both 11 and 17 are LTS releases.
There are two options in this case:
1) Remove "LATEST" and update OpenJDK 11 to 17, and only support 17.
2) Change "LTS" to "11" and "LATEST" to "17" and only support the latest 2 LTS OpenJDK releases.
After some discussion with Thomas Petazzoni and Peter Korsgaard, and testing, option 2 is the best course of action for a few reasons:
- OpenJDK 11 and 17 have very long support cycles:
- OpenJDK 11 has two years of Active and five years of security support left.
- OpenJDK 17 has five years of Active and ten years of security support left.
- Both OpenJDK versions build with the same parameters.
- The maintenance cost of both versions is meager.
- Both versions pass tests.package.test_openjdk without issue.
Changes:
- Change BR2_OPENJDK_VERSION_LATEST -> BR2_OPENJDK_VERSION_17
- Change BR2_OPENJDK_VERSION_LTS -> BR2_OPENJDK_VERSION_11
--- package/openjdk-bin/openjdk-bin.hash | 4 ++-- package/openjdk-bin/openjdk-bin.mk | 6 +++--- package/openjdk/Config.in | 14 +++++++------- package/openjdk/openjdk.hash | 2 +- package/openjdk/openjdk.mk | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-)
package/openjdk-bin/openjdk-bin.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://github.com/AdoptOpenJDK/openjdk16-binaries/releases -sha256 323d6d7474a359a28eff7ddd0df8e65bd61554a8ed12ef42fd9365349e573c2c OpenJDK16U-jdk_x64_linux_hotspot_16.0.2_7.tar.gz +# https://github.com/adoptium/temurin17-binaries/releases +sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz
package/openjdk-bin/openjdk-bin.mk +3 -3
@@ -4,9 +4,9 @@ # ################################################################################ -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -HOST_OPENJDK_BIN_VERSION_MAJOR = 16 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.2_7 +ifeq ($(BR2_OPENJDK_VERSION_17),y) +HOST_OPENJDK_BIN_VERSION_MAJOR = 17 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8
package/openjdk/Config.in +7 -7
@@ -20,7 +20,7 @@ config BR2_PACKAGE_OPENJDK depends on !BR2_STATIC_LIBS # glibc depends on BR2_INSTALL_LIBSTDCPP # cups depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK16 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK17 depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_USE_MMU # cups depends on BR2_PACKAGE_XORG7
@@ -51,18 +51,18 @@ if BR2_PACKAGE_OPENJDK choice prompt "openjdk version" - default BR2_OPENJDK_VERSION_LATEST + default BR2_OPENJDK_VERSION_17 help Select the version of OpenJDK you wish to use. -config BR2_OPENJDK_VERSION_LTS - bool "LTS (OpenJDK 11)" +config BR2_OPENJDK_VERSION_11 + bool "OpenJDK 11" -config BR2_OPENJDK_VERSION_LATEST - bool "latest (OpenJDK 16)" +config BR2_OPENJDK_VERSION_17 + bool "OpenJDK 17" depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++14 -comment "OpenJDK 16 needs a host gcc >= 4.9" +comment "OpenJDK 17 needs a host gcc >= 4.9" depends on !BR2_HOST_GCC_AT_LEAST_4_9 # C++14 endchoice
package/openjdk/openjdk.hash +1 -1
@@ -1,4 +1,4 @@ # Locally computed -sha256 b4a0e71e41a11175e8a7c1dba86ed5b0aa878413158c8d48813db1b64ac9536c openjdk-16.0.2+7.tar.gz +sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE
package/openjdk/openjdk.mk +3 -3
@@ -4,9 +4,9 @@ # ################################################################################ -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -OPENJDK_VERSION_MAJOR = 16 -OPENJDK_VERSION_MINOR = 0.2+7 +ifeq ($(BR2_OPENJDK_VERSION_17),y) +OPENJDK_VERSION_MAJOR = 17 +OPENJDK_VERSION_MINOR = 0.1+12 else OPENJDK_VERSION_MAJOR = 11 OPENJDK_VERSION_MINOR = 0.13+8
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Adam" == Adam Duskett <[email protected]> writes:
OpenJDK 17 is a new LTS release, which leaves the Buildroot Config option of "LTS" and "LATEST" as a misnomer because both 11 and 17 are LTS releases.
There are two options in this case:
1) Remove "LATEST" and update OpenJDK 11 to 17, and only support 17.
2) Change "LTS" to "11" and "LATEST" to "17" and only support the latest 2 LTS OpenJDK releases.After some discussion with Thomas Petazzoni and Peter Korsgaard, and testing, option 2 is the best course of action for a few reasons:
- OpenJDK 11 and 17 have very long support cycles:
- OpenJDK 11 has two years of Active and five years of security support left.
- OpenJDK 17 has five years of Active and ten years of security support left.
- Both OpenJDK versions build with the same parameters.
- The maintenance cost of both versions is meager.
- Both versions pass tests.package.test_openjdk without issue.
Quoted 3 lines
Changes:
- ChangeBR2_OPENJDK_VERSION_LATEST->BR2_OPENJDK_VERSION_17
- ChangeBR2_OPENJDK_VERSION_LTS->BR2_OPENJDK_VERSION_11
These should really follow the namespace, so I have renamed them to BR2_PACKAGE_OPENJDK_VERSION_{11,17}.
You also forgot Config.in.legacy handling for the old symbols, I've fixed that.
Committed with these fixes, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Adam" == Adam Duskett <[email protected]> writes:
OpenJDK 17 is a new LTS release, which leaves the Buildroot Config option of "LTS" and "LATEST" as a misnomer because both 11 and 17 are LTS releases.
There are two options in this case:
1) Remove "LATEST" and update OpenJDK 11 to 17, and only support 17.
2) Change "LTS" to "11" and "LATEST" to "17" and only support the latest 2 LTS OpenJDK releases.After some discussion with Thomas Petazzoni and Peter Korsgaard, and testing, option 2 is the best course of action for a few reasons:
- OpenJDK 11 and 17 have very long support cycles:
- OpenJDK 11 has two years of Active and five years of security support left.
- OpenJDK 17 has five years of Active and ten years of security support left.
- Both OpenJDK versions build with the same parameters.
- The maintenance cost of both versions is meager.
- Both versions pass tests.package.test_openjdk without issue.
Quoted 4 lines
Changes:
- ChangeBR2_OPENJDK_VERSION_LATEST->BR2_OPENJDK_VERSION_17
- ChangeBR2_OPENJDK_VERSION_LTS->BR2_OPENJDK_VERSION_11Signed-off-by Adam Duskett <[email protected]>
Committed to 2021.02.x and 2021.08.x given that OpenJDK 16.x is EOL and has known security issues, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot