Skip to content

Commit fc5dc9c

Browse files
ryzokukenMylesBorins
authored andcommitted
doc: include license for src/large_pages in LICENSE
Include License for src/large_pages (MIT licensed by Intel), to the main LICENSE file and make required changes to the tools/license-builder.sh script. Fixes: #25238 PR-URL: #25246 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 225dfed commit fc5dc9c

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

LICENSE

+23
Original file line numberDiff line numberDiff line change
@@ -1310,3 +1310,26 @@ The externally maintained libraries used by Node.js are:
13101310
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
13111311
IN THE SOFTWARE.
13121312
"""
1313+
1314+
- large_pages, located at src/large_pages, is licensed as follows:
1315+
"""
1316+
Copyright (C) 2018 Intel Corporation
1317+
1318+
Permission is hereby granted, free of charge, to any person obtaining a copy
1319+
of this software and associated documentation files (the "Software"),
1320+
to deal in the Software without restriction, including without limitation
1321+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
1322+
and/or sell copies of the Software, and to permit persons to whom
1323+
the Software is furnished to do so, subject to the following conditions:
1324+
1325+
The above copyright notice and this permission notice shall be included
1326+
in all copies or substantial portions of the Software.
1327+
1328+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1329+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1330+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1331+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
1332+
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1333+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
1334+
OR OTHER DEALINGS IN THE SOFTWARE.
1335+
"""

tools/license-builder.sh

+3
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,7 @@ addlicense "nghttp2" "deps/nghttp2" "$(cat ${rootdir}/deps/nghttp2/COPYING)"
9090
# node-inspect
9191
addlicense "node-inspect" "deps/node-inspect" "$(cat ${rootdir}/deps/node-inspect/LICENSE)"
9292

93+
# large_pages
94+
addlicense "large_pages" "src/large_pages" "$(sed -e '/SPDX-License-Identifier/,$d' -e 's/^\/\///' ${rootdir}/src/large_pages/node_large_page.h)"
95+
9396
mv $tmplicense $licensefile

0 commit comments

Comments
 (0)