From fe87f55d674675c6391ea267b2256b4bebe14022 Mon Sep 17 00:00:00 2001 From: Petra Mikova Date: Thu, 17 Jun 2021 10:22:07 +0200 Subject: [PATCH] Fix patch rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch It makes the SunPKCS provider show up again Resolves: rhbz#1971120 --- java-latest-openjdk.spec | 6 +++++- ...ented_out_nss_cfg_provider_to_java_security.patch | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/java-latest-openjdk.spec b/java-latest-openjdk.spec index 4c02b82..499b56b 100644 --- a/java-latest-openjdk.spec +++ b/java-latest-openjdk.spec @@ -298,7 +298,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 3 +%global rpmrelease 4 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -2230,6 +2230,10 @@ cjc.mainProgram(args) %endif %changelog +* Thu Jun 17 2021 Petra Alice Mikova - 1:16.0.1.0.9-4.rolling +- fix patch rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch which made the SunPKCS provider show up again +- Resolves: rhbz#1971120 + * Fri May 07 2021 Jiri Vanek - 1:16.0.1.0.9-2.rolling - removed cjc backward comaptiblity, to fix when both rpm 4.16 and 4.17 are in transaction diff --git a/rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch b/rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch index ef4c828..7be1fae 100644 --- a/rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch +++ b/rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch @@ -1,11 +1,11 @@ -diff -r e3f940bd3c8f src/java.base/share/conf/security/java.security ---- openjdk/src/java.base/share/conf/security/java.security Thu Jun 11 21:54:51 2020 +0530 -+++ openjdk/src/java.base/share/conf/security/java.security Mon Aug 24 10:14:31 2020 +0200 -@@ -77,7 +77,7 @@ - #ifdef macosx +diff --git openjdk/src/java.base/share/conf/security/java.security openjdk/src/java.base/share/conf/security/java.security +index 534bdae5a16..2df2b59cbf6 100644 +--- openjdk/src/java.base/share/conf/security/java.security ++++ openjdk/src/java.base/share/conf/security/java.security +@@ -78,6 +78,7 @@ security.provider.tbd=SunMSCAPI security.provider.tbd=Apple #endif --security.provider.tbd=SunPKCS11 + security.provider.tbd=SunPKCS11 +#security.provider.tbd=SunPKCS11 ${java.home}/lib/security/nss.cfg #