Commit graph

82 commits

Author SHA1 Message Date
Jiri Vanek
6a5c33bd51 to pass aqa, fixing genuie failures
- java/lang/SecurityManager/CheckAccessClassInPackagePermissions.java#CheckAccessClassInPackagePermissions
- javax/xml/crypto/dsig/FileSocketPermissions.java#FileSocketPermissions
- added and applied patch2001: aqaCheckSecurityAndProviderFileSocketPermissions.patch
- this, properly named, patch must go to all our jdk17 builds, and to the fips repo
2023-08-01 18:16:18 +01:00
Jiri
f854bb3955 to pass aqa:
- removed copy system tzdb in favour of in-tree
- removed Patch2: rh1648644-java_access_bridge_privileged_security.patch
- This is not intended to release untill we decide proper steps
2023-08-01 18:16:13 +01:00
Jiri
db30cb87cd Fixed version of boot jdk in changelog 2023-08-01 18:16:07 +01:00
Jayashree Huttanagoudar
ff73d40cdf Necessary changes to have s390x build 2023-08-01 18:16:02 +01:00
Jayashree Huttanagoudar
31ca44e60f April 2022 security update to jdk 17.0.3+7
Update to jdk-17.0.3.0+7 tarball
Update release notes to 17.0.3.0+7
JDK-8284548 and JDK-8284920 are no longer needed now they are upstreamed

Resolves: rhbz#2073579
2023-08-01 18:15:58 +01:00
Jayashree Huttanagoudar
de95217425 Bump rpmrelease value to 3 2023-08-01 18:15:56 +01:00
Jayashree Huttanagoudar
f79da4a340 Add JDK-8284920 fix for XPath regression
Related: rhbz#2073575
2023-08-01 18:15:53 +01:00
Jayashree Huttanagoudar
21a6918fd7 JDK-8275082 should be listed as also resolving JDK-8278008 & CVE-2022-21476
Also, removed jdk8283911-default_promoted_version_pre.patch which missed in previous commit
Related: rhbz#2073575
2023-08-01 18:15:50 +01:00
Jayashree Huttanagoudar
da5c94ed84 April 2022 security update to jdk 17.0.3+6
Update to jdk-17.0.3.0+6 pre-release tarball (17usec.17.0.3+5-220408)
Add JDK-8284548 regression fix missing from pre-release tarball but in jdk-17.0.3+6/jdk-17.0.3-ga
Update release notes to 17.0.3.0+6
Add missing README.md and generate_source_tarball.sh
Introduce tests/tests.yml, based on the one in java-11-openjdk
JDK-8283911 patch no longer needed now we're GA
Switch to GA mode for release

** This tarball is embargoed until 2022-04-19 @ 1pm PT. **

Resolves: rhbz#2073575
2023-08-01 18:15:47 +01:00
Jayashree Huttanagoudar
d0457b1efa Update to jdk-17.0.3.0+5
Update release notes to 17.0.3.0+5

Resolves: rhbz#2050460
2023-08-01 18:15:44 +01:00
Jayashree Huttanagoudar
7b82530a1e Update to jdk-17.0.3.0+1
Update release notes to 17.0.3.0+1
Switch to EA mode for 17.0.3 pre-release builds.
Add JDK-8283911 to fix bad DEFAULT_PROMOTED_VERSION_PRE value

Related: rhbz#2050456
2023-08-01 18:15:40 +01:00
Jayashree Huttanagoudar
90b7f69466 Add missing file icedtea_sync.sh for the commit with message :
"Update tapsets from IcedTea 6.x repository with fix for JDK-8015774 changes"
2023-08-01 18:15:37 +01:00
Jayashree Huttanagoudar
6013277b98 Cherry-pick appropriate spec file changes from Fedora
* Restructure the build so a minimal initial build is then used for the final build (with docs)
  - This reduces pressure on the system JDK and ensures the JDK being built can do a full build
* Turn off bootstrapping for slow debug builds, which are particularly slow on ppc64le.
* Handle Fedora in distro conditionals that currently only pertain to RHEL.
* Replace tabs by sets of spaces to make rpmlint happy
  - Run OpenJDK normalizer script on the spec file to fix further rogue whitespace
* javadoc-zip gets its own provides next to plain javadoc ones
* Sync gdb test with java-1.8.0-openjdk and improve architecture restrictions.
* Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)
  - Need to support noarch for creating source RPMs for non-scratch builds.
* Support a HotSpot-only build so a freshly built libjvm.so can then be used in the bootstrap JDK.
  - Replace -mstackrealign with -mincoming-stack-boundary=2 -mpreferred-stack-boundary=4 on x86_32 for stack alignment
  - Explicitly list JIT architectures rather than relying on those with slowdebug builds
  - Disable the serviceability agent on Zero architectures even when the architecture itself is supported

Resolves: rhbz#2022822
2023-08-01 18:15:34 +01:00
Jayashree Huttanagoudar
48cff6469e Enable AlgorithmParameters and AlgorithmParameterGenerator services in FIPS mode
Resolves: rhbz#2052070
2023-08-01 18:15:32 +01:00
Jayashree Huttanagoudar
f3b97620d7 Detect NSS at runtime for FIPS detection
Turn off build-time NSS linking and go back to an explicit Requires on NSS

Resolves: rhbz#2051605
2023-08-01 18:15:30 +01:00
Jayashree Huttanagoudar
7d25815616 Add JDK-8275535 patch to fix LDAP authentication issue.
Resolves: rhbz#2053521
2023-08-01 18:15:28 +01:00
Jayashree Huttanagoudar
19e868eeab Minor cosmetic improvements to make spec more comparable between variants
Related: rhbz#2022822
2023-08-01 18:15:26 +01:00
Jayashree Huttanagoudar
c2f0edd525 Update tapsets from IcedTea 6.x repository with fix for JDK-8015774 changes (_heap->_heaps) and @JAVA_SPEC_VER@
Update icedtea_sync.sh with a VCS mode that retrieves sources from a Mercurial repository

Related: rhbz#2022822
2023-08-01 18:15:24 +01:00
Jayashree Huttanagoudar
ce7240fa21 Set LTS designator, excluding EPEL.
Related: rhbz#2022822
2023-08-01 18:15:21 +01:00
Jayashree Huttanagoudar
359ce793b4 Separate crypto policy initialisation from FIPS initialisation, now they are no longer interdependent 2023-08-01 18:15:19 +01:00
Jayashree Huttanagoudar
862646fb41 Fix FIPS issues in native code and with initialisation of java.security.Security
Related: rhbz#2039366
2023-08-01 18:15:15 +01:00
Jayashree Huttanagoudar
bd4ac4906f January 2022 security update to jdk 17.0.2+8
Rebase RH1995150 & RH1996182 patches following JDK-8275863 addition to module-info.java

** This tarball is embargoed until 2022-01-18 @ 1pm PT. **

Resolves: rhbz#2039366
2023-08-01 18:15:12 +01:00
Jayashree Huttanagoudar
a0fe203bb4 Use 'sql:' prefix in nss.fips.cfg as F35+ no longer ship the legacy secmod.db file as part of nss
Resolves: rhbz#2023537
2023-08-01 18:15:08 +01:00
Jiri Vanek
216e7bba5f October CPU update to jdk 17.0.1+12
- Drop JDK-8272332/RH2004078 patch which is upstream in 17.0.1
- October CPU update to jdk 17.0.1+12
- Allow plain key import to be disabled with -Dcom.redhat.fips.plainKeySupport=false
- Add patch to allow plain key import.
2023-08-01 18:15:05 +01:00
Jiri Vanek
7f6097a655 Disable FIPS mode detection using NSS in favour of using /proc/sys/crypto/fips_enabled for now, so we don't link against NSS
effectively disabled Patch1008: rh1929465-improve_system_FIPS_detection.patch by settng --enable-sysconf-nss to --disable-sysconf-nss
the enable-sysconf-nss was bringing in hard depndence on nss. Without nss, even in non fips, jvm had not even started
2023-08-01 18:15:02 +01:00
Jiri Vanek
f1d82cc81b cacerts symlink is resolved before passed to configure
https://issues.redhat.com/browse/OPENJDK-487
2023-08-01 18:14:59 +01:00
Jiri Vanek
682f4136c9 Removed brackets from define components and added comment 2023-08-01 18:14:58 +01:00
Jiri Vanek
b963711847 Commented out test on staticlibs
todo, fix. Is passing on portable11 and rpms17
2023-08-01 18:14:55 +01:00
Jiri Vanek
9ed2927b45 Fixed bugzilla component to be java-x-vendor
instead of java-x-vendor-poratble caused by rcent rename
2023-08-01 18:14:54 +01:00
Jiri Vanek
27d7e2e419 Redeffined _jvmdir /usr/lib/jvm is missing here
todo, find why, it is jdk17 portables specific
2023-08-01 18:14:51 +01:00
Jiri
97e6d6d019 initial import, based on jdk11 portbale, merged with jdk17 rpms and java-latest-openjdk for epel7 2023-08-01 18:14:48 +01:00
Release Configuration Management
3e6968a40b New branch setup 2023-06-14 11:15:34 +00:00