Commit Graph

105 Commits

Author SHA1 Message Date
Andrew Hughes
528fe11679 Fix documentation directory ownership
- Make headless own /usr/share/doc/java-1.8.0-openjdk
- Make javadoc-zip own /usr/share/javadoc/java-1.8.0-openjdk
- Change javadoc-zip to just own the top-level directory, not include the entire subtree

Resolves: RHEL-212322
2026-07-19 00:35:16 +01:00
Andrew Hughes
7855b183be Make zone string debug output optional in TestTranslations
Resolves: RHEL-212317
2026-07-19 00:33:43 +01:00
Andrew Hughes
338c909a94 Specify portablerelease and rpmrelease (always 0 for portables) in the Release field
Resolves: RHEL-212311
2026-07-19 00:32:18 +01:00
Andrew Hughes
a725db211e Move version information and core NVR definitions back towards the top of the file
- Sync portable naming with later JDKs, due to adoption of <compatiblename> by portable
- Drop <pversion> which is a redundant alias for version now
- Explictly define supported architectures

Related: RHEL-212311
2026-07-19 00:32:16 +01:00
Andrew Hughes
124815ae75 Remove macro references in comments where possible (%dnl not compatible enough yet)
- After discussion with fitzsim, it is easier and more compatible
- to rewrite (or just plain drop in the case of the %patch examples)
- macros in comments.  There doesn't seem to be a way to detect the
- presence of %dnl on older RPM versions, so we can't use it until
- we are only working on RHEL >= 9.

- While it works fine locally, attempting to build on CentOS 9 causes
- the srpm stage to fail with:
- error: /builddir/build/SPECS/java-25-openjdk.spec: line 3: %dnl: unexpected argument

Resolves: RHEL-212132
2026-07-19 00:32:14 +01:00
Andrew Hughes
ab9f9d4008 Update to 8u502-b07 (GA).
- Update release notes for 8u502-b07.
- Bump lcms2 version to 2.19.1 following JDK-8321489, JDK-8348110, JDK-8375065 & JDK-8383354
- Bump zlib version to 1.3.2 following JDK-8378631
- Require tzdata 2026b due to upstream inclusion of JDK-8383175

** This tarball is embargoed until 2026-07-21 @ 1pm PT. **

Resolves: RHEL-188874
2026-07-19 00:32:00 +01:00
Andrew Hughes
878157fd7f Sync the copy of the portable specfile with the latest update
Related: RHEL-212354
2026-07-19 00:07:21 +01:00
Andrew Hughes
89c6ab8fea Add attempted patch for JDK-8385876 to fix -Wnonnull build failure with s390x Zero on CentOS 9
Resolves: RHEL-212354
2026-07-19 00:06:02 +01:00
Andrew Hughes
85c01f16cd Sync the copy of the portable specfile with the latest update
Related: RHEL-169448
Related: RHEL-133223
Related: RHEL-146656
Related: RHEL-148335
Related: RHEL-148848
Related: RHEL-161225
Related: RHEL-161341
Related: RHEL-157098
Related: RHEL-157149
2026-04-20 18:40:49 +01:00
Andrew Hughes
5fa3aaecb2 Update to 8u492-b09 (GA)
- Update release notes for 8u492-b09.
- Add missing CVEs for 8u482.
- Regenerate JDK-8199936/PR3533 patch following JDK-8374917
- Regenerate JDK-8186464/RH1433262 patch following JDK-8370986
- Drop local giflib 5.2.2 patch now JDK-8328999 is included upstream
- Bump freetype version to 2.14.2 following JDK-8373290 & JDK-8379158
- Bump giflib version to 6.1.2 following JDK-8379256 & JDK-8380078
- Bump LCMS 2 version to 2.15.0 following JDK-8303482
- Bump libpng version to 1.6.57 following JDK-8375063, JDK-8377526, JDK-8380959 & JDK-8382047

** This tarball is embargoed until 2026-04-21 @ 1pm PT. **

Resolves: RHEL-169448
Resolves: RHEL-133223
Resolves: RHEL-146656
Resolves: RHEL-148335
Resolves: RHEL-148848
Resolves: RHEL-161225
Resolves: RHEL-161341
Resolves: RHEL-157098
Resolves: RHEL-157149
2026-04-20 18:37:18 +01:00
Andrew Hughes
2302ee56eb Add libfreetype.so to file list as well
Related: RHEL-142689
2026-01-21 03:28:07 +00:00
Andrew Hughes
a2fc63cbd1 Fix rpmrelease value
Related: RHEL-142689
Related: RHEL-139521
Related: RHEL-131446
Related: RHEL-131459
Related: RHEL-142865
Related: RHEL-142696
2026-01-21 03:07:22 +00:00
Andrew Hughes
3010bb7c07 Sync the copy of the portable specfile with the latest update
Related: RHEL-142689
Related: RHEL-139521
Related: RHEL-131446
Related: RHEL-131459
2026-01-21 03:02:19 +00:00
Andrew Hughes
3a8b62aaac Handle 'upgrade' as an alternative to 'update' in openjdk_news.sh
Resolves: RHEL-142696
2026-01-21 02:59:54 +00:00
Andrew Hughes
5f92eba932 Update FIPS patch to include nss.fips.cfg that grants CKA_ENCRYPT
Resolves: RHEL-142865
2026-01-21 02:54:21 +00:00
Andrew Hughes
5146bed53d Update to 8u482-b08 (GA).
- Update release notes for 8u482-b08.
- Remove generated-configure.sh changes from JDK-8141590 & FIPS patch as we already autogenerate this
- Turn on system FreeType as on later JDK versions and add to _privatelibs
- Set bundled FreeType version to 2.13.2 following JDK-8316028
- Bump LCMS 2 version to 2.14.0 following JDK-8297088
- Bump libpng version to 1.6.51 following JDK-8372534

Resolves: RHEL-142689
Resolves: RHEL-139521
Resolves: RHEL-131446
Resolves: RHEL-131459

** This tarball is embargoed until 2026-01-20 @ 1pm PT. **
2026-01-21 02:46:53 +00:00
Andrew Hughes
0eb75b1a6c Add scripts to handle tagging of portable-based RPMs
Related: RHEL-118781
2025-10-18 15:53:33 +01:00
Andrew Hughes
deb43efe44 Bump rpmrelease for CentOS build
Related: RHEL-118760
Related: RHEL-119444
2025-10-18 15:52:18 +01:00
Andrew Hughes
65883f451a Sync the copy of the portable specfile with the latest update
Related: RHEL-118769
Related: RHEL-119444
2025-10-18 14:19:58 +01:00
Andrew Hughes
c867a2c32a Update to 8u472-b08 (GA).
- Update release notes for 8u472-b08.
- Drop local JDK-8339414 fix as this is now included upstream
- Reset rpmrelease to 1 now there are no other RPM builds on RHEL 8

** This tarball is embargoed until 2025-10-21 @ 1pm PT. **

Resolves: RHEL-118769
Resolves: RHEL-119444
2025-10-18 13:53:52 +01:00
Andrew Hughes
cecf79888f Sync the copy of the portable specfile with the latest update
Related: RHEL-119331
Related: RHEL-118781
2025-10-05 23:13:55 +01:00
Andrew Hughes
77bdd45532 Exit if no fixes are obtained rather than try to run filters in openjdk_news.sh
Resolves: RHEL-119331
2025-10-05 23:08:53 +01:00
Andrew Hughes
1595b9b497 Add duplicate check to openjdk_news.sh
Related: RHEL-119331
2025-10-05 23:08:19 +01:00
Andrew Hughes
fe7a115848 Add timezone data update check to openjdk_news.sh
Related: RHEL-119331
2025-10-05 23:07:35 +01:00
Andrew Hughes
441410eeee Print bundle updates and backouts at end of openjdk_news.sh output
- Refer user to get_bundle_versions.sh when bundle updates are found by openjdk_news.sh

Related: RHEL-119331
2025-10-05 23:06:59 +01:00
Andrew Hughes
2b5052a7d5 Add OpenJDK 8u support to get_bundle_versions.sh
Related: RHEL-119331
2025-10-05 23:05:49 +01:00
Andrew Hughes
c2c6a6d0e3 Update get_bundle_versions.sh to match other scripts
- get_bundle_versions.sh: Add license
- get_bundle_versions.sh: Set compile-command in Emacs
- get_bundle_versions.sh: Use different error codes for different failures
- get_bundle_versions.sh: Remove unneeded '.' in JPEG version
- get_bundle_versions.sh: shellcheck: Double-quote variable references (SC2086)
- get_bundle_versions.sh: shellcheck: Drop use of cat and pass file to awk directly (SC2002)

Related: RHEL-119331
2025-10-05 22:24:28 +01:00
Andrew Hughes
c09acb2e73 Add script to obtain bundled library versions from OpenJDK sources
Related: RHEL-119331
2025-10-05 22:22:33 +01:00
Thomas Fitzsimmons
22b9f7179c Warn about bundled provide version bumps and backouts in openjdk_news.sh
Related: RHEL-119331
2025-10-05 21:44:37 +01:00
Andrew Hughes
a23bde00d7 Bump rpmrelease for move to portables only on RHEL 8
Resolves: RHEL-118781
2025-10-05 18:46:38 +01:00
Andrew Hughes
ae9574445f Bump rpmrelease for CentOS build
- Remove obsolete hack to hardcode newer portable version on RHEL

Related: RHEL-101655
Related: RHEL-102306
Related: RHEL-102908
2025-08-27 17:21:58 +01:00
Andrew Hughes
9eaa285aa9 Sync the copy of the portable specfile with the latest update
Related: RHEL-101655
Related: RHEL-102306
Related: RHEL-102908
2025-08-27 17:11:53 +01:00
Andrew Hughes
1405eae682 Add early backport of JDK-8339414
Resolves: RHEL-102908
2025-08-27 17:07:42 +01:00
Andrew Hughes
5baa55e217 Update to 8u462-b08 (GA)
- Update release notes for 8u462-b08.
- Require tzdata 2025b due to upstream inclusion of JDK-8352716

** This tarball is embargoed until 2025-07-15 @ 1pm PT. **

Resolves: RHEL-101655
Resolves: RHEL-102306
2025-08-27 17:04:00 +01:00
Andrew Hughes
7659bad5b0 Bump rpmrelease for CentOS build
Related: RHEL-86965
Related: RHEL-86613
2025-08-25 01:38:53 +01:00
Andrew Hughes
bb4b233f40 Sync the copy of the portable specfile with the latest update
** This tarball is embargoed until 2025-04-15 @ 1pm PT. **

Related: RHEL-86965
Related: RHEL-86613
2025-08-25 01:38:24 +01:00
Andrew Hughes
41bba5bb16 Update to 8u452-b09 (GA)
- Update release notes for 8u452-b09.
- Remove long option documentation from JDK-8335912/JDK-8337499 as not present in 8u
- Require tzdata 2025a due to upstream inclusion of JDK-8347965

** This tarball is embargoed until 2025-04-15 @ 1pm PT. **

Resolves: RHEL-86965
Resolves: RHEL-86613
2025-08-25 01:38:17 +01:00
Andrew Hughes
12569e7d58 Bump rpmrelease for CentOS build
Related: RHEL-73540
Related: RHEL-74304
Related: RHEL-73996
2025-08-22 16:36:21 +01:00
Andrew Hughes
03d7c28615 Add bundled libffi.so to _privatelibs
- Remove libffi.so copying workaround now the portable build installs it in lib
- Remove libffi.so copy if we are building on the same platform as the portable

Related: RHEL-74304
2025-08-22 16:34:56 +01:00
Andrew Hughes
18975a67ae Sync the copy of the portable specfile with the latest update
Related: RHEL-73540
2025-08-22 16:33:52 +01:00
Andrew Hughes
bed6419789 Revise JDK-8141590 backport to install libffi.so* in lib as well as jre/lib
Related: RHEL-74304
2025-08-22 16:32:36 +01:00
Andrew Hughes
07f723da84 Update to 8u442-b06 (GA)
- Update release notes for 8u442-b06.
- Switch to GA mode for final release

Resolves: RHEL-73540
2025-08-22 16:31:56 +01:00
Andrew Hughes
21651f7b12 Sync the copy of the portable specfile and new patches with the latest update
Related: RHEL-74304
2025-08-22 16:30:43 +01:00
Andrew Hughes
be6098a358 Add zero_arches to the portable_build_arches now that the portable build bundles libffi
- Temporarily workaround libffi.so not being in lib/%%{archinstall} by copying it
- Exclude libffi.so from the debugedit run
- Add a simple -version check on both the JDK and JRE bin/java
- Add libffi.so to the filelist, including expanding the lib/%%{archinstall} contents as with jre/lib

Resolves: RHEL-74304
2025-08-22 16:29:34 +01:00
Andrew Hughes
8b8410b67d Sync the copy of the portable specfile with the latest update
Related: RHEL-73996
2025-08-22 16:28:06 +01:00
Andrew Hughes
ae4b6f3d9c Update to 8u442-b05 (EA).
- Update release notes for 8u442-b05.
- Switch to EA mode for pre-release.

Resolves: RHEL-73996
2025-08-22 16:27:32 +01:00
Andrew Hughes
edb10e0140 Bump rpmrelease for CentOS build
Related: RHEL-58792
2025-08-19 21:46:42 +01:00
Andrew Hughes
b348ff0d4a Sync the copy of the portable specfile with the latest update
Related: RHEL-58792
Related: RHEL-17183
Related: RHEL-61281
2025-08-19 21:42:46 +01:00
Andrew Hughes
f96a25e277 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. **

Resolves: RHEL-61281
2025-08-19 21:39:04 +01:00
Andrew Hughes
e72e4df309 Add build scripts to repository to ease remembering all CentOS & RHEL targets and options
Related: RHEL-58792
2025-08-19 21:36:07 +01:00