git: 8ab00716cacd - main - security/nss: update to 3.121
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Feb 2026 14:31:08 UTC
The branch main has been updated by cmt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8ab00716cacd8adefdf36a3a4915499bc03701d3
commit 8ab00716cacd8adefdf36a3a4915499bc03701d3
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2026-02-21 14:30:22 +0000
Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2026-02-21 14:30:22 +0000
security/nss: update to 3.121
Release Notes:
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_121.html
---
security/nss/Makefile | 2 +-
security/nss/distinfo | 6 +++---
security/nss/files/patch-lib-freebl-Makefile | 23 +++++++++++++++++++----
3 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/security/nss/Makefile b/security/nss/Makefile
index b45d8f9842e5..d3270475d52b 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nss
-DISTVERSION= 3.120.1
+DISTVERSION= 3.121
CATEGORIES= security
MASTER_SITES= MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
diff --git a/security/nss/distinfo b/security/nss/distinfo
index 2ac7a37015f5..f04247d798d2 100644
--- a/security/nss/distinfo
+++ b/security/nss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771264615
-SHA256 (nss-3.120.1.tar.gz) = a98f002d20bfe719f50f81824a64c9e6f067f4da3c6a1f0455e97e6d79240512
-SIZE (nss-3.120.1.tar.gz) = 77635792
+TIMESTAMP = 1771618095
+SHA256 (nss-3.121.tar.gz) = cb3a8f8781bea78b7b8edd3afb7a2cb58e4881bb0160d189a39b98216ba7632e
+SIZE (nss-3.121.tar.gz) = 77644546
diff --git a/security/nss/files/patch-lib-freebl-Makefile b/security/nss/files/patch-lib-freebl-Makefile
index 5321d667a4b0..d58a47f8fbef 100644
--- a/security/nss/files/patch-lib-freebl-Makefile
+++ b/security/nss/files/patch-lib-freebl-Makefile
@@ -1,4 +1,19 @@
---- lib/freebl/Makefile.orig 2021-05-14 10:01:03 UTC
+commit 70ab2cd108663a1c9c31dd17a43dd58c453fe900
+Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
+Date: Fri Feb 20 21:15:44 2026 +0100
+
+ powerpc64le support for FreeBSD
+
+ Adapted from:
+ commit 192a67a0d79f89529eaac61ea9e865b7cb32365e
+ Author: Piotr Kubaj <pkubaj@FreeBSD.org>
+ Date: Sat May 15 02:45:46 2021 +0000
+
+ security/nss: fix build on powerpc64le
+
+diff --git lib/freebl/Makefile lib/freebl/Makefile
+index 9286e436f..3509a0656 100644
+--- lib/freebl/Makefile
+++ lib/freebl/Makefile
@@ -263,7 +263,7 @@ else ifeq ($(CPU_ARCH),x86)
endif
@@ -9,18 +24,18 @@
ifeq ($(CPU_ARCH),x86_64)
# Lower case s on mpi_amd64_common due to make implicit rules.
ASFILES = arcfour-amd64-gas.s mpi_amd64_common.s
-@@ -298,11 +298,12 @@ ifdef USE_64
+@@ -297,11 +297,12 @@ ifdef USE_64
PPC_ABI := $(shell $(CC) -dM -E - < /dev/null | awk '$$2 == "_CALL_ELF" {print $$3}')
ifeq ($(PPC_ABI),2)
ASFILES += sha512-p8.s
- ifeq ($(OS_TEST),ppc64le)
+ ifeq (,$(filter-out powerpc64le ppc64le, $(OS_TEST)))
- DEFINES += -DPPC_GCM
EXTRA_SRCS += chacha20poly1305-ppc.c ppc-gcm-wrap.c
ASFILES += chacha20-ppc64le.s ppc-gcm.s
+ DEFINES += -DHAVE_PLATFORM_GCM
- endif # ppc64le
+ ASFLAGS += -fno-integrated-as
-+ endif # powerpc64le
++ endif # powerpc64le, ppc64le
endif
endif # USE_64
endif # ppc