diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/nss/files/nss-fix-incorrect-shebang-of-perl.patch | 110 | ||||
-rw-r--r-- | meta/recipes-support/nss/nss.inc | 1 |
2 files changed, 111 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/files/nss-fix-incorrect-shebang-of-perl.patch b/meta/recipes-support/nss/files/nss-fix-incorrect-shebang-of-perl.patch new file mode 100644 index 0000000000..547594d5b6 --- /dev/null +++ b/meta/recipes-support/nss/files/nss-fix-incorrect-shebang-of-perl.patch | |||
@@ -0,0 +1,110 @@ | |||
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.inc b/meta/recipes-support/nss/nss.inc index 4270743329..e2f3891ba7 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc | |||
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = "file://nss/lib/freebl/mpi/doc/LICENSE;md5=491f158d09d948466a | |||
15 | SRC_URI = "\ | 15 | SRC_URI = "\ |
16 | file://nss-fix-support-cross-compiling.patch \ | 16 | file://nss-fix-support-cross-compiling.patch \ |
17 | file://nss-no-rpath-for-cross-compiling.patch \ | 17 | file://nss-no-rpath-for-cross-compiling.patch \ |
18 | file://nss-fix-incorrect-shebang-of-perl.patch \ | ||
18 | " | 19 | " |
19 | SRC_URI_append_class-target += "\ | 20 | SRC_URI_append_class-target += "\ |
20 | file://nss.pc.in \ | 21 | file://nss.pc.in \ |