nodejs: 20.2.0 -> 20.3.0

This commit is contained in:
Tim Biermann 2023-06-10 09:39:13 +02:00
parent 7123755987
commit 37a235b096
3 changed files with 34 additions and 32 deletions

View File

@ -76,6 +76,8 @@ drwxr-xr-x root/root usr/lib/node_modules/corepack/
-rw-r--r-- root/root usr/lib/node_modules/corepack/LICENSE.md
drwxr-xr-x root/root usr/lib/node_modules/corepack/dist/
-rwxr-xr-x root/root usr/lib/node_modules/corepack/dist/corepack.js
drwxr-xr-x root/root usr/lib/node_modules/corepack/dist/lib/
-rw-r--r-- root/root usr/lib/node_modules/corepack/dist/lib/corepack.cjs
-rwxr-xr-x root/root usr/lib/node_modules/corepack/dist/npm.js
-rwxr-xr-x root/root usr/lib/node_modules/corepack/dist/npx.js
-rwxr-xr-x root/root usr/lib/node_modules/corepack/dist/pnpm.js

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QH16nr1mZLFUbn92rP039DNseFB9LDUDQT7EvXWzd4PLLUGduQyQkNIrKW4Aq51fYsdSjXrBPqZS5NK3gMBmQM=
SHA256 (Pkgfile) = be66d6327588cf07820d1e75ea5f7f05b087fe731697b22d35af393bbd1908a8
SHA256 (.footprint) = af4ddd6fb46845992775c882ea5e0eda46c8f48aca92b30286b642c0f61c6307
SHA256 (node-v20.2.0.tar.xz) = 22523df2316c35569714ff1f69b053c2e286ced460898417dee46945efcdf989
RWSE3ohX2g5d/S+XUkKSrQWWBu+IdtuPh4KTqhW3jbZ1xcvKL8ZPBB/wNbcyvll8S5V9ovE8GGjyB/sSUVif6M2XQJPhs2Zzog0=
SHA256 (Pkgfile) = b9a7fdd4b7a004972b4ede3ec26fbe8ca39edaee67dd84f33e735d0b35c246de
SHA256 (.footprint) = 8e1473f19271d93f08305c1d5885e9cb2ac5c5de07b0b33d30ad91ca3f0e2018
SHA256 (node-v20.3.0.tar.xz) = 1ba8d49423ed3a75729066bb3ea26493ee9cb7d6568ef948597fc9ef454f7435
SHA256 (system-c-ares.patch) = 1ab0f849fe4fae2d295b6c60c12825d5f2c29f5b28b721916d1b550704b0f5f3

View File

@ -1,44 +1,44 @@
# Description: Evented I/O for V8 javascript.
# URL: https://nodejs.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libnghttp2 libuv openssl zlib
# Optional: brotli c-ares icu
name=nodejs
version=20.2.0
version=20.3.0
release=1
source=(https://nodejs.org/dist/v$version/node-v$version.tar.xz
system-c-ares.patch)
system-c-ares.patch)
build() {
cd node-v$version
cd node-v$version
prt-get isinst brotli && PKGMK_NODEJS+=' --shared-brotli'
prt-get isinst c-ares && PKGMK_NODEJS+=' --shared-cares'
prt-get isinst c-ares && patch -Rp1 -i $SRC/system-c-ares.patch
prt-get isinst icu && PKGMK_NODEJS+=' --with-intl=system-icu'
prt-get isinst brotli && PKGMK_NODEJS+=' --shared-brotli'
prt-get isinst c-ares && PKGMK_NODEJS+=' --shared-cares'
prt-get isinst c-ares && patch -Rp1 -i $SRC/system-c-ares.patch
prt-get isinst icu && PKGMK_NODEJS+=' --with-intl=system-icu'
./configure ${PKGMK_NODEJS} \
--prefix=/usr \
--ninja \
--without-npm \
--shared-libuv \
--shared-zlib \
--shared-openssl \
--shared-nghttp2 \
--experimental-http-parser
./configure ${PKGMK_NODEJS} \
--prefix=/usr \
--ninja \
--without-npm \
--shared-libuv \
--shared-zlib \
--shared-openssl \
--shared-nghttp2 \
--experimental-http-parser
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
rm -r $PKG/usr/share/doc
# clean up
find $PKG -type f \( \
-name 'README.md' -o \
-name 'AUTHORS.md' -o \
-name 'INSTALL.md' -o \
-name 'TODO.org' -o \
-name 'ChangeLog' -o \
-name 'NEWS' \) -delete
# clean up
find $PKG -type f \( \
-name 'README.md' -o \
-name 'AUTHORS.md' -o \
-name 'INSTALL.md' -o \
-name 'TODO.org' -o \
-name 'ChangeLog' -o \
-name 'NEWS' \) -delete
}