Commit Graph

98 Commits

Author SHA1 Message Date
Andrew Hughes
491921a133 Update to jdk-21.0.4+5 (EA)
Update release notes to 21.0.4+5

Resolves: RHEL-45357
2024-08-04 23:01:58 +01:00
Andrew Hughes
96d6beedeb Sync the copy of the portable specfile with the latest update
Related: RHEL-45357
2024-08-04 23:01:20 +01:00
Andrew Hughes
c269edd06f Restore NEWS file so portable can be rebuilt
Resolves: RHEL-46026
2024-08-04 22:56:23 +01:00
Andrew Hughes
41598b2b1b Update to jdk-21.0.4+1 (EA)
- Update release notes to 21.0.4+1
- Switch to EA mode
- Bump LCMS 2 version to 2.16.0 following JDK-8321489
- Add zlib build requirement or bundled version (1.3.1), depending on system_libs setting

Related: RHEL-45357
2024-08-04 22:55:11 +01:00
Andrew Hughes
8a7b36368b Sync the copy of the portable specfile with the latest update
Related: RHEL-32427
Related: RHEL-52723
2024-08-04 19:46:26 +01:00
Andrew Hughes
08d50b1c48 Update to jdk-21.0.3+9 (GA)
- Update release notes to 21.0.3+9
- Switch to GA mode.

** This tarball is embargoed until 2024-04-16 @ 1pm PT. **

Resolves: RHEL-32427
2024-08-04 19:45:51 +01:00
Andrew Hughes
bab44f5cce Update to jdk-21.0.3+7 (EA)
- Update release notes to 21.0.3+7
- Require tzdata 2024a due to upstream inclusion of JDK-8322725
- Only require tzdata 2023d for now as 2024a is unavailable in buildroot
- Drop JDK-8009550 which is now available upstream
- Re-generate FIPS patch against 21.0.3+7 following backport of JDK-8325254

Resolves: RHEL-52723
2024-08-04 19:42:09 +01:00
Andrew Hughes
0933e70f18 generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
- generate_source_tarball.sh: Avoid empty DEPTH reference while still appeasing shellcheck

Related: RHEL-52723
2024-08-04 19:40:18 +01:00
Andrew Hughes
2d164905ae generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST
Related: RHEL-52723
2024-08-04 19:39:56 +01:00
Andrew Hughes
b3de26f4b2 Fix maintenance scripts to pass shellcheck
- 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)

Related: RHEL-52723
2024-08-04 19:39:24 +01:00
Andrew Hughes
bf82945692 Move maintenance scripts to a scripts subdirectory
Related: RHEL-52723
2024-08-04 19:26:13 +01:00
Andrew Hughes
1cff5805e2 generate_source_tarball.sh: Only add --depth=1 on non-local repositories
Related: RHEL-52723
2024-08-04 19:25:39 +01:00
Andrew Hughes
0c5d99cf98 generate_source_tarball.sh: Add indentation instructions for Emacs
Related: RHEL-52723
2024-08-03 23:03:27 +01:00
Andrew Hughes
296570ba0a generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
Related: RHEL-52723
2024-08-03 23:03:07 +01:00
Andrew Hughes
94a7ee9fae generate_source_tarball.sh: Cleanup message issued when checkout already exists
Related: RHEL-52723
2024-08-03 23:02:23 +01:00
Andrew Hughes
ed9b7bc931 generate_source_tarball.sh: Add license
Related: RHEL-52723
2024-08-03 23:01:47 +01:00
Andrew Hughes
2ef4a5adc1 generate_source_tarball.sh: Update examples in header for clarity
Related: RHEL-52723
2024-08-03 23:00:35 +01:00
Thomas Fitzsimmons
19127d378c generate_source_tarball.sh: Use long-style argument to grep
Related: RHEL-52723
2024-08-03 22:59:56 +01:00
Thomas Fitzsimmons
379c07bcec generate_source_tarball.sh: Remove trailing period in echo
Related: RHEL-52723
2024-08-03 22:58:48 +01:00
Thomas Fitzsimmons
5ea0fb3179 generate_source_tarball.sh: Fix whitespace
Related: RHEL-52723
2024-08-03 22:58:22 +01:00
Thomas Fitzsimmons
01fe596f95 generate_source_tarball.sh: Ignore -ga tags with OPENJDK_LATEST
Related: RHEL-52723
2024-08-03 22:57:50 +01:00
Andrew Hughes
7a0338951b Use backward-compatible patch syntax
Related: RHEL-52723
2024-08-03 22:57:29 +01:00
Andrew Hughes
953d763202 Fix shellcheck issues with generate_source_tarball.sh
- 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)

Related: RHEL-52723
2024-08-03 22:52:12 +01:00
Andrew Hughes
bee6a97d4d Make source tarballs reproducible and support construction in a temporary directory.
- 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: Append -ea designator when required
- 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: Fix -ea logic to add dash

Related: RHEL-52723
2024-08-03 22:51:08 +01:00
Andrew Hughes
7cd03dba3a Install alt-java man page from the misc tarball as it is no longer in the JDK image
Related: RHEL-52723
2024-08-03 22:50:10 +01:00
Andrew Hughes
7733965eb3 Invoke xz in multi-threaded mode
Related: RHEL-52723
2024-08-03 22:49:14 +01:00
Andrew Hughes
dd1cdb9453 Update to jdk-21.0.3+1 (EA)
Update release notes to 21.0.3+1
Switch to EA mode
Require tzdata 2023d due to local inclusion of JDK-8322725
Bump FreeType version to 2.13.2 following JDK-8316028

Related: RHEL-52723
2024-08-03 22:47:14 +01:00
Andrew Hughes
c80d8b609e Set this to be the default/system JDK providing 'java', 'jre', 'java-devel' ,etc.
- Resolves: RHEL-34597
2024-07-30 18:34:45 +01:00
Andrew Hughes
0f7cce044a Fix gating.yaml to reference RHEL 10
- Resolves: RHEL-51617
2024-07-30 18:34:43 +01:00
Andrew Hughes
c77ecf1886 Bump rpmrelease for upcoming changes (gating enablement, default JDK)
- Related: RHEL-34597
- Related: RHEL-51617
2024-07-30 18:34:35 +01:00
Andrew Hughes
cc41f233ff Handle debugedit being a separate package installed in /usr on RHEL/CentOS 10
Related: RHEL-45217
2024-07-26 00:43:13 +01:00
Andrew Hughes
0ce8bb88bb Define portablesuffix according to whether pkgos is defined or not
Place the pkgos definition high enough that it is usable by portablesuffix.

Related: RHEL-45217
2024-07-25 16:35:22 +01:00
Andrew Hughes
9b05332409 Update to jdk-21.0.2+13 (GA)
Sync the copy of the portable specfile with the latest update
Bump libpng version to 1.6.40 following JDK-8316030
Bump HarfBuzz version to 8.2.2 following JDK-8313643
Drop local JDK-8311630 patch which is now upstream

** This tarball is embargoed until 2024-01-16 @ 1pm PT. **

Resolves: RHEL-45217
2024-07-25 16:35:18 +01:00
Andrew Hughes
8a39def426 Include JDK-8311630 patch to implement Foreign Function & Memory preview API on s390x
Sync the copy of the portable specfile with the latest update

Related: RHEL-45217
2024-07-25 16:35:12 +01:00
Andrew Hughes
92416a6966 Define pkgnameroot to simplify build requirements and allow '-rhel7' suffix on RHEL
Related: RHEL-45217
2024-07-25 16:33:03 +01:00
Andrew Hughes
93c1b3d423 Update to jdk-21.0.1.0+12 (GA)
Update release notes to 21.0.1.0+12
Sync the copy of the portable specfile with the latest update
Update openjdk_news script to specify subdirectory last
Add missing discover_trees script required by openjdk_news
Synchronise bundled versions with 21u sources (FreeType, LCMS, HarfBuzz, libpng)
Sync generate_tarball.sh with 11u & 17u version
Update bug URL for RHEL to point to the Red Hat customer portal
Fix upstream release URL for OpenJDK source
Following JDK-8005165, class data sharing can be enabled on all JIT architectures
Use tapsets from the misc tarball
Introduce 'prelease' for the portable release versioning, to handle EA builds
Make sure root installation directory is created first
Use in-place substitution for all but the first of the tapset changes
Synchronise runtime and buildtime tzdata requirements
Remove ghosts for binaries not in java-21-openjdk (pack200, rmid, unpack200)
Add missing jfr, jpackage and jwebserver alternative ghosts
Move jcmd to the headless package
Revert alt-java binary location to being within the JDK tree
Fix packaging of CDS archives
Exclude classes_nocoops.jsa on i686 and arm32

Related: RHEL-45217
2024-07-25 16:32:03 +01:00
Andrew Hughes
ef950026e0 Patch and documentation cleanup
Update documentation (README.md)
Replace alt-java patch with a binary separate from the JDK
Drop stale patches that are of little use any more:
- * nss.cfg has been disabled since early PKCS11 work and long superseded by FIPS work
- * No accessibility subpackage to warrant RH1648242 & RH1648644 patches any more
- * No use of system libjpeg turbo to warrant RH649512 patch any more
- Replace RH1684077 pcsc-lite-libs patch with better JDK-8009550 fix being upstreamed
Adapt alt-java test to new binary where there is always a set_speculation function

Related: RHEL-45217
2024-07-25 16:30:36 +01:00
Andrew Hughes
497101da3c Update to jdk-21.0.0+35
Update system crypto policy & FIPS patch from new fips-21u tree
Update generate_tarball.sh to sync with upstream vanilla script inc. no more ECC removal
Drop fakefeaturever now it is no longer needed
Change top_level_dir_name to use the VCS tag, matching new upstream release style tarball
Use upstream release URL for OpenJDK source
Re-enable tzdata tests now we are on the latest JDK and things are back in sync
Install jaxp.properties introduced by JDK-8303530
Install lible.so introduced by JDK-8306983

Related: RHEL-45217
2024-07-25 16:30:05 +01:00
Andrew Hughes
6a4c389808 Update to jdk-20.0.2+9
Update release notes to 20.0.2+9
Update system crypto policy & FIPS patch from new fips-20u tree
Update generate_tarball.sh ICEDTEA_VERSION
Update CLDR reference data following update to 42 (Rocky Mountain-Normalzeit => Rocky-Mountain-Normalzeit)
Dropped JDK-8295447, JDK-8296239 & JDK-8299439 patches now upstream
Adapted rh1750419-redhat_alt_java.patch

Related: RHEL-45217
2024-07-25 16:28:53 +01:00
Andrew Hughes
3edefc6f27 Update to jdk-19.0.2 release
Update release notes to 19.0.2
Rebase FIPS patches from fips-19u branch
Remove references to sample directory removed by JDK-8284999
Add local patch JDK-8295447 (javac NPE) which was accepted into 19u upstream but not in the GA tag
Add local patches for JDK-8296239 & JDK-8299439 (Croatia Euro update) which are present in 8u, 11u & 17u releases

Related: RHEL-45217
2024-07-25 16:27:17 +01:00
Andrew Hughes
522137db4f Update to jdk-18.0.2 release
Update release notes to actually reflect OpenJDK 18
Support JVM variant zero following JDK-8273494 no longer installing Zero's libjvm.so in the server directory
Rebase FIPS patches from fips-18u branch
Rebase RH1648249 nss.cfg patch so it applies after the FIPS patch
Drop now unused fresh_libjvm, build_hotspot_first and bootjdk variables, as we don't build a JDK here
Drop tzdata patches added for 17.0.7 which will eventually appear in the upstream tarball when we reach OpenJDK 21
Disable tzdata tests until we are on the latest JDK and things are back in sync
Adjust rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch
Add new slave jwebserver and corresponding manpage
Add javaver- and origin-specific javadoc and javadoczip alternatives.
Use empty nss.fips.cfg until it is again available via the FIPS patch

Related: RHEL-45217
2024-07-25 16:24:58 +01:00
Andrew Hughes
2fce440a2f Set portablerelease and portablerhel to use the CentOS 9 build
Related: RHEL-45217
2024-07-25 16:23:56 +01:00
Andrew Hughes
307f71610d Add files missed by centpkg import.
Related: RHEL-45217
2024-07-25 16:23:20 +01:00
Andrew Hughes
2f18a3d97f Create java-21-openjdk package based on java-17-openjdk
Related: RHEL-45217
2024-07-25 16:22:05 +01:00
Andrew John Hughes
69d9a1d60a Remove unwanted imported Fedora version
Related: RHEL-45217
2024-07-25 15:52:26 +01:00
Troy Dawson
ee028441ad Bump release for June 2024 mass rebuild 2024-06-24 08:52:24 -07:00
Fedora Release Engineering
0d70ba9256 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 23:10:33 +00:00
Jiri Vanek
7127ba35af forked from java-latest-openjdk 2024-01-22 10:55:10 +01:00