Commit Graph

663 Commits

Author SHA1 Message Date
Andrew Hughes
0e6069cde3 Support the FIPS mode crypto policy.
Backport FIPS mode patch to java-1.8.0-openjdk, simplifying provider removal.
nss.fips.cfg needs to be moved to %%{etcjavadir} and symlinked into the JDK, like nss.cfg
SunPKCS11 runtime provider name is a concatenation of "SunPKCS11-" and the name in the config file.
Change nss.fips.cfg config name to "NSS-FIPS" to avoid confusion with nss.cfg.
Disable FIPS mode support unless com.redhat.fips is set to "true".
Add JDK-8195607/PR3776 to support NSS SQLite databases.
Use appropriate keystore types when in FIPS mode (RH1760838)
Enable alignment with FIPS crypto policy by default (-Dcom.redhat.fips=false to disable).
Disable TLSv1.3 when using the NSS-FIPS provider (RH1860986)
Move setup of JavaSecuritySystemConfiguratorAccess to Security class so it always occurs (RH1906862)
Add explicit runtime dependency on NSS for the PKCS11 provider in FIPS mode
2021-06-08 05:46:02 +01:00
Andrew Hughes
9bb503395a Update to aarch64-shenandoah-jdk8u302-b03 (EA)
Update release notes for 8u302-b03.
2021-06-07 13:35:52 +01:00
Andrew Hughes
6d48cf0847 Update to aarch64-shenandoah-jdk8u302-b02 (EA)
Update release notes for 8u302-b02.
2021-06-04 06:51:37 +01:00
Andrew Hughes
4c96112694 Update to aarch64-shenandoah-jdk8u302-b01 (EA)
Update release notes for 8u302-b01.
Switch to EA mode.
2021-06-02 06:03:04 +01:00
Jiri
f2efa3b930 removed cjc backward comaptiblity, to fix when both rpm 4.16 and 4.17 are in transaction 2021-05-10 20:34:52 +02:00
Sérgio M. Basto
808d7a0c2c Fix upgrade path after removal of accessibility subpackage. As main accessibility was requiring main package,
main package now have to obsolete java-1.8.0-openjdk-accessibility-{release, slowdebug, fastdebug} < 1:1.8.0.292.b06
  otherwise update fails
2021-05-04 11:22:44 +01:00
Jiri
7c44d4d12d Adapted to rpm 4.17 and cjc 4.0
As rpm 4.17 dropped arg from varaibale table, cjc now have to be sued as
module. cjc 4.0 was converted to module
2021-04-29 17:35:13 +02:00
Andrew Hughes
2e183d309d Update to aarch64-shenandoah-jdk8u292-b10 (GA)
Update release notes for 8u292-b10.
2021-04-22 01:15:41 +01:00
Andrew Hughes
2d9c5160dd Update to aarch64-shenandoah-jdk8u292-b09 (EA)
Update release notes for 8u292-b09.
2021-04-09 04:21:06 +01:00
Andrew Hughes
34aae23aaf Fix bad date in Changelog. 2021-04-08 07:18:29 +01:00
Andrew Hughes
5df61f34ef Update to aarch64-shenandoah-jdk8u292-b08 (EA)
Update release notes for 8u292-b08.
Require tzdata 2021a due to JDK-8260356
2021-04-08 07:13:15 +01:00
Andrew Hughes
b11200180b Update to aarch64-shenandoah-jdk8u292-b07 (EA)
Update release notes for 8u292-b07.
2021-03-30 04:17:23 +01:00
Jiri Vanek
0c79c1451e removal of atk accessibility bridge bindings:
- removed libatk-wrapper[.]so.* from global _privatelibs
- removed files_accessibility and java_accessibility_rpo macros
- removed patch1 rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch and patch3 rh1648644-java_access_bridge_privileged_security.patch
- removal of accessibility{,-slowdebug,-fastdebug} subpackages
- no longer creating symlinks of %%{_libdir}/java-atk-wrapper/libatk-wrapper.so.0 libatk-wrapper.so and  %%{_libdir}/java-atk-wrapper/java-atk-wrapper.jar  java-atk-wrapper.jar
- no longer creating %%{_jvmdir}/%{jredir -- $suffix}/lib/accessibility.properties with content of "assistive_technologies=org.GNOME.Accessibility.AtkWrapper"
- removal of accessibility{,-slowdebug,-fastdebug} subpackages files sections
2021-03-24 11:18:46 +01:00
Andrew Hughes
4efcbc5b87 Update to aarch64-shenandoah-jdk8u292-b06 (EA)
Update release notes for 8u292-b06.
Require tzdata 2020f due to JDK-8259048
2021-03-22 04:00:13 +00:00
Andrew Hughes
a63448df0f Update to aarch64-shenandoah-jdk8u292-b05-shenandoah-merge-2021-03-11 (EA)
Update release notes for 8u292-b05-shenandoah-merge-2021-03-11.
Extend s390 patch to fix issue caused by JDK-8252660 backport and lack of JDK-8188813 in 8u.
Revise JDK-8252660 s390 failure to make _soft_max_size a jlong so pointer types are accurate.
2021-03-19 02:46:15 +00:00
Andrew Hughes
c98058256b Re-organise S/390 patches for upstream submission, separating 8u upstream from Shenandoah fixes.
Add new formatting case found in memprofiler.cpp on debug builds to PR3593 patch.
2021-03-18 18:55:49 +00:00
Andrew Hughes
13bfe740ca Update to aarch64-shenandoah-jdk8u292-b05 (EA)
Update release notes for 8u292-b05.
2021-03-09 17:18:55 +00:00
Andrew Hughes
1b76c65723 Update to aarch64-shenandoah-jdk8u292-b04 (EA)
Update release notes for 8u292-b04.
2021-03-05 06:01:54 +00:00
Andrew Hughes
36a26ce298 Update to aarch64-shenandoah-jdk8u292-b03 (EA)
Update release notes for 8u292-b03.
2021-03-04 18:37:48 +00:00
Andrew Hughes
af1441c751 Update to aarch64-shenandoah-jdk8u292-b02 (EA)
Update release notes for 8u292-b02.
2021-03-03 02:14:53 +00:00
Andrew Hughes
572aa88c57 Update to aarch64-shenandoah-jdk8u292-b01 (EA)
Update release notes for 8u292-b01.
Switch to EA mode.
Update tarball generation script to use PR3822 which handles JDK-8233228 & JDK-8035166 changes
2021-02-20 03:23:35 +00:00
Andrew Hughes
4916ef5be4 Hardcode /usr/sbin/alternatives for Flatpak builds
/usr/sbin/alternatives is not under the Flatpak build's %{_prefix},
which is set to /app.

(See <https://pagure.io/packaging-committee/issue/848> "Clarify the
use of path macros with respect to build dependencies").

Found when trying to do a LibreOffice Flatpak build from RHEL RPM
specs, which includes java-1.8.0-openjdk among its components.
2021-02-18 19:01:12 +00:00
Andrew Hughes
dfa3a28dae Cleanup package descriptions and version number placement. 2021-01-30 16:01:35 +00:00
Andrew Hughes
1bf2c1361b Include a test in the RPM to check the build has the correct vendor information.
Use 'oj_' prefix on new vendor globals to avoid a conflict with RPM's vendor value.
2021-01-26 12:33:16 +00:00
Andrew Hughes
394d30bddd Add directories to files directive for demo package. 2021-01-25 04:00:37 +00:00
Andrew Hughes
e5ff6faa6e Use RSA as default for keytool, as DSA is disabled in all crypto policies except LEGACY 2021-01-24 16:22:25 +00:00
Andrew Hughes
5bfb5658af Update to aarch64-shenandoah-jdk8u282-b08 (GA)
Update release notes for 8u282-b08.
2021-01-24 05:43:24 +00:00
Andrew Hughes
795674edca Update to aarch64-shenandoah-jdk8u282-b07 (EA)
Update release notes for 8u282-b07 and make some minor corrections.
2021-01-15 06:03:24 +00:00
Tom Stellard
f9c1e98886 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-13 02:33:57 +00:00
Andrew Hughes
0edc2332e2 Update to aarch64-shenandoah-jdk8u282-b04 (EA)
Update release notes for 8u282-b04.
Remove upstreamed patch PR3519
2021-01-06 04:10:08 +00:00
Andrew Hughes
2d21fabf50 Update to aarch64-shenandoah-jdk8u282-b03 (EA)
Update release notes for 8u282-b03.
2021-01-04 23:39:49 +00:00
Jiri Vanek
a1645ffbc0 Fixed typo in variable 2021-01-04 12:08:01 +01:00
Andrew Hughes
db53a2c1ca Update to aarch64-shenandoah-jdk8u282-b02 (EA)
Update release notes for 8u282-b02.
2020-12-29 19:50:58 +00:00
Andrew Hughes
887fd98b75 Update to aarch64-shenandoah-jdk8u282-b01 (EA)
Update release notes for 8u282-b01.
Switch to EA mode.
Remove PR3601, covered upstream by JDK-8062808.
Remove upstreamed JDK-8197981/PR3548, JDK-8062808/PR3548 & JDK-8254177.
Extend RH1750419 alt-java fix to include external debuginfo, following JDK-8252395
Adapt JDK-8143245 patch, following JDK-8254166
2020-12-22 22:24:49 +00:00
Jiri
23664c3b90 fixed missing condition for fastdebug packages being counted as debug ones 2020-12-22 10:59:01 +01:00
Andrew Hughes
8a8ab814be Enable JFR on x86, now we have JDK-8252096: Shenandoah: adjust SerialPageShiftCount for x86_32 and JFR 2020-12-21 15:58:54 +00:00
Jiri
12a52127ab returned license for javadoc as correctly noarch 2020-12-21 09:42:40 +01:00
Jiri
66faaa32c3 introduced fastdebug build cycle and subpackages 2020-12-20 17:51:35 +01:00
Jiri Vanek
aa2fac59de Added checks and restrictions around alt-java 2020-12-17 15:49:22 +01:00
Jiri Vanek
1175043de1 Redeffined linux -> __linux__ and __x86_64 -> __x86_64__ 2020-12-17 13:34:57 +01:00
Jiri
1b5d0082c3 Fixes comment for speculative store bypass patch 2020-12-07 20:05:38 +01:00
Jiri Vanek
f40d118516 Replaced alt-java palceholder by real pathced alt-java 2020-12-02 17:13:53 +01:00
Jiri
277adb5a50 Created a copy of java as alt-java and adapted alternatives and man pages
Sync alt-java support with java-11-openjdk version.
2020-11-23 23:03:50 +01:00
Andrew Hughes
1eff715bb4 Update to aarch64-shenandoah-jdk8u275-b01 (GA)
Update release notes for 8u275.
2020-11-16 14:45:12 +00:00
Jeff Law
f82ab873a8 Avoid "register" for C++17 2020-10-31 14:52:46 -06:00
Andrew Hughes
0278f514ee Update to aarch64-shenandoah-jdk8u272-b10.
Switch to GA mode for final release.
Update release notes for 8u272 release.
Add backport of JDK-8254177 to update to tzdata 2020b
Require tzdata 2020b due to resource changes in JDK-8254177
Adjust JDK-8062808/PR3548 following constantPool.hpp context change in JDK-8243302
Adjust PR3593 following g1StringDedupTable.cpp context change in JDK-8240124 & JDK-8244955
2020-10-21 02:45:11 +00:00
Andrew Hughes
f805bfcfda Update to aarch64-shenandoah-jdk8u272-b09 (EA). 2020-09-28 05:11:08 +00:00
Andrew Hughes
6037d594ee Update to aarch64-shenandoah-jdk8u272-b08 (EA). 2020-09-16 16:30:53 +00:00
Andrew Hughes
a9172932cb Update to aarch64-shenandoah-jdk8u272-b07. 2020-09-16 06:13:46 +00:00
Andrew Hughes
96b7bf4ad0 Update to aarch64-shenandoah-jdk8u272-b06.
Update tarball generation script to use PR3799, following inclusion of JDK-8245468 (TLSv1.3)
2020-09-04 15:46:00 +00:00