Commit graph

92 commits

Author SHA1 Message Date
Thomas Fitzsimmons
fbce71b416 Parallelize xz across all available cores 2024-02-01 17:19:30 -05:00
Thomas Fitzsimmons
81242a8ca1 double-build.bash: New file 2024-02-01 17:19:30 -05:00
Thomas Fitzsimmons
760cf591ef Default to without fresh_libjvm now that 17.0.9.0.9-1 is staged 2024-02-01 17:19:30 -05:00
Thomas Fitzsimmons
de735c13d4 generate_source_tarball.sh: Add indentation instructions for Emacs 2024-02-01 17:19:30 -05:00
Jiri Vanek
28c095a31c generate_source_tarball.sh: Remove trailing period in echo 2024-02-01 17:19:30 -05:00
Jiri Vanek
b0cf3e30ed generate_source_tarball.sh: Update version in comment 2024-02-01 17:19:30 -05:00
Thomas Fitzsimmons
0fb5556248 generate_source_tarball.sh: Use git archive to generate tarball 2024-02-01 17:19:30 -05:00
Thomas Fitzsimmons
579c52c187 generate_source_tarball.sh: Get -ea suffix from version-numbers.conf 2024-02-01 17:19:28 -05:00
Thomas Fitzsimmons
6ec73fa201 generate_source_tarball.sh: Skip -ga tags 2024-02-01 17:18:56 -05:00
Thomas Fitzsimmons
147a1a61fe generate_source_tarball.sh: Fix whitespace 2024-02-01 16:41:23 -05:00
Thomas Fitzsimmons
5c117d3ed1 Explain patchN syntax situation in a comment 2024-02-01 16:40:34 -05:00
Thomas Fitzsimmons
61ca75ff91 Remove extra slash in use_shenandoah_hotspot JAVA_HOME expansion 2024-02-01 16:39:16 -05:00
Thomas Fitzsimmons
a7c3189f17 Fix icedteaver macro reference syntax 2024-02-01 16:38:09 -05:00
Thomas Fitzsimmons
e69fc8642a Fix comment to match RHEL 9.2.0 branch 2024-02-01 16:36:40 -05:00
Thomas Fitzsimmons
6bb34a513b Correct rh1649512 patch name 2024-02-01 16:35:38 -05:00
Thomas Fitzsimmons
9e3fc6a071 Sync macro definition ordering from java-21-openjdk.spec 2024-02-01 16:30:37 -05:00
Thomas Fitzsimmons
dd76ce1ebf Sync whitespace and comments from java-21-openjdk.spec 2024-02-01 16:29:54 -05:00
Andrew Hughes
a78b877281 Introduce vm_variant global for consistency with future JDK builds
Related: rhbz#2203412
2024-02-01 16:14:55 -05:00
Andrew Hughes
1da406d05a Check debug symbols in libnet.a static library as a smoke test 2024-02-01 16:10:26 -05:00
Andrew Hughes
53236fc316 Use featurever macro to specify fips patch 2024-02-01 16:06:46 -05:00
Andrew Hughes
3d8d70e367 Update buildjdkver to match the featurever 2024-02-01 16:06:46 -05:00
Andrew Hughes
e281218633 Turn off building a fresh HotSpot first in some cases 2024-02-01 16:06:46 -05:00
Andrew Hughes
ad182ef408 BuildRequires javapackages-filesystem for _jvmdir macro 2024-02-01 15:45:57 -05:00
Thomas Fitzsimmons
2bd56cb6f4 NEWS: Add initial changes for 17.0.11 2024-02-01 15:35:27 -05:00
Thomas Fitzsimmons
bca5c311fe Update to jdk-17.0.11+1 (EA) 2024-01-31 11:51:16 -05:00
Andrew Hughes
aafd7730e3 Update to jdk-17.0.10+7 (GA)
Update release notes to 17.0.10+7
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
Switch to GA mode for release

** This tarball is embargoed until 2024-01-16 @ 1pm PT. **
2024-01-11 20:20:08 +00:00
Andrew Hughes
332a2652f4 generate_source_tarball.sh: Add note on network usage of OPENJDK_LATEST
generate_source_tarball.sh: Remove unneeded FIXME
2024-01-11 17:22:06 +00:00
Andrew Hughes
656503e650 Update release notes to 17.0.10+6
Revert change to patch macro due to failure on RHEL 8
generate_source_tarball.sh: Add --sort=name to tar invocation for reproducibility
2024-01-11 17:12:32 +00:00
Thomas Fitzsimmons
34a3029d6a Update to jdk-17.0.10+6 (EA)
- Update to jdk-17.0.10+6 (EA)
- 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
2024-01-11 15:47:38 +00:00
Andrew Hughes
0a6c29764b Add missing CVE and release note to sync local NEWS with upstream release announcements 2023-10-28 22:44:00 +01:00
Andrew Hughes
841ffa2036 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)

** This tarball is embargoed until 2023-10-17 @ 1pm PT. **
2023-10-14 16:30:02 +01:00
Andrew Hughes
d5fc487985 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
2023-09-02 23:49:37 +01:00
Andrew Hughes
7bbe5c4875 Update to jdk-17.0.8+7 (GA)
Update release notes to 17.0.8+7
Switch to GA mode for final release.

* This tarball is embargoed until 2023-07-18 @ 1pm PT. *
2023-07-14 16:12:39 +01:00
Andrew Hughes
737623a586 Update to jdk-17.0.8+6 (EA)
Update release notes to 17.0.8+6
2023-07-13 02:48:15 +01:00
Andrew Hughes
65290ab361 Make sure the unstripped JDK is customised by the installjdk function 2023-07-13 01:20:12 +01:00
Andrew Hughes
b8872014ca Rebuild jmods using the stripped binaries in release builds
Resolves: OPENJDK-1974
2023-07-12 03:05:25 +01:00
Andrew Hughes
5fa8ebc851 Use absolute path to tapset directory
Drop unused globals for tapset installation
2023-07-05 00:44:19 +01:00
Andrew Hughes
fc13aeb71a Re-enable SystemTap support and perform only substitutions possible without final NVR available
Depend on graphviz & pandoc for full documentation support
Fix typo which stops the EA designator being included in the build
Include tapsets in the miscellaneous tarball
2023-07-04 18:56:28 +01:00
Andrew Hughes
78e0c1d829 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
2023-07-03 18:50:18 +01:00
Andrew Hughes
3ef8417a72 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
Reintroduce generate_source_tarball.sh from RHEL 9
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 rpmrelease in vendor version to avoid inclusion of dist tag

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

Resolves: rhbz#2185182
Resolves: rhbz#2134669
Resolves: rhbz#1940064
Resolves: rhbz#2173781
2023-04-26 00:41:06 +01:00
Andrew Hughes
eb2209e4e7 Explicitly exclude x86, as on RHEL RPMs
Remove remaining traces of devtoolset
2023-04-24 18:12:09 +01:00
Andrew Hughes
ca5fc0c23a Sync with existing RHEL 8 build, in order to start building portables on RHEL 8
Restore system bootstrap JDK (RHEL 8 has java-17-openjdk)
Remove use of devtoolset (RHEL 8 native compilers should be sufficient)
2023-04-20 16:51:05 +01:00
Andrew Hughes
2a19b8a87c Add docs, icons and samples to the portable output
Make sure generated checksums work and don't include full path
The docs directory is a subdirectory of images, so remove confusing separate copying
2023-02-22 03:28:57 +00:00
Andrew Hughes
60cd0e2276 Build with internal debuginfo as in RHEL and then create a stripped variant ourselves for the portable release build
Restore compiler flags to those used in RHEL
Drop unused static library patch
Drop syslookup workaround which was fixed by JDK-8276572 over a year ago
2023-02-15 02:55:46 +00:00
Andrew Hughes
72b65c41dd Separate JDK packaging into a separate function
Use variables to make it clearer what is going on
Use a package output directory as we do for building and installing
Workaround missing manpage directory in the JRE image
2023-02-15 01:09:28 +00:00
Andrew Hughes
417b3f96f0 Adapt the portable build to use the same system library handling as RHEL builds 2023-02-12 02:06:14 +00:00
Andrew Hughes
3186c5c0f4 Add missing release note for JDK-8295687
Resolves: rhbz#2160111
2023-01-14 02:49:29 +00:00
Andrew Hughes
4d38f2d06b 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
* OJ1357: Fix issue on FIPS with a SecurityManager in place

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

Resolves: rhbz#2118493
2023-01-14 02:43:25 +00:00
Stephan Bergmann
7807b2e9d7 Fix flatpak builds
...after
<https://src.fedoraproject.org/rpms/java-11-openjdk/c/6eee73b250484d6c740ce27eb03f36afe0526775>
"Update to jdk-11.0.16.1+1" added the TestTranslations.java "test to ensure
timezones can be translated":  Similar to the previous
<https://src.fedoraproject.org/rpms/java-11-openjdk/c/1ac4052b443719e5c582eff9ce30691e043be01f>
"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#2160111
2023-01-14 02:35:09 +00:00
Andrew Hughes
9451e4822a Update to jdk-17.0.6.0+10
Update release notes to 17.0.6.0+10
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
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

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

Resolves: rhbz#2160111
2023-01-11 21:14:51 +00:00