From 7496184c5d5fc85e8a14dd2225b6d168d5302a84 Mon Sep 17 00:00:00 2001 From: Krenzelok Frantisek Date: Wed, 13 Nov 2024 12:18:58 +0100 Subject: [PATCH] Resolves: RHEL-58729 --- nss-3.90-ppc_no_init.patch | 29 +++++++++++++++++++++++++++++ nss.spec | 5 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/nss-3.90-ppc_no_init.patch b/nss-3.90-ppc_no_init.patch index 134955a..75ee08e 100644 --- a/nss-3.90-ppc_no_init.patch +++ b/nss-3.90-ppc_no_init.patch @@ -34,3 +34,32 @@ diff -up ./lib/softoken/Makefile.ppc_no_init ./lib/softoken/Makefile ####################################################################### +diff -up ./lib/softoken/legacydb/Makefile.ppc_no_init ./lib/softoken/legacydb/Makefile +--- ./lib/softoken/legacydb/Makefile.ppc_no_init 2024-11-12 11:51:16.535343581 +0100 ++++ ./lib/softoken/legacydb/Makefile 2024-11-12 12:09:58.968187800 +0100 +@@ -23,16 +23,17 @@ include $(CORE_DEPTH)/coreconf/config.mk + ifdef NSS_NO_INIT_SUPPORT + DEFINES += -DNSS_NO_INIT_SUPPORT + endif +-ifeq ($(OS_TARGET),Linux) +-ifeq ($(CPU_ARCH),ppc) +-ifdef USE_64 +- DEFINES += -DNSS_NO_INIT_SUPPORT +-endif # USE_64 +-endif # ppc +-else # !Linux ++#ifeq ($(OS_TARGET),Linux) ++#ifeq ($(CPU_ARCH),ppc) ++#ifdef USE_64 ++# DEFINES += -DNSS_NO_INIT_SUPPORT ++#endif # USE_64 ++#endif # ppc ++#else # !Linux ++ifneq ($(OS_TARGET),Linux) + # turn off no init support everywhere for now + DEFINES += -DNSS_NO_INIT_SUPPORT +-endif # Linux ++endif # !Linux + + ####################################################################### + # (4) Include "local" platform-dependent assignments (OPTIONAL). # diff --git a/nss.spec b/nss.spec index 8403abc..a5f86d6 100644 --- a/nss.spec +++ b/nss.spec @@ -63,7 +63,7 @@ print(string.sub(hash, 0, 16)) Summary: Network Security Services Name: nss Version: %{nss_version} -Release: 10%{?dist} +Release: 11%{?dist} License: MPLv2.0 URL: http://www.mozilla.org/projects/security/pki/nss/ Requires: nspr >= %{nspr_version}%{nspr_release} @@ -1002,6 +1002,9 @@ update-crypto-policies --no-reload &> /dev/null || : %changelog +* Tue Nov 12 2024 Frantisek Krenzelok - 3.101.0-11 +- don't define -DNSS_NO_INIT_SUPPORT for legacydb on pcc systems + * Mon Nov 11 2024 Frantisek Krenzelok - 3.101.0-10 - Allow RSA-OAEP in FIPS mode