Skip to content

Commit 8a701c3

Browse files
ryzokukentargos
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 4ca4b54 commit 8a701c3

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
@@ -1325,3 +1325,26 @@ The externally maintained libraries used by Node.js are:
13251325
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
13261326
IN THE SOFTWARE.
13271327
"""
1328+
1329+
- large_pages, located at src/large_pages, is licensed as follows:
1330+
"""
1331+
Copyright (C) 2018 Intel Corporation
1332+
1333+
Permission is hereby granted, free of charge, to any person obtaining a copy
1334+
of this software and associated documentation files (the "Software"),
1335+
to deal in the Software without restriction, including without limitation
1336+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
1337+
and/or sell copies of the Software, and to permit persons to whom
1338+
the Software is furnished to do so, subject to the following conditions:
1339+
1340+
The above copyright notice and this permission notice shall be included
1341+
in all copies or substantial portions of the Software.
1342+
1343+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1344+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1345+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1346+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
1347+
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1348+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
1349+
OR OTHER DEALINGS IN THE SOFTWARE.
1350+
"""

tools/license-builder.sh

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

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

0 commit comments

Comments
 (0)