Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Hughes
33892812e7 Actually require tzdata 2024a now it is available in the buildroot
Related: RHEL-30943
2024-07-12 20:38:15 +01:00
Andrew Hughes
b21d61d079 Limit Java only tests to one architecture using jdk_test_arch
Resolves: RHEL-47398
2024-07-12 20:35:47 +01:00
Andrew Hughes
c1d3e036c6 Update to jdk-21.0.4+5 (EA)
Update release notes to 21.0.4+5

Resolves: RHEL-45358
2024-07-12 20:04:07 +01:00
Andrew Hughes
e00b68ca9a Sync the copy of the portable specfile with the latest update
Related: RHEL-45358
2024-07-04 02:02:55 +01:00
Andrew Hughes
8206a3fb3d Restore NEWS file so portable can be rebuilt
Resolves: RHEL-46027
2024-07-04 02:02:53 +01:00
Andrew Hughes
b0d8ec4874 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-45358
2024-07-04 02:02:50 +01:00
Andrew Hughes
20af1cf209 Sync the copy of the portable specfile with the latest update
Related: RHEL-32406
Related: RHEL-30943
2024-07-04 02:02:47 +01:00
Andrew Hughes
f6ba340abd 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-32406
2024-07-04 02:02:45 +01:00
Andrew Hughes
6f87552e13 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-30943
2024-07-04 02:02:43 +01:00
Andrew Hughes
8ec5954777 generate_source_tarball.sh: Avoid empty DEPTH reference while still appeasing shellcheck
Related: RHEL-30943
2024-07-04 02:02:40 +01:00
Andrew Hughes
f0de87c520 generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
Related: RHEL-30943
2024-07-04 02:02:38 +01:00
Andrew Hughes
4d28ee1229 generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST
Related: RHEL-30943
2024-07-04 02:02:35 +01:00
Andrew Hughes
4d80a946a1 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-30943
2024-07-04 02:02:33 +01:00
Andrew Hughes
0d22d03c55 Move maintenance scripts to a scripts subdirectory
Related: RHEL-30943
2024-07-04 02:02:29 +01:00
Andrew Hughes
05d2d44ccf generate_source_tarball.sh: Only add --depth=1 on non-local repositories
Related: RHEL-30943
2024-07-04 02:02:26 +01:00
Andrew Hughes
b00ae68bd5 generate_source_tarball.sh: Add indentation instructions for Emacs
Related: RHEL-30943
2024-07-04 02:02:23 +01:00
Andrew Hughes
398a7ca95c generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
Related: RHEL-30943
2024-07-04 02:02:20 +01:00
Andrew Hughes
7f1cf246e3 generate_source_tarball.sh: Cleanup message issued when checkout already exists
Related: RHEL-30943
2024-07-04 02:02:18 +01:00
Andrew Hughes
632b38a934 generate_source_tarball.sh: Add license
Related: RHEL-30943
2024-07-04 02:02:15 +01:00
Andrew Hughes
ba94d4b80c generate_source_tarball.sh: Update examples in header for clarity
Related: RHEL-30943
2024-07-04 02:02:13 +01:00
Thomas Fitzsimmons
d712bf2c6f generate_source_tarball.sh: Use long-style argument to grep
Related: RHEL-30943
2024-07-04 02:02:11 +01:00
Thomas Fitzsimmons
b5d0d8b656 generate_source_tarball.sh: Remove trailing period in echo
Related: RHEL-30943
2024-07-04 02:02:09 +01:00
Thomas Fitzsimmons
1a77f5871d generate_source_tarball.sh: Fix whitespace
Related: RHEL-30943
2024-07-04 02:02:06 +01:00
Thomas Fitzsimmons
e4268865a7 generate_source_tarball.sh: Ignore -ga tags with OPENJDK_LATEST
Related: RHEL-30943
2024-07-04 02:02:04 +01:00
Andrew Hughes
45f8cb3fe3 Use backward-compatible patch syntax
Related: RHEL-30943
2024-07-04 02:02:02 +01:00
Andrew Hughes
2ec15546b4 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-30943
2024-07-04 02:01:59 +01:00
Andrew Hughes
e03c24ec23 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-30943
2024-07-04 02:01:57 +01:00
Andrew Hughes
04e9bb7bbb Install alt-java man page from the misc tarball as it is no longer in the JDK image
Related: RHEL-30943
2024-07-04 02:01:54 +01:00
Andrew Hughes
f06a071f1b Invoke xz in multi-threaded mode
Related: RHEL-30943
2024-07-04 02:01:51 +01:00
Andrew Hughes
02c2134eb0 Bump rpmrelease for next build
Related: RHEL-30943
2024-07-04 02:01:48 +01:00
Andrew Hughes
bb909b5dda 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-30943
2024-07-04 02:01:46 +01:00
Andrew Hughes
cfd60e32ef Revert move to RHEL 8 build until issues are resolved with using devkit build
- Builds need a build ID or this to be disabled in the RPM
- Builds likely need the annobin annotations

Also, place the pkgos definition high enough that it is usable by portablesuffix.

Related: RHEL-30943
2024-07-04 02:01:44 +01:00
Andrew Hughes
12da7e88e0 Define portablesuffix according to whether pkgos is defined or not
Related: RHEL-30943
2024-07-04 02:01:42 +01:00
Andrew Hughes
611d944338 Sync the copy of the portable specfile with the latest update
Related: RHEL-30943
2024-07-04 02:01:40 +01:00
Andrew Hughes
878dfb9478 Disable setting pkgos to rhel7 to revert to the openjdk-portable-rhel-8 version
Related: RHEL-30943
2024-07-04 02:01:37 +01:00
Andrew Hughes
28c2e40b9c Bump rpmrelease for next build
Related: RHEL-30943
2024-07-04 02:01:35 +01:00
Andrew Hughes
61f4c6e9f4 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-20985
2024-07-04 02:01:31 +01:00
Andrew Hughes
d178bd3c7a Include JDK-8311630 patch to implement Foreign Function & Memory preview API on s390x
Sync the copy of the portable specfile with the latest update

Resolves: RHEL-16289
2024-07-04 02:01:28 +01:00
Andrew Hughes
93e5b053f5 Switch to using portable binaries built on RHEL 7
Sync the copy of the portable specfile with the RHEL 7 version

Related: RHEL-12996
2024-07-04 02:01:25 +01:00
Andrew Hughes
1fa177aca7 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

Resolves: RHEL-12996
Resolves: RHEL-14951
Resolves: RHEL-13924
Resolves: RHEL-14955
Related: RHEL-14943
Resolves: RHEL-11322
Resolves: RHEL-14949
2024-07-04 02:01:19 +01:00
Andrew Hughes
e04786271f 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-12996
2024-07-04 00:23:34 +01:00
Andrew Hughes
b7035cb980 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-12996
2024-07-04 00:22:33 +01:00
Andrew Hughes
0560ddb8e5 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-12996
2024-07-04 00:12:09 +01:00
Andrew Hughes
e34867dde7 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-12996
2024-06-06 18:31:55 +01:00
Andrew Hughes
47d1d31f32 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-12996
2024-05-23 00:27:05 +01:00
Andrew Hughes
aa3c7f0616 Add files missed by centpkg import.
Related: rhbz#2192749
2023-08-11 16:18:17 +01:00
Andrew Hughes
46f0bdbbee Create java-21-openjdk package based on java-17-openjdk
Related: rhbz#2192749
2023-08-08 20:25:14 +01:00
Release Configuration Management
911bf4cc5b New branch setup 2023-06-06 05:53:25 +00:00