Commit Graph

291 Commits

Author SHA1 Message Date
Thomas Fitzsimmons
dd8226be97 Eliminate javadoc-zip "failed to link ... exists and it is not a symlink" warning
- Eliminate javadoc-zip "failed to link [/usr/share/javadoc/java-21-openjdk.zip] exists and it is not a symlink" warning
- Related: RHEL-68848
2024-12-20 10:38:32 -05:00
Thomas Fitzsimmons
66ba625ecf Eliminate devel "failed to link ... exists and it is not a symlink" warning
- Eliminate devel "failed to link [/usr/lib/jvm/java-21-openjdk] exists and it is not a symlink" warning
- Related: RHEL-68848
2024-12-20 10:38:15 -05:00
Thomas Fitzsimmons
979772ebf9 Fix classes.jsa and classes_nocoops.jsa file-listed-twice warnings
- Fix classes.jsa and classes_nocoops.jsa file-listed-twice warnings
- Resolves: RHEL-71920
2024-12-20 10:37:51 -05:00
Thomas Fitzsimmons
d0e6801e15 Remove full version from uniquesuffix
- Remove full version from uniquesuffix
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
5b0a7267f6 Remove full version from uniquejavadocdir
- Remove full version from uniquejavadocdir
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
c5e1dc484f Replace jrelnk alternative with sdkdir
- Replace jrelnk alternative with sdkdir
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
bad655b906 Move alternatives installation from posttrans to post
- Move alternatives installation from posttrans to post
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
3523fc4a64 Remove exit 0 from alternatives scriptlets
- Remove exit 0 from alternatives scriptlets
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
bbb8d622ae Unroll alternatives --install loops
- Unroll alternatives --install loops
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
768613be8c Remove set_if_needed_alternatives
- Remove set_if_needed_alternatives
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
938f10155b Unwrap alternatives --install lines
- Unwrap alternatives --install lines
- Related: RHEL-68848

The idea with this and the next few patches is that one can use Emacs
Occur mode or grep on the command line to list all alternative masters
by searching for "alternatives --install".
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
fb379dff95 Inline .gz for alternatives slave man pages
- Inline .gz for alternatives slave man pages
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
66b975535a Remove extra newlines
- Remove extra newlines
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
2e945c75c3 Precompute alternative priorities at build time
- Precompute alternative priorities at build time
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
41185b81bf Remove --family arguments to alternatives --install
- Remove --family arguments to alternatives --install
- Related: RHEL-68848
2024-12-20 10:30:18 -05:00
Thomas Fitzsimmons
86b20e17d5 Move postun alternatives logic to preun
- Move postun alternatives logic to preun
- Related: RHEL-68848
2024-12-20 10:30:02 -05:00
Thomas Fitzsimmons
adf8faf24f Remove alternatives removal special handling
- Remove alternatives removal special handling
- Related: RHEL-68848
2024-12-20 10:03:33 -05:00
Thomas Fitzsimmons
7e5968585a Remove copy-jdk-configs logic
- Remove copy-jdk-configs logic
- Related: RHEL-68848
2024-12-20 10:02:29 -05:00
Thomas Fitzsimmons
51a8a9c81f Revert incorrect automated Release change from 1:21.0.5.0.11-2.1
- Revert incorrect automated Release change from 1:21.0.5.0.11-2.1
- Set rpmrelease to 4
- Related: RHEL-68848
2024-12-20 10:01:42 -05:00
Troy Dawson
6b12656d1f Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:37:31 -07:00
Andrew Hughes
812250b5c9 Sync the copy of the portable specfile with the latest update
- Related: RHEL-61276
2024-10-23 20:46:11 +01:00
Andrew Hughes
74a098ef73 Update to jdk-21.0.5+11 (GA)
- Update release notes to 21.0.5+11
- Remove local JDK-8327501 & JDK-8328366 backport as this is now upstream.

- Related: RHEL-61276
2024-10-23 20:45:44 +01:00
Andrew Hughes
7b1e0a26ce Sync the copy of the portable specfile with the latest update
** This tarball is embargoed until 2024-10-15 @ 1pm PT. **

- Related: RHEL-61276
2024-10-23 20:45:18 +01:00
Andrew Hughes
0134e00f77 Update to jdk-21.0.5+10 (GA)
- Update release notes to 21.0.5+10
- Switch to GA mode.
- Revert JDK-8327501 & JDK-8328366 backport until more mature.

** This tarball is embargoed until 2024-10-15 @ 1pm PT. **

- Resolves: RHEL-61276
2024-10-23 20:44:05 +01:00
Andrew Hughes
704ef99843 pkgos definition needs to be early enough to be used in portablesuffix
- Related: RHEL-62239
2024-10-11 22:47:15 +01:00
Andrew Hughes
7c5b900a61 Sync the copy of the portable specfile with the latest update
- Related: RHEL-62239
2024-10-11 21:16:30 +01:00
Andrew Hughes
a5ce9b0a6c Update to jdk-21.0.5+9 (EA)
- Update release notes to 21.0.5+9

- Resolves: RHEL-62239
2024-10-11 21:15:47 +01:00
Andrew Hughes
5fd29db358 Update to jdk-21.0.5+5 (EA)
- Update release notes to 21.0.5+5

- Related: RHEL-62239
2024-10-11 20:32:20 +01:00
Andrew Hughes
4f77af492e Make build scripts executable
- Related: RHEL-62239
2024-10-11 20:31:09 +01:00
Andrew Hughes
0de3d06119 Add build scripts to repository to ease remembering all CentOS & RHEL targets and options
Related: RHEL-62239
2024-10-11 20:30:01 +01:00
Andrew Hughes
a79156e35a Update to jdk-21.0.5+1 (EA)
- Update release notes to 21.0.5+1
- Switch to EA mode
- Bump giflib version to 5.2.2 following JDK-8328999
- Bump libpng version to 1.6.43 following JDK-8329004

- Related: RHEL-62239
- Resolves: RHEL-62241
2024-10-11 20:27:33 +01:00
Andrew Hughes
ecd52634b9 Sync with RHEL 7 portable build
- Use ExclusiveArch over ExcludeArch

- Related: RHEL-62239
2024-10-11 20:03:19 +01:00
Andrew Hughes
871818d536 Vary portablesuffix depending on whether we are on RHEL ('el8') or CentOS ('el9')
Related: RHEL-47024
2024-08-04 23:16:41 +01:00
Andrew Hughes
9a948b5006 Add missing section headers in NEWS
Related: RHEL-47024
2024-08-04 23:10:41 +01:00
Andrew Hughes
17de638368 Sync the copy of the portable specfile with the latest update
Related: RHEL-47024
2024-08-04 23:10:04 +01:00
Andrew Hughes
aa9d2e9de0 Update to jdk-21.0.4+7 (GA)
Update release notes to 21.0.4+7
Switch to GA mode.

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

Resolves: RHEL-47024
2024-08-04 23:08:26 +01:00
Andrew Hughes
8d72e8a1f4 Actually require tzdata 2024a now it is available in the buildroot
Related: RHEL-52723
2024-08-04 23:07:15 +01:00
Andrew Hughes
9ee37c00b6 Limit Java only tests to one architecture using jdk_test_arch
Resolves: RHEL-52735
2024-08-04 23:04:23 +01:00
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