From 7e7c353f91b8afb75384c26ae4d36b2a3f061b73 Mon Sep 17 00:00:00 2001 From: Martin Sirringhaus <> Date: Tue, 12 Dec 2023 09:11:16 +0100 Subject: [PATCH] NSS: Update to 3.90.1 and remove upstreamed patch --- nss/mozilla-nss.spec | 11 +- nss/nss-fix-bmo1813401.patch | 501 ----------------------------------- 2 files changed, 2 insertions(+), 510 deletions(-) delete mode 100644 nss/nss-fix-bmo1813401.patch diff --git a/nss/mozilla-nss.spec b/nss/mozilla-nss.spec index 36804df..19f0677 100644 --- a/nss/mozilla-nss.spec +++ b/nss/mozilla-nss.spec @@ -22,9 +22,9 @@ %define nspr_ver %(rpm -q --queryformat '%%{VERSION}' mozilla-nspr) %define nssdbdir %{_sysconfdir}/pki/nssdb Name: mozilla-nss -Version: 3.90 +Version: 3.90.1 Release: 0 -%define underscore_version 3_90 +%define underscore_version 3_90_1 Summary: Network Security Services License: MPL-2.0 Group: System/Libraries @@ -43,7 +43,6 @@ Source9: pkcs11.txt #Source10: PayPalEE.cert Source11: nss-util.pc.in Source13: nss-util-config.in -Source98: fixed-certs-bmo1813401.tar.gz Source99: %{name}.changes Patch1: nss-opt.patch Patch2: system-nspr.patch @@ -79,7 +78,6 @@ Patch45: nss-fips-drbg-libjitter.patch Patch46: nss-allow-slow-tests.patch Patch47: nss-fips-pct-pubkeys.patch Patch48: nss-fix-bmo1836925.patch -Patch49: nss-fix-bmo1813401.patch %if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000 # aarch64 + gcc4.8 fails to build on SLE-12 due to undefined references BuildRequires: gcc9-c++ @@ -235,11 +233,6 @@ cd nss %patch46 -p1 %patch47 -p1 %patch48 -p1 -%patch49 -p1 - -# GNU patch can't handle git binary changes, so we split off the -# binaries into it's own tarball and overwrite the old ones here -tar xvf %{SOURCE98} # additional CA certificates #cd security/nss/lib/ckfw/builtins diff --git a/nss/nss-fix-bmo1813401.patch b/nss/nss-fix-bmo1813401.patch deleted file mode 100644 index 6d5de8d..0000000 --- a/nss/nss-fix-bmo1813401.patch +++ /dev/null @@ -1,501 +0,0 @@ -# HG changeset patch -# User John M. Schanck -# Date 1692121535 0 -# Node ID 1d565dc7e17dad6d2851b2d6ff522c5d6345ae26 -# Parent 7dc3bdfca66c1eb38b0fd2a7d463d636cc662c2f -Bug 1813401 - regenerate NameConstraints test certificates. r=djackson - -This also changes the validity period of test certs generated by `make-nc` -from ~10 years to ~20 years. - -NOTE: Removed the git binary diffs and moved those to fixed-certs-bmo1813401.tar.gz - because `patch` can't handle binary diffs. - -Differential Revision: https://phabricator.services.mozilla.com/D185088 - -diff --git a/tests/libpkix/certs/make-nc b/tests/libpkix/certs/make-nc ---- a/tests/libpkix/certs/make-nc -+++ b/tests/libpkix/certs/make-nc -@@ -6,32 +6,32 @@ - - mkdir tmp - cd tmp - dd if=/dev/urandom bs=512 count=1 of=noise - echo "" > pwfile - - certutil -d . -N -f pwfile - --certutil -S -z noise -g 1024 -d . -n ca -s "CN=NSS Test CA,O=BOGUS NSS,L=Mountain View,ST=California,C=US" -t C,C,C -x -m 1 -w -2 -v 120 -1 -2 -5 <