Commit Graph

102 Commits

Author SHA1 Message Date
Thomas Fitzsimmons
90fc311b0c generate_source_tarball.sh: Use tar exclude options for VCS files
- generate_source_tarball.sh: Use tar exclude options for VCS files
- Related: RHEL-46635
2024-09-30 16:55:23 -04:00
Andrew Hughes
da243c64dc generate_source_tarball.sh: Avoid empty DEPTH reference while still appeasing shellcheck
- generate_source_tarball.sh: Avoid empty DEPTH reference while still appeasing shellcheck
- Related: RHEL-46635
2024-09-30 16:55:09 -04:00
Andrew Hughes
7e5f10bb84 generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
- generate_source_tarball.sh: Double-quote DEPTH reference (SC2086)
- Related: RHEL-46635
2024-09-30 16:55:03 -04:00
Andrew Hughes
fa4dd5b744 generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST
- generate_source_tarball.sh: Output values of new options WITH_TEMP and OPENJDK_LATEST
- Related: RHEL-46635
2024-09-30 16:54:57 -04:00
Andrew Hughes
a192123ddb 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-46635
2024-09-30 16:54:49 -04:00
Andrew Hughes
30f29262cc Move maintenance scripts to a scripts subdirectory
- Move maintenance scripts to a scripts subdirectory
- Related: RHEL-46635
2024-09-30 16:54:41 -04:00
Andrew Hughes
2670b596e6 icedtea_sync.sh: Reinstate from rhel-8.9.0 branch
- icedtea_sync.sh: Reinstate from rhel-8.9.0 branch
- Related: RHEL-46635
2024-09-30 16:54:20 -04:00
Andrew Hughes
f0ea3d4abc generate_source_tarball.sh: Only add --depth=1 on non-local repositories
- generate_source_tarball.sh: Only add --depth=1 on non-local repositories
- Related: RHEL-46635
2024-09-30 16:54:06 -04:00
Andrew Hughes
529821b9fd generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
- generate_source_tarball.sh: Create directory in TMPDIR when using WITH_TEMP
- Related: RHEL-46635
2024-09-30 16:53:47 -04:00
Andrew Hughes
cdeaf1447d generate_source_tarball.sh: Cleanup message issued when checkout already exists
- generate_source_tarball.sh: Cleanup message issued when checkout already exists
- Related: RHEL-46635
2024-09-30 16:53:02 -04:00
Thomas Fitzsimmons
f5e6a2d719 generate_source_tarball.sh: Update examples in header for clarity
- generate_source_tarball.sh: Update examples in header for clarity
- Related: RHEL-46635
2024-09-30 16:52:25 -04:00
Thomas Fitzsimmons
f5dd8fb805 Sync generate_source_tarball.sh from Fedora rawhide
- Sync generate_source_tarball.sh from Fedora rawhide
- Related: RHEL-46635
2024-09-30 11:43:51 -04:00
Thomas Fitzsimmons
24bca58ca3 Change a fix-me comment to a note instead
- Change a fix-me comment to a note instead
- Related: RHEL-46635
2024-09-30 11:43:34 -04:00
Thomas Fitzsimmons
46f86bf6dd Label as error a designator mismatch
- Label as error a designator mismatch
- Related: RHEL-46635
2024-09-30 11:43:20 -04:00
Thomas Fitzsimmons
5e98de05bc Add zlib 1.3.1 bundled provides and zlib-devel build requirement (OPENJDK-3065)
- Add zlib 1.3.1 bundled provides and zlib-devel build requirement (OPENJDK-3065)
- Related: RHEL-46635
2024-09-30 11:42:45 -04:00
Thomas Fitzsimmons
270048c5bf Update lcms2 bundled provides to 2.16.0
- Update lcms2 bundled provides to 2.16.0
- Related: RHEL-46635
2024-09-30 11:41:51 -04:00
Thomas Fitzsimmons
1434e0e499 Require tzdata-java 2024a at runtime and for build (JDK-8325150)
- Require tzdata-java 2024a at runtime and for build (JDK-8325150)
- Related: RHEL-46635
2024-09-30 11:41:14 -04:00
Thomas Fitzsimmons
14a2bb888b Update to jdk-17.0.12+6 (EA)
- Update to jdk-17.0.12+6 (EA)
- Add openjdk-17.0.12+6-ea.tar.xz to .gitignore
- Set updatever to 12
- Set buildver to 6
- Set rpmrelease to 1
- Set is_ga to 0
- Update sources to openjdk-17.0.12+6-ea.tar.xz
- Related: RHEL-46635
2024-09-30 11:40:34 -04:00
Thomas Fitzsimmons
362ca7db32 Update to jdk-17.0.11+9 (GA)
- Add openjdk-17.0.11+9.tar.xz to .gitignore
- Sync java-17-openjdk-portable.specfile from openjdk-portable-rhel-8
- Update buildver from 7 to 9
- Update portablerelease from 1 to 3
- Change is_ga from 0 to 1 to enable GA mode for release
- Update tzdata Requires comment to mention that 2024a is not yet in the buildroot
- Update tzdata BuildRequires comment to mention that 2024a is not yet in the buildroot
- Update tzdata BuildRequires from 2023c to 2023d
- Update sources from openjdk-17.0.11+7-ea.tar.xz to openjdk-17.0.11+9.tar.xz

- Resolves: RHEL-30941
- Resolves: RHEL-32421

** This tarball is embargoed until 2024-04-16 @ 1pm PT. **
2024-07-30 17:28:25 +01:00
Thomas Fitzsimmons
4db4a816f8 Move pcsc-lite-libs patch to in-need-of-upstreaming section
- Related: RHEL-30941
2024-07-30 17:15:51 +01:00
Thomas Fitzsimmons
8374080a8f Remove RH1649512 patch for libjpeg-turbo FAR macro
- Related: RHEL-30941
2024-07-30 17:15:48 +01:00
Thomas Fitzsimmons
65aca6ebba openjdk_news.sh: Use grep -E instead of egrep
- Related: RHEL-30941
2024-07-30 17:15:45 +01:00
Thomas Fitzsimmons
abaae48645 Require tzdata 2023d (JDK-8322725)
- Related: RHEL-30941
2024-07-30 17:15:43 +01:00
Thomas Fitzsimmons
9fd8c9faff Sync generate_source_tarball.sh
- Related: RHEL-30941
2024-07-30 17:15:41 +01:00
Thomas Fitzsimmons
1352b94b11 Explain patchN syntax situation in a comment
- Related: RHEL-30941
2024-07-30 17:15:35 +01:00
Thomas Fitzsimmons
408b1c35f1 Use featurever macro to specify fips patch
- Related: RHEL-30941
2024-07-30 17:15:30 +01:00
Thomas Fitzsimmons
680894ef34 Update buildjdkver to match the featurever
- Related: RHEL-30941
2024-07-30 17:15:23 +01:00
Thomas Fitzsimmons
03b8ccac5f Update to jdk-17.0.11+7 (EA)
- Related: RHEL-30941
2024-07-30 17:15:17 +01:00
Thomas Fitzsimmons
e9072a8da2 Update to jdk-17.0.10+7 (GA)
- Sync the copy of the portable specfile with the latest update
- fips-17u-d63771ea660.patch: Regenerate from gnu-andrew branch
- generate_source_tarball.sh changes:
  - Add WITH_TEMP environment variable
  - Multithread xz on all available cores
  - Add OPENJDK_LATEST environment variable
  - Update comment about tarball naming
  - Remove REPO_NAME from FILE_NAME_ROOT
  - Set compile-command in Emacs
  - Reformat comment header
  - Reformat and update help output
  - Move PROJECT_NAME and REPO_NAME checks
  - Do a shallow clone, for speed
  - Append -ea designator when required
  - Eliminate some removal prompting
  - Make tarball reproducible
  - Prefix temporary directory with temp-
  - shellcheck: Remove x-prefixes since we use Bash
  - shellcheck: Double-quote variable references
  - shellcheck: Do not use -a
  - shellcheck: Do not use $ in expression
  - Remove temporary directory exit conditions
  - Add --sort=name to tar invocation for reproducibility
  - Add note on network usage of OPENJDK_LATEST
- Move to -P<n> usage for patch macro which works on all RPM versions
- Re-enable DEFAULT_PROMOTED_VERSION_PRE check disabled for the July 2023 release
- Remove RH1648644 patch not in portable build (and so not applied to binary used)

- Resolves: RHEL-20997
2024-07-30 17:15:09 +01:00
Andrew Hughes
678cd2e9d2 Update to jdk-17.0.9+9 (GA)
Update release notes to 17.0.9+9
Re-generate FIPS patch against 17.0.9+1 following backport of JDK-8209398
Bump libpng version to 1.6.39 following JDK-8305815
Bump HarfBuzz version to 7.2.0 following JDK-8307301
Bump freetype version to 2.13.0 following JDK-8306881
Update generate_tarball.sh to be closer to upstream vanilla script inc. no more ECC removal
Sync generate_tarball.sh with 11u version
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
Use upstream release URL for OpenJDK source
Apply all patches using -p1
Temporarily turn off 'fresh_libjvm' due to removal of JVM_IsThreadAlive (JDK-8305425)
Fix packaging of CDS archives
Following JDK-8005165, class data sharing can be enabled on all JIT architectures
Exclude classes_nocoops.jsa on i686 and arm32
Introduce vm_variant global for consistency with future JDK builds
Add missing JFR and jpackage alternative ghosts
Move jcmd to the headless package

The JDK build includes CDS archives, classes.jsa and classes_nocoops.jsa
already since JEP 341. Executing -Xshare:dump in the headless post
script breaks AppCDS workflows using dynamic dumps since that relies
on the base CDS archive from the JDK to be unchanged.

** This tarball is embargoed until 2023-10-17 @ 1pm PT. **

- Resolves: RHEL-12228
- Resolves: RHEL-13660
- Resolves: RHEL-13665
- Resolves: RHEL-3494
- Resolves: RHEL-11317
- Resolves: RHEL-3461
2024-07-30 16:16:00 +01:00
Andrew Hughes
30a0113b42 Set portablerelease and portablerhel to use the CentOS 9 build
Resolves: RHEL-36137
2024-06-12 16:37:20 +01:00
Andrew Hughes
c3bd5426d3 Bump release number so we are newer than 9.0
Related: rhbz#2236592
2023-09-04 15:16:07 +01:00
Andrew Hughes
524a5e0fcd Update to jdk-17.0.8.1+1 (GA)
Update release notes to 17.0.8.1+1
Add backport of JDK-8312489 already upstream in 17.0.10 (see OPENJDK-2095)
Update openjdk_news script to specify subdirectory last
Add missing discover_trees script required by openjdk_news
Synchronise runtime and buildtime tzdata requirements

Resolves: rhbz#2236592
2023-09-04 06:51:20 +01:00
Andrew Hughes
d6e5fd7e1f Bump release number so we are newer than 9.0
Related: rhbz#2221106
2023-07-19 15:33:03 +01:00
Andrew Hughes
8b00e74fd7 Update to jdk-17.0.8+7 (GA)
Update release notes to 17.0.8+7
Switch to GA mode for final release.
Sync the copy of the portable specfile with the latest update
Add note at top of spec file about rebuilding

* This tarball is embargoed until 2023-07-18 @ 1pm PT. *

Resolves: rhbz#2221106
2023-07-15 17:44:16 +01:00
Jayashree Huttanagoudar
6e8cc9143b Update to jdk-17.0.8+6 (EA)
Update release notes to 17.0.8+6

Resolves: rhbz#2217716
2023-07-14 16:35:16 +01:00
Andrew Hughes
3cfbee7d01 Update to jdk-17.0.8+1 (EA)
Update release notes to 17.0.8+1
Switch to EA mode
Drop local inclusion of JDK-8274864 & JDK-8305113 as they are included in 17.0.8+1
Bump bundled LCMS version to 2.15 as in jdk-17.0.8+1.
Bump bundled HarfBuzz version to 7.0.1 as in jdk-17.0.8+1
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

Related: rhbz#2217716
2023-07-14 07:53:30 +01:00
Severin Gehwolf
f1455fe9c6 Fix packaging of CDS archives
The JDK build includes CDS archives, classes.jsa and classes_nocoops.jsa
already since JEP 341. Executing -Xshare:dump in the headless post
script breaks AppCDS workflows using dynamic dumps since that relies
on the base CDS archive from the JDK to be unchanged.

Following JDK-8005165, class data sharing can be enabled on all JIT architectures

Exclude classes_nocoops.jsa on i686 and arm32

Introduce vm_variant global for consistency with future JDK builds

Resolves: rhbz#2203412
2023-07-14 07:31:33 +01:00
Andrew Hughes
996271ca29 Update to jdk-17.0.7.0+7
Update release notes to 17.0.7.0+7
Require tzdata 2023c due to local inclusion of JDK-8274864 & JDK-8305113
Update generate_tarball.sh to add support for passing a boot JDK to the configure run
Add POSIX-friendly error codes to generate_tarball.sh and fix whitespace
Remove .jcheck and GitHub support when generating tarballs, as done in upstream release tarballs
Update FIPS support against 17.0.7+6 and bring in latest changes:
- * RH2134669: Add missing attributes when registering services in FIPS mode.
- * test/jdk/sun/security/pkcs11/fips/VerifyMissingAttributes.java: fixed jtreg main class
- * RH1940064: Enable XML Signature provider in FIPS mode
- * RH2173781: Avoid calling C_GetInfo() too early, before cryptoki is initialized
Fix trailing '.' in tarball name
Use portablerelease in vendor version to avoid inclusion of dist tag
Replace local copies of JDK portable binaries with build dependencies
Include the java-17-openjdk-portable.spec file with instructions on how to rebuild.

** This tarball is embargoed until 2023-04-18 @ 1pm PT. **

Resolves: rhbz#2185182
Resolves: rhbz#2189326
Resolves: rhbz#2186803
Resolves: rhbz#2186810
Resolves: rhbz#2186806
2023-04-27 19:14:24 +01:00
Andrew Hughes
b0792766eb Replace build section with extraction of existing builds from portables
Resolves: rhbz#2150200
2023-02-27 16:15:34 +00:00
Andrew Hughes
882bb3c115 Update to jdk-17.0.6.0+10
Update release notes to 17.0.6.0+10
Switch to GA mode for release

Resolves: rhbz#2160111
2023-01-20 17:10:15 +00:00
Andrew Hughes
8b35b21728 Update FIPS support to bring in latest changes
* OJ1357: Fix issue on FIPS with a SecurityManager in place

Related: rhbz#2150198
2023-01-13 22:10:57 +00:00
Stephan Bergmann
dd819ec396 Fix flatpak builds
...after
<6eee73b250>
"Update to jdk-11.0.16.1+1" added the TestTranslations.java "test to ensure
timezones can be translated":  Similar to the previous
<1ac4052b44>
"Fix flatpak builds", during a flatpak build of java-11-openjdk its
.../images/jdk/lib/tzdb.dat is a dangling symlink to
/app/share/javazi-1.8/tzdb.dat (but which will be a working symlink in at least
the assembled LibreOffice flatpak).  That causes execution of
TestTranslations.java during the build to fail due to a
java.io.FileNotFoundException when trying to access that tzdb.dat.  The easiest
fix appears to be to just not run that specific test for a flatpak build.

Related: rhbz#2150198
2023-01-13 22:07:17 +00:00
Andrew Hughes
8022ecd645 Update to jdk-17.0.6+9
Update release notes to 17.0.6+9
Drop local copy of JDK-8293834 now this is upstream
Require tzdata 2022g due to inclusion of JDK-8296108, JDK-8296715 & JDK-8297804
Update TestTranslations.java to test the new America/Ciudad_Juarez zone

Resolves: rhbz#2150198
2023-01-04 03:21:46 +00:00
Andrew Hughes
0d998e66b2 Update to jdk-17.0.6+1
Update release notes to 17.0.6+1
Switch to EA mode for 17.0.6 pre-release builds.
Re-enable EA upstream status check now it is being actively maintained.
Drop JDK-8294357 (tzdata2022d) & JDK-8295173 (tzdata2022e) local patches which are now upstream
Drop JDK-8275535 local patch now this has been accepted and backported upstream
Bump tzdata requirement to 2022e now the package is available in RHEL

Related: rhbz#2150198
2022-12-03 17:51:49 +00:00
Andrew Hughes
60b0ba249b Update FIPS support to bring in latest changes
* Add nss.fips.cfg support to OpenJDK tree
* RH2117972: Extend the support for NSS DBs (PKCS11) in FIPS mode
* Remove forgotten dead code from RH2020290 and RH2104724

Drop local nss.fips.cfg.in handling now this is handled in the patched OpenJDK build

Resolves: rhbz#2118493
2022-11-23 23:22:55 +00:00
Andrew Hughes
bddc601af1 Update to jdk-17.0.5+8 (GA)
Update release notes to 17.0.5+8 (GA)
Switch to GA mode for final release.
Update in-tree tzdata to 2022e with JDK-8294357 & JDK-8295173
Update CLDR data with Europe/Kyiv (JDK-8293834)
Drop JDK-8292223 patch which we found to be unnecessary
Update TestTranslations.java to use public API based on TimeZoneNamesTest upstream
The stdc++lib, zlib & freetype options should always be set from the global, so they are not altered for staticlibs builds
Remove freetype sources along with zlib sources

Resolves: rhbz#2133695
2022-10-26 06:05:33 +01:00
Andrew Hughes
2a4a44856f Update to jdk-17.0.5+7
Update release notes to 17.0.5+7

Resolves: rhbz#2130622
2022-10-07 09:11:36 +01:00
Andrew Hughes
294f63dbef Update to jdk-17.0.5+1
Update release notes to 17.0.5+1
Switch to EA mode for 17.0.5 pre-release builds.
Bump HarfBuzz bundled version to 4.4.1 following JDK-8289853
Bump FreeType bundled version to 2.12.1 following JDK-8290334

Related: rhbz#2130622
2022-10-05 18:10:20 +01:00
Andrew Hughes
d04417859d Switch to static builds, reducing system dependencies and making build more portable
Resolves: rhbz#2121268
2022-08-30 01:24:13 +01:00