diff options
Diffstat (limited to 'meta/recipes-support/nss/nss')
-rw-r--r-- | meta/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch | 52 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch | 48 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/blank-cert9.db | bin | 28672 -> 0 bytes | |||
-rw-r--r-- | meta/recipes-support/nss/nss/blank-key4.db | bin | 36864 -> 0 bytes | |||
-rw-r--r-- | meta/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch | 33 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch | 110 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/nss-fix-nsinstall-build.patch | 36 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch | 26 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/nss.pc.in | 11 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch | 23 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/signlibs.sh | 20 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss/system-pkcs11.txt | 5 |
12 files changed, 0 insertions, 364 deletions
diff --git a/meta/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch b/meta/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch deleted file mode 100644 index c380c14491..0000000000 --- a/meta/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From 5595e9651aca39af945931c73eb524a0f8bd130d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 18 Dec 2019 12:29:50 +0100 | ||
4 | Subject: [PATCH] freebl: add a configure option to disable ARM HW crypto | ||
5 | |||
6 | Not all current hardware supports it, particularly anything | ||
7 | prior to armv8 does not. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | nss/lib/freebl/Makefile | 3 +++ | ||
13 | 1 file changed, 3 insertions(+) | ||
14 | |||
15 | --- a/nss/lib/freebl/Makefile | ||
16 | +++ b/nss/lib/freebl/Makefile | ||
17 | @@ -125,6 +125,9 @@ else | ||
18 | DEFINES += -DNSS_X86 | ||
19 | endif | ||
20 | endif | ||
21 | + | ||
22 | +ifdef NSS_USE_ARM_HW_CRYPTO | ||
23 | + DEFINES += -DNSS_USE_ARM_HW_CRYPTO | ||
24 | ifeq ($(CPU_ARCH),aarch64) | ||
25 | DEFINES += -DUSE_HW_AES | ||
26 | EXTRA_SRCS += aes-armv8.c gcm-aarch64.c | ||
27 | @@ -146,6 +149,7 @@ ifeq ($(CPU_ARCH),arm) | ||
28 | endif | ||
29 | endif | ||
30 | endif | ||
31 | +endif | ||
32 | |||
33 | ifeq ($(OS_TARGET),OSF1) | ||
34 | DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_NO_MP_WORD | ||
35 | --- a/nss/lib/freebl/gcm.c | ||
36 | +++ b/nss/lib/freebl/gcm.c | ||
37 | @@ -17,6 +17,7 @@ | ||
38 | |||
39 | #include <limits.h> | ||
40 | |||
41 | +#ifdef NSS_USE_ARM_HW_CRYPTO | ||
42 | /* old gcc doesn't support some poly64x2_t intrinsic */ | ||
43 | #if defined(__aarch64__) && defined(IS_LITTLE_ENDIAN) && \ | ||
44 | (defined(__clang__) || defined(__GNUC__) && __GNUC__ > 6) | ||
45 | @@ -25,6 +26,7 @@ | ||
46 | /* We don't test on big endian platform, so disable this on big endian. */ | ||
47 | #define USE_ARM_GCM | ||
48 | #endif | ||
49 | +#endif | ||
50 | |||
51 | /* Forward declarations */ | ||
52 | SECStatus gcm_HashInit_hw(gcmHashContext *ghash); | ||
diff --git a/meta/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch b/meta/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch deleted file mode 100644 index d5403397e7..0000000000 --- a/meta/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | From 0cf47ee432cc26a706864fcc09b2c3adc342a679 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 22 Feb 2017 11:36:11 +0200 | ||
4 | Subject: [PATCH] nss: fix support cross compiling | ||
5 | |||
6 | Let some make variables be assigned from outside makefile. | ||
7 | |||
8 | Upstream-Status: Inappropriate [configuration] | ||
9 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | nss/coreconf/arch.mk | 2 +- | ||
13 | nss/lib/freebl/Makefile | 6 ++++++ | ||
14 | 2 files changed, 7 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/nss/coreconf/arch.mk b/nss/coreconf/arch.mk | ||
17 | index 06c276f..9c1eb51 100644 | ||
18 | --- a/nss/coreconf/arch.mk | ||
19 | +++ b/nss/coreconf/arch.mk | ||
20 | @@ -30,7 +30,7 @@ OS_TEST := $(shell uname -m) | ||
21 | ifeq ($(OS_TEST),i86pc) | ||
22 | OS_RELEASE := $(shell uname -r)_$(OS_TEST) | ||
23 | else | ||
24 | - OS_RELEASE := $(shell uname -r) | ||
25 | + OS_RELEASE ?= $(shell uname -r) | ||
26 | endif | ||
27 | |||
28 | # | ||
29 | diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile | ||
30 | index 0ce1425..ebeb411 100644 | ||
31 | --- a/nss/lib/freebl/Makefile | ||
32 | +++ b/nss/lib/freebl/Makefile | ||
33 | @@ -36,6 +36,12 @@ ifdef USE_64 | ||
34 | DEFINES += -DNSS_USE_64 | ||
35 | endif | ||
36 | |||
37 | +ifeq ($(OS_TEST),mips) | ||
38 | +ifndef USE_64 | ||
39 | + DEFINES += -DNS_PTR_LE_32 | ||
40 | +endif | ||
41 | +endif | ||
42 | + | ||
43 | ifdef USE_ABI32_FPU | ||
44 | DEFINES += -DNSS_USE_ABI32_FPU | ||
45 | endif | ||
46 | -- | ||
47 | 2.11.0 | ||
48 | |||
diff --git a/meta/recipes-support/nss/nss/blank-cert9.db b/meta/recipes-support/nss/nss/blank-cert9.db deleted file mode 100644 index 7d4bcf2582..0000000000 --- a/meta/recipes-support/nss/nss/blank-cert9.db +++ /dev/null | |||
Binary files differ | |||
diff --git a/meta/recipes-support/nss/nss/blank-key4.db b/meta/recipes-support/nss/nss/blank-key4.db deleted file mode 100644 index d47f08d04f..0000000000 --- a/meta/recipes-support/nss/nss/blank-key4.db +++ /dev/null | |||
Binary files differ | |||
diff --git a/meta/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch b/meta/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch deleted file mode 100644 index de812d27ba..0000000000 --- a/meta/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | clang 3.9 add this warning to rightly flag undefined | ||
2 | behavior, we relegate this to be just a warning instead | ||
3 | of error and keep the behavior as it was. Right fix would | ||
4 | be to not pass enum to the function with variadic arguments | ||
5 | as last named argument | ||
6 | |||
7 | Fixes errors like | ||
8 | ocsp.c:2220:22: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs] | ||
9 | va_start(ap, responseType0); | ||
10 | ^ | ||
11 | ocsp.c:2200:43: note: parameter of type 'SECOidTag' is declared here | ||
12 | SECOidTag responseType0, ...) | ||
13 | |||
14 | see | ||
15 | https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start | ||
16 | for more details | ||
17 | |||
18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
19 | Upstream-Status: Pending | ||
20 | |||
21 | Index: nss-3.37.1/nss/coreconf/Werror.mk | ||
22 | =================================================================== | ||
23 | --- nss-3.37.1.orig/nss/coreconf/Werror.mk | ||
24 | +++ nss-3.37.1/nss/coreconf/Werror.mk | ||
25 | @@ -56,7 +56,7 @@ ifndef WARNING_CFLAGS | ||
26 | ifdef CC_IS_CLANG | ||
27 | # -Qunused-arguments : clang objects to arguments that it doesn't understand | ||
28 | # and fixing this would require rearchitecture | ||
29 | - WARNING_CFLAGS += -Qunused-arguments | ||
30 | + WARNING_CFLAGS += -Qunused-arguments -Wno-error=varargs | ||
31 | # -Wno-parentheses-equality : because clang warns about macro expansions | ||
32 | WARNING_CFLAGS += $(call disable_warning,parentheses-equality) | ||
33 | ifdef BUILD_OPT | ||
diff --git a/meta/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch b/meta/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch deleted file mode 100644 index 547594d5b6..0000000000 --- a/meta/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | nss: fix incorrect shebang of perl | ||
2 | |||
3 | Replace incorrect shebang of perl with `#!/usr/bin/env perl'. | ||
4 | |||
5 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
6 | Upstream-Status: Pending | ||
7 | --- | ||
8 | nss/cmd/smimetools/smime | 2 +- | ||
9 | nss/coreconf/cpdist.pl | 2 +- | ||
10 | nss/coreconf/import.pl | 2 +- | ||
11 | nss/coreconf/jniregen.pl | 2 +- | ||
12 | nss/coreconf/outofdate.pl | 2 +- | ||
13 | nss/coreconf/release.pl | 2 +- | ||
14 | nss/coreconf/version.pl | 2 +- | ||
15 | nss/tests/clean_tbx | 2 +- | ||
16 | nss/tests/path_uniq | 2 +- | ||
17 | 9 files changed, 9 insertions(+), 9 deletions(-) | ||
18 | |||
19 | diff --git a/nss/cmd/smimetools/smime b/nss/cmd/smimetools/smime | ||
20 | --- a/nss/cmd/smimetools/smime | ||
21 | +++ b/nss/cmd/smimetools/smime | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -#!/usr/local/bin/perl | ||
24 | +#!/usr/bin/env perl | ||
25 | |||
26 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
27 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
28 | diff --git a/nss/coreconf/cpdist.pl b/nss/coreconf/cpdist.pl | ||
29 | index 800edfb..652187f 100755 | ||
30 | --- a/nss/coreconf/cpdist.pl | ||
31 | +++ b/nss/coreconf/cpdist.pl | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -#! /usr/local/bin/perl | ||
34 | +#!/usr/bin/env perl | ||
35 | # | ||
36 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
37 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
38 | diff --git a/nss/coreconf/import.pl b/nss/coreconf/import.pl | ||
39 | index dd2d177..428eaa5 100755 | ||
40 | --- a/nss/coreconf/import.pl | ||
41 | +++ b/nss/coreconf/import.pl | ||
42 | @@ -1,4 +1,4 @@ | ||
43 | -#! /usr/local/bin/perl | ||
44 | +#!/usr/bin/env perl | ||
45 | # | ||
46 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
47 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
48 | diff --git a/nss/coreconf/jniregen.pl b/nss/coreconf/jniregen.pl | ||
49 | index 2039180..5f4f69c 100755 | ||
50 | --- a/nss/coreconf/jniregen.pl | ||
51 | +++ b/nss/coreconf/jniregen.pl | ||
52 | @@ -1,4 +1,4 @@ | ||
53 | -#!/usr/local/bin/perl | ||
54 | +#!/usr/bin/env perl | ||
55 | # | ||
56 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
57 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
58 | diff --git a/nss/coreconf/outofdate.pl b/nss/coreconf/outofdate.pl | ||
59 | index 33d80bb..01fc097 100755 | ||
60 | --- a/nss/coreconf/outofdate.pl | ||
61 | +++ b/nss/coreconf/outofdate.pl | ||
62 | @@ -1,4 +1,4 @@ | ||
63 | -#!/usr/local/bin/perl | ||
64 | +#!/usr/bin/env perl | ||
65 | # | ||
66 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
67 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
68 | diff --git a/nss/coreconf/release.pl b/nss/coreconf/release.pl | ||
69 | index 7cde19d..b5df2f6 100755 | ||
70 | --- a/nss/coreconf/release.pl | ||
71 | +++ b/nss/coreconf/release.pl | ||
72 | @@ -1,4 +1,4 @@ | ||
73 | -#! /usr/local/bin/perl | ||
74 | +#!/usr/bin/env perl | ||
75 | # | ||
76 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
77 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
78 | diff --git a/nss/coreconf/version.pl b/nss/coreconf/version.pl | ||
79 | index d2a4942..79359fe 100644 | ||
80 | --- a/nss/coreconf/version.pl | ||
81 | +++ b/nss/coreconf/version.pl | ||
82 | @@ -1,4 +1,4 @@ | ||
83 | -#!/usr/sbin/perl | ||
84 | +#!/usr/bin/env perl | ||
85 | # | ||
86 | # This Source Code Form is subject to the terms of the Mozilla Public | ||
87 | # License, v. 2.0. If a copy of the MPL was not distributed with this | ||
88 | diff --git a/nss/tests/clean_tbx b/nss/tests/clean_tbx | ||
89 | index 4de9555..a7def9f 100755 | ||
90 | --- a/nss/tests/clean_tbx | ||
91 | +++ b/nss/tests/clean_tbx | ||
92 | @@ -1,4 +1,4 @@ | ||
93 | -#! /bin/perl | ||
94 | +#!/usr/bin/env perl | ||
95 | |||
96 | ####################################################################### | ||
97 | # | ||
98 | diff --git a/nss/tests/path_uniq b/nss/tests/path_uniq | ||
99 | index f29f60a..08fbffa 100755 | ||
100 | --- a/nss/tests/path_uniq | ||
101 | +++ b/nss/tests/path_uniq | ||
102 | @@ -1,4 +1,4 @@ | ||
103 | -#! /bin/perl | ||
104 | +#!/usr/bin/env perl | ||
105 | |||
106 | ######################################################################## | ||
107 | # | ||
108 | -- | ||
109 | 1.8.1.2 | ||
110 | |||
diff --git a/meta/recipes-support/nss/nss/nss-fix-nsinstall-build.patch b/meta/recipes-support/nss/nss/nss-fix-nsinstall-build.patch deleted file mode 100644 index 43c09d13ea..0000000000 --- a/meta/recipes-support/nss/nss/nss-fix-nsinstall-build.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | Fix nss multilib build on openSUSE 11.x 32bit | ||
2 | |||
3 | While building lib64-nss on openSUSE 11.x 32bit, the nsinstall will | ||
4 | fail with error: | ||
5 | |||
6 | * nsinstall.c:1:0: sorry, unimplemented: 64-bit mode not compiled | ||
7 | |||
8 | It caused by the '-m64' option which passed to host gcc. | ||
9 | |||
10 | The nsinstall was built first while nss starting to build, it only runs | ||
11 | on host to install built files, it doesn't need any cross-compling or | ||
12 | multilib build options. Just clean the ARCHFLAG and LDFLAGS to fix this | ||
13 | error. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
18 | =================================================== | ||
19 | Index: nss-3.24/nss/coreconf/nsinstall/Makefile | ||
20 | =================================================================== | ||
21 | --- nss-3.24.orig/nss/coreconf/nsinstall/Makefile | ||
22 | +++ nss-3.24/nss/coreconf/nsinstall/Makefile | ||
23 | @@ -18,6 +18,13 @@ INTERNAL_TOOLS = 1 | ||
24 | |||
25 | include $(DEPTH)/coreconf/config.mk | ||
26 | |||
27 | +# nsinstall is unfit for cross-compiling/multilib-build since it was | ||
28 | +# always run on local host to install built files. This change intends | ||
29 | +# to clean the '-m64' from ARCHFLAG and LDFLAGS. | ||
30 | +ARCHFLAG = | ||
31 | +LDFLAGS = | ||
32 | +# CFLAGS = | ||
33 | + | ||
34 | ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET))) | ||
35 | PROGRAM = | ||
36 | else | ||
diff --git a/meta/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch b/meta/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch deleted file mode 100644 index 7661dc93a0..0000000000 --- a/meta/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | nss:no rpath for cross compiling | ||
2 | |||
3 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
4 | Upstream-Status: Inappropriate [configuration] | ||
5 | --- | ||
6 | nss/cmd/platlibs.mk | 4 ++-- | ||
7 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
8 | |||
9 | diff --git a/nss/cmd/platlibs.mk b/nss/cmd/platlibs.mk | ||
10 | --- a/nss/cmd/platlibs.mk | ||
11 | +++ b/nss/cmd/platlibs.mk | ||
12 | @@ -18,9 +18,9 @@ endif | ||
13 | |||
14 | ifeq ($(OS_ARCH), Linux) | ||
15 | ifeq ($(USE_64), 1) | ||
16 | -EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib64:/opt/sun/private/lib64:$$ORIGIN/../lib' | ||
17 | +#EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib64:/opt/sun/private/lib64:$$ORIGIN/../lib' | ||
18 | else | ||
19 | -EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib:/opt/sun/private/lib' | ||
20 | +#EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib:/opt/sun/private/lib' | ||
21 | endif | ||
22 | endif | ||
23 | |||
24 | -- | ||
25 | 1.8.1.2 | ||
26 | |||
diff --git a/meta/recipes-support/nss/nss/nss.pc.in b/meta/recipes-support/nss/nss/nss.pc.in deleted file mode 100644 index 402b4ecb33..0000000000 --- a/meta/recipes-support/nss/nss/nss.pc.in +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | prefix=OEPREFIX | ||
2 | exec_prefix=OEEXECPREFIX | ||
3 | libdir=OELIBDIR | ||
4 | includedir=OEINCDIR | ||
5 | |||
6 | Name: NSS | ||
7 | Description: Network Security Services | ||
8 | Version: %NSS_VERSION% | ||
9 | Requires: nspr >= %NSPR_VERSION% | ||
10 | Libs: -L${libdir} -lssl3 -lsmime3 -lnss3 -lsoftokn3 -lnssutil3 | ||
11 | Cflags: -IOEINCDIR | ||
diff --git a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch b/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch deleted file mode 100644 index 3a817faaa6..0000000000 --- a/meta/recipes-support/nss/nss/pqg.c-ULL_addend.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | nss does not build on mips with clang because wrong types are used? | ||
2 | |||
3 | pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] | ||
4 | if (addend < MP_DIGIT_MAX) { | ||
5 | ~~~~~~ ^ ~~~~~~~~~~~~ | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | Upstream-Status: Pending | ||
9 | Index: nss-3.37.1/nss/lib/freebl/pqg.c | ||
10 | =================================================================== | ||
11 | --- nss-3.37.1.orig/nss/lib/freebl/pqg.c | ||
12 | +++ nss-3.37.1/nss/lib/freebl/pqg.c | ||
13 | @@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_in | ||
14 | |||
15 | static SECStatus | ||
16 | addToSeed(const SECItem *seed, | ||
17 | - unsigned long addend, | ||
18 | - int seedlen, /* g in 186-1 */ | ||
19 | + unsigned long long addend, | ||
20 | + int seedlen, /* g in 186-1 */ | ||
21 | SECItem *seedout) | ||
22 | { | ||
23 | mp_int s, sum, modulus, tmp; | ||
diff --git a/meta/recipes-support/nss/nss/signlibs.sh b/meta/recipes-support/nss/nss/signlibs.sh deleted file mode 100644 index a74e499f8c..0000000000 --- a/meta/recipes-support/nss/nss/signlibs.sh +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # signlibs.sh | ||
4 | # | ||
5 | # (c)2010 Wind River Systems, Inc. | ||
6 | # | ||
7 | # regenerates the .chk files for the NSS libraries that require it | ||
8 | # since the ones that are built have incorrect checksums that were | ||
9 | # calculated on the host where they really need to be done on the | ||
10 | # target | ||
11 | |||
12 | CHK_FILES=`ls /lib*/*.chk /usr/lib*/*.chk 2>/dev/null` | ||
13 | SIGN_BINARY=`which shlibsign` | ||
14 | for I in $CHK_FILES | ||
15 | do | ||
16 | DN=`dirname $I` | ||
17 | BN=`basename $I .chk` | ||
18 | FN=$DN/$BN.so | ||
19 | $SIGN_BINARY -i $FN | ||
20 | done | ||
diff --git a/meta/recipes-support/nss/nss/system-pkcs11.txt b/meta/recipes-support/nss/nss/system-pkcs11.txt deleted file mode 100644 index 1a264e9cc4..0000000000 --- a/meta/recipes-support/nss/nss/system-pkcs11.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | library= | ||
2 | name=NSS Internal PKCS #11 Module | ||
3 | parameters=configdir='sql:/etc/pki/nssdb' certPrefix='' keyPrefix='' secmod='secmod.db' flags= updatedir='' updateCertPrefix='' updateKeyPrefix='' updateid='' updateTokenDescription='' | ||
4 | NSS=Flags=internal,critical trustOrder=75 cipherOrder=100 slotParams=(1={slotFlags=[ECC,RSA,DSA,DH,RC2,RC4,DES,RANDOM,SHA1,MD5,MD2,SSL,TLS,AES,Camellia,SEED,SHA256,SHA512] askpw=any timeout=30}) | ||
5 | |||