Commit Graph

575 Commits

Author SHA1 Message Date
Andrew Hughes
d57e765053 Detect FIPS using SECMOD_GetSystemFIPSEnabled in the new libsystemconf JDK library.
Port FIPS system detection support to OpenJDK 8u
Minor code cleanups on FIPS detection patch and check for SECMOD_GetSystemFIPSEnabled in configure.
Remove unneeded Requires on NSS as it will now be dynamically linked and detected by RPM.
2021-09-04 02:14:31 +01:00
Andrew Hughes
37a363e30c Update to aarch64-shenandoah-jdk8u312-b01 (EA)
Update release notes for 8u312-b01.
Switch to EA mode.
Remove "-clean" suffix as no 8u312 builds are unclean.
2021-09-01 23:23:51 +01:00
Jiri Vanek
ae9982ef76 alternatives creation moved to posttrans
Thus fixing the old reisntall issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1200302
https://bugzilla.redhat.com/show_bug.cgi?id=1976053
2021-09-01 16:48:03 +02:00
Andrew Hughes
1b05b0ca2a Remove non-Free test and demo files from source tarball. 2021-08-08 05:41:58 +01:00
Fedora Release Engineering
dc1cbfccd1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 08:56:33 +00:00
Andrew Hughes
3c6c1a2a27 Update to aarch64-shenandoah-jdk8u302-b08 (EA)
Update release notes for 8u302-b08.
Switch to GA mode for final release.
2021-07-21 01:28:21 +01:00
Andrew Hughes
bc8a2c217a Update to aarch64-shenandoah-jdk8u302-b07 (EA)
Update release notes for 8u302-b07.
2021-07-08 02:37:19 +01:00
Andrew Hughes
35d7fdc77f Update to aarch64-shenandoah-jdk8u302-b06 (EA)
Update release notes for 8u302-b06.
2021-07-06 17:31:13 +01:00
Andrew Hughes
6d4aec5be3 Use the "reverse" build loop (debug first) as the main and only build loop to get more diagnostics. 2021-07-05 23:10:29 +01:00
Andrew Hughes
148101f0bc Update to aarch64-shenandoah-jdk8u302-b05 (EA)
Update release notes for 8u302-b05.
2021-07-02 17:28:50 +01:00
Andrew Hughes
cf02803a5d Update to aarch64-shenandoah-jdk8u302-b04 (EA)
Update release notes for 8u302-b04.
2021-07-01 05:31:56 +01:00
Andrew Hughes
585f29fea6 Update to aarch64-shenandoah-jdk8u302-b03-shenandoah-merge-2021-06-23 (EA)
Update release notes for 8u302-b03-shenandoah-merge-2021-06-23.
2021-06-26 23:51:48 +01:00
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