|
|
@ -107,8 +107,6 @@
|
|
|
|
%global ssbd_arches x86_64
|
|
|
|
%global ssbd_arches x86_64
|
|
|
|
# Set of architectures where we verify backtraces with gdb
|
|
|
|
# Set of architectures where we verify backtraces with gdb
|
|
|
|
%global gdb_arches %{jit_arches} %{zero_arches}
|
|
|
|
%global gdb_arches %{jit_arches} %{zero_arches}
|
|
|
|
# Architecture on which we run Java only tests
|
|
|
|
|
|
|
|
%global jdk_test_arch x86_64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# By default, we build a debug build during main build on JIT architectures
|
|
|
|
# By default, we build a debug build during main build on JIT architectures
|
|
|
|
%if %{with slowdebug}
|
|
|
|
%if %{with slowdebug}
|
|
|
@ -258,30 +256,20 @@
|
|
|
|
%global stapinstall %{nil}
|
|
|
|
%global stapinstall %{nil}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Always off in portables
|
|
|
|
%ifarch %{systemtap_arches}
|
|
|
|
%ifarch %{systemtap_arches}
|
|
|
|
%global with_systemtap 1
|
|
|
|
%global with_systemtap 0
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global with_systemtap 0
|
|
|
|
%global with_systemtap 0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# New Version-String scheme-style defines
|
|
|
|
# New Version-String scheme-style defines
|
|
|
|
%global majorver 8
|
|
|
|
%global majorver 8
|
|
|
|
# Define version of OpenJDK 8 used
|
|
|
|
|
|
|
|
%global project openjdk
|
|
|
|
|
|
|
|
%global repo shenandoah-jdk8u
|
|
|
|
|
|
|
|
%global openjdk_revision 8u442-b06
|
|
|
|
|
|
|
|
%global shenandoah_revision shenandoah%{openjdk_revision}
|
|
|
|
|
|
|
|
# Define IcedTea version used for SystemTap tapsets and desktop file
|
|
|
|
|
|
|
|
%global icedteaver 3.15.0
|
|
|
|
|
|
|
|
# Define current Git revision for the FIPS support patches
|
|
|
|
|
|
|
|
%global fipsver 6d1aade0648
|
|
|
|
|
|
|
|
# Define current Git revision for the cacerts patch
|
|
|
|
|
|
|
|
%global cacertsver 8139f2361c2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Standard JPackage naming and versioning defines
|
|
|
|
# Standard JPackage naming and versioning defines
|
|
|
|
%global origin openjdk
|
|
|
|
%global origin openjdk
|
|
|
|
%global origin_nice OpenJDK
|
|
|
|
%global origin_nice OpenJDK
|
|
|
|
%global top_level_dir_name %{shenandoah_revision}
|
|
|
|
%global top_level_dir_name %{origin}
|
|
|
|
|
|
|
|
|
|
|
|
# Settings for local security configuration
|
|
|
|
# Settings for local security configuration
|
|
|
|
%global security_file %{top_level_dir_name}/jdk/src/share/lib/security/java.security-%{_target_os}
|
|
|
|
%global security_file %{top_level_dir_name}/jdk/src/share/lib/security/java.security-%{_target_os}
|
|
|
@ -300,22 +288,38 @@
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%{component}&version=%{fedora}
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%{component}&version=%{fedora}
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%global oj_vendor_bug_url https://access.redhat.com/support/cases/
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%20%{rhel}&component=%{component}
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# note, following three variables are sedded from update_sources if used correctly. Hardcode them rather there.
|
|
|
|
|
|
|
|
%global shenandoah_project openjdk
|
|
|
|
|
|
|
|
%global shenandoah_repo shenandoah-jdk8u
|
|
|
|
|
|
|
|
%global openjdk_revision jdk8u372-b07
|
|
|
|
|
|
|
|
%global shenandoah_revision shenandoah-%{openjdk_revision}
|
|
|
|
|
|
|
|
# Define old aarch64/jdk8u tree variables for compatibility
|
|
|
|
|
|
|
|
%global project %{shenandoah_project}
|
|
|
|
|
|
|
|
%global repo %{shenandoah_repo}
|
|
|
|
|
|
|
|
%global revision %{shenandoah_revision}
|
|
|
|
|
|
|
|
# Define IcedTea version used for SystemTap tapsets and desktop file
|
|
|
|
|
|
|
|
%global icedteaver 3.15.0
|
|
|
|
|
|
|
|
# Define current Git revision for the FIPS support patches
|
|
|
|
|
|
|
|
%global fipsver 6d1aade0648
|
|
|
|
|
|
|
|
# Define current Git revision for the cacerts patch
|
|
|
|
|
|
|
|
%global cacertsver 8139f2361c2
|
|
|
|
|
|
|
|
|
|
|
|
# e.g. aarch64-shenandoah-jdk8u212-b04-shenandoah-merge-2019-04-30 -> aarch64-shenandoah-jdk8u212-b04
|
|
|
|
# e.g. aarch64-shenandoah-jdk8u212-b04-shenandoah-merge-2019-04-30 -> aarch64-shenandoah-jdk8u212-b04
|
|
|
|
%global version_tag %(VERSION=%{shenandoah_revision}; echo ${VERSION%%-shenandoah-merge*})
|
|
|
|
%global version_tag %(VERSION=%{revision}; echo ${VERSION%%-shenandoah-merge*})
|
|
|
|
# eg # jdk8u60-b27 -> jdk8u60 or # aarch64-jdk8u60-b27 -> aarch64-jdk8u60 (dont forget spec escape % by %%)
|
|
|
|
# eg # jdk8u60-b27 -> jdk8u60 or # aarch64-jdk8u60-b27 -> aarch64-jdk8u60 (dont forget spec escape % by %%)
|
|
|
|
%global whole_update %(VERSION=%{version_tag}; echo ${VERSION%%-*})
|
|
|
|
%global whole_update %(VERSION=%{version_tag}; echo ${VERSION%%-*})
|
|
|
|
# eg jdk8u60 -> 60 or aarch64-jdk8u60 -> 60
|
|
|
|
# eg jdk8u60 -> 60 or aarch64-jdk8u60 -> 60
|
|
|
|
%global updatever %(VERSION=%{whole_update}; echo ${VERSION##*u})
|
|
|
|
%global updatever %(VERSION=%{whole_update}; echo ${VERSION##*u})
|
|
|
|
# eg jdk8u60-b27 -> b27
|
|
|
|
# eg jdk8u60-b27 -> b27
|
|
|
|
%global buildver %(VERSION=%{version_tag}; echo ${VERSION##*-})
|
|
|
|
%global buildver %(VERSION=%{version_tag}; echo ${VERSION##*-})
|
|
|
|
%global rpmrelease 1
|
|
|
|
%global rpmrelease 2
|
|
|
|
# Define milestone (EA for pre-releases, GA ("fcs") for releases)
|
|
|
|
# Define milestone (EA for pre-releases, GA ("fcs") for releases)
|
|
|
|
# Release will be (where N is usually a number starting at 1):
|
|
|
|
# Release will be (where N is usually a number starting at 1):
|
|
|
|
# - 0.N%%{?extraver}%%{?dist} for EA releases,
|
|
|
|
# - 0.N%%{?extraver}%%{?dist} for EA releases,
|
|
|
@ -391,6 +395,20 @@
|
|
|
|
%global alternatives_requires %{_sbindir}/alternatives
|
|
|
|
%global alternatives_requires %{_sbindir}/alternatives
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_systemtap}
|
|
|
|
|
|
|
|
# Where to install systemtap tapset (links)
|
|
|
|
|
|
|
|
# We would like these to be in a package specific sub-dir,
|
|
|
|
|
|
|
|
# but currently systemtap doesn't support that, so we have to
|
|
|
|
|
|
|
|
# use the root tapset dir for now. To distinguish between 64
|
|
|
|
|
|
|
|
# and 32 bit architectures we place the tapsets under the arch
|
|
|
|
|
|
|
|
# specific dir (note that systemtap will only pickup the tapset
|
|
|
|
|
|
|
|
# for the primary arch for now). Systemtap uses the machine name
|
|
|
|
|
|
|
|
# aka target_cpu as architecture specific directory name.
|
|
|
|
|
|
|
|
%global tapsetroot /usr/share/systemtap
|
|
|
|
|
|
|
|
%global tapsetdirttapset %{tapsetroot}/tapset/
|
|
|
|
|
|
|
|
%global tapsetdir %{tapsetdirttapset}/%{stapinstall}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Prevent brp-java-repack-jars from being run.
|
|
|
|
# Prevent brp-java-repack-jars from being run.
|
|
|
|
%global __jar_repack 0
|
|
|
|
%global __jar_repack 0
|
|
|
|
|
|
|
|
|
|
|
@ -429,14 +447,14 @@ License: ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv
|
|
|
|
URL: http://openjdk.java.net/
|
|
|
|
URL: http://openjdk.java.net/
|
|
|
|
|
|
|
|
|
|
|
|
# Shenandoah HotSpot
|
|
|
|
# Shenandoah HotSpot
|
|
|
|
# openjdk/shenandoah-jdk8u contains an integration forest of
|
|
|
|
# aarch64-port/jdk8u-shenandoah contains an integration forest of
|
|
|
|
# OpenJDK 8u and the Shenandoah garbage collector
|
|
|
|
# OpenJDK 8u, the aarch64 port and Shenandoah
|
|
|
|
# To regenerate, use:
|
|
|
|
# To regenerate, use:
|
|
|
|
# VERSION=%%{shenandoah_revision}
|
|
|
|
# VERSION=%%{shenandoah_revision}
|
|
|
|
# FILE_NAME_ROOT=${VERSION}
|
|
|
|
# FILE_NAME_ROOT=%%{shenandoah_project}-%%{shenandoah_repo}-${VERSION}
|
|
|
|
# REPO_ROOT=<path to checked-out repository> generate_source_tarball.sh
|
|
|
|
# REPO_ROOT=<path to checked-out repository> generate_source_tarball.sh
|
|
|
|
# where the source is obtained from http://github.com/%%{project}/%%{repo}
|
|
|
|
# where the source is obtained from http://hg.openjdk.java.net/%%{project}/%%{repo}
|
|
|
|
Source0: %{shenandoah_revision}.tar.xz
|
|
|
|
Source0: %{shenandoah_project}-%{shenandoah_repo}-%{shenandoah_revision}-4curve.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
# Custom README for -src subpackage
|
|
|
|
# Custom README for -src subpackage
|
|
|
|
Source2: README.md
|
|
|
|
Source2: README.md
|
|
|
@ -447,11 +465,13 @@ Source7: NEWS
|
|
|
|
# Use 'icedtea_sync.sh' to update the following
|
|
|
|
# Use 'icedtea_sync.sh' to update the following
|
|
|
|
# They are based on code contained in the IcedTea project (3.x).
|
|
|
|
# They are based on code contained in the IcedTea project (3.x).
|
|
|
|
# Systemtap tapsets. Zipped up to keep it small.
|
|
|
|
# Systemtap tapsets. Zipped up to keep it small.
|
|
|
|
Source8: tapsets-icedtea-%{icedteaver}.tar.xz
|
|
|
|
# Disabled in portables
|
|
|
|
|
|
|
|
#Source8: tapsets-icedtea-%%{icedteaver}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
# Desktop files. Adapted from IcedTea
|
|
|
|
# Desktop files. Adapted from IcedTea
|
|
|
|
Source9: jconsole.desktop.in
|
|
|
|
# Disabled in portables
|
|
|
|
Source10: policytool.desktop.in
|
|
|
|
#Source9: jconsole.desktop.in
|
|
|
|
|
|
|
|
#Source10: policytool.desktop.in
|
|
|
|
|
|
|
|
|
|
|
|
# nss configuration file
|
|
|
|
# nss configuration file
|
|
|
|
Source11: nss.cfg.in
|
|
|
|
Source11: nss.cfg.in
|
|
|
@ -477,6 +497,9 @@ Source17: nss.fips.cfg.in
|
|
|
|
# Ensure translations are available for new timezones
|
|
|
|
# Ensure translations are available for new timezones
|
|
|
|
Source18: TestTranslations.java
|
|
|
|
Source18: TestTranslations.java
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disabled in portables
|
|
|
|
|
|
|
|
#Source20: repackReproduciblePolycies.sh
|
|
|
|
|
|
|
|
|
|
|
|
# New versions of config files with aarch64 support. This is not upstream yet.
|
|
|
|
# New versions of config files with aarch64 support. This is not upstream yet.
|
|
|
|
Source100: config.guess
|
|
|
|
Source100: config.guess
|
|
|
|
Source101: config.sub
|
|
|
|
Source101: config.sub
|
|
|
@ -547,6 +570,8 @@ Patch539: pr2888-rh2055274-support_system_cacerts-%{cacertsver}.patch
|
|
|
|
Patch541: rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch
|
|
|
|
Patch541: rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch
|
|
|
|
# RH1750419: Enable build of speculative store bypass hardened alt-java (CVE-2018-3639)
|
|
|
|
# RH1750419: Enable build of speculative store bypass hardened alt-java (CVE-2018-3639)
|
|
|
|
Patch600: rh1750419-redhat_alt_java.patch
|
|
|
|
Patch600: rh1750419-redhat_alt_java.patch
|
|
|
|
|
|
|
|
# JDK-8281098, PR3836: Extra compiler flags not passed to adlc build
|
|
|
|
|
|
|
|
Patch112: jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch
|
|
|
|
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
#############################################
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -593,11 +618,6 @@ Patch204: jdk8042159-allow_using_system_installed_lcms2-jdk.patch
|
|
|
|
Patch581: jdk8257794-remove_broken_assert.patch
|
|
|
|
Patch581: jdk8257794-remove_broken_assert.patch
|
|
|
|
# JDK-8186464, RH1433262: ZipFile cannot read some InfoZip ZIP64 zip files
|
|
|
|
# JDK-8186464, RH1433262: ZipFile cannot read some InfoZip ZIP64 zip files
|
|
|
|
Patch12: jdk8186464-rh1433262-zip64_failure.patch
|
|
|
|
Patch12: jdk8186464-rh1433262-zip64_failure.patch
|
|
|
|
# JDK-8328999, RH2251025 - Update GIFlib to 5.2.2 (PR#571)
|
|
|
|
|
|
|
|
Patch13: jdk8328999-update_giflib_5.2.2.patch
|
|
|
|
|
|
|
|
# JDK-8141590 - Cannot build Zero with devkit
|
|
|
|
|
|
|
|
Patch14: jdk8141590-bundle_libffi.patch
|
|
|
|
|
|
|
|
Patch15: jdk8141590-bundle_libffi-followup.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
#############################################
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -608,6 +628,8 @@ Patch15: jdk8141590-bundle_libffi-followup.patch
|
|
|
|
# able to be removed once that release is out
|
|
|
|
# able to be removed once that release is out
|
|
|
|
# and used by this RPM.
|
|
|
|
# and used by this RPM.
|
|
|
|
#############################################
|
|
|
|
#############################################
|
|
|
|
|
|
|
|
# JDK-8271199, RH2175317: Mutual TLS handshake fails signing client certificate with custom sensitive PKCS11 key
|
|
|
|
|
|
|
|
Patch2001: jdk8271199-rh2175317-custom_pkcs11_provider_support.patch
|
|
|
|
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
#############################################
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -646,8 +668,6 @@ BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: binutils
|
|
|
|
BuildRequires: binutils
|
|
|
|
# cacerts build requirement.
|
|
|
|
|
|
|
|
BuildRequires: ca-certificates
|
|
|
|
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
# elfutils only are OK for build without AOT
|
|
|
|
# elfutils only are OK for build without AOT
|
|
|
@ -655,13 +675,8 @@ BuildRequires: elfutils-devel
|
|
|
|
BuildRequires: file
|
|
|
|
BuildRequires: file
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
# Earlier versions have a bug in tree vectorization on PPC
|
|
|
|
|
|
|
|
BuildRequires: gcc >= 4.8.3-8
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gdb
|
|
|
|
BuildRequires: gdb
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
# Require a boot JDK which doesn't fail due to RH1482244
|
|
|
|
|
|
|
|
BuildRequires: java-%{buildjdkver}-openjdk-devel >= 1.7.0.151-2.6.11.3
|
|
|
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
@ -672,17 +687,27 @@ BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
# Requirement for setting up nss.cfg and nss.fips.cfg
|
|
|
|
# Requirement for setting up nss.cfg and nss.fips.cfg
|
|
|
|
BuildRequires: nss-devel
|
|
|
|
BuildRequires: nss-devel
|
|
|
|
|
|
|
|
# Commented out for portable RHEL7 doesn't have this
|
|
|
|
|
|
|
|
# Requirement for system security property test
|
|
|
|
|
|
|
|
#BuildRequires: crypto-policies
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xorg-x11-proto-devel
|
|
|
|
BuildRequires: xorg-x11-proto-devel
|
|
|
|
|
|
|
|
BuildRequires: zip
|
|
|
|
BuildRequires: tar
|
|
|
|
BuildRequires: tar
|
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: zip
|
|
|
|
# Require a boot JDK which doesn't fail due to RH1482244
|
|
|
|
|
|
|
|
BuildRequires: java-%{buildjdkver}-openjdk-devel >= 1.7.0.151-2.6.11.3
|
|
|
|
# Zero-assembler build requirement
|
|
|
|
# Zero-assembler build requirement
|
|
|
|
%ifarch %{zero_arches}
|
|
|
|
%ifarch %{zero_arches}
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# 2023c required as of JDK-8305113
|
|
|
|
|
|
|
|
BuildRequires: tzdata-java >= 2023c
|
|
|
|
|
|
|
|
# Earlier versions have a bug in tree vectorization on PPC
|
|
|
|
|
|
|
|
BuildRequires: gcc >= 4.8.3-8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# cacerts build requirement.
|
|
|
|
|
|
|
|
BuildRequires: ca-certificates
|
|
|
|
%if %{with_systemtap}
|
|
|
|
%if %{with_systemtap}
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -692,18 +717,15 @@ BuildRequires: giflib-devel
|
|
|
|
BuildRequires: lcms2-devel
|
|
|
|
BuildRequires: lcms2-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
# Version in jdk/src/share/native/sun/awt/giflib/gif_lib.h
|
|
|
|
# Version in jdk/src/share/native/sun/awt/giflib/gif_lib.h
|
|
|
|
Provides: bundled(giflib) = 5.2.2
|
|
|
|
Provides: bundled(giflib) = 5.2.1
|
|
|
|
# Version in jdk/src/share/native/sun/java2d/cmm/lcms/lcms2.h
|
|
|
|
# Version in jdk/src/share/native/sun/java2d/cmm/lcms/lcms2.h
|
|
|
|
Provides: bundled(lcms2) = 2.11.0
|
|
|
|
Provides: bundled(lcms2) = 2.10.0
|
|
|
|
# Version in jdk/src/share/native/sun/awt/image/jpeg/jpeglib.h
|
|
|
|
# Version in jdk/src/share/native/sun/awt/image/jpeg/jpeglib.h
|
|
|
|
Provides: bundled(libjpeg) = 6b
|
|
|
|
Provides: bundled(libjpeg) = 6b
|
|
|
|
# Version in jdk/src/share/native/sun/awt/libpng/png.h
|
|
|
|
# Version in jdk/src/share/native/sun/awt/libpng/png.h
|
|
|
|
Provides: bundled(libpng) = 1.6.39
|
|
|
|
Provides: bundled(libpng) = 1.6.37
|
|
|
|
# Version in jdk/src/share/native/java/util/zip/zlib/zlib.h
|
|
|
|
|
|
|
|
Provides: bundled(zlib) = 1.3.1
|
|
|
|
|
|
|
|
# We link statically against libstdc++ to increase portability
|
|
|
|
# We link statically against libstdc++ to increase portability
|
|
|
|
BuildRequires: libstdc++-static
|
|
|
|
BuildRequires: libstdc++-static
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -798,9 +820,6 @@ fi
|
|
|
|
echo "Update version: %{updatever}"
|
|
|
|
echo "Update version: %{updatever}"
|
|
|
|
echo "Build number: %{buildver}"
|
|
|
|
echo "Build number: %{buildver}"
|
|
|
|
echo "Milestone: %{milestone}"
|
|
|
|
echo "Milestone: %{milestone}"
|
|
|
|
%ifnarch %{ix86}
|
|
|
|
|
|
|
|
export XZ_OPT="-T0"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%setup -q -c -n %{uniquesuffix ""} -T -a 0
|
|
|
|
%setup -q -c -n %{uniquesuffix ""} -T -a 0
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084
|
|
|
|
prioritylength=`expr length %{priority}`
|
|
|
|
prioritylength=`expr length %{priority}`
|
|
|
@ -810,7 +829,6 @@ if [ $prioritylength -ne 7 ] ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# For old patches
|
|
|
|
# For old patches
|
|
|
|
ln -s %{top_level_dir_name} jdk8
|
|
|
|
ln -s %{top_level_dir_name} jdk8
|
|
|
|
ln -s %{top_level_dir_name} openjdk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE2} .
|
|
|
|
cp %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
|
@ -823,20 +841,6 @@ cp %{SOURCE101} %{top_level_dir_name}/common/autoconf/build-aux/
|
|
|
|
|
|
|
|
|
|
|
|
# OpenJDK patches
|
|
|
|
# OpenJDK patches
|
|
|
|
|
|
|
|
|
|
|
|
# This syntax is deprecated:
|
|
|
|
|
|
|
|
# %patchN [...]
|
|
|
|
|
|
|
|
# and should be replaced with:
|
|
|
|
|
|
|
|
# %patch -PN [...]
|
|
|
|
|
|
|
|
# For example:
|
|
|
|
|
|
|
|
# %patch1001 -p1
|
|
|
|
|
|
|
|
# becomes:
|
|
|
|
|
|
|
|
# %patch -P1001 -p1
|
|
|
|
|
|
|
|
# The replacement format suggested by recent (circa Fedora 38) RPM
|
|
|
|
|
|
|
|
# deprecation messages:
|
|
|
|
|
|
|
|
# %patch N [...]
|
|
|
|
|
|
|
|
# is not backward-compatible with prior (circa RHEL-8) versions of
|
|
|
|
|
|
|
|
# rpmbuild.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{system_libs}
|
|
|
|
%if %{system_libs}
|
|
|
|
# Remove libraries that are linked
|
|
|
|
# Remove libraries that are linked
|
|
|
|
sh %{SOURCE12}
|
|
|
|
sh %{SOURCE12}
|
|
|
@ -845,66 +849,62 @@ sh %{SOURCE12}
|
|
|
|
# Do not enable them with system_libs, they do not work properly with bundled option
|
|
|
|
# Do not enable them with system_libs, they do not work properly with bundled option
|
|
|
|
# System library fixes
|
|
|
|
# System library fixes
|
|
|
|
%if %{system_libs}
|
|
|
|
%if %{system_libs}
|
|
|
|
%patch -P201
|
|
|
|
%patch201
|
|
|
|
%patch -P202
|
|
|
|
%patch202
|
|
|
|
%patch -P203
|
|
|
|
%patch203
|
|
|
|
%patch -P204
|
|
|
|
%patch204
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%patch -P1
|
|
|
|
%patch1
|
|
|
|
%patch -P5
|
|
|
|
%patch5
|
|
|
|
|
|
|
|
|
|
|
|
# s390 build fixes
|
|
|
|
# s390 build fixes
|
|
|
|
%patch -P102
|
|
|
|
%patch102
|
|
|
|
%patch -P103
|
|
|
|
%patch103
|
|
|
|
%patch -P107
|
|
|
|
%patch107
|
|
|
|
|
|
|
|
|
|
|
|
# AArch64 fixes
|
|
|
|
# AArch64 fixes
|
|
|
|
|
|
|
|
|
|
|
|
# x86 fixes
|
|
|
|
# x86 fixes
|
|
|
|
pushd %{top_level_dir_name}
|
|
|
|
%patch105
|
|
|
|
%patch -P105 -p1
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Upstreamable fixes
|
|
|
|
# Upstreamable fixes
|
|
|
|
%patch -P512
|
|
|
|
%patch502
|
|
|
|
%patch -P523
|
|
|
|
%patch512
|
|
|
|
%patch -P528
|
|
|
|
%patch523
|
|
|
|
%patch -P571
|
|
|
|
%patch528
|
|
|
|
%patch -P574
|
|
|
|
%patch571
|
|
|
|
%patch -P581
|
|
|
|
%patch574
|
|
|
|
%patch -P541
|
|
|
|
%patch112
|
|
|
|
%patch -P12
|
|
|
|
%patch581
|
|
|
|
pushd %{top_level_dir_name}
|
|
|
|
%patch541
|
|
|
|
%patch -P502 -p1
|
|
|
|
%patch12
|
|
|
|
%patch -P13 -p1
|
|
|
|
|
|
|
|
%patch -P14 -p1
|
|
|
|
|
|
|
|
%patch -P15 -p1
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd %{top_level_dir_name}
|
|
|
|
pushd %{top_level_dir_name}
|
|
|
|
# Add crypto policy and FIPS support
|
|
|
|
# Add crypto policy and FIPS support
|
|
|
|
%patch -P1001 -p1
|
|
|
|
%patch1001 -p1
|
|
|
|
# nss.cfg PKCS11 support; must come last as it also alters java.security
|
|
|
|
# nss.cfg PKCS11 support; must come last as it also alters java.security
|
|
|
|
%patch -P1000 -p1
|
|
|
|
%patch1000 -p1
|
|
|
|
# system cacerts support
|
|
|
|
# system cacerts support
|
|
|
|
%patch -P539 -p1
|
|
|
|
%patch539 -p1
|
|
|
|
|
|
|
|
# 8u382 fix
|
|
|
|
|
|
|
|
%patch2001 -p1
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# RPM-only fixes
|
|
|
|
# RPM-only fixes
|
|
|
|
%patch -P600
|
|
|
|
%patch600
|
|
|
|
%patch -P1003
|
|
|
|
%patch1003
|
|
|
|
|
|
|
|
|
|
|
|
# RHEL-only patches
|
|
|
|
# RHEL-only patches
|
|
|
|
%if ! 0%{?fedora} && 0%{?rhel} <= 7
|
|
|
|
%if ! 0%{?fedora} && 0%{?rhel} <= 7
|
|
|
|
%patch -P534
|
|
|
|
%patch534
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Shenandoah patches
|
|
|
|
# Shenandoah patches
|
|
|
|
|
|
|
|
|
|
|
|
# Extract systemtap tapsets
|
|
|
|
# Extract systemtap tapsets
|
|
|
|
%if %{with_systemtap}
|
|
|
|
%if %{with_systemtap}
|
|
|
|
tar --strip-components=1 -x -I 'xz -T0' -f %{SOURCE8}
|
|
|
|
tar --strip-components=1 -x -I xz -f %{SOURCE8}
|
|
|
|
%if %{include_debug_build}
|
|
|
|
%if %{include_debug_build}
|
|
|
|
cp -r tapset tapset%{debug_suffix}
|
|
|
|
cp -r tapset tapset%{debug_suffix}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -915,7 +915,17 @@ cp -r tapset tapset%{fastdebug_suffix}
|
|
|
|
|
|
|
|
|
|
|
|
for suffix in %{build_loop} ; do
|
|
|
|
for suffix in %{build_loop} ; do
|
|
|
|
for file in "tapset"$suffix/*.in; do
|
|
|
|
for file in "tapset"$suffix/*.in; do
|
|
|
|
sed -i -e "s:@INSTALL_ARCH_DIR@:%{archinstall}:g" $file
|
|
|
|
OUTPUT_FILE=`echo $file | sed -e "s:\.stp\.in$:-%{version}-%{release}.%{_arch}.stp:g"`
|
|
|
|
|
|
|
|
sed -e "s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir -- $suffix}/jre/lib/%{archinstall}/server/libjvm.so:g" $file > $file.1
|
|
|
|
|
|
|
|
# TODO find out which architectures other than i686 have a client vm
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
sed -e "s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir -- $suffix}/jre/lib/%{archinstall}/client/libjvm.so:g" $file.1 > $OUTPUT_FILE
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
sed -e "/@ABS_CLIENT_LIBJVM_SO@/d" $file.1 > $OUTPUT_FILE
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
sed -i -e "s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir -- $suffix}:g" $OUTPUT_FILE
|
|
|
|
|
|
|
|
sed -i -e "s:@INSTALL_ARCH_DIR@:%{archinstall}:g" $OUTPUT_FILE
|
|
|
|
|
|
|
|
sed -i -e "s:@prefix@:%{_jvmdir}/%{sdkdir -- $suffix}/:g" $OUTPUT_FILE
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
# systemtap tapsets ends
|
|
|
|
# systemtap tapsets ends
|
|
|
@ -943,9 +953,6 @@ export NUM_PROC=${NUM_PROC:-1}
|
|
|
|
# Honor %%_smp_ncpus_max
|
|
|
|
# Honor %%_smp_ncpus_max
|
|
|
|
[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max}
|
|
|
|
[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifnarch %{ix86}
|
|
|
|
|
|
|
|
export XZ_OPT="-T0"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
|
|
|
|
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
|
|
|
|
export ARCH_DATA_MODEL=64
|
|
|
|
export ARCH_DATA_MODEL=64
|
|
|
@ -1009,7 +1016,6 @@ function buildjdk() {
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %{zero_arches}
|
|
|
|
%ifarch %{zero_arches}
|
|
|
|
--with-jvm-variants=zero \
|
|
|
|
--with-jvm-variants=zero \
|
|
|
|
--enable-libffi-bundling \
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
--with-cacerts-file=`readlink -f %{_sysconfdir}/pki/java/cacerts` \
|
|
|
|
--with-cacerts-file=`readlink -f %{_sysconfdir}/pki/java/cacerts` \
|
|
|
|
--with-native-debug-symbols=${debug_symbols} \
|
|
|
|
--with-native-debug-symbols=${debug_symbols} \
|
|
|
@ -1125,20 +1131,11 @@ function genchecksum() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function packagejdk() {
|
|
|
|
function packagejdk() {
|
|
|
|
# Reusing OPENJDK_UPSTREAM_TAG_EPOCH for the modification times of all
|
|
|
|
|
|
|
|
# files in the portable tarballs eliminates one source of variability
|
|
|
|
|
|
|
|
# across RPM rebuilds.
|
|
|
|
|
|
|
|
VERSION_FILE="$(pwd)"/"%{top_level_dir_name}"/common/autoconf/version-numbers
|
|
|
|
|
|
|
|
OPENJDK_UPSTREAM_TAG_EPOCH="$(stat --format=%Y "${VERSION_FILE}")"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
local imagesdir=$(pwd)/${1}/images
|
|
|
|
local imagesdir=$(pwd)/${1}/images
|
|
|
|
local docdir=$(pwd)/${1}/docs
|
|
|
|
local docdir=$(pwd)/${1}/docs
|
|
|
|
local bundledir=$(pwd)/${1}/bundles
|
|
|
|
local bundledir=$(pwd)/${1}/bundles
|
|
|
|
local packagesdir=$(pwd)/${2}
|
|
|
|
local packagesdir=$(pwd)/${2}
|
|
|
|
local srcdir=$(pwd)/%{top_level_dir_name}
|
|
|
|
local srcdir=$(pwd)/%{top_level_dir_name}
|
|
|
|
local tapsetdir=$(pwd)/tapset
|
|
|
|
|
|
|
|
local tar_time="$(date --utc --iso-8601=seconds --date=@"${OPENJDK_UPSTREAM_TAG_EPOCH}")"
|
|
|
|
|
|
|
|
local tar_opts="--mtime=${tar_time} --sort=name -cJf"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Packaging build from ${imagesdir} to ${packagesdir}..."
|
|
|
|
echo "Packaging build from ${imagesdir} to ${packagesdir}..."
|
|
|
|
mkdir -p ${packagesdir}
|
|
|
|
mkdir -p ${packagesdir}
|
|
|
@ -1154,13 +1151,6 @@ function packagejdk() {
|
|
|
|
jdkarchive=${packagesdir}/%{jdkportablearchive -- "$nameSuffix"}
|
|
|
|
jdkarchive=${packagesdir}/%{jdkportablearchive -- "$nameSuffix"}
|
|
|
|
jrename=%{jreportablename -- "$nameSuffix"}
|
|
|
|
jrename=%{jreportablename -- "$nameSuffix"}
|
|
|
|
jrearchive=${packagesdir}/%{jreportablearchive -- "$nameSuffix"}
|
|
|
|
jrearchive=${packagesdir}/%{jreportablearchive -- "$nameSuffix"}
|
|
|
|
|
|
|
|
|
|
|
|
# Rename directories for packaging
|
|
|
|
|
|
|
|
mv %{jdkimage} ${jdkname}
|
|
|
|
|
|
|
|
mv %{jreimage} ${jrename}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Release images have external debug symbols
|
|
|
|
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
|
|
|
|
debugjdkarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
debugjdkarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
debugjrearchive=${packagesdir}/%{jreportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
debugjrearchive=${packagesdir}/%{jreportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
unstrippedarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.unstripped"}
|
|
|
|
unstrippedarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.unstripped"}
|
|
|
@ -1172,48 +1162,49 @@ function packagejdk() {
|
|
|
|
miscname=%{miscportablename}
|
|
|
|
miscname=%{miscportablename}
|
|
|
|
miscarchive=${packagesdir}/%{miscportablearchive}
|
|
|
|
miscarchive=${packagesdir}/%{miscportablearchive}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Rename directories for packaging
|
|
|
|
|
|
|
|
mv %{jdkimage} ${jdkname}
|
|
|
|
|
|
|
|
mv %{jreimage} ${jrename}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Release images have external debug symbols
|
|
|
|
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
# Keep the unstripped version for consumption by RHEL RPMs
|
|
|
|
# Keep the unstripped version for consumption by RHEL RPMs
|
|
|
|
tar ${tar_opts} ${unstrippedarchive} ${jdkname}
|
|
|
|
tar -cJf ${unstrippedarchive} ${jdkname}
|
|
|
|
genchecksum ${unstrippedarchive}
|
|
|
|
genchecksum ${unstrippedarchive}
|
|
|
|
|
|
|
|
|
|
|
|
# Strip the files
|
|
|
|
# Strip the files
|
|
|
|
for file in $(find ${jdkname} ${jrename} -type f) ; do
|
|
|
|
for file in $(find ${jdkname} ${jrename} -type f) ; do
|
|
|
|
if file ${file} | grep -q 'ELF'; then
|
|
|
|
if file ${file} | grep -q 'ELF'; then
|
|
|
|
if ! echo ${file} | grep -q 'libffi' ; then
|
|
|
|
|
|
|
|
noextfile=${file/.so/};
|
|
|
|
noextfile=${file/.so/};
|
|
|
|
objcopy --only-keep-debug ${file} ${noextfile}.debuginfo;
|
|
|
|
objcopy --only-keep-debug ${file} ${noextfile}.debuginfo;
|
|
|
|
objcopy --add-gnu-debuglink=${noextfile}.debuginfo ${file};
|
|
|
|
objcopy --add-gnu-debuglink=${noextfile}.debuginfo ${file};
|
|
|
|
strip -g ${file};
|
|
|
|
strip -g ${file};
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
tar ${tar_opts} ${debugjdkarchive} $(find ${jdkname} -name \*.debuginfo)
|
|
|
|
tar -cJf ${debugjdkarchive} $(find ${jdkname} -name \*.debuginfo)
|
|
|
|
genchecksum ${debugjdkarchive}
|
|
|
|
genchecksum ${debugjdkarchive}
|
|
|
|
tar ${tar_opts} ${debugjrearchive} $(find ${jdkname} -name \*.debuginfo)
|
|
|
|
tar -cJf ${debugjrearchive} $(find ${jrename} -name \*.debuginfo)
|
|
|
|
genchecksum ${debugjrearchive}
|
|
|
|
genchecksum ${debugjrearchive}
|
|
|
|
|
|
|
|
|
|
|
|
mkdir ${docname}
|
|
|
|
mkdir ${docname}
|
|
|
|
mv ${docdir} ${docname}
|
|
|
|
mv ${docdir} ${docname}
|
|
|
|
mv ${bundledir}/${built_doc_archive} ${docname}
|
|
|
|
mv ${bundledir}/${built_doc_archive} ${docname}
|
|
|
|
tar ${tar_opts} ${docarchive} ${docname}
|
|
|
|
tar -cJf ${docarchive} ${docname}
|
|
|
|
genchecksum ${docarchive}
|
|
|
|
genchecksum ${docarchive}
|
|
|
|
|
|
|
|
|
|
|
|
mkdir ${miscname}
|
|
|
|
mkdir ${miscname}
|
|
|
|
for s in 16 24 32 48 ; do
|
|
|
|
for s in 16 24 32 48 ; do
|
|
|
|
cp -av ${srcdir}/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png ${miscname}
|
|
|
|
cp -av ${srcdir}/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png ${miscname}
|
|
|
|
done
|
|
|
|
done
|
|
|
|
%if %{with_systemtap}
|
|
|
|
tar -cJf ${miscarchive} ${miscname}
|
|
|
|
cp -a ${tapsetdir}* ${miscname}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
tar ${tar_opts} ${miscarchive} ${miscname}
|
|
|
|
|
|
|
|
genchecksum ${miscarchive}
|
|
|
|
genchecksum ${miscarchive}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
tar ${tar_opts} ${jdkarchive} --exclude='**.debuginfo' ${jdkname}
|
|
|
|
tar -cJf ${jdkarchive} --exclude='**.debuginfo' ${jdkname}
|
|
|
|
genchecksum ${jdkarchive}
|
|
|
|
genchecksum ${jdkarchive}
|
|
|
|
|
|
|
|
|
|
|
|
tar ${tar_opts} ${jrearchive} --exclude='**.debuginfo' ${jrename}
|
|
|
|
tar -cJf ${jrearchive} --exclude='**.debuginfo' ${jrename}
|
|
|
|
genchecksum ${jrearchive}
|
|
|
|
genchecksum ${jrearchive}
|
|
|
|
|
|
|
|
|
|
|
|
# Revert directory renaming so testing will run
|
|
|
|
# Revert directory renaming so testing will run
|
|
|
@ -1298,9 +1289,6 @@ for suffix in %{build_loop} ; do
|
|
|
|
|
|
|
|
|
|
|
|
export JAVA_HOME=$(pwd)/%{installoutputdir -- $suffix}/images/%{jdkimage}
|
|
|
|
export JAVA_HOME=$(pwd)/%{installoutputdir -- $suffix}/images/%{jdkimage}
|
|
|
|
|
|
|
|
|
|
|
|
# Only test on one architecture (the fastest) for Java only tests
|
|
|
|
|
|
|
|
%ifarch %{jdk_test_arch}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check unlimited policy has been used
|
|
|
|
# Check unlimited policy has been used
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE13}
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE13}
|
|
|
|
$JAVA_HOME/bin/java TestCryptoLevel
|
|
|
|
$JAVA_HOME/bin/java TestCryptoLevel
|
|
|
@ -1312,10 +1300,10 @@ export JAVA_HOME=$(pwd)/%{installoutputdir -- $suffix}/images/%{jdkimage}
|
|
|
|
# Check system crypto (policy) is active and can be disabled
|
|
|
|
# Check system crypto (policy) is active and can be disabled
|
|
|
|
# Test takes a single argument - true or false - to state whether system
|
|
|
|
# Test takes a single argument - true or false - to state whether system
|
|
|
|
# security properties are enabled or not.
|
|
|
|
# security properties are enabled or not.
|
|
|
|
# Portable specific: default is false
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE15}
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE15}
|
|
|
|
export PROG=$(echo $(basename %{SOURCE15})|sed "s|\.java||")
|
|
|
|
export PROG=$(echo $(basename %{SOURCE15})|sed "s|\.java||")
|
|
|
|
export SEC_DEBUG="-Djava.security.debug=properties"
|
|
|
|
export SEC_DEBUG="-Djava.security.debug=properties"
|
|
|
|
|
|
|
|
# Portable specific: set false whereas its true for upstream
|
|
|
|
$JAVA_HOME/bin/java ${SEC_DEBUG} ${PROG} false
|
|
|
|
$JAVA_HOME/bin/java ${SEC_DEBUG} ${PROG} false
|
|
|
|
$JAVA_HOME/bin/java ${SEC_DEBUG} -Djava.security.disableSystemPropertiesFile=true ${PROG} false
|
|
|
|
$JAVA_HOME/bin/java ${SEC_DEBUG} -Djava.security.disableSystemPropertiesFile=true ${PROG} false
|
|
|
|
|
|
|
|
|
|
|
@ -1323,30 +1311,6 @@ export JAVA_HOME=$(pwd)/%{installoutputdir -- $suffix}/images/%{jdkimage}
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE16}
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE16}
|
|
|
|
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE16})|sed "s|\.java||") "%{oj_vendor}" %{oj_vendor_url} %{oj_vendor_bug_url}
|
|
|
|
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE16})|sed "s|\.java||") "%{oj_vendor}" %{oj_vendor_url} %{oj_vendor_bug_url}
|
|
|
|
|
|
|
|
|
|
|
|
# Check translations are available for new timezones
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE18}
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE18})|sed "s|\.java||") JRE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check src.zip has all sources. See RHBZ#1130490
|
|
|
|
|
|
|
|
unzip -l $JAVA_HOME/src.zip | grep 'sun.misc.Unsafe'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check class files include useful debugging information
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep "Compiled from"
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep LineNumberTable
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep LocalVariableTable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check generated class files include useful debugging information
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep "Compiled from"
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LineNumberTable
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LocalVariableTable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Just run a basic java -version test on other architectures
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/java -version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check java launcher has no SSB mitigation
|
|
|
|
# Check java launcher has no SSB mitigation
|
|
|
|
if ! nm $JAVA_HOME/bin/java | grep set_speculation ; then true ; else false; fi
|
|
|
|
if ! nm $JAVA_HOME/bin/java | grep set_speculation ; then true ; else false; fi
|
|
|
|
|
|
|
|
|
|
|
@ -1357,6 +1321,10 @@ nm $JAVA_HOME/bin/%{alt_java_name} | grep set_speculation
|
|
|
|
if ! nm $JAVA_HOME/bin/%{alt_java_name} | grep set_speculation ; then true ; else false; fi
|
|
|
|
if ! nm $JAVA_HOME/bin/%{alt_java_name} | grep set_speculation ; then true ; else false; fi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check translations are available for new timezones
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javac -d . %{SOURCE18}
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/java $(echo $(basename %{SOURCE18})|sed "s|\.java||") JRE
|
|
|
|
|
|
|
|
|
|
|
|
# Release builds strip the debug symbols into external .debuginfo files
|
|
|
|
# Release builds strip the debug symbols into external .debuginfo files
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
so_suffix="debuginfo"
|
|
|
|
so_suffix="debuginfo"
|
|
|
@ -1430,6 +1398,19 @@ EOF
|
|
|
|
grep 'JavaCallWrapper::JavaCallWrapper' gdb.out
|
|
|
|
grep 'JavaCallWrapper::JavaCallWrapper' gdb.out
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check src.zip has all sources. See RHBZ#1130490
|
|
|
|
|
|
|
|
jar -tf $JAVA_HOME/src.zip | grep 'sun.misc.Unsafe'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check class files include useful debugging information
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep "Compiled from"
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep LineNumberTable
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.lang.Object | grep LocalVariableTable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check generated class files include useful debugging information
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep "Compiled from"
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LineNumberTable
|
|
|
|
|
|
|
|
$JAVA_HOME/bin/javap -l java.nio.ByteBuffer | grep LocalVariableTable
|
|
|
|
|
|
|
|
|
|
|
|
# build cycles check
|
|
|
|
# build cycles check
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
@ -1445,9 +1426,12 @@ for suffix in %{build_loop} ; do
|
|
|
|
nameSuffix=`echo "$suffix"| sed s/-/./`
|
|
|
|
nameSuffix=`echo "$suffix"| sed s/-/./`
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# These definitions should match those in packagejdk
|
|
|
|
# These definitions should match those in installjdk
|
|
|
|
jdkarchive=${packagesdir}/%{jdkportablearchive -- "$nameSuffix"}
|
|
|
|
jdkarchive=${packagesdir}/%{jdkportablearchive -- "$nameSuffix"}
|
|
|
|
jrearchive=${packagesdir}/%{jreportablearchive -- "$nameSuffix"}
|
|
|
|
jrearchive=${packagesdir}/%{jreportablearchive -- "$nameSuffix"}
|
|
|
|
|
|
|
|
debugjdkarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
|
|
|
|
debugjrearchive=${packagesdir}/%{jreportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
|
|
|
|
unstrippedarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.unstripped"}
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}
|
|
|
|
|
|
|
|
|
|
|
@ -1457,26 +1441,24 @@ for suffix in %{build_loop} ; do
|
|
|
|
mv ${jrearchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${jrearchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
|
|
|
|
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
if [ "x$suffix" = "x" ] ; then
|
|
|
|
# These definitions should match those in packagejdk
|
|
|
|
|
|
|
|
debugjdkarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
|
|
|
|
debugjrearchive=${packagesdir}/%{jreportablearchive -- "${nameSuffix}.debuginfo"}
|
|
|
|
|
|
|
|
unstrippedarchive=${packagesdir}/%{jdkportablearchive -- "${nameSuffix}.unstripped"}
|
|
|
|
|
|
|
|
docarchive=${packagesdir}/%{docportablearchive}
|
|
|
|
|
|
|
|
miscarchive=${packagesdir}/%{miscportablearchive}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mv ${debugjdkarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjdkarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjdkarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjdkarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjrearchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjrearchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjrearchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${debugjrearchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${unstrippedarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${unstrippedarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${unstrippedarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${unstrippedarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These definitions should match those in installjdk
|
|
|
|
|
|
|
|
# Install outside the loop as there are no debug variants
|
|
|
|
|
|
|
|
docarchive=${packagesdir}/%{docportablearchive}
|
|
|
|
|
|
|
|
miscarchive=${packagesdir}/%{miscportablearchive}
|
|
|
|
|
|
|
|
|
|
|
|
mv ${docarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${docarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${docarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${docarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${miscarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${miscarchive} $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${miscarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
mv ${miscarchive}.sha256sum $RPM_BUILD_ROOT%{_jvmdir}/
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# To show sha in the build log
|
|
|
|
# To show sha in the build log
|
|
|
|
for file in `ls $RPM_BUILD_ROOT%{_jvmdir}/*.sha256sum` ; do
|
|
|
|
for file in `ls $RPM_BUILD_ROOT%{_jvmdir}/*.sha256sum` ; do
|
|
|
@ -1484,6 +1466,7 @@ for file in `ls $RPM_BUILD_ROOT%{_jvmdir}/*.sha256sum` ; do
|
|
|
|
cat $file ;
|
|
|
|
cat $file ;
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{include_normal_build}
|
|
|
|
%if %{include_normal_build}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -1492,36 +1475,23 @@ done
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- .debuginfo}
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- .debuginfo}
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- %%{nil}}.sha256sum
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- %%{nil}}.sha256sum
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- .debuginfo}.sha256sum
|
|
|
|
%{_jvmdir}/%{jreportablearchive -- .debuginfo}.sha256sum
|
|
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# placeholder
|
|
|
|
# placeholder
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{include_normal_build}
|
|
|
|
%if %{include_normal_build}
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- %%{nil}}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- %%{nil}}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .debuginfo}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .debuginfo}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- %%{nil}}.sha256sum
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- %%{nil}}.sha256sum
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .debuginfo}.sha256sum
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .debuginfo}.sha256sum
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files unstripped
|
|
|
|
%files unstripped
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .unstripped}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .unstripped}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .unstripped}.sha256sum
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .unstripped}.sha256sum
|
|
|
|
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
|
|
|
|
%{_jvmdir}/%{docportablearchive}
|
|
|
|
|
|
|
|
%{_jvmdir}/%{docportablearchive}.sha256sum
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files misc
|
|
|
|
|
|
|
|
%{_jvmdir}/%{miscportablearchive}
|
|
|
|
|
|
|
|
%{_jvmdir}/%{miscportablearchive}.sha256sum
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{include_debug_build}
|
|
|
|
%if %{include_debug_build}
|
|
|
|
|
|
|
|
|
|
|
|
%files slowdebug
|
|
|
|
%files slowdebug
|
|
|
@ -1531,7 +1501,6 @@ done
|
|
|
|
%files devel-slowdebug
|
|
|
|
%files devel-slowdebug
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .slowdebug}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .slowdebug}
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .slowdebug}.sha256sum
|
|
|
|
%{_jvmdir}/%{jdkportablearchive -- .slowdebug}.sha256sum
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{include_fastdebug_build}
|
|
|
|
%if %{include_fastdebug_build}
|
|
|
@ -1546,203 +1515,15 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%files docs
|
|
|
|
* Thu Jan 16 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.442.b06-1
|
|
|
|
%{_jvmdir}/%{docportablearchive}
|
|
|
|
- Update to 8u442-b06 (GA)
|
|
|
|
%{_jvmdir}/%{docportablearchive}.sha256sum
|
|
|
|
- Update release notes for 8u442-b06.
|
|
|
|
|
|
|
|
- Switch to GA mode for final release
|
|
|
|
|
|
|
|
- Revise JDK-8141590 backport to install libffi.so* in lib as well as jre/lib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.442.b05-0.2.ea
|
|
|
|
|
|
|
|
- Include backport of JDK-8141590 to allow bundling of libffi on Zero architectures
|
|
|
|
|
|
|
|
- Rebase FIPS patch after application of 8141590
|
|
|
|
|
|
|
|
- Add local patch on top of 8141590 to improve path detection for s390x
|
|
|
|
|
|
|
|
- Don't attempt to strip libffi.so*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 06 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.442.b05-0.1.ea
|
|
|
|
|
|
|
|
- Update to 8u442-b05 (EA).
|
|
|
|
|
|
|
|
- Update release notes for 8u442-b05.
|
|
|
|
|
|
|
|
- Switch to EA mode for pre-release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 11 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.432.b06-1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u432-b06 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u432-b06.
|
|
|
|
|
|
|
|
- Switch to GA mode.
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2024-10-15 @ 1pm PT. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 10 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.432.b05-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u432-b05 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u432-b05.
|
|
|
|
|
|
|
|
- Switch to EA mode.
|
|
|
|
|
|
|
|
- Drop JDK-828109{6,7,8}/PR3836 patch following integration of upstream version
|
|
|
|
|
|
|
|
- Regenerate JDK-8199936/PR3533 patch following JDK-828109{6,7,8} integration
|
|
|
|
|
|
|
|
- Bump version of bundled zlib to 1.3.1 following JDK-8324632
|
|
|
|
|
|
|
|
- Add build dependency on make
|
|
|
|
|
|
|
|
- Reorganise build dependencies to retain alphabetical order for unconditional deps
|
|
|
|
|
|
|
|
- Include backport of JDK-8328999 to update giflib to 5.2.2
|
|
|
|
|
|
|
|
- Bump version of bundled giflib to 5.2.2 following JDK-8328999
|
|
|
|
|
|
|
|
- Add build scripts to repository to ease remembering all CentOS & RHEL targets and options
|
|
|
|
|
|
|
|
- Resolves: OPENJDK-3348
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 10 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.422.b05-1.1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u422-b05 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u422-b05.
|
|
|
|
|
|
|
|
- Rebase PR2462 patch following patched hunk being removed by JDK-8322106
|
|
|
|
|
|
|
|
- Switch to GA mode.
|
|
|
|
|
|
|
|
- Limit Java only tests to one architecture using jdk_test_arch
|
|
|
|
|
|
|
|
- Remove unused policy repacking script repackReproduciblePolycies.sh
|
|
|
|
|
|
|
|
- Sync README.md with RHEL 8
|
|
|
|
|
|
|
|
- Add missing build dependency on zlib-devel
|
|
|
|
|
|
|
|
- Update LCMS version to match JDK-8245400
|
|
|
|
|
|
|
|
- Move unstripped, misc and doc tarball handling into normal build / no suffix blocks
|
|
|
|
|
|
|
|
- Drop unneeded tzdata-java build dependency following 11d4d3308dd3334acae563101c007be9db017b83
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2024-07-16 @ 1pm PT. **
|
|
|
|
|
|
|
|
- Resolves: OPENJDK-3183
|
|
|
|
|
|
|
|
- Resolves: OPENJDK-3187
|
|
|
|
|
|
|
|
- Resolves: OPENJDK-3193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 09 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.422.b01-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u422-b01 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u422-b01.
|
|
|
|
|
|
|
|
- Switch to EA mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 10 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b08-2
|
|
|
|
|
|
|
|
- Add CVEs to release notes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 08 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b08-1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u412-b08 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u412-b08.
|
|
|
|
|
|
|
|
- Complete release note for Certainly roots
|
|
|
|
|
|
|
|
- Switch to GA mode.
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2024-04-16 @ 1pm PT. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 05 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b07-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u412-b07 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u412-b07.
|
|
|
|
|
|
|
|
- Require tzdata 2024a due to upstream inclusion of JDK-8322725
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 29 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b01-0.2.ea
|
|
|
|
|
|
|
|
- Move to upstream tag style (shenandoah8ux-by) in preparation for eventually moving back to official sources
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Rename JCONSOLE_JS_PATCH{,_DEFAULT} to JCONSOLE_PATCH{,_DEFAULT} for brevity
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Adapt OPENJDK_LATEST logic to work with 8u Shenandoah fork
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Adapt version logic to work with 8u
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add quoting for SCRIPT_DIR and JCONSOLE_PATCH (SC2086)
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Update examples in header for clarity
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Only add --depth=1 on non-local repositories
|
|
|
|
|
|
|
|
- icedtea_sync.sh: Reinstate from rhel-8.8.0 branch
|
|
|
|
|
|
|
|
- Move maintenance scripts to a scripts subdirectory
|
|
|
|
|
|
|
|
- icedtea_sync.sh: Update with a VCS mode that retrieves sources from a Mercurial repository
|
|
|
|
|
|
|
|
- jconsole.desktop.in: Restored by running icedtea_sync.sh
|
|
|
|
|
|
|
|
- policytool.desktop.in: Likewise.
|
|
|
|
|
|
|
|
- Restore IcedTea sources correctly in spec file
|
|
|
|
|
|
|
|
- discover_trees.sh: Set compile-command and indentation instructions for Emacs
|
|
|
|
|
|
|
|
- discover_trees.sh: shellcheck: Do not use -o (SC2166)
|
|
|
|
|
|
|
|
- discover_trees.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
|
|
|
|
|
|
|
|
- discover_trees.sh: shellcheck: Double-quote variable references (SC2086)
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add authorship
|
|
|
|
|
|
|
|
- icedtea_sync.sh: Set compile-command and indentation instructions for Emacs
|
|
|
|
|
|
|
|
- icedtea_sync.sh: shellcheck: Double-quote variable references (SC2086)
|
|
|
|
|
|
|
|
- icedtea_sync.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
|
|
|
|
|
|
|
|
- openjdk_news.sh: Set compile-command and indentation instructions for Emacs
|
|
|
|
|
|
|
|
- openjdk_news.sh: shellcheck: Double-quote variable references (SC2086)
|
|
|
|
|
|
|
|
- openjdk_news.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
|
|
|
|
|
|
|
|
- openjdk_news.sh: shellcheck: Remove deprecated egrep usage (SC2196)
|
|
|
|
|
|
|
|
- Remove pointless empty file generate_singlerepo_source_tarball.sh
|
|
|
|
|
|
|
|
- Remove pointless empty file update_main_sources.sh
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Handle an existing checkout
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Sync indentation with java-21-openjdk version
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Support using a subdirectory via TO_COMPRESS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 29 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:1.8.0.412.b01-0.2.ea
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add WITH_TEMP environment variable
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Multithread xz on all available cores
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add OPENJDK_LATEST environment variable
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Update comment about tarball naming
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Reformat comment header
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Reformat and update help output
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Do a shallow clone, for speed
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Eliminate some removal prompting
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Make tarball reproducible
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Prefix temporary directory with temp-
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Remove temporary directory exit conditions
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Set compile-command in Emacs
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Remove REPO_NAME from FILE_NAME_ROOT
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Move PROJECT_NAME and REPO_NAME checks
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: shellcheck: Remove x-prefixes since we use Bash (SC2268)
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: shellcheck: Double-quote variable references (SC2086)
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: shellcheck: Do not use -a (SC2166)
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: shellcheck: Do not use $ on arithmetic variables (SC2004)
|
|
|
|
|
|
|
|
- Use backward-compatible patch syntax
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Ignore -ga tags with OPENJDK_LATEST
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Remove trailing period in echo
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Use long-style argument to grep
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add license
|
|
|
|
|
|
|
|
- generate_source_tarball.sh: Add indentation instructions for Emacs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 22 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b01-0.1.ea
|
|
|
|
|
|
|
|
- Introduce tar_opts to avoid repetition of lengthy tar creation options
|
|
|
|
|
|
|
|
- Normalise whitespace
|
|
|
|
|
|
|
|
- Turn off xz multi-threading on i686 as it fails with an out of memory error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 22 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:1.8.0.412.b01-0.1.ea
|
|
|
|
|
|
|
|
- Invoke xz in multi-threaded mode
|
|
|
|
|
|
|
|
- Make portable tarball modification times reproducible
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 21 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.412.b01-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u412-b01 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u412-b01.
|
|
|
|
|
|
|
|
- Switch to EA mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 11 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.402.b06-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u402-b06 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u402-b06.
|
|
|
|
|
|
|
|
- Drop local copy of JDK-8312489 which is now included upstream
|
|
|
|
|
|
|
|
- Switch to GA mode.
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2024-01-16 @ 1pm PT. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.402.b01-0.1.ea
|
|
|
|
%files misc
|
|
|
|
- Update to shenandoah-jdk8u402-b01 (EA)
|
|
|
|
%{_jvmdir}/%{miscportablearchive}
|
|
|
|
- Update release notes for shenandoah-8u402-b01.
|
|
|
|
%{_jvmdir}/%{miscportablearchive}.sha256sum
|
|
|
|
- Switch to EA mode.
|
|
|
|
|
|
|
|
- Sync NEWS with vanilla branch version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 11 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u392-b08 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u392-b08.
|
|
|
|
|
|
|
|
- Regenerate PR2462 patch following JDK-8315135
|
|
|
|
|
|
|
|
- Bump version of bundled libpng to 1.6.39
|
|
|
|
|
|
|
|
- Add backport of JDK-8312489 heading upstream for 8u402 (see OPENJDK-2095)
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2023-10-17 @ 1pm PT. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b01-1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u392-b01 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u392-b01.
|
|
|
|
|
|
|
|
- Update generate_tarball.sh to be closer to upstream vanilla script inc. no more ECC removal
|
|
|
|
|
|
|
|
- Update bug URL for RHEL to point to the Red Hat customer portal
|
|
|
|
|
|
|
|
- Change top_level_dir_name to use the VCS tag, matching new upstream release style tarball
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b05-2
|
|
|
|
|
|
|
|
- Re-enable SystemTap support and perform only substitutions possible without final NVR available
|
|
|
|
|
|
|
|
- Include tapsets in the miscellaneous tarball
|
|
|
|
|
|
|
|
- Drop unused globals for tapset installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 14 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b05-1
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u382-b05 (GA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u382-b05.
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2023-07-18 @ 1pm PT. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 07 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b04-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u382-b04 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u382-b04.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b01-0.1.ea
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u382-b01 (EA)
|
|
|
|
|
|
|
|
- Update release notes for shenandoah-8u382-b01.
|
|
|
|
|
|
|
|
- Switch to EA mode.
|
|
|
|
|
|
|
|
- Remove JDK-8271199 patch which is now upstream.
|
|
|
|
|
|
|
|
- Add version of bundled zlib (bumped from 1.2.11 to 1.2.13 with this update)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Apr 27 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.372.b07-2
|
|
|
|
* Thu Apr 27 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.372.b07-2
|
|
|
|
- Sync with existing RHEL 8 build, in order to start building portables on RHEL 8
|
|
|
|
- Sync with existing RHEL 8 build, in order to start building portables on RHEL 8
|
|
|
|
- Fix debug symbols flag to newboot and package naming
|
|
|
|
- Fix debug symbols flag to newboot and package naming
|
|
|
|