<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-devtools/nodejs, branch dunfell-next</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=dunfell-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=dunfell-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2024-03-03T21:38:27+00:00</updated>
<entry>
<title>nodejs: Set CVE_PRODUCT to "node.js"</title>
<updated>2024-03-03T21:38:27+00:00</updated>
<author>
<name>virendra thakur</name>
<email>thakur.virendra1810@gmail.com</email>
</author>
<published>2024-02-09T06:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=de497fb40998a1b89f6b23083264bfa4c2a70504'/>
<id>urn:sha1:de497fb40998a1b89f6b23083264bfa4c2a70504</id>
<content type='text'>
Set CVE_PRODUCT to 'node.js' for nodjs recipe

Signed-off-by: virendra thakur &lt;virendrak@kpit.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs-14: add -fpermissive BUILD_CXXFLAGS to fix build with gcc-13 on host</title>
<updated>2023-07-25T11:29:13+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2023-07-24T12:22:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=172fc48573ab66732ed193f00a49e1159727b402'/>
<id>urn:sha1:172fc48573ab66732ed193f00a49e1159727b402</id>
<content type='text'>
Fixes nodejs-native build with gcc-13 on host:
http://errors.yoctoproject.org/Errors/Details/728221/

nodejs-12 doesn't need it yet and nodejs-16 doesn't need it as well

'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.84"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DV8_ARRAY_BUFFER_EXTENSION' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION' -ITOPDIR/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/torque-output-root -I.//Release/obj/gen/generate-bytecode-output-root  -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF .//Release/.deps/Release/obj.host/v8_initializers/gen/torque-output-root/torque-generated/../../deps/v8/src/builtins/array-find-tq-csa.o.d.raw -isystemTOPDIR/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -isystemTOPDIR/tmp-glibc/work/x86_64-linux/nodejs-native/14.18.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/move.h:37,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_function.h:60,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/functional:49,
                 from ../deps/v8/src/codegen/code-stub-assembler.h:8,
                 from ../deps/v8/src/builtins/builtins-promise-gen.h:8,
                 from ../deps/v8/src/builtins/builtins-async-gen.h:8,
                 from ../deps/v8/src/builtins/builtins-async-function-gen.cc:5:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits: In instantiation of ‘struct std::is_convertible&lt;v8::internal::Cell, v8::internal::Object&gt;’:
../deps/v8/src/codegen/tnode.h:262:72:   required from ‘const bool v8::internal::is_subtype&lt;v8::internal::Cell, v8::internal::Cell&gt;::value’
../deps/v8/src/codegen/tnode.h:346:75:   required by substitution of ‘template&lt;class U, typename std::enable_if&lt;v8::internal::is_subtype&lt;U, v8::internal::Cell&gt;::value, int&gt;::type &lt;anonymous&gt; &gt; v8::internal::TNode&lt;v8::internal::Cell&gt;::TNode(const v8::internal::TNode&lt;T&gt;&amp;) [with U = v8::internal::Cell; typename std::enable_if&lt;v8::internal::is_subtype&lt;U, v8::internal::Cell&gt;::value, int&gt;::type &lt;anonymous&gt; = &lt;missing&gt;]’
../deps/v8/src/codegen/code-stub-assembler.h:1868:33:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::Cell’ [-fpermissive]
 1417 |     : public __bool_constant&lt;__is_convertible(_From, _To)&gt;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../deps/v8/src/objects/objects.h:26,
                 from ../deps/v8/src/objects/fixed-array.h:10,
                 from ../deps/v8/src/objects/contexts.h:8,
                 from ../deps/v8/src/execution/thread-local-top.h:10,
                 from ../deps/v8/src/execution/isolate-data.h:12,
                 from ../deps/v8/src/execution/isolate.h:24,
                 from ../deps/v8/src/codegen/interface-descriptors.h:14,
                 from ../deps/v8/src/codegen/callable.h:8,
                 from ../deps/v8/src/codegen/code-factory.h:8,
                 from ../deps/v8/src/compiler/code-assembler.h:17,
                 from ../deps/v8/src/codegen/code-stub-assembler.h:15:
../deps/v8/src/objects/object-list-macros.h:19:7: note: forward declaration of ‘class v8::internal::Cell’
   19 | class Cell;
      |       ^~~~
In file included from ../deps/v8/src/codegen/interface-descriptors.h:12:
../deps/v8/src/codegen/tnode.h: In instantiation of ‘const bool v8::internal::is_subtype&lt;v8::internal::Cell, v8::internal::Cell&gt;::value’:
../deps/v8/src/codegen/tnode.h:346:75:   required by substitution of ‘template&lt;class U, typename std::enable_if&lt;v8::internal::is_subtype&lt;U, v8::internal::Cell&gt;::value, int&gt;::type &lt;anonymous&gt; &gt; v8::internal::TNode&lt;v8::internal::Cell&gt;::TNode(const v8::internal::TNode&lt;T&gt;&amp;) [with U = v8::internal::Cell; typename std::enable_if&lt;v8::internal::is_subtype&lt;U, v8::internal::Cell&gt;::value, int&gt;::type &lt;anonymous&gt; = &lt;missing&gt;]’
../deps/v8/src/codegen/code-stub-assembler.h:1868:33:   required from here
../deps/v8/src/codegen/tnode.h:262:72: error: ‘value’ is not a member of ‘std::is_convertible&lt;v8::internal::Cell, v8::internal::Object&gt;’
  262 |                                        std::is_convertible&lt;T, Object&gt;::value);
      |                                                                        ^~~~~

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Fix build with gcc13</title>
<updated>2023-07-25T11:29:04+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-07-23T16:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=0aa6a3ddc607cca1bdf29c6ebb38cddcb5114e3e'/>
<id>urn:sha1:0aa6a3ddc607cca1bdf29c6ebb38cddcb5114e3e</id>
<content type='text'>
* MJ: remove AUTHORS modification from the original patch from
  nodejs-16, so that the same patch does apply for both 14 and 12
  versions used in dunfell

* MJ: gcc-13 isn't used for target builds in dunfell, but can be used
  on host, so this is useful backport for nodejs-native

* MJ: this fixes default nodejs-native-12, nodejs-native-14 with negative
  D_P might need additional fix on top

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: fix native node-gyp to work with python-3.11</title>
<updated>2023-06-23T10:58:18+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2023-05-17T06:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d25f2f1cacecf60397e3d5fa913b4b771e1ba8a0'/>
<id>urn:sha1:d25f2f1cacecf60397e3d5fa913b4b771e1ba8a0</id>
<content type='text'>
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: make 14.18.1 available but not default</title>
<updated>2023-05-16T11:09:25+00:00</updated>
<author>
<name>Narpat Mali</name>
<email>narpat.mali@windriver.com</email>
</author>
<published>2023-05-11T16:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=116bfe8d5e5851e7fc5424f40da8691a19c5b5ee'/>
<id>urn:sha1:116bfe8d5e5851e7fc5424f40da8691a19c5b5ee</id>
<content type='text'>
Chromium 112 needs nodejs-native version 14 or later.
Add the nodejs_14.18.1 recipe from kirkstone:
   246b20b92 nodejs: Upgrade to 14.18.1
but, use DEFAULT_PREFERENCE to make sure that the default version of nodejs
remains 12.x.

7 patches which were modified between nodejs 12 &amp; nodejs 14 were renamed by
adding the suffix "-nodejs14". Note there are some common patches used by
nodejs 12 &amp; 14 so, that will require attention during future maintenance.
In addition, there were 3 CVE-2022* patches which applied cleanly to nodejs
14 so, they were added to the nodejs 14 recipe. One patch, CVE-llhttp.patch
conflicted so, it has not been applied in nodejs 14 yet.

Nodejs 14 compile for qemux86-64 but, no run-time testing has been performed.

For chromium, we would either require users to modify the local.conf file or
we may create a dunfell specific branch in meta-browser.
See: https://github.com/OSSystems/meta-browser/pull/709

Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Signed-off-by: Narpat Mali &lt;narpat.mali@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Fix CVEs for nodejs</title>
<updated>2023-03-18T20:16:42+00:00</updated>
<author>
<name>Poonam Jadhav</name>
<email>Poonam.Jadhav@kpit.com</email>
</author>
<published>2023-03-03T12:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=068acc4ec714165cab50e46018136e4bcef81815'/>
<id>urn:sha1:068acc4ec714165cab50e46018136e4bcef81815</id>
<content type='text'>
Add patch file CVE-llhttp.patch to fix CVE-2022-32213,
CVE-2022-32214, CVE-2022-32215, CVE-2022-35256 of nodejs.

Link: https://sources.debian.org/src/nodejs/12.22.12~dfsg-1~deb11u3/debian/patches/cve-llhttp.patch

Signed-off-by: Poonam Jadhav &lt;Poonam.Jadhav@kpit.com&gt;
Signed-off-by: Omkar Patil &lt;omkarpatil10.93@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Fix CVE-2022-43548</title>
<updated>2023-03-18T20:16:42+00:00</updated>
<author>
<name>Poonam Jadhav</name>
<email>Poonam.Jadhav@kpit.com</email>
</author>
<published>2023-03-03T12:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=9291a8873887ce36d4e394dcde7b28a0889b35b3'/>
<id>urn:sha1:9291a8873887ce36d4e394dcde7b28a0889b35b3</id>
<content type='text'>
Add patch to fix CVE-2022-43548

Link: https://sources.debian.org/src/nodejs/12.22.12~dfsg-1~deb11u3/debian/patches/cve-2022-43548.patch

Signed-off-by: Poonam Jadhav &lt;Poonam.Jadhav@kpit.com&gt;
Signed-off-by: Omkar Patil &lt;omkarpatil10.93@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Fix CVE-2022-35255</title>
<updated>2023-03-18T20:16:42+00:00</updated>
<author>
<name>Poonam Jadhav</name>
<email>Poonam.Jadhav@kpit.com</email>
</author>
<published>2023-03-03T12:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=b691797f7768378a8caf36812312848add77377a'/>
<id>urn:sha1:b691797f7768378a8caf36812312848add77377a</id>
<content type='text'>
Add patch to fix CVE-2022-35255

Link: https://sources.debian.org/src/nodejs/12.22.12~dfsg-1~deb11u3/debian/patches/cve-2022-35255.patch

Signed-off-by: Poonam Jadhav &lt;Poonam.Jadhav@kpit.com&gt;
Signed-off-by: Omkar Patil &lt;omkarpatil10.93@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Fix CVE-2022-32212</title>
<updated>2023-03-18T20:16:42+00:00</updated>
<author>
<name>Poonam Jadhav</name>
<email>Poonam.Jadhav@kpit.com</email>
</author>
<published>2023-03-03T12:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=df7fba37446e8af5f043b7d4ba0e2611578a016f'/>
<id>urn:sha1:df7fba37446e8af5f043b7d4ba0e2611578a016f</id>
<content type='text'>
Add patch to fix CVE-2022-32212

Link: https://sources.debian.org/src/nodejs/12.22.12~dfsg-1~deb11u3/debian/patches/cve-2022-32212.patch

Signed-off-by: Poonam Jadhav &lt;Poonam.Jadhav@kpit.com&gt;
Signed-off-by: Omkar Patil &lt;omkarpatil10.93@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>nodejs: Upgrade to 12.22.12</title>
<updated>2022-09-11T17:49:52+00:00</updated>
<author>
<name>Ranjitsinh Rathod</name>
<email>ranjitsinh.rathod@kpit.com</email>
</author>
<published>2022-08-12T07:42:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a1a40c95ebf3b9c593a5b6ab97f08db9901caf42'/>
<id>urn:sha1:a1a40c95ebf3b9c593a5b6ab97f08db9901caf42</id>
<content type='text'>
As per the below release note, it should be a last release for 12.x
stable LTS series.
Link: https://github.com/nodejs/node/releases/tag/v12.22.12

Remove CVE-2021-44532 fix as it already available in this release
v12.22.12

License-Update: src/gtest additional file in the LICENSE

Signed-off-by: Ranjitsinh Rathod &lt;ranjitsinh.rathod@kpit.com&gt;
Signed-off-by: Akash Hadke &lt;akash.hadke@kpit.com&gt;
</content>
</entry>
</feed>
