summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/nss
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/nss')
-rw-r--r--meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch13
-rw-r--r--meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch (renamed from meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch (renamed from meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch (renamed from meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch (renamed from meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch)13
-rw-r--r--meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch (renamed from meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch)13
-rw-r--r--meta-oe/recipes-support/nss/nss/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch (renamed from meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch)16
-rw-r--r--meta-oe/recipes-support/nss/nss_3.112.bb (renamed from meta-oe/recipes-support/nss/nss_3.98.bb)28
8 files changed, 63 insertions, 47 deletions
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 2385fd3b9d..5733bb068f 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,21 +1,21 @@
1From 46ab1ca6e6fb8e1196e0665a54506dff370f8f2a Mon Sep 17 00:00:00 2001 1From c15470d6b52986a8e41f9be4579c88ed80413b44 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
5 5
6Let some make variables be assigned from outside makefile. 6Let some make variables be assigned from outside makefile.
7 7
8Upstream-Status: Inappropriate [configuration] 8Upstream-Status: Inappropriate [oe specific]
9
9Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11
12--- 12---
13 nss/coreconf/arch.mk | 4 ++-- 13 nss/coreconf/arch.mk | 4 ++--
14 nss/lib/freebl/Makefile | 6 ++++++ 14 nss/lib/freebl/Makefile | 6 ++++++
15 2 files changed, 8 insertions(+), 2 deletions(-) 15 2 files changed, 8 insertions(+), 2 deletions(-)
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 17e9fae..bc4180a 100644 18index 711d19d..a163d24 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@@ -26,11 +26,11 @@ OS_ARCH := $(subst /,_,$(shell uname -s)) 21@@ -26,11 +26,11 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
@@ -33,7 +33,7 @@ index 17e9fae..bc4180a 100644
33 33
34 34
35diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile 35diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
36index eeee90a..7ee8736 100644 36index e744314..0ebfc92 100644
37--- a/nss/lib/freebl/Makefile 37--- a/nss/lib/freebl/Makefile
38+++ b/nss/lib/freebl/Makefile 38+++ b/nss/lib/freebl/Makefile
39@@ -36,6 +36,12 @@ ifdef USE_64 39@@ -36,6 +36,12 @@ ifdef USE_64
@@ -49,3 +49,6 @@ index eeee90a..7ee8736 100644
49 ifdef USE_ABI32_FPU 49 ifdef USE_ABI32_FPU
50 DEFINES += -DNSS_USE_ABI32_FPU 50 DEFINES += -DNSS_USE_ABI32_FPU
51 endif 51 endif
52--
532.25.1
54
diff --git a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch b/meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch
index 8c715cc447..19fa5a7261 100644
--- a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch
+++ b/meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch
@@ -1,11 +1,11 @@
1From 73edfbdf33fe4e41724e7e947033d8caeec8f3d0 Mon Sep 17 00:00:00 2001 1From 621023bc696d3d26a4179dbbafb42d79bef1faf9 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
5 5
6Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 6Upstream-Status: Inappropriate [oe specific]
7Upstream-Status: Inappropriate [configuration]
8 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9--- 9---
10 nss/cmd/platlibs.mk | 4 ++-- 10 nss/cmd/platlibs.mk | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 2 deletions(-)
@@ -26,3 +26,6 @@ index 6401778..e5c4e16 100644
26 endif 26 endif
27 endif 27 endif
28 28
29--
302.25.1
31
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch b/meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch
index 735b06b5ca..61b7565739 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch
+++ b/meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch
@@ -1,14 +1,14 @@
1From 2ce67b1f4b1f582d556ae058da10698bbaa0edc1 Mon Sep 17 00:00:00 2001 1From 6aec640342088498cb1b0a2e395eb3da297a48b4 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
5 5
6Replace incorrect shebang of perl with `#!/usr/bin/env perl'. 6Replace incorrect shebang of perl with `#!/usr/bin/env perl'.
7 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9Upstream-Status: Pending 8Upstream-Status: Pending
10Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
11 9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
12--- 12---
13 nss/cmd/signver/examples/1/form.pl | 2 +- 13 nss/cmd/signver/examples/1/form.pl | 2 +-
14 nss/cmd/signver/examples/1/signedForm.pl | 2 +- 14 nss/cmd/signver/examples/1/signedForm.pl | 2 +-
@@ -89,3 +89,6 @@ index f29f60a..850332a 100755
89 89
90 ######################################################################## 90 ########################################################################
91 # 91 #
92--
932.25.1
94
diff --git a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch b/meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch
index 4c9bea30c0..fa4c5bacbf 100644
--- a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch
+++ b/meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch
@@ -1,7 +1,7 @@
1From f613c9a9107435a40d91329f33f12cfb16927f07 Mon Sep 17 00:00:00 2001 1From 72c3150300975524bb0001b5a731f077852c95ab 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: disable Wvarargs with clang
5 5
6clang 3.9 add this warning to rightly flag undefined 6clang 3.9 add this warning to rightly flag undefined
7behavior, we relegate this to be just a warning instead 7behavior, we relegate this to be just a warning instead
@@ -20,9 +20,9 @@ see
20https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start 20https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start
21for more details 21for more details
22 22
23Signed-off-by: Khem Raj <raj.khem@gmail.com>
24Upstream-Status: Pending 23Upstream-Status: Pending
25 24
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26--- 26---
27 nss/coreconf/Werror.mk | 2 +- 27 nss/coreconf/Werror.mk | 2 +-
28 1 file changed, 1 insertion(+), 1 deletion(-) 28 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -40,3 +40,6 @@ index a569a49..687fe58 100644
40 # -Wno-parentheses-equality : because clang warns about macro expansions 40 # -Wno-parentheses-equality : because clang warns about macro expansions
41 WARNING_CFLAGS += $(call disable_warning,parentheses-equality) 41 WARNING_CFLAGS += $(call disable_warning,parentheses-equality)
42 ifdef BUILD_OPT 42 ifdef BUILD_OPT
43--
442.25.1
45
diff --git a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch b/meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch
index 589b4d5e7f..f12a278ef2 100644
--- a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch
+++ b/meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch
@@ -1,22 +1,22 @@
1From cbd367160338847b28fc801a12c74f1c8b5b03ee Mon Sep 17 00:00:00 2001 1From 5935755eef43ac7cb8f4567e7bed5892180f954c 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
5 used? 5 are used
6 6
7pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] 7pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
8 if (addend < MP_DIGIT_MAX) { 8 if (addend < MP_DIGIT_MAX) {
9 ~~~~~~ ^ ~~~~~~~~~~~~ 9 ~~~~~~ ^ ~~~~~~~~~~~~
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Upstream-Status: Pending 11Upstream-Status: Pending
13 12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14--- 14---
15 nss/lib/freebl/pqg.c | 4 ++-- 15 nss/lib/freebl/pqg.c | 4 ++--
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 1b03278..ad895b7 100644 19index 62d46b5..8c8665d 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)
@@ -30,3 +30,6 @@ index 1b03278..ad895b7 100644
30 SECItem *seedout) 30 SECItem *seedout)
31 { 31 {
32 mp_int s, sum, modulus, tmp; 32 mp_int s, sum, modulus, tmp;
33--
342.25.1
35
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch b/meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch
index a1897f88d8..afe11821af 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
+++ b/meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch
@@ -1,4 +1,4 @@
1From f9b2b1c738576a17460aebd005f511f427aa1974 Mon Sep 17 00:00:00 2001 1From 895e76e75dbb993a8f445072c190a9db4ee50d15 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
@@ -15,17 +15,15 @@ on host to install built files, it doesn't need any cross-compling or
15multilib build options. Just clean the ARCHFLAG and LDFLAGS to fix this 15multilib build options. Just clean the ARCHFLAG and LDFLAGS to fix this
16error. 16error.
17 17
18Upstream-Status: Inappropriate [configuration] 18Upstream-Status: Inappropriate [oe specific]
19 19
20Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 20Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
21===================================================
22
23--- 21---
24 nss/coreconf/nsinstall/Makefile | 7 +++++++ 22 nss/coreconf/nsinstall/Makefile | 7 +++++++
25 1 file changed, 7 insertions(+) 23 1 file changed, 7 insertions(+)
26 24
27diff --git a/nss/coreconf/nsinstall/Makefile b/nss/coreconf/nsinstall/Makefile 25diff --git a/nss/coreconf/nsinstall/Makefile b/nss/coreconf/nsinstall/Makefile
28index 08dfbc2..e97fb5f 100644 26index 337cbeb..dd77fbe 100644
29--- a/nss/coreconf/nsinstall/Makefile 27--- a/nss/coreconf/nsinstall/Makefile
30+++ b/nss/coreconf/nsinstall/Makefile 28+++ b/nss/coreconf/nsinstall/Makefile
31@@ -18,6 +18,13 @@ INTERNAL_TOOLS = 1 29@@ -18,6 +18,13 @@ INTERNAL_TOOLS = 1
@@ -39,6 +37,9 @@ index 08dfbc2..e97fb5f 100644
39+LDFLAGS = 37+LDFLAGS =
40+# CFLAGS = 38+# CFLAGS =
41+ 39+
42 ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET))) 40 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
43 PROGRAM = 41 PROGRAM =
44 TARGETS = 42 TARGETS =
43--
442.25.1
45
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/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
index b7f1b01a14..63f822be25 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/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
@@ -1,4 +1,4 @@
1From 7c8f367faf8848a43a414079189e10270d6c0fcc Mon Sep 17 00:00:00 2001 1From 459ee39104228a958a0999e1a7d4c43e4e6fe4f0 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
@@ -7,15 +7,15 @@ Not all current hardware supports it, particularly anything
7prior to armv8 does not. 7prior to armv8 does not.
8 8
9Upstream-Status: Pending 9Upstream-Status: Pending
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 10
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12--- 12---
13 nss/lib/freebl/Makefile | 3 +++ 13 nss/lib/freebl/Makefile | 3 +++
14 nss/lib/freebl/gcm.c | 2 ++ 14 nss/lib/freebl/gcm.c | 2 ++
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 7ee8736..f9b4925 100644 18index 0ebfc92..3ee7623 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@@ -142,6 +142,8 @@ endif 21@@ -142,6 +142,8 @@ endif
@@ -33,10 +33,10 @@ index 7ee8736..f9b4925 100644
33 endif 33 endif
34+endif 34+endif
35 35
36 ifeq (OS2,$(OS_TARGET)) 36 ifeq (,$(filter-out WINNT,$(OS_TARGET)))
37 ASFILES = mpi_x86_os2.s 37 ifndef USE_64
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 2dae724..9ee7fc8 100644 39index a2f63a6..743158e 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 @@
@@ -53,5 +53,5 @@ index 2dae724..9ee7fc8 100644
53 #endif 53 #endif
54+#endif 54+#endif
55 55
56 /* Forward declarations */ 56 #if defined(__ARM_NEON) || defined(__ARM_NEON__)
57 SECStatus gcm_HashInit_hw(gcmHashContext *ghash); 57 #include <arm_neon.h>
diff --git a/meta-oe/recipes-support/nss/nss_3.98.bb b/meta-oe/recipes-support/nss/nss_3.112.bb
index 01501362e2..cf0b20d48b 100644
--- a/meta-oe/recipes-support/nss/nss_3.98.bb
+++ b/meta-oe/recipes-support/nss/nss_3.112.bb
@@ -22,21 +22,21 @@ VERSION_DIR = "${@d.getVar('BP').upper().replace('-', '_').replace('.', '_') + '
22 22
23SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/${BP}.tar.gz \ 23SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/${BP}.tar.gz \
24 file://nss.pc.in \ 24 file://nss.pc.in \
25 file://0001-nss-fix-support-cross-compiling.patch \
26 file://nss-no-rpath-for-cross-compiling.patch \
27 file://nss-fix-incorrect-shebang-of-perl.patch \
28 file://disable-Wvarargs-with-clang.patch \
29 file://pqg.c-ULL_addend.patch \
30 file://blank-cert9.db \ 25 file://blank-cert9.db \
31 file://blank-key4.db \ 26 file://blank-key4.db \
32 file://system-pkcs11.txt \ 27 file://system-pkcs11.txt \
33 file://nss-fix-nsinstall-build.patch \ 28 file://0001-nss-fix-support-cross-compiling.patch \
34 file://0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \ 29 file://0002-nss-no-rpath-for-cross-compiling.patch \
30 file://0003-nss-fix-incorrect-shebang-of-perl.patch \
31 file://0004-nss-disable-Wvarargs-with-clang.patch \
32 file://0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch \
33 file://0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch \
34 file://0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \
35 " 35 "
36SRC_URI[sha256sum] = "f549cc33d35c0601674bfacf7c6ad683c187595eb4125b423238d3e9aa4209ce" 36SRC_URI[sha256sum] = "33ae72d43b275957252adc8639e84229d3ae692a57b6191b059d9456b8568a68"
37 37
38UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" 38UPSTREAM_CHECK_URI = "https://ftp.mozilla.org/pub/security/nss/releases/"
39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes" 39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>\d+(\_\d+)+)"
40 40
41inherit siteinfo 41inherit siteinfo
42 42
@@ -224,7 +224,7 @@ do_install:append() {
224 done 224 done
225 225
226 install -d ${D}${libdir}/pkgconfig/ 226 install -d ${D}${libdir}/pkgconfig/
227 sed 's/%NSS_VERSION%/${PV}/' ${WORKDIR}/nss.pc.in | sed 's/%NSPR_VERSION%/4.9.2/' > ${D}${libdir}/pkgconfig/nss.pc 227 sed 's/%NSS_VERSION%/${PV}/' ${UNPACKDIR}/nss.pc.in | sed 's/%NSPR_VERSION%/4.9.2/' > ${D}${libdir}/pkgconfig/nss.pc
228 sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nss.pc 228 sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nss.pc
229 sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nss.pc 229 sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nss.pc
230 sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nss.pc 230 sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nss.pc
@@ -239,9 +239,9 @@ do_install:append:class-target() {
239 # databases by: 239 # databases by:
240 # certutil -N -d sql:/database/path/ --empty-password 240 # certutil -N -d sql:/database/path/ --empty-password
241 install -d ${D}${sysconfdir}/pki/nssdb/ 241 install -d ${D}${sysconfdir}/pki/nssdb/
242 install -m 0644 ${WORKDIR}/blank-cert9.db ${D}${sysconfdir}/pki/nssdb/cert9.db 242 install -m 0644 ${UNPACKDIR}/blank-cert9.db ${D}${sysconfdir}/pki/nssdb/cert9.db
243 install -m 0644 ${WORKDIR}/blank-key4.db ${D}${sysconfdir}/pki/nssdb/key4.db 243 install -m 0644 ${UNPACKDIR}/blank-key4.db ${D}${sysconfdir}/pki/nssdb/key4.db
244 install -m 0644 ${WORKDIR}/system-pkcs11.txt ${D}${sysconfdir}/pki/nssdb/pkcs11.txt 244 install -m 0644 ${UNPACKDIR}/system-pkcs11.txt ${D}${sysconfdir}/pki/nssdb/pkcs11.txt
245} 245}
246 246
247PACKAGE_WRITE_DEPS += "nss-native" 247PACKAGE_WRITE_DEPS += "nss-native"