Skip to content

Commit d0d1eba

Browse files
rvaggBridgeAR
authored andcommitted
deps: update license-builder & LICENSE for c-ares
c-ares now includes a LICENSE file so we no longer need to pull from the heading of a file. PR-URL: #15378 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent a9f1254 commit d0d1eba

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

LICENSE

+12-13
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,19 @@ The externally maintained libraries used by Node.js are:
5353

5454
- c-ares, located at deps/cares, is licensed as follows:
5555
"""
56+
Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS
57+
file.
58+
5659
Copyright 1998 by the Massachusetts Institute of Technology.
57-
Copyright (C) 2007-2013 by Daniel Stenberg
58-
59-
Permission to use, copy, modify, and distribute this
60-
software and its documentation for any purpose and without
61-
fee is hereby granted, provided that the above copyright
62-
notice appear in all copies and that both that copyright
63-
notice and this permission notice appear in supporting
64-
documentation, and that the name of M.I.T. not be used in
65-
advertising or publicity pertaining to distribution of the
66-
software without specific, written prior permission.
67-
M.I.T. makes no representations about the suitability of
68-
this software for any purpose. It is provided "as is"
69-
without express or implied warranty.
60+
61+
Permission to use, copy, modify, and distribute this software and its
62+
documentation for any purpose and without fee is hereby granted, provided that
63+
the above copyright notice appear in all copies and that both that copyright
64+
notice and this permission notice appear in supporting documentation, and that
65+
the name of M.I.T. not be used in advertising or publicity pertaining to
66+
distribution of the software without specific, written prior permission.
67+
M.I.T. makes no representations about the suitability of this software for any
68+
purpose. It is provided "as is" without express or implied warranty.
7069
"""
7170

7271
- HTTP Parser, located at deps/http_parser, is licensed as follows:

tools/license-builder.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ fi
2929

3030

3131
# Dependencies bundled in distributions
32-
addlicense "c-ares" "deps/cares" \
33-
"$(sed -e '/^ \*\/$/,$d' -e '/^$/d' -e 's/^[/ ]\* *//' ${rootdir}/deps/cares/src/ares_init.c)"
32+
addlicense "c-ares" "deps/cares" "$(tail -n +3 ${rootdir}/deps/cares/LICENSE.md)"
3433
addlicense "HTTP Parser" "deps/http_parser" "$(cat deps/http_parser/LICENSE-MIT)"
3534
if [ -f "${rootdir}/deps/icu/LICENSE" ]; then
3635
# ICU 57 and following. Drop the BOM

0 commit comments

Comments
 (0)