nodejs-lts-iron
LOW
maintainer orphaned
0 votes
scanned 2026-10-24 13:40:12.894744
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Bruno Pagani <archange@archlinux.org>
2
# Contributor: Felix Yan <felixonmars@archlinux.org>
3
4
pkgname=nodejs-lts-iron
5
pkgver=20.20.2
6
pkgrel=1
7
pkgdesc="Evented I/O for V8 javascript (LTS release: Iron)"
8
arch=(x86_64)
9
url="https://nodejs.org/"
10
license=(MIT)
11
# maybe revert back to openssl-1.1 or internal openssl
12
# https://github.com/nodejs/node/issues/47852
13
depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser v8)
14
makedepends=(python procps-ng)
15
optdepends=('npm: nodejs package manager')
16
options=(!lto)
17
provides=("nodejs=$pkgver")
18
conflicts=(nodejs)
19
source=(
20
"https://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.xz"
21
update-icu-tests.patch
22
)
23
# https://nodejs.org/download/release/latest-iron/SHASUMS256.txt.asc
24
sha256sums=('7aeeacdb858299e09a3e0510d4bb8b266923894a9e3ac0058ba89d4ecf4a4cca'
25
'43da0fb7469e34a239b2711876475f303a4012151e44f72e636a5a7fcf21bff8')
26
27
_set_flags() {
28
# /usr/lib/libnode.so uses malloc_usable_size, which is incompatible with fortification level 3
29
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
30
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
31
}
32
33
prepare() {
34
cd node-v${pkgver}
35
# Update ICU tests https://github.com/nodejs/node/pull/60523
36
patch -Np1 -i ../update-icu-tests.patch
37
}
38
39
build() {
40
_set_flags
41
cd node-v${pkgver}
42
43
./configure \
44
--prefix=/usr \
45
--with-intl=system-icu \
46
--without-corepack \
47
--without-npm \
48
--shared-openssl \
49
--shared-zlib \
50
--shared-libuv \
51
--experimental-http-parser \
52
--shared-brotli \
53
--shared-cares \
54
--shared-nghttp2
55
# --shared-v8
56
# --shared-http-parser
57
58
make
59
}
60
61
check() {
62
_set_flags
63
cd node-v${pkgver}
64
rm test/parallel/test-http2-client-set-priority.js
65
rm test/parallel/test-http2-client-unescaped-path.js
66
rm test/parallel/test-http2-max-invalid-frames.js
67
rm test/parallel/test-http2-misbehaving-flow-control.js
68
rm test/parallel/test-http2-misbehaving-flow-control-paused.js
69
rm test/parallel/test-http2-multi-content-length.js
70
rm test/parallel/test-http2-priority-event.js
71
rm test/parallel/test-http2-reset-flood.js
72
rm test/parallel/test-process-euid-egid.js
73
rm test/parallel/test-process-initgroups.js
74
rm test/parallel/test-process-setgroups.js
75
rm test/parallel/test-process-uid-gid.js
76
rm test/parallel/test-tls-ocsp-callback.js
77
78
# https://github.com/nodejs/node/pull/60523
79
rm test/parallel/test-datetime-change-notify.js
80
81
rm test/parallel/test-http-client-close-with-default-agent.js
82
83
make test-only
84
85
}
86
87
package() {
88
_set_flags
89
cd node-v${pkgver}
90
make DESTDIR="${pkgdir}" install
91
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
92
}
93
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 13:40:12 | Low | 1 |