@nodenv/node-build 5.1.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -54
- package/bin/node-build +184 -112
- package/bin/nodenv-install +31 -11
- package/package.json +2 -2
- package/share/node-build/21.0.0 +1 -2
- package/share/node-build/21.1.0 +1 -2
- package/share/node-build/21.2.0 +1 -2
- package/share/node-build/21.3.0 +1 -2
- package/share/node-build/21.4.0 +1 -2
- package/share/node-build/21.5.0 +1 -2
- package/share/node-build/21.6.0 +1 -2
- package/share/node-build/21.6.1 +1 -2
- package/share/node-build/21.6.2 +1 -2
- package/share/node-build/21.7.0 +1 -2
- package/share/node-build/21.7.1 +1 -2
- package/share/node-build/21.7.2 +1 -2
- package/share/node-build/21.7.3 +1 -2
- package/share/node-build/21.x-dev +1 -1
- package/share/node-build/21.x-next +1 -1
package/README.md
CHANGED
@@ -13,11 +13,9 @@ https://github.com/nodenv/node-build/releases/latest)
|
|
13
13
|
https://img.shields.io/npm/v/@nodenv/node-build?logo=npm&logoColor=white)](
|
14
14
|
https://www.npmjs.com/package/@nodenv/node-build/v/latest)
|
15
15
|
|
16
|
-
node-build is a command-line
|
17
|
-
version of Node, from source or precompiled binary.
|
16
|
+
node-build is a command-line tool that simplifies installation of any Node version from source or precompiled binary on Unix-like systems.
|
18
17
|
|
19
|
-
It is available as a plugin for [nodenv][]
|
20
|
-
provides the `nodenv install` command, or as a standalone program.
|
18
|
+
It is available as a plugin for [nodenv][] as the `nodenv install` command, or as a standalone program as the `node-build` command.
|
21
19
|
|
22
20
|
<!-- toc -->
|
23
21
|
|
@@ -42,41 +40,34 @@ provides the `nodenv install` command, or as a standalone program.
|
|
42
40
|
|
43
41
|
## Installation
|
44
42
|
|
43
|
+
### Homebrew package manager
|
45
44
|
```sh
|
46
|
-
|
47
|
-
$ brew install node-build
|
48
|
-
|
49
|
-
# As a nodenv plugin
|
50
|
-
$ mkdir -p "$(nodenv root)"/plugins
|
51
|
-
$ git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build
|
52
|
-
|
53
|
-
# As a standalone program
|
54
|
-
$ git clone https://github.com/nodenv/node-build.git
|
55
|
-
$ PREFIX=/usr/local ./node-build/install.sh
|
45
|
+
brew install node-build
|
56
46
|
```
|
57
47
|
|
58
|
-
|
59
|
-
|
48
|
+
Upgrade with:
|
60
49
|
```sh
|
61
|
-
|
62
|
-
|
50
|
+
brew upgrade node-build
|
51
|
+
```
|
63
52
|
|
64
|
-
|
65
|
-
|
53
|
+
### Clone as nodenv plugin using git
|
54
|
+
```sh
|
55
|
+
git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build
|
66
56
|
```
|
67
57
|
|
68
|
-
|
58
|
+
Upgrade with:
|
59
|
+
```sh
|
60
|
+
git -C "$(nodenv root)"/plugins/node-build pull
|
61
|
+
```
|
69
62
|
|
70
|
-
|
71
|
-
node-build to use, check out the [node-build-update-defs][] plugin.
|
72
|
-
Once installed:
|
63
|
+
### Install manually as a standalone program
|
73
64
|
|
74
|
-
|
75
|
-
|
65
|
+
First, download a tarball from https://github.com/nodenv/node-build/releases/latest. Then:
|
66
|
+
```sh
|
67
|
+
tar -xzf node-build-*.tar.gz
|
68
|
+
PREFIX=/usr/local ./node-build-*/install.sh
|
76
69
|
```
|
77
70
|
|
78
|
-
No need to wait for node-build to provide the latest definitions!
|
79
|
-
|
80
71
|
## Usage
|
81
72
|
|
82
73
|
### Basic Usage
|
@@ -91,9 +82,17 @@ $ node-build --definitions # lists all available versions of Nod
|
|
91
82
|
$ node-build 10.13.0 ~/local/node-10.13.0 # installs Node 10.13.0 to ~/local/node-10.13.0
|
92
83
|
```
|
93
84
|
|
94
|
-
|
95
|
-
attempting to compile
|
96
|
-
|
85
|
+
> **Warning**
|
86
|
+
> node-build mostly does not verify that system dependencies are present before downloading and attempting to compile Node from source. Please ensure that [all requisite libraries][build-env] such as build tools and development headers are already present on your system.
|
87
|
+
|
88
|
+
Firstly, if a precompiled binary exists for your platform, node-build downloads and installs it.
|
89
|
+
Otherwise it will build node from source.
|
90
|
+
Basically, what node-build does when installing a Node version is this:
|
91
|
+
- Downloads an official tarball of Node source code;
|
92
|
+
- Extracts the archive into a temporary directory on your system;
|
93
|
+
- Executes `./configure --prefix=/path/to/destination` in the source code;
|
94
|
+
- Runs `make install` to compile Node;
|
95
|
+
- Verifies that the installed Node is functional.
|
97
96
|
|
98
97
|
### Advanced Usage
|
99
98
|
|
@@ -106,12 +105,20 @@ instead of compiling from source. To force compilation, pass the `-c` or
|
|
106
105
|
|
107
106
|
#### Custom Build Definitions
|
108
107
|
|
109
|
-
|
110
|
-
|
111
|
-
|
108
|
+
To install a version of Node that is not recognized by node-build, you can specify the path to a custom build definition file in place of a Node version number.
|
109
|
+
|
110
|
+
Check out [default build definitions][definitions] as examples on how to write definition files.
|
112
111
|
|
113
|
-
|
114
|
-
|
112
|
+
##### Generating Latest-Release Build Definitions
|
113
|
+
|
114
|
+
Additionally, check out the [node-build-update-defs][] plugin.
|
115
|
+
It generates the standard build definitions for releases available from nodejs.org.
|
116
|
+
This allows you to install node versions as soon as they are available from nodejs.org,
|
117
|
+
without waiting for node-build itself to provide them. Once installed:
|
118
|
+
|
119
|
+
``` shell
|
120
|
+
nodenv update-version-defs
|
121
|
+
```
|
115
122
|
|
116
123
|
#### Custom Build Configuration
|
117
124
|
|
@@ -144,9 +151,7 @@ The build process may be configured through the following environment variables:
|
|
144
151
|
|
145
152
|
#### Applying Patches
|
146
153
|
|
147
|
-
Both `nodenv install` and `node-build` support the
|
148
|
-
a patch to the Node (/iojs/chakracore) source code before building.
|
149
|
-
Patches are read from `STDIN`:
|
154
|
+
Both `nodenv install` and `node-build` commands support the `-p/--patch` flag to apply a patch to the Node source code before building. Patches are read from standard input:
|
150
155
|
|
151
156
|
```sh
|
152
157
|
# applying a single patch
|
@@ -161,12 +166,9 @@ $ cat fix1.patch fix2.patch | nodenv install --patch 11.1.0
|
|
161
166
|
|
162
167
|
#### Checksum Verification
|
163
168
|
|
164
|
-
|
165
|
-
automatically verify the SHA2 checksum of each downloaded package before
|
166
|
-
installing it.
|
169
|
+
All Node definition files bundled with node-build include checksums for packages, meaning that all externally downloaded packages are automatically checked for integrity after fetching.
|
167
170
|
|
168
|
-
|
169
|
-
definition. All definitions bundled with node-build include checksums.
|
171
|
+
See the next section for more information on how to author checksums.
|
170
172
|
|
171
173
|
#### Package Mirrors
|
172
174
|
|
@@ -232,13 +234,13 @@ Be sure to include the full build log for build failures.
|
|
232
234
|
Forked from [Sam Stephenson][]'s [ruby-build][] by [Will McKenzie][]
|
233
235
|
and modified for node.
|
234
236
|
|
235
|
-
[nodenv]: https://github.com/nodenv/nodenv
|
236
|
-
[
|
237
|
-
[
|
238
|
-
[
|
239
|
-
[
|
240
|
-
[build-
|
241
|
-
[
|
242
|
-
[
|
243
|
-
[
|
244
|
-
[
|
237
|
+
[nodenv]: https://github.com/nodenv/nodenv#readme
|
238
|
+
[definitions]: https://github.com/nodenv/node-build/tree/main/share/node-build
|
239
|
+
[wiki]: https://github.com/nodenv/node-build/wiki
|
240
|
+
[build-env]: https://github.com/nodenv/node-build/wiki#suggested-build-environment
|
241
|
+
[issue tracker]: https://github.com/nodenv/node-build/issues
|
242
|
+
[node-build-update-defs]: https://github.com/nodenv/node-build-update-defs
|
243
|
+
[Sam Stephenson]: https://github.com/sstephenson
|
244
|
+
[Will McKenzie]: https://github.com/oinutter
|
245
|
+
[ruby-build]: https://github.com/rbenv/ruby-build
|
246
|
+
[ruby-build wiki]: https://github.com/rbenv/ruby-build/wiki
|
package/bin/node-build
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
# --version Show version of node-build
|
16
16
|
#
|
17
17
|
|
18
|
-
NODE_BUILD_VERSION=5.
|
18
|
+
NODE_BUILD_VERSION=5.3.0
|
19
19
|
|
20
20
|
OLDIFS="$IFS"
|
21
21
|
|
@@ -27,10 +27,15 @@ lib() {
|
|
27
27
|
parse_options() {
|
28
28
|
OPTIONS=()
|
29
29
|
ARGUMENTS=()
|
30
|
+
EXTRA_ARGUMENTS=()
|
30
31
|
local arg option index
|
31
32
|
|
32
|
-
|
33
|
-
|
33
|
+
while [ $# -gt 0 ]; do
|
34
|
+
arg="$1"
|
35
|
+
if [ "$arg" == "--" ]; then
|
36
|
+
shift 1
|
37
|
+
break
|
38
|
+
elif [ "${arg:0:1}" = "-" ]; then
|
34
39
|
if [ "${arg:1:1}" = "-" ]; then
|
35
40
|
OPTIONS[${#OPTIONS[*]}]="${arg:2}"
|
36
41
|
else
|
@@ -41,15 +46,19 @@ lib() {
|
|
41
46
|
index=$((index+1))
|
42
47
|
done
|
43
48
|
fi
|
49
|
+
shift 1
|
44
50
|
else
|
45
51
|
ARGUMENTS[${#ARGUMENTS[*]}]="$arg"
|
52
|
+
shift 1
|
46
53
|
fi
|
47
54
|
done
|
55
|
+
|
56
|
+
EXTRA_ARGUMENTS=("$@")
|
48
57
|
}
|
49
58
|
|
50
|
-
if [ "$1" == "--$FUNCNAME" ]; then
|
51
|
-
declare -f "$FUNCNAME"
|
52
|
-
echo "$FUNCNAME \"\$1\";"
|
59
|
+
if [ "$1" == "--${FUNCNAME[0]}" ]; then
|
60
|
+
declare -f "${FUNCNAME[0]}"
|
61
|
+
echo "${FUNCNAME[0]} \"\$1\";"
|
53
62
|
exit
|
54
63
|
fi
|
55
64
|
}
|
@@ -63,20 +72,21 @@ resolve_link() {
|
|
63
72
|
abs_dirname() {
|
64
73
|
local path="$1"
|
65
74
|
local cwd
|
66
|
-
cwd="$(pwd)"
|
75
|
+
cwd="$(pwd || true)"
|
67
76
|
|
68
77
|
while [ -n "$path" ]; do
|
69
|
-
cd "${path%/*}"
|
78
|
+
cd "${path%/*}" || return 1
|
70
79
|
local name="${path##*/}"
|
71
80
|
path="$(resolve_link "$name" || true)"
|
72
81
|
done
|
73
82
|
|
74
83
|
pwd
|
75
|
-
cd "$cwd"
|
84
|
+
cd "$cwd" || return 1
|
76
85
|
}
|
77
86
|
|
78
87
|
capitalize() {
|
79
|
-
|
88
|
+
# shellcheck disable=SC2018,SC2019
|
89
|
+
printf "%s" "$1" | tr 'a-z' 'A-Z'
|
80
90
|
}
|
81
91
|
|
82
92
|
sanitize() {
|
@@ -84,7 +94,7 @@ sanitize() {
|
|
84
94
|
}
|
85
95
|
|
86
96
|
colorize() {
|
87
|
-
if [ -t 1 ]; then printf "
|
97
|
+
if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2"
|
88
98
|
else echo -n "$2"
|
89
99
|
fi
|
90
100
|
}
|
@@ -95,7 +105,9 @@ os_information() {
|
|
95
105
|
elif type -p sw_vers >/dev/null; then
|
96
106
|
echo "$(sw_vers -productName) $(sw_vers -productVersion)"
|
97
107
|
elif [ -r /etc/os-release ]; then
|
108
|
+
# shellcheck disable=SC1091
|
98
109
|
source /etc/os-release
|
110
|
+
# shellcheck disable=SC2153
|
99
111
|
echo "$NAME $VERSION_ID"
|
100
112
|
else
|
101
113
|
local os
|
@@ -106,17 +118,26 @@ os_information() {
|
|
106
118
|
|
107
119
|
is_mac() {
|
108
120
|
[ "$(uname -s)" = "Darwin" ] || return 1
|
109
|
-
[ $# -eq 0 ] ||
|
121
|
+
[ $# -eq 0 ] || [ "$(osx_version)" -ge "$1" ]
|
122
|
+
}
|
123
|
+
|
124
|
+
is_freebsd() {
|
125
|
+
[ "$(uname -s)" = "FreeBSD" ]
|
126
|
+
}
|
127
|
+
|
128
|
+
freebsd_package_prefix() {
|
129
|
+
local package="$1"
|
130
|
+
pkg info --prefix "$package" 2>/dev/null | cut -wf2
|
110
131
|
}
|
111
132
|
|
112
133
|
# 9.1 -> 901
|
113
134
|
# 10.9 -> 1009
|
114
135
|
# 10.10 -> 1010
|
115
136
|
osx_version() {
|
116
|
-
local
|
117
|
-
IFS=. ver
|
137
|
+
local ver
|
138
|
+
IFS=. read -d "" -r -a ver <<<"$(sw_vers -productVersion)" || true
|
118
139
|
IFS="$OLDIFS"
|
119
|
-
echo $((
|
140
|
+
echo $(( ver[0]*100 + ver[1] ))
|
120
141
|
}
|
121
142
|
|
122
143
|
build_failed() {
|
@@ -132,9 +153,9 @@ build_failed() {
|
|
132
153
|
if ! rmdir "${BUILD_PATH}" 2>/dev/null; then
|
133
154
|
echo "Inspect or clean up the working tree at ${BUILD_PATH}"
|
134
155
|
|
135
|
-
if
|
156
|
+
if [ -n "$(head -1 "$LOG_PATH" 2>/dev/null)" ]; then
|
136
157
|
colorize 33 "Results logged to ${LOG_PATH}"
|
137
|
-
printf "
|
158
|
+
printf "\n\n"
|
138
159
|
echo "Last 10 log lines:"
|
139
160
|
tail -n 10 "$LOG_PATH"
|
140
161
|
fi
|
@@ -143,18 +164,6 @@ build_failed() {
|
|
143
164
|
exit 1
|
144
165
|
}
|
145
166
|
|
146
|
-
file_is_not_empty() {
|
147
|
-
local filename="$1"
|
148
|
-
local line_count="$(wc -l "$filename" 2>/dev/null || true)"
|
149
|
-
|
150
|
-
if [ -n "$line_count" ]; then
|
151
|
-
words=( $line_count )
|
152
|
-
[ "${words[0]}" -gt 0 ]
|
153
|
-
else
|
154
|
-
return 1
|
155
|
-
fi
|
156
|
-
}
|
157
|
-
|
158
167
|
num_cpu_cores() {
|
159
168
|
local num
|
160
169
|
case "$(uname -s)" in
|
@@ -237,18 +246,6 @@ binary() {
|
|
237
246
|
fi
|
238
247
|
}
|
239
248
|
|
240
|
-
install_package() {
|
241
|
-
install_package_using "tarball" 1 "$@"
|
242
|
-
}
|
243
|
-
|
244
|
-
install_git() {
|
245
|
-
install_package_using "git" 2 "$@"
|
246
|
-
}
|
247
|
-
|
248
|
-
install_svn() {
|
249
|
-
install_package_using "svn" 2 "$@"
|
250
|
-
}
|
251
|
-
|
252
249
|
install_binary() {
|
253
250
|
local url name
|
254
251
|
|
@@ -260,6 +257,14 @@ install_binary() {
|
|
260
257
|
install_package "$name" "$url" copy "${@:2}"
|
261
258
|
}
|
262
259
|
|
260
|
+
install_package() {
|
261
|
+
install_package_using "tarball" 1 "$@"
|
262
|
+
}
|
263
|
+
|
264
|
+
install_git() {
|
265
|
+
install_package_using "git" 2 "$@"
|
266
|
+
}
|
267
|
+
|
263
268
|
install_package_using() {
|
264
269
|
local package_type="$1"
|
265
270
|
local package_type_nargs="$2"
|
@@ -270,7 +275,7 @@ install_package_using() {
|
|
270
275
|
local make_args=( "$package_name" )
|
271
276
|
local arg last_arg
|
272
277
|
|
273
|
-
for arg in "${@:$((
|
278
|
+
for arg in "${@:$(( package_type_nargs + 1 ))}"; do
|
274
279
|
if [ "$last_arg" = "--if" ]; then
|
275
280
|
"$arg" || return 0
|
276
281
|
elif [ "$arg" != "--if" ]; then
|
@@ -287,9 +292,11 @@ install_package_using() {
|
|
287
292
|
return 0
|
288
293
|
fi
|
289
294
|
|
295
|
+
# shellcheck disable=SC2164
|
290
296
|
pushd "$BUILD_PATH" >&4
|
291
297
|
"fetch_${package_type}" "${fetch_args[@]}"
|
292
298
|
make_package "${make_args[@]}"
|
299
|
+
# shellcheck disable=SC2164
|
293
300
|
popd >&4
|
294
301
|
|
295
302
|
{ echo "Installed ${package_name} to ${PREFIX_PATH}"
|
@@ -301,10 +308,12 @@ make_package() {
|
|
301
308
|
local package_name="$1"
|
302
309
|
shift
|
303
310
|
|
311
|
+
# shellcheck disable=SC2164
|
304
312
|
pushd "$package_name" >&4
|
305
313
|
before_install_package "$package_name"
|
306
314
|
build_package "$package_name" "$@"
|
307
315
|
after_install_package "$package_name"
|
316
|
+
# shellcheck disable=SC2164
|
308
317
|
popd >&4
|
309
318
|
}
|
310
319
|
|
@@ -361,7 +370,11 @@ has_checksum_support() {
|
|
361
370
|
local has_checksum_var="HAS_CHECKSUM_SUPPORT_${checksum_command}"
|
362
371
|
|
363
372
|
if [ -z "${!has_checksum_var+defined}" ]; then
|
364
|
-
|
373
|
+
if "$checksum_command" <<<"test" >/dev/null; then
|
374
|
+
printf -v "$has_checksum_var" 0 # success
|
375
|
+
else
|
376
|
+
printf -v "$has_checksum_var" 1 # error
|
377
|
+
fi
|
365
378
|
fi
|
366
379
|
return "${!has_checksum_var}"
|
367
380
|
}
|
@@ -370,7 +383,7 @@ verify_checksum() {
|
|
370
383
|
local checksum_command
|
371
384
|
local filename="$1"
|
372
385
|
local expected_checksum
|
373
|
-
expected_checksum="$(
|
386
|
+
expected_checksum="$(tr 'A-F' 'a-f' <<<"$2")"
|
374
387
|
|
375
388
|
# If the specified filename doesn't exist, return success
|
376
389
|
[ -e "$filename" ] || return 0
|
@@ -394,7 +407,7 @@ verify_checksum() {
|
|
394
407
|
|
395
408
|
# If the computed checksum is empty, return failure
|
396
409
|
local computed_checksum
|
397
|
-
computed_checksum
|
410
|
+
computed_checksum="$("$checksum_command" < "$filename" | tr 'A-F' 'a-f')"
|
398
411
|
[ -n "$computed_checksum" ] || return 1
|
399
412
|
|
400
413
|
if [ "$expected_checksum" != "$computed_checksum" ]; then
|
@@ -431,11 +444,13 @@ detect_http_client() {
|
|
431
444
|
}
|
432
445
|
|
433
446
|
http_head_aria2c() {
|
447
|
+
# shellcheck disable=SC2086
|
434
448
|
aria2c --dry-run --no-conf=true ${ARIA2_OPTS} "$1" >&4 2>&1
|
435
449
|
}
|
436
450
|
|
437
451
|
http_get_aria2c() {
|
438
452
|
local out="${2:-$(mktemp "out.XXXXXX")}"
|
453
|
+
# shellcheck disable=SC2086
|
439
454
|
if aria2c --allow-overwrite=true --no-conf=true -o "${out}" ${ARIA2_OPTS} "$1" >&4; then
|
440
455
|
[ -n "$2" ] || cat "${out}"
|
441
456
|
else
|
@@ -444,18 +459,22 @@ http_get_aria2c() {
|
|
444
459
|
}
|
445
460
|
|
446
461
|
http_head_curl() {
|
462
|
+
# shellcheck disable=SC2086
|
447
463
|
curl -qsILf ${CURL_OPTS} "$1" >&4 2>&1
|
448
464
|
}
|
449
465
|
|
450
466
|
http_get_curl() {
|
467
|
+
# shellcheck disable=SC2086
|
451
468
|
curl -q -o "${2:--}" -sSLf ${CURL_OPTS} "$1"
|
452
469
|
}
|
453
470
|
|
454
471
|
http_head_wget() {
|
472
|
+
# shellcheck disable=SC2086
|
455
473
|
wget -q --spider ${WGET_OPTS} "$1" >&4 2>&1
|
456
474
|
}
|
457
475
|
|
458
476
|
http_get_wget() {
|
477
|
+
# shellcheck disable=SC2086
|
459
478
|
wget -nv ${WGET_OPTS} -O "${2:--}" "$1"
|
460
479
|
}
|
461
480
|
|
@@ -476,7 +495,7 @@ fetch_tarball() {
|
|
476
495
|
package_url="${package_url%%#*}"
|
477
496
|
|
478
497
|
if [ -z "$NODE_BUILD_SKIP_MIRROR" ]; then
|
479
|
-
mirror_url="$("${NODE_BUILD_MIRROR_CMD
|
498
|
+
mirror_url="$("${NODE_BUILD_MIRROR_CMD:-mirror}" $package_url $checksum 2>&4)" || unset mirror_url
|
480
499
|
fi
|
481
500
|
fi
|
482
501
|
|
@@ -501,11 +520,13 @@ fetch_tarball() {
|
|
501
520
|
local tarball_filename
|
502
521
|
tarball_filename="$(basename "$package_url")"
|
503
522
|
echo "Downloading ${tarball_filename}..." >&2
|
523
|
+
# shellcheck disable=SC2015
|
524
|
+
http head "$mirror_url" &&
|
504
525
|
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
505
526
|
download_tarball "$package_url" "$package_filename" "$checksum"
|
506
527
|
fi
|
507
528
|
|
508
|
-
{ if $tar $tar_args "$package_filename"; then
|
529
|
+
{ if $tar "$tar_args" "$package_filename"; then
|
509
530
|
if [ ! -d "$package_name" ]; then
|
510
531
|
extracted_dir="$(find_extracted_directory)"
|
511
532
|
mv "$extracted_dir" "$package_name"
|
@@ -582,22 +603,26 @@ fetch_git() {
|
|
582
603
|
|
583
604
|
if type git &>/dev/null; then
|
584
605
|
if [ -n "$NODE_BUILD_CACHE_PATH" ]; then
|
606
|
+
# shellcheck disable=SC2164
|
585
607
|
pushd "$NODE_BUILD_CACHE_PATH" >&4
|
586
608
|
local clone_name
|
587
609
|
clone_name="$(sanitize "$git_url")"
|
588
|
-
if [ -e "$
|
589
|
-
{
|
610
|
+
if [ -e "$clone_name" ]; then
|
611
|
+
{ # shellcheck disable=SC2164
|
612
|
+
cd "$clone_name"
|
590
613
|
git fetch --force "$git_url" "+${git_ref}:${git_ref}"
|
591
614
|
} >&4 2>&1
|
592
615
|
else
|
593
616
|
git clone --bare --branch "$git_ref" "$git_url" "${clone_name}" >&4 2>&1
|
594
617
|
fi
|
595
618
|
git_url="$NODE_BUILD_CACHE_PATH/${clone_name}"
|
619
|
+
# shellcheck disable=SC2164
|
596
620
|
popd >&4
|
597
621
|
fi
|
598
622
|
|
599
623
|
if [ -e "${package_name}" ]; then
|
600
|
-
(
|
624
|
+
( # shellcheck disable=SC2164
|
625
|
+
cd "${package_name}"
|
601
626
|
git fetch --depth 1 origin "+${git_ref}"
|
602
627
|
git checkout -q -B "$git_ref" "origin/${git_ref}"
|
603
628
|
) >&4 2>&1
|
@@ -610,23 +635,6 @@ fetch_git() {
|
|
610
635
|
fi
|
611
636
|
}
|
612
637
|
|
613
|
-
fetch_svn() {
|
614
|
-
local package_name="$1"
|
615
|
-
local svn_url="$2"
|
616
|
-
local svn_rev="$3"
|
617
|
-
|
618
|
-
echo "Checking out ${svn_url}..." >&2
|
619
|
-
|
620
|
-
if type svn &>/dev/null; then
|
621
|
-
svn co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
|
622
|
-
elif type svnlite &>/dev/null; then
|
623
|
-
svnlite co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
|
624
|
-
else
|
625
|
-
echo "error: please install Subversion and try again" >&2
|
626
|
-
exit 1
|
627
|
-
fi
|
628
|
-
}
|
629
|
-
|
630
638
|
build_package() {
|
631
639
|
local package_name="$1"
|
632
640
|
shift
|
@@ -649,9 +657,12 @@ build_package() {
|
|
649
657
|
package_option() {
|
650
658
|
local package_name="$1"
|
651
659
|
local command_name="$2"
|
652
|
-
local variable
|
653
|
-
|
660
|
+
local variable
|
661
|
+
# e.g. NODE_CONFIGURE_OPTS_ARRAY, OPENSSL_MAKE_OPTS_ARRAY
|
662
|
+
variable="$(capitalize "${package_name}_${command_name}")_OPTS_ARRAY"
|
663
|
+
local array="${variable}[@]"
|
654
664
|
shift 2
|
665
|
+
# shellcheck disable=SC2034
|
655
666
|
local value=( "${!array}" "$@" )
|
656
667
|
eval "$variable=( \"\${value[@]}\" )"
|
657
668
|
}
|
@@ -699,14 +710,17 @@ build_package_standard_build() {
|
|
699
710
|
( if [ "${CFLAGS+defined}" ] || [ "${!PACKAGE_CFLAGS+defined}" ]; then
|
700
711
|
export CFLAGS="$CFLAGS ${!PACKAGE_CFLAGS}"
|
701
712
|
fi
|
702
|
-
if [ -z "$CC" ] && is_mac
|
713
|
+
if [ -z "$CC" ] && is_mac 1010; then
|
703
714
|
export CC=clang
|
704
715
|
fi
|
716
|
+
# shellcheck disable=SC2086,SC2153
|
705
717
|
${!PACKAGE_CONFIGURE:-./configure} --prefix="${!PACKAGE_PREFIX_PATH:-$PREFIX_PATH}" \
|
706
|
-
$
|
718
|
+
"${!PACKAGE_CONFIGURE_OPTS_ARRAY}" $CONFIGURE_OPTS ${!PACKAGE_CONFIGURE_OPTS} || return 1
|
707
719
|
) >&4 2>&1
|
708
720
|
|
709
|
-
|
721
|
+
# shellcheck disable=SC2086
|
722
|
+
{ "$MAKE" "${!PACKAGE_MAKE_OPTS_ARRAY}" $MAKE_OPTS ${!PACKAGE_MAKE_OPTS}
|
723
|
+
} >&4 2>&1
|
710
724
|
}
|
711
725
|
|
712
726
|
build_package_standard_install() {
|
@@ -717,7 +731,9 @@ build_package_standard_install() {
|
|
717
731
|
local PACKAGE_MAKE_INSTALL_OPTS="${package_var_name}_MAKE_INSTALL_OPTS"
|
718
732
|
local PACKAGE_MAKE_INSTALL_OPTS_ARRAY="${package_var_name}_MAKE_INSTALL_OPTS_ARRAY[@]"
|
719
733
|
|
720
|
-
|
734
|
+
# shellcheck disable=SC2086
|
735
|
+
{ "$MAKE" ${MAKE_INSTALL_TARGET:-install} "${!PACKAGE_MAKE_INSTALL_OPTS_ARRAY}" $MAKE_INSTALL_OPTS ${!PACKAGE_MAKE_INSTALL_OPTS}
|
736
|
+
} >&4 2>&1
|
721
737
|
}
|
722
738
|
|
723
739
|
build_package_standard() {
|
@@ -726,15 +742,10 @@ build_package_standard() {
|
|
726
742
|
}
|
727
743
|
|
728
744
|
build_package_autoconf() {
|
729
|
-
{
|
745
|
+
{ autoreconf -i
|
730
746
|
} >&4 2>&1
|
731
747
|
}
|
732
748
|
|
733
|
-
clean_prefix_path() {
|
734
|
-
# Make sure there are no leftover files in $PREFIX_PATH
|
735
|
-
rm -rf "$PREFIX_PATH"
|
736
|
-
}
|
737
|
-
|
738
749
|
build_package_copy_to() {
|
739
750
|
to="$1"
|
740
751
|
mkdir -p "$to"
|
@@ -742,7 +753,6 @@ build_package_copy_to() {
|
|
742
753
|
}
|
743
754
|
|
744
755
|
build_package_copy() {
|
745
|
-
clean_prefix_path
|
746
756
|
build_package_copy_to "$PREFIX_PATH"
|
747
757
|
}
|
748
758
|
|
@@ -803,23 +813,42 @@ fix_jxcore_directory_structure() {
|
|
803
813
|
} >&4
|
804
814
|
}
|
805
815
|
|
816
|
+
# Kept for backward compatibility
|
817
|
+
require_java7() {
|
818
|
+
require_java 7
|
819
|
+
}
|
820
|
+
|
821
|
+
# Kept for backward compatibility
|
822
|
+
require_gcc() {
|
823
|
+
:
|
824
|
+
}
|
825
|
+
|
826
|
+
# Kept for backward compatibility
|
827
|
+
require_llvm() {
|
828
|
+
:
|
829
|
+
}
|
830
|
+
|
806
831
|
# Ensure that directories listed in LDFLAGS exist
|
807
832
|
build_package_ldflags_dirs() {
|
808
|
-
local
|
809
|
-
|
810
|
-
|
833
|
+
local ldflags
|
834
|
+
read -d '' -r -a ldflags <<<"$LDFLAGS" || true
|
835
|
+
local index=0
|
836
|
+
local dir
|
837
|
+
while [ "$index" -lt "${#ldflags[@]}" ]; do
|
811
838
|
dir=""
|
812
|
-
case "$
|
813
|
-
-L ) dir="$
|
814
|
-
-L* ) dir="${
|
839
|
+
case "${ldflags[index]}" in
|
840
|
+
-L ) dir="${ldflags[index+1]}" ;;
|
841
|
+
-L* ) dir="${ldflags[index]#-L}" ;;
|
815
842
|
esac
|
816
843
|
[ -z "$dir" ] || mkdir -p "$dir"
|
817
|
-
|
844
|
+
index=$((index+1))
|
818
845
|
done
|
819
846
|
}
|
820
847
|
|
821
848
|
build_package_enable_shared() {
|
849
|
+
if [[ " ${NODE_CONFIGURE_OPTS} " != *" --disable-shared"* ]]; then
|
822
850
|
package_option node configure --enable-shared
|
851
|
+
fi
|
823
852
|
}
|
824
853
|
|
825
854
|
apply_node_patch() {
|
@@ -894,9 +923,11 @@ unset KEEP_BUILD_PATH
|
|
894
923
|
unset HAS_PATCH
|
895
924
|
unset IPV4
|
896
925
|
unset IPV6
|
926
|
+
unset EARLY_EXIT
|
897
927
|
|
898
928
|
NODE_BUILD_INSTALL_PREFIX="$(abs_dirname "$0")/.."
|
899
929
|
|
930
|
+
# shellcheck disable=SC2206
|
900
931
|
IFS=: NODE_BUILD_DEFINITIONS=($NODE_BUILD_DEFINITIONS ${NODE_BUILD_ROOT:-$NODE_BUILD_INSTALL_PREFIX}/share/node-build)
|
901
932
|
IFS="$OLDIFS"
|
902
933
|
|
@@ -905,20 +936,16 @@ parse_options "$@"
|
|
905
936
|
for option in "${OPTIONS[@]}"; do
|
906
937
|
case "$option" in
|
907
938
|
"h" | "help" )
|
908
|
-
|
909
|
-
echo
|
910
|
-
usage 0
|
939
|
+
EARLY_EXIT=help
|
911
940
|
;;
|
912
941
|
"definitions" )
|
913
|
-
list_definitions
|
914
|
-
exit 0
|
942
|
+
EARLY_EXIT=list_definitions
|
915
943
|
;;
|
916
944
|
"c" | "compile" )
|
917
945
|
SKIP_BINARY=true
|
918
946
|
;;
|
919
947
|
"l" | "list")
|
920
|
-
list_maintained_versions
|
921
|
-
exit 0
|
948
|
+
EARLY_EXIT=list_maintained_versions
|
922
949
|
;;
|
923
950
|
"k" | "keep" )
|
924
951
|
KEEP_BUILD_PATH=true
|
@@ -936,18 +963,61 @@ for option in "${OPTIONS[@]}"; do
|
|
936
963
|
IPV6=true
|
937
964
|
;;
|
938
965
|
"version" )
|
939
|
-
version
|
940
|
-
|
966
|
+
EARLY_EXIT=version
|
967
|
+
;;
|
968
|
+
* )
|
969
|
+
printf "node-build: invalid flag '%s'\n" "$option" >&2
|
970
|
+
EARLY_EXIT=usage_error
|
941
971
|
;;
|
942
972
|
esac
|
943
973
|
done
|
944
974
|
|
945
|
-
[ "${#ARGUMENTS[@]}" -eq 2 ] || usage 1 >&2
|
946
|
-
|
947
975
|
DEFINITION_PATH="${ARGUMENTS[0]}"
|
948
|
-
|
976
|
+
PREFIX_PATH="${ARGUMENTS[1]}"
|
977
|
+
|
978
|
+
if [ -z "$EARLY_EXIT" ] && [ -z "$DEFINITION_PATH" ]; then
|
979
|
+
echo "node-build: missing definition argument" >&2
|
980
|
+
EARLY_EXIT=usage_error
|
981
|
+
fi
|
982
|
+
|
983
|
+
if [ -z "$EARLY_EXIT" ] && [ -z "$PREFIX_PATH" ]; then
|
984
|
+
echo "node-build: missing prefix argument" >&2
|
985
|
+
EARLY_EXIT=usage_error
|
986
|
+
fi
|
987
|
+
|
988
|
+
if [ "${#ARGUMENTS[@]}" -gt 2 ]; then
|
989
|
+
echo "node-build: expected at most 2 arguments, got [${ARGUMENTS[*]}]" >&2
|
990
|
+
EARLY_EXIT=usage_error
|
991
|
+
fi
|
992
|
+
|
993
|
+
if [ "${#EXTRA_ARGUMENTS[@]}" -gt 0 ]; then
|
994
|
+
NODE_CONFIGURE_OPTS_ARRAY=("${EXTRA_ARGUMENTS[@]}")
|
995
|
+
fi
|
996
|
+
|
997
|
+
case "$EARLY_EXIT" in
|
998
|
+
help )
|
999
|
+
version
|
1000
|
+
echo
|
1001
|
+
usage 0
|
1002
|
+
;;
|
1003
|
+
version | list_definitions | list_maintained_versions )
|
1004
|
+
"$EARLY_EXIT"
|
1005
|
+
exit 0
|
1006
|
+
;;
|
1007
|
+
usage_error )
|
1008
|
+
echo >&2
|
949
1009
|
usage 1 >&2
|
950
|
-
|
1010
|
+
;;
|
1011
|
+
'' )
|
1012
|
+
;;
|
1013
|
+
* )
|
1014
|
+
echo "unimplemented EARLY_EXIT: $EARLY_EXIT" >&2
|
1015
|
+
exit 1
|
1016
|
+
;;
|
1017
|
+
esac
|
1018
|
+
|
1019
|
+
# expand the <definition> argument to full path of the definition file
|
1020
|
+
if [ ! -f "$DEFINITION_PATH" ]; then
|
951
1021
|
for DEFINITION_DIR in "${NODE_BUILD_DEFINITIONS[@]}"; do
|
952
1022
|
if [ -f "${DEFINITION_DIR}/${DEFINITION_PATH}" ]; then
|
953
1023
|
DEFINITION_PATH="${DEFINITION_DIR}/${DEFINITION_PATH}"
|
@@ -961,10 +1031,8 @@ elif [ ! -f "$DEFINITION_PATH" ]; then
|
|
961
1031
|
fi
|
962
1032
|
fi
|
963
1033
|
|
964
|
-
|
965
|
-
if [
|
966
|
-
usage 1 >&2
|
967
|
-
elif [ "${PREFIX_PATH#/}" = "$PREFIX_PATH" ]; then
|
1034
|
+
# normalize the <prefix> argument
|
1035
|
+
if [ "${PREFIX_PATH#/}" = "$PREFIX_PATH" ]; then
|
968
1036
|
PREFIX_PATH="${PWD}/${PREFIX_PATH}"
|
969
1037
|
fi
|
970
1038
|
|
@@ -995,7 +1063,7 @@ if [ -n "$noexec" ]; then
|
|
995
1063
|
fi
|
996
1064
|
|
997
1065
|
if [ -z "$MAKE" ]; then
|
998
|
-
if
|
1066
|
+
if is_freebsd; then
|
999
1067
|
# node needs gmake on FreeBSD : https://github.com/nodejs/node/blob/0229e378e80948428cf7baa7b176939e879497cc/BSDmakefile#L7
|
1000
1068
|
export MAKE="gmake"
|
1001
1069
|
else
|
@@ -1009,21 +1077,20 @@ else
|
|
1009
1077
|
unset NODE_BUILD_CACHE_PATH
|
1010
1078
|
fi
|
1011
1079
|
|
1012
|
-
ARIA2_OPTS="${NODE_BUILD_ARIA2_OPTS} ${IPV4+--disable-ipv6=true} ${IPV6+--disable-ipv6=false}"
|
1013
|
-
CURL_OPTS="${NODE_BUILD_CURL_OPTS} ${IPV4+--ipv4} ${IPV6+--ipv6}"
|
1014
|
-
WGET_OPTS="${NODE_BUILD_WGET_OPTS} ${IPV4+--inet4-only} ${IPV6+--inet6-only}"
|
1015
|
-
|
1016
1080
|
NODE_BUILD_MIRROR_URL="${NODE_BUILD_MIRROR_URL%/}"
|
1017
1081
|
|
1018
1082
|
if ! has_checksum_support compute_sha2 ||
|
1019
|
-
[ -z "$NODE_BUILD_MIRROR_URL
|
1083
|
+
[ -z "${NODE_BUILD_MIRROR_URL}${NODE_BUILD_MIRROR_CMD}${NODE_BUILD_MIRROR_PACKAGE_URL}" ]; then
|
1020
1084
|
NODE_BUILD_SKIP_MIRROR=true
|
1021
1085
|
fi
|
1022
1086
|
|
1087
|
+
ARIA2_OPTS="${NODE_BUILD_ARIA2_OPTS} ${IPV4+--disable-ipv6=true} ${IPV6+--disable-ipv6=false}"
|
1088
|
+
CURL_OPTS="${NODE_BUILD_CURL_OPTS} ${IPV4+--ipv4} ${IPV6+--ipv6}"
|
1089
|
+
WGET_OPTS="${NODE_BUILD_WGET_OPTS} ${IPV4+--inet4-only} ${IPV6+--inet6-only}"
|
1090
|
+
|
1023
1091
|
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
1024
1092
|
LOG_PATH="${TMP}/node-build.${SEED}.log"
|
1025
1093
|
NODE_BIN="${PREFIX_PATH}/bin/node"
|
1026
|
-
CWD="$(pwd)"
|
1027
1094
|
|
1028
1095
|
if [ -z "$NODE_BUILD_BUILD_PATH" ]; then
|
1029
1096
|
BUILD_PATH="$(mktemp -d "${LOG_PATH%.log}.XXXXXX")"
|
@@ -1035,7 +1102,11 @@ exec 4<> "$LOG_PATH" # open the log file at fd 4
|
|
1035
1102
|
if [ -n "$VERBOSE" ]; then
|
1036
1103
|
tail -f "$LOG_PATH" &
|
1037
1104
|
TAIL_PID=$!
|
1038
|
-
trap
|
1105
|
+
trap 'kill $TAIL_PID' SIGINT SIGTERM EXIT
|
1106
|
+
else
|
1107
|
+
if [ -z "$NODE_BUILD_TESTING" ]; then
|
1108
|
+
echo "To follow progress, use 'tail -f $LOG_PATH' or pass --verbose" >&2
|
1109
|
+
fi
|
1039
1110
|
fi
|
1040
1111
|
|
1041
1112
|
export LDFLAGS="-L${PREFIX_PATH}/lib ${LDFLAGS}"
|
@@ -1046,6 +1117,7 @@ unset NODELIB
|
|
1046
1117
|
|
1047
1118
|
trap build_failed ERR
|
1048
1119
|
mkdir -p "$BUILD_PATH"
|
1120
|
+
# shellcheck disable=SC1090
|
1049
1121
|
source "$DEFINITION_PATH"
|
1050
1122
|
[ -z "${KEEP_BUILD_PATH}" ] && rm -fr "$BUILD_PATH"
|
1051
1123
|
trap - ERR
|
package/bin/nodenv-install
CHANGED
@@ -64,6 +64,23 @@ definitions() {
|
|
64
64
|
node-build --definitions | $(type -p ggrep grep | head -1) -F "$query" || true
|
65
65
|
}
|
66
66
|
|
67
|
+
suggest_selecting_global() {
|
68
|
+
local version_file
|
69
|
+
version_file="$(nodenv-version-file)"
|
70
|
+
[[ "$version_file" != "$NODENV_ROOT"/version || -e "$version_file" ]] && return 0
|
71
|
+
echo
|
72
|
+
colorize 1 "NOTE:"
|
73
|
+
echo -n " to activate this Node version as the new default, run: "
|
74
|
+
colorize 33 "nodenv global $VERSION_NAME"
|
75
|
+
echo
|
76
|
+
}
|
77
|
+
|
78
|
+
colorize() {
|
79
|
+
if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2"
|
80
|
+
else printf "%s" "$2"
|
81
|
+
fi
|
82
|
+
}
|
83
|
+
|
67
84
|
indent() {
|
68
85
|
sed 's/^/ /'
|
69
86
|
}
|
@@ -86,7 +103,7 @@ for option in "${OPTIONS[@]}"; do
|
|
86
103
|
;;
|
87
104
|
"l" | "list" )
|
88
105
|
node-build --list
|
89
|
-
{
|
106
|
+
[ ! -t 1 ] || {
|
90
107
|
echo
|
91
108
|
echo "Only latest stable releases for each Node implementation are shown."
|
92
109
|
echo "Use 'nodenv install --list-all / -L' to show all local versions."
|
@@ -138,20 +155,19 @@ DEFINITION="${ARGUMENTS[0]}"
|
|
138
155
|
# after the installation process.
|
139
156
|
declare -a before_hooks after_hooks
|
140
157
|
|
158
|
+
# shellcheck disable=SC2317
|
141
159
|
before_install() {
|
142
160
|
local hook="$1"
|
143
161
|
before_hooks["${#before_hooks[@]}"]="$hook"
|
144
162
|
}
|
145
163
|
|
164
|
+
# shellcheck disable=SC2317
|
146
165
|
after_install() {
|
147
166
|
local hook="$1"
|
148
167
|
after_hooks["${#after_hooks[@]}"]="$hook"
|
149
168
|
}
|
150
169
|
|
151
|
-
|
152
|
-
scripts+=("$script")
|
153
|
-
done < <(nodenv-hooks install)
|
154
|
-
|
170
|
+
IFS=$'\n' read -d '' -r -a scripts <<<"$(nodenv-hooks install)" || true
|
155
171
|
# shellcheck disable=SC1090
|
156
172
|
for script in "${scripts[@]}"; do source "$script"; done
|
157
173
|
|
@@ -208,9 +224,12 @@ cleanup() {
|
|
208
224
|
|
209
225
|
trap cleanup SIGINT
|
210
226
|
|
227
|
+
build_args=(${KEEP:+--keep} ${VERBOSE:+--verbose} ${HAS_PATCH:+--patch} ${SKIP_BINARY:+--compile} "$DEFINITION" "$PREFIX")
|
228
|
+
[ ${#EXTRA_ARGUMENTS[@]} -eq 0 ] || build_args+=(-- "${EXTRA_ARGUMENTS[@]}")
|
229
|
+
|
211
230
|
# Invoke `node-build` and record the exit status in $STATUS.
|
212
231
|
STATUS=0
|
213
|
-
node-build
|
232
|
+
node-build "${build_args[@]}" || STATUS="$?"
|
214
233
|
|
215
234
|
# Display a more helpful message if the definition wasn't found.
|
216
235
|
if [ "$STATUS" == "2" ]; then
|
@@ -225,14 +244,14 @@ if [ "$STATUS" == "2" ]; then
|
|
225
244
|
echo "See all available versions with \`nodenv install --list'."
|
226
245
|
echo
|
227
246
|
echo -n "If the version you need is missing, try upgrading node-build"
|
228
|
-
if [ "$here" != "${here
|
229
|
-
printf "
|
230
|
-
echo " brew
|
247
|
+
if [ "$here" != "${here#"$(brew --prefix 2>/dev/null)"}" ]; then
|
248
|
+
printf ":\n\n"
|
249
|
+
echo " brew upgrade node-build"
|
231
250
|
elif [ -d "${here}/.git" ]; then
|
232
|
-
printf "
|
251
|
+
printf ":\n\n"
|
233
252
|
echo " git -C ${here} pull"
|
234
253
|
else
|
235
|
-
printf "
|
254
|
+
printf ".\n"
|
236
255
|
fi
|
237
256
|
} >&2
|
238
257
|
fi
|
@@ -243,6 +262,7 @@ for hook in "${after_hooks[@]}"; do eval "$hook"; done
|
|
243
262
|
# Run `nodenv-rehash` after a successful installation.
|
244
263
|
if [ "$STATUS" == "0" ]; then
|
245
264
|
nodenv-rehash
|
265
|
+
suggest_selecting_global
|
246
266
|
else
|
247
267
|
cleanup
|
248
268
|
fi
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nodenv/node-build",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.3.0",
|
4
4
|
"description": "Install NodeJS versions",
|
5
5
|
"homepage": "https://github.com/nodenv/node-build#readme",
|
6
6
|
"license": "MIT",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"preversion": "script/preversion",
|
42
42
|
"version": "script/version-sync",
|
43
43
|
"postversion": "git push --follow-tags",
|
44
|
-
"unmerged": "git for-each-ref refs/
|
44
|
+
"unmerged": "git for-each-ref refs/rbtags --format='%(refname)' --no-merged"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@nodenv/node-build-update-defs": "^2.11.1",
|
package/share/node-build/21.0.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.0.0/node-v21.0.0-aix-ppc64.tar.gz#15f8e2fe78be11fd59ba730af57fe5ba95ec1f24555effcf3570f80744622448"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.0.0/node-v21.0.0-darwin-arm64.tar.gz#d49aae353ab9e264a1d8c75f80eb26dcc4006f50b35ba05bda3a9c33f5554609"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.0.0/node-v21.0.0-darwin-x64.tar.gz#2ec98307e388407cfa62d1fb8abc4d6dc1e54c11bc70329d6675ed0595326763"
|
package/share/node-build/21.1.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.1.0/node-v21.1.0-aix-ppc64.tar.gz#691672195af440401e4957d9d5e148d361e686aa26c9e529505edf89bab4b089"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.1.0/node-v21.1.0-darwin-arm64.tar.gz#4872463830381785b91d13a7fbb9b6f4a9c7658e10d964f6c421951cec8833ad"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.1.0/node-v21.1.0-darwin-x64.tar.gz#6b526c08320fcf41ced0ceee7588828ea2cb07ba826af4ff82b0ec53958fd8a4"
|
package/share/node-build/21.2.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.2.0/node-v21.2.0-aix-ppc64.tar.gz#fbe1a66068e0ca1900d9795e3b8da027c62073062f78040d453aed9d86189001"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.2.0/node-v21.2.0-darwin-arm64.tar.gz#e085e9e695a5fc715c24d0d2ee73a2cebfc2a2b456a28b58f31077609591f4a0"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.2.0/node-v21.2.0-darwin-x64.tar.gz#ff6483bdf4f9817d9915f5fdf1b9154c7689f47ef310eac5ab3c40f6a6e4b700"
|
package/share/node-build/21.3.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.3.0/node-v21.3.0-aix-ppc64.tar.gz#67c8eca0b56333a7c35b2f09f416e4797adf3747a320e693afe03731b7d5ece3"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.3.0/node-v21.3.0-darwin-arm64.tar.gz#0dcb82d52dffacd0e0072c01cd919806432dd40be5d7ae37cc1fb2df9cd85c75"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.3.0/node-v21.3.0-darwin-x64.tar.gz#abe6226f030e4affb37c964628abac19356153223f97c7b663754197ba89c3ce"
|
package/share/node-build/21.4.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.4.0/node-v21.4.0-aix-ppc64.tar.gz#91f69ef2501efe9908b5adddc740c1b614054551abe1087a475b3f8e8bcd4f51"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.4.0/node-v21.4.0-darwin-arm64.tar.gz#459a23a6044003c6cb5d24867da0c473bd8c2e4cb5689517051be182eed46c2b"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.4.0/node-v21.4.0-darwin-x64.tar.gz#438cf09d2b48116170f1b2bf351f19a77e62c85b939524d4cf3c0a5b7bd0dba9"
|
package/share/node-build/21.5.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.5.0/node-v21.5.0-aix-ppc64.tar.gz#e4b4c3214a8dc59f511f50cb949b4ef5c05a59bc15c6376c1b98bcfd43dcbb4c"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.5.0/node-v21.5.0-darwin-arm64.tar.gz#66af9055dcceacc2fcd01ccbb47a565a1dd8f4314300a0f37f13771059490a09"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.5.0/node-v21.5.0-darwin-x64.tar.gz#de858cb5257f101dc0681cd65493b589a35ac61f69f46b62cbc1cdaf7cb51a1b"
|
package/share/node-build/21.6.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.6.0/node-v21.6.0-aix-ppc64.tar.gz#a70b758f571fad0df2a6cd22d2814bc2e55704aa5a97486088575ad75bc9339c"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.6.0/node-v21.6.0-darwin-arm64.tar.gz#425d80f28edf6ec2e4d53388d839cf45e0ec771e6276028559d433348ca75f7b"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.6.0/node-v21.6.0-darwin-x64.tar.gz#a2310fbfe0109d764ed8024f17c6fcdba5ef9327fb810c03bca9011eccae777b"
|
package/share/node-build/21.6.1
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.6.1/node-v21.6.1-aix-ppc64.tar.gz#0dbffde04695933f508e964a103657d6ef55ddadf3d8e9c39e0191c6ee2b4ead"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.6.1/node-v21.6.1-darwin-arm64.tar.gz#94c280bba809fa66867e363ec9e990217aedf893116660b8c75a1c4fda3baea5"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.6.1/node-v21.6.1-darwin-x64.tar.gz#5c4821c62a1f61cf3219bc244d30a5b1cdec197c8acabc1ee7cd9ff17bbba947"
|
package/share/node-build/21.6.2
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.6.2/node-v21.6.2-aix-ppc64.tar.gz#e06dff53a5e2a88caff9735c076165a6a53f4c45960a8887410684e1fea6c7cb"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.6.2/node-v21.6.2-darwin-arm64.tar.gz#120c8205654c640865864dc464389b3ffe6d7ebe310dffdbe3fd8718a512e14f"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.6.2/node-v21.6.2-darwin-x64.tar.gz#0f75d9b46b986100c6faeec040ee46adf4981eb6abb5dd63e7a6ca4868d280f4"
|
package/share/node-build/21.7.0
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.7.0/node-v21.7.0-aix-ppc64.tar.gz#c31d5b60c4a284c6855bd468d4aae4436a16b351362b2971d3c0db2a471d3f24"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.7.0/node-v21.7.0-darwin-arm64.tar.gz#f48ad51cf3c2814bbf61c8c26efd810e5e22dcac980786fd7ac5b54365233d2c"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.7.0/node-v21.7.0-darwin-x64.tar.gz#3f81adca80b523b413e26f03f855f4a2ae52d9af20f0cda2e259dd26a0608607"
|
package/share/node-build/21.7.1
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.7.1/node-v21.7.1-aix-ppc64.tar.gz#cba4d1d6c05684edeb88f06351c61c3acdb3d8d6df46b9dcd8ca89af847268e5"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.7.1/node-v21.7.1-darwin-arm64.tar.gz#0a4dde483479dcf272f3d4d7afb509c3d45cf7a1ea451ce108f434dad4fa43e4"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.7.1/node-v21.7.1-darwin-x64.tar.gz#a406f4fbe68ff33319d513fa645aa7b9508c2cb65299f0a2de1757c2a6333c85"
|
package/share/node-build/21.7.2
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.7.2/node-v21.7.2-aix-ppc64.tar.gz#6290bc006ee81332da8345b2d254ecf75674de0898a6dd5e348c7685ca0df325"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.7.2/node-v21.7.2-darwin-arm64.tar.gz#d00a2b5002db121d798f1c9556342abb6ec6a4fac9d6197bc86c922a796812ae"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.7.2/node-v21.7.2-darwin-x64.tar.gz#6211829236013582fb654b4b9f8c6528dcb07620f6f82878ef514fae1b30685e"
|
package/share/node-build/21.7.3
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
before_install_package() {
|
2
|
-
|
2
|
+
build_package_warn_eol "$1"
|
3
3
|
}
|
4
4
|
|
5
|
-
|
6
5
|
binary aix-ppc64 "https://nodejs.org/dist/v21.7.3/node-v21.7.3-aix-ppc64.tar.gz#3ae059cab0a4f18ce79676bbc37112cd428b2f22ba66277bf12873ef9eb34143"
|
7
6
|
binary darwin-arm64 "https://nodejs.org/dist/v21.7.3/node-v21.7.3-darwin-arm64.tar.gz#165d3ba3500cfc8708f85d3815aaaa21ce418164c933d5419c30825ccad3a99c"
|
8
7
|
binary darwin-x64 "https://nodejs.org/dist/v21.7.3/node-v21.7.3-darwin-x64.tar.gz#58d0212e169764c3424d2d5bec73e8a098d34b4e82fca6e1dd54083ea3049c5f"
|