summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorSakib Sajal <sakib.sajal@windriver.com>2021-12-16 16:12:29 -0500
committerKhem Raj <raj.khem@gmail.com>2021-12-24 15:48:38 -0800
commit1d2145c3e2bae7eb1571525d874d1ac021f459ef (patch)
treee35733d4a86ed18c9915a9fe3eefbe3844b95f4e /meta-oe
parent245afbc8bd3bf6e91d02a99532ab8cab26e00024 (diff)
downloadmeta-openembedded-1d2145c3e2bae7eb1571525d874d1ac021f459ef.tar.gz
nss: upgrade 3.64 -> 3.73.1
Upgrade to 3.73.1 fixes CVE-2021-43527. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch14
-rw-r--r--meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch6
-rw-r--r--meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch2
-rw-r--r--meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch2
-rw-r--r--meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch2
-rw-r--r--meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch2
-rw-r--r--meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch4
-rw-r--r--meta-oe/recipes-support/nss/nss_3.73.1.bb (renamed from meta-oe/recipes-support/nss/nss_3.64.bb)2
8 files changed, 17 insertions, 17 deletions
diff --git a/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch b/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
index 65e1500ae5..72ee1ee009 100644
--- a/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
+++ b/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
@@ -1,4 +1,4 @@
1From 8b67c22b057e158f61c9fdd5b01f37195c6f5ca4 Mon Sep 17 00:00:00 2001 1From 9937e89c22eb2f2db9a936e7bc4442857b4192f5 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 18 Dec 2019 12:29:50 +0100 3Date: Wed, 18 Dec 2019 12:29:50 +0100
4Subject: [PATCH] freebl: add a configure option to disable ARM HW crypto 4Subject: [PATCH] freebl: add a configure option to disable ARM HW crypto
@@ -15,19 +15,19 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
15 2 files changed, 5 insertions(+) 15 2 files changed, 5 insertions(+)
16 16
17diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile 17diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
18index fe8c526..922f67c 100644 18index b38889f..4616aac 100644
19--- a/nss/lib/freebl/Makefile 19--- a/nss/lib/freebl/Makefile
20+++ b/nss/lib/freebl/Makefile 20+++ b/nss/lib/freebl/Makefile
21@@ -125,6 +125,8 @@ else 21@@ -139,6 +139,8 @@ endif
22 DEFINES += -DNSS_X86 22 endif
23 endif 23 endif
24 endif 24 endif
25+ifdef NSS_USE_ARM_HW_CRYPTO 25+ifdef NSS_USE_ARM_HW_CRYPTO
26+ DEFINES += -DNSS_USE_ARM_HW_CRYPTO 26+ DEFINES += -DNSS_USE_ARM_HW_CRYPTO
27 ifeq ($(CPU_ARCH),aarch64) 27 ifeq ($(CPU_ARCH),aarch64)
28 ifdef CC_IS_CLANG 28 ifdef CC_IS_CLANG
29 DEFINES += -DUSE_HW_AES -DUSE_HW_SHA1 -DUSE_HW_SHA2 29 DEFINES += -DUSE_HW_AES -DUSE_HW_SHA1 -DUSE_HW_SHA2
30@@ -166,6 +168,7 @@ endif 30@@ -180,6 +182,7 @@ endif
31 endif 31 endif
32 endif 32 endif
33 endif 33 endif
@@ -36,7 +36,7 @@ index fe8c526..922f67c 100644
36 ifeq ($(OS_TARGET),OSF1) 36 ifeq ($(OS_TARGET),OSF1)
37 DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_NO_MP_WORD 37 DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_NO_MP_WORD
38diff --git a/nss/lib/freebl/gcm.c b/nss/lib/freebl/gcm.c 38diff --git a/nss/lib/freebl/gcm.c b/nss/lib/freebl/gcm.c
39index c2cc18d..b77f573 100644 39index ac461b4..04cb180 100644
40--- a/nss/lib/freebl/gcm.c 40--- a/nss/lib/freebl/gcm.c
41+++ b/nss/lib/freebl/gcm.c 41+++ b/nss/lib/freebl/gcm.c
42@@ -18,6 +18,7 @@ 42@@ -18,6 +18,7 @@
diff --git a/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch b/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
index 3d90e2d951..eb6174a7b0 100644
--- a/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
+++ b/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
@@ -1,4 +1,4 @@
1From 8cea16e7550ae14494fbb3a8fe9f5452e6bd1407 Mon Sep 17 00:00:00 2001 1From 919fc5d674fae99fe21ba1351d98b75e466f425f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 22 Feb 2017 11:36:11 +0200 3Date: Wed, 22 Feb 2017 11:36:11 +0200
4Subject: [PATCH] nss: fix support cross compiling 4Subject: [PATCH] nss: fix support cross compiling
@@ -15,7 +15,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
15 2 files changed, 7 insertions(+), 1 deletion(-) 15 2 files changed, 7 insertions(+), 1 deletion(-)
16 16
17diff --git a/nss/coreconf/arch.mk b/nss/coreconf/arch.mk 17diff --git a/nss/coreconf/arch.mk b/nss/coreconf/arch.mk
18index 790372d..2563134 100644 18index 2012d18..78fca62 100644
19--- a/nss/coreconf/arch.mk 19--- a/nss/coreconf/arch.mk
20+++ b/nss/coreconf/arch.mk 20+++ b/nss/coreconf/arch.mk
21@@ -30,7 +30,7 @@ OS_TEST := $(shell uname -m) 21@@ -30,7 +30,7 @@ OS_TEST := $(shell uname -m)
@@ -28,7 +28,7 @@ index 790372d..2563134 100644
28 28
29 # 29 #
30diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile 30diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
31index 52d827c..f99f769 100644 31index 0b8c6f4..b38889f 100644
32--- a/nss/lib/freebl/Makefile 32--- a/nss/lib/freebl/Makefile
33+++ b/nss/lib/freebl/Makefile 33+++ b/nss/lib/freebl/Makefile
34@@ -36,6 +36,12 @@ ifdef USE_64 34@@ -36,6 +36,12 @@ ifdef USE_64
diff --git a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch b/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch
index e87dc9f76b..4c9bea30c0 100644
--- a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch
+++ b/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch
@@ -1,4 +1,4 @@
1From c5b2c6327f3692ed07bf8d212123e0bf08485722 Mon Sep 17 00:00:00 2001 1From f613c9a9107435a40d91329f33f12cfb16927f07 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss,nspr: Add recipes 4Subject: [PATCH] nss,nspr: Add recipes
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch b/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch
index 6f02dbcb4b..735b06b5ca 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch
+++ b/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch
@@ -1,4 +1,4 @@
1From 028ec9c7e9f7a6f083eec987f3ad7e7623398d9d Mon Sep 17 00:00:00 2001 1From 2ce67b1f4b1f582d556ae058da10698bbaa0edc1 Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com> 2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Mon, 13 Jul 2020 12:12:31 +0300 3Date: Mon, 13 Jul 2020 12:12:31 +0300
4Subject: [PATCH] nss: fix incorrect shebang of perl 4Subject: [PATCH] nss: fix incorrect shebang of perl
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch b/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
index 224a5d236e..a1897f88d8 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
+++ b/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
@@ -1,4 +1,4 @@
1From 2701905e689cf7c1ee7ca2d116f20b5bbc146431 Mon Sep 17 00:00:00 2001 1From f9b2b1c738576a17460aebd005f511f427aa1974 Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com> 2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] Fix nss multilib build on openSUSE 11.x 32bit 4Subject: [PATCH] Fix nss multilib build on openSUSE 11.x 32bit
diff --git a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch b/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch
index 7dbc1a3721..8c715cc447 100644
--- a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch
+++ b/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch
@@ -1,4 +1,4 @@
1From dc51214895bcd63fc8eb8d1fe7941cd3e5500620 Mon Sep 17 00:00:00 2001 1From 73edfbdf33fe4e41724e7e947033d8caeec8f3d0 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss:no rpath for cross compiling 4Subject: [PATCH] nss:no rpath for cross compiling
diff --git a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch b/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch
index 5505ae36ac..589b4d5e7f 100644
--- a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch
+++ b/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch
@@ -1,4 +1,4 @@
1From a550bdf458f11dff46ebddbac94cf48c27d3471e Mon Sep 17 00:00:00 2001 1From cbd367160338847b28fc801a12c74f1c8b5b03ee Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss does not build on mips with clang because wrong types are 4Subject: [PATCH] nss does not build on mips with clang because wrong types are
@@ -16,7 +16,7 @@ Upstream-Status: Pending
16 1 file changed, 2 insertions(+), 2 deletions(-) 16 1 file changed, 2 insertions(+), 2 deletions(-)
17 17
18diff --git a/nss/lib/freebl/pqg.c b/nss/lib/freebl/pqg.c 18diff --git a/nss/lib/freebl/pqg.c b/nss/lib/freebl/pqg.c
19index 626b2fb..052ad36 100644 19index 1b03278..ad895b7 100644
20--- a/nss/lib/freebl/pqg.c 20--- a/nss/lib/freebl/pqg.c
21+++ b/nss/lib/freebl/pqg.c 21+++ b/nss/lib/freebl/pqg.c
22@@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_int *H) 22@@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_int *H)
diff --git a/meta-oe/recipes-support/nss/nss_3.64.bb b/meta-oe/recipes-support/nss/nss_3.73.1.bb
index c935c6a2ae..274e85d1f9 100644
--- a/meta-oe/recipes-support/nss/nss_3.64.bb
+++ b/meta-oe/recipes-support/nss/nss_3.73.1.bb
@@ -33,7 +33,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${VERSIO
33 file://nss-fix-nsinstall-build.patch \ 33 file://nss-fix-nsinstall-build.patch \
34 file://0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \ 34 file://0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \
35 " 35 "
36SRC_URI[sha256sum] = "d3175427172e9c3a6f1ebc74452cb791590f28191c6a1a443dbc0d87c9df1126" 36SRC_URI[sha256sum] = "c768f9fe3129e8bcc2e9679456d7edd9453a225784a8fc7dc4501806f1fe9abe"
37 37
38UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" 38UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes" 39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"