public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nss] f44: Rebase nspr-gcc-atomics.patch for NSS 3.134.0 / NSPR 4.41
@ 2026-11-25 14:04
0 siblings, 0 replies; only message in thread
From: @ 2026-11-25 14:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nss
Branch : f44
Commit : aa5ae7e2947a39e0e85e1355cbb5f897d8683aae
Author : Krenželok František <fkrenzel@redhat.com>
Date : 2026-11-25T12:11:46+01:00
Stats : +33/-31 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/nss/c/aa5ae7e2947a39e0e85e1355cbb5f897d8683aae?branch=f44
Log:
Rebase nspr-gcc-atomics.patch for NSS 3.134.0 / NSPR 4.41
Upstream NSPR reformatted pr/include/md/_linux.h with clang-format,
changing pointer declarations from 'PRInt32 *val' to 'PRInt32* val'.
This broke all 4 hunks of nspr-gcc-atomics.patch at fuzz=0. The
GCC-builtin-atomics feature the patch adds for __i386__/__x86_64__ is
still not present upstream, so the patch is still needed. Rebased the
patch's context lines to match the new formatting; no semantic change.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---
diff --git a/.gitignore b/.gitignore
index ed185b2..c1b9276 100644
--- a/.gitignore
+++ b/.gitignore
@@ -122,3 +122,16 @@ TestUser51.cert
/nss-3.123.1-with-nspr-4.38.2.tar.gz
/nss-3.124-with-nspr-4.39.tar.gz
/nss-3.125-with-nspr-4.39.tar.gz
+/nss-3.126-with-nspr-4.39.tar.gz
+/nss-3.127-with-nspr-4.39.tar.gz
+/nss-3.129-with-nspr-4.39.tar.gz
+/nss-3.130-with-nspr-4.39.tar.gz
+/nss-3.131-with-nspr-4.39.tar.gz
+/nss-3.133-with-nspr-4.39.tar.gz
+/nss-3.134-with-nspr-4.41.tar.gz
+
+# Extracted build trees created by `fedpkg prep` / `rpmbuild -bp` must never
+# be tracked: they contain the full upstream source checkout (and can
+# re-introduce the source tarball itself), which breaks lookaside-cache
+# downloads with "would override a git tracked file".
+/nss-*-build/
diff --git a/nspr-config-pc.patch b/nspr-config-pc.patch
index 2c1fe87..789f9f4 100644
--- a/nspr-config-pc.patch
+++ b/nspr-config-pc.patch
@@ -25,13 +25,3 @@ diff -up nspr/config/nspr-config.in.flags nspr/config/nspr-config.in
+ echo $libdirs `pkg-config --variable=os_libs nspr`
fi
-diff -up nspr/config/nspr.pc.in.flags nspr/config/nspr.pc.in
---- nspr/config/nspr.pc.in.flags 2013-05-29 13:48:15.026643570 -0700
-+++ nspr/config/nspr.pc.in 2013-05-29 13:49:47.795202949 -0700
-@@ -6,5 +6,5 @@ includedir=@includedir@
- Name: NSPR
- Description: The Netscape Portable Runtime
- Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
--Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@
-+Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ @OS_LIBS@
- Cflags: -I@includedir@
diff --git a/nspr-gcc-atomics.patch b/nspr-gcc-atomics.patch
index 20eaefa..9592c25 100644
--- a/nspr-gcc-atomics.patch
+++ b/nspr-gcc-atomics.patch
@@ -3,7 +3,7 @@ diff -up ./pr/include/md/_linux.h.gcc-atomics ./pr/include/md/_linux.h
+++ ./pr/include/md/_linux.h 2022-09-20 11:34:45.536751340 -0700
@@ -105,6 +105,15 @@
#endif
-
+
#if defined(__i386__)
+#if defined(__GNUC__)
+/* Use GCC built-in functions */
@@ -16,18 +16,18 @@ diff -up ./pr/include/md/_linux.h.gcc-atomics ./pr/include/md/_linux.h
+#else
#define _PR_HAVE_ATOMIC_OPS
#define _MD_INIT_ATOMIC()
- extern PRInt32 _PR_x86_AtomicIncrement(PRInt32 *val);
+ extern PRInt32 _PR_x86_AtomicIncrement(PRInt32* val);
@@ -116,6 +125,7 @@ extern PRInt32 _PR_x86_AtomicAdd(PRInt32
- extern PRInt32 _PR_x86_AtomicSet(PRInt32 *val, PRInt32 newval);
- #define _MD_ATOMIC_SET _PR_x86_AtomicSet
+ extern PRInt32 _PR_x86_AtomicSet(PRInt32* val, PRInt32 newval);
+ #define _MD_ATOMIC_SET _PR_x86_AtomicSet
#endif
+#endif
-
+
#if defined(__ia64__)
#define _PR_HAVE_ATOMIC_OPS
@@ -131,6 +141,15 @@ extern PRInt32 _PR_ia64_AtomicSet(PRInt3
#endif
-
+
#if defined(__x86_64__)
+#if defined(__GNUC__)
+/* Use GCC built-in functions */
@@ -40,12 +40,12 @@ diff -up ./pr/include/md/_linux.h.gcc-atomics ./pr/include/md/_linux.h
+#else
#define _PR_HAVE_ATOMIC_OPS
#define _MD_INIT_ATOMIC()
- extern PRInt32 _PR_x86_64_AtomicIncrement(PRInt32 *val);
+ extern PRInt32 _PR_x86_64_AtomicIncrement(PRInt32* val);
@@ -142,6 +161,7 @@ extern PRInt32 _PR_x86_64_AtomicAdd(PRIn
- extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval);
- #define _MD_ATOMIC_SET _PR_x86_64_AtomicSet
+ extern PRInt32 _PR_x86_64_AtomicSet(PRInt32* val, PRInt32 newval);
+ #define _MD_ATOMIC_SET _PR_x86_64_AtomicSet
#endif
+#endif
-
+
#if defined(__loongarch__)
#if defined(__GNUC__)
diff --git a/nss.spec b/nss.spec
index e8829d3..3ada2d7 100644
--- a/nss.spec
+++ b/nss.spec
@@ -1,5 +1,5 @@
-%global nspr_version 4.39.0
-%global nss_version 3.133.0
+%global nspr_version 4.41.0
+%global nss_version 3.134.0
# NOTE: To avoid NVR clashes of nspr* packages:
# - reset %%{nspr_release} to 1, when updating %%{nspr_version}
# - increment %%{nspr_version}, when updating the NSS part only
@@ -7,7 +7,7 @@
%global nss_release %baserelease
# use "%%global nspr_release %%[%%baserelease+n]" to handle offsets when
# release number between nss and nspr are different.
-%global nspr_release %[%baserelease+7]
+%global nspr_release %[%baserelease+0]
# only need to update this as we added new
# algorithms under nss policy control
%global crypto_policies_version 20240521
@@ -748,7 +748,7 @@ do
done
# Copy the binaries we ship as unsupported
-for file in bltest dbtool ecperf fbectest fipstest shlibsign atob btoa derdump listsuites ocspclnt pp selfserv signtool strsclnt symkeyutil tstclnt vfyserv vfychain
+for file in bltest dbtool ecperf fbectest fipstest shlibsign atob btoa derdump listsuites ocspclnt pp selfserv strsclnt symkeyutil tstclnt vfyserv vfychain
do
install -p -m 755 dist/${LOBJDIR}/bin/$file $RPM_BUILD_ROOT/%{unsupported_tools_directory}
done
@@ -795,7 +795,7 @@ for f in %{configFiles}; do
install -c -m 644 ${f}.1 $RPM_BUILD_ROOT%{_mandir}/man1/${f}.1
done
# Copy the man pages for the nss tools
-for f in certutil cmsutil crlutil derdump modutil pk12util signtool signver ssltap vfychain vfyserv; do
+for f in certutil cmsutil crlutil derdump modutil pk12util signver ssltap vfychain vfyserv; do
install -c -m 644 ./dist/docs/nroff/${f}.1 $RPM_BUILD_ROOT%{_mandir}/man1/${f}.1
done
%if %{defined rhel}
@@ -876,7 +876,6 @@ fi
%{unsupported_tools_directory}/ocspclnt
%{unsupported_tools_directory}/pp
%{unsupported_tools_directory}/selfserv
-%{unsupported_tools_directory}/signtool
%{unsupported_tools_directory}/strsclnt
%{unsupported_tools_directory}/symkeyutil
%{unsupported_tools_directory}/tstclnt
@@ -892,7 +891,6 @@ fi
%doc %{_mandir}/man1/signver.1*
# unsupported tools
%doc %{_mandir}/man1/derdump.1*
-%doc %{_mandir}/man1/signtool.1*
%if %{defined rhel}
%doc %{_mandir}/man1/pp.1*
%else
@@ -918,9 +916,6 @@ fi
%{_includedir}/nss3/cryptohi.h
%{_includedir}/nss3/cryptoht.h
%{_includedir}/nss3/sechash.h
-%{_includedir}/nss3/jar-ds.h
-%{_includedir}/nss3/jar.h
-%{_includedir}/nss3/jarfile.h
%{_includedir}/nss3/key.h
%{_includedir}/nss3/keyhi.h
%{_includedir}/nss3/keyt.h
@@ -1097,6 +1092,10 @@ fi
%changelog
+* Tue Nov 24 2026 Krenželok František <fkrenzel@redhat.com> - 3.134.0-1
+- Update NSS to 3.134.0
+- remove signtool, jar-ds.sh, jar.h, jarfile.h
+
* Fri Nov 6 2026 Krenželok František <fkrenzel@redhat.com> - 3.133.0-1
- Update NSS to 3.133.0
diff --git a/sources b/sources
index 42af5f2..fd8a777 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
SHA512 (blank-cert9.db) = 2f8eab4c0612210ee47db8a3a80c1b58a0b43849551af78c7da403fda3e3d4e7757838061ae56ccf5aac335cb54f254f0a9e6e9c0dd5920b4155a39264525b06
SHA512 (blank-key4.db) = 8fedae93af7163da23fe9492ea8e785a44c291604fa98e58438448efb69c85d3253fc22b926d5c3209c62e58a86038fd4d78a1c4c068bc00600a7f3e5382ebe7
SHA512 (nss-3.118-ml-dsa-test-for-sign-verify-pkcs12_files.tar.xz) = c6440f332703ca9a3351be5a35eac42f24b9c114f54137b95691aa353cc329f0fb7016b689b2f976bc6cff66aa62760067f3226efad665a5252f37294a3d12a6
-SHA512 (nss-3.133-with-nspr-4.39.tar.gz) = 67e4a34b0fe652936202517201c08461d6d391afb246ad68b9202475fa203e9d60d65c405fb69da1051c9e209f567cc974d62ce7c18abffe5bf649c7828233f2
+SHA512 (nss-3.134-with-nspr-4.41.tar.gz) = 529323f03bfbc4fc904368269f5112f5417ee9fc20b507c77ef240509513fa956eae74e70afb5cca8e8acbb86798cbe6ef4e6ec51bf5546fb56df289dca460bd
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 14:04 [rpms/nss] f44: Rebase nspr-gcc-atomics.patch for NSS 3.134.0 / NSPR 4.41
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox