From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nodejs: update to 18.17.0.
Date: Mon, 20 Nov 2023 12:13:09 +0100 [thread overview]
Message-ID: <20231120111309.EVUxiY7bUIMr8nahu7qhFhZKhVyWlw3ZyUFwyI3ZD4c@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45336@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
There is an updated pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages nodejs-18.17.0
https://github.com/void-linux/void-packages/pull/45336
nodejs: update to 18.17.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@paper42
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/45336.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nodejs-18.17.0-45336.patch --]
[-- Type: text/x-diff, Size: 5942 bytes --]
From 7f910491c803cf9632fcbcce578955fabc8032e7 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sun, 30 Jul 2023 21:49:24 +0100
Subject: [PATCH 1/2] nodejs: update to 18.17.0.
---
srcpkgs/nodejs/template | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template
index 2576dbdbbbe89..7592318c2e686 100644
--- a/srcpkgs/nodejs/template
+++ b/srcpkgs/nodejs/template
@@ -1,7 +1,7 @@
# Template file for 'nodejs'
pkgname=nodejs
-version=18.16.0
-revision=3
+version=18.17.0
+revision=1
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
hostmakedepends="which pkg-config python3-setuptools zlib-devel
$(vopt_if icu icu-devel) $(vopt_if ssl openssl-devel) $(vopt_if libuv libuv-devel)
@@ -15,7 +15,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://nodejs.org/"
distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.gz"
-checksum=6a4f5c5d76e5c50cef673099e56f19bc3266ae363f56ca0ab77dd2f3c5088c6d
+checksum=7aaa157c0219b5895a4bd51d9e9731e0d0eb0ab9424fdbdcf30d01b3e5fb74e9
python_version=3
build_options="ssl libuv icu nghttp2 cares"
@@ -88,7 +88,13 @@ do_build() {
}
do_check() {
- local CI_SKIP_TESTS="test-cluster-primary-error.js,test-cluster-primary-kill.js,test-child-process-uid-gid.js,test-process-euid-egid.js,test-process-uid-gid.js,test-socket-write-after-fin-error.js,test-dns-perf_hooks.js"
+ local CI_SKIP_TESTS="test-child-process-uid-gid.js,test-process-euid-egid.js,test-process-uid-gid.js"
+
+ if [ "$XBPS_TARGET_MACHINE" = i686 ]; then
+ # https://github.com/nodejs/node/issues/45906
+ CI_SKIP_TESTS+=",test-fs-utimes-y2K38.js"
+ fi
+
make CI_SKIP_TESTS="$CI_SKIP_TESTS" LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1 test-only
}
From 667f6848ebcb6b8f38431ffbcc707f6110eb1588 Mon Sep 17 00:00:00 2001
From: Mohammed Anas <triallax@tutanota.com>
Date: Mon, 20 Nov 2023 11:11:14 +0000
Subject: [PATCH 2/2] nodejs: update to 18.18.2, adopt.
---
srcpkgs/nodejs/template | 37 +++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template
index 7592318c2e686..ae8ac83e76f90 100644
--- a/srcpkgs/nodejs/template
+++ b/srcpkgs/nodejs/template
@@ -1,35 +1,40 @@
# Template file for 'nodejs'
pkgname=nodejs
-version=18.17.0
+version=18.18.2
revision=1
-# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
-hostmakedepends="which pkg-config python3-setuptools zlib-devel
- $(vopt_if icu icu-devel) $(vopt_if ssl openssl-devel) $(vopt_if libuv libuv-devel)
- $(vopt_if nghttp2 nghttp2-devel) $(vopt_if cares c-ares-devel)"
-makedepends="zlib-devel $(vopt_if icu icu-devel)
+hostmakedepends="which pkg-config python3-setuptools"
+_make_depends="zlib-devel $(vopt_if icu icu-devel)
$(vopt_if ssl openssl-devel) $(vopt_if libuv libuv-devel)
- $(vopt_if nghttp2 nghttp2-devel) $(vopt_if cares c-ares-devel)"
+ $(vopt_if nghttp2 nghttp2-devel) $(vopt_if cares c-ares-devel)
+ $(vopt_if brotli brotli-devel)"
+makedepends="${_make_depends}"
checkdepends="procps-ng iana-etc"
short_desc="Evented I/O for V8 javascript"
-maintainer="Enno Boland <gottox@voidlinux.org>"
+maintainer="triallax <triallax@tutanota.com>"
license="MIT"
homepage="https://nodejs.org/"
distfiles="https://nodejs.org/dist/v${version}/node-v${version}.tar.gz"
-checksum=7aaa157c0219b5895a4bd51d9e9731e0d0eb0ab9424fdbdcf30d01b3e5fb74e9
+checksum=509cd2cfc3a515bf2257ed3886b9fac64aeaac2a70ea59c0a6e02e2dbb722132
python_version=3
-build_options="ssl libuv icu nghttp2 cares"
+build_options="ssl libuv icu nghttp2 cares brotli"
desc_option_ssl="Enable shared openssl"
desc_option_libuv="Enable shared libuv"
desc_option_icu="Enable shared icu"
desc_option_nghttp2="Enable shared nghttp2"
desc_option_cares="Enable shared c-ares"
-build_options_default="ssl libuv icu nghttp2 cares"
+desc_option_brotli="Enable shared brotli"
+build_options_default="ssl libuv icu nghttp2 cares brotli"
replaces="iojs>=0"
conflicts="nodejs-lts-10"
provides="nodejs-runtime-0_1"
+if [ "$CROSS_BUILD" ]; then
+ # Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
+ hostmakedepends+=" ${_make_depends}"
+fi
+
# https://build.voidlinux.org/builders/i686_builder/builds/27325/steps/shell_3/logs/stdio
if [ "$XBPS_WORDSIZE" = 32 ]; then
LDFLAGS="-Wl,--no-keep-memory"
@@ -71,12 +76,13 @@ do_configure() {
# to execute it within the build system fails
_args+=" --cross-compiling"
fi
- ./configure --prefix=/usr --shared-zlib \
+ ./configure --prefix=/usr --shared-zlib --enable-lto \
$(vopt_if icu --with-intl=system-icu) \
$(vopt_if ssl --shared-openssl) \
$(vopt_if libuv --shared-libuv) \
$(vopt_if nghttp2 --shared-nghttp2) \
- $(vopt_if cares --shared-cares) ${_args}
+ $(vopt_if cares --shared-cares) \
+ $(vopt_if brotli --shared-brotli) ${_args}
}
do_build() {
@@ -88,7 +94,10 @@ do_build() {
}
do_check() {
- local CI_SKIP_TESTS="test-child-process-uid-gid.js,test-process-euid-egid.js,test-process-uid-gid.js"
+ local CI_SKIP_TESTS="test-child-process-uid-gid.js,test-process-euid-egid.js,test-process-uid-gid.js,test-tls-session-cache.js,test-tls-getprotocol.js,test-dns.js,test-tls-alert.js,test-tls-cli-min-version-1.1.js,test-tls-cli-max-version-1.1.js,test-tls-cli-min-version-1.2.js,test-tls-cli-max-version-1.2.js,test-tls-cli-min-version-1.3.js,test-tls-cli-max-version-1.3.js,test-tls-min-max-version.js,test-process-versions.js,test-strace-openat-openssl.js,test-crypto-dh.js,test-dgram-send-cb-quelches-error.js,test-https-agent-session-eviction.js"
+
+ # https://github.com/nodejs/node/issues/50741
+ CI_SKIP_TESTS+=",test-dns-resolveany.js,test-dns-resolveany-bad-ancount.js"
if [ "$XBPS_TARGET_MACHINE" = i686 ]; then
# https://github.com/nodejs/node/issues/45906
next prev parent reply other threads:[~2023-11-20 11:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-30 20:57 [PR PATCH] " mhmdanas
2023-08-07 21:50 ` [PR PATCH] [Updated] " mhmdanas
2023-11-06 1:46 ` github-actions
2023-11-18 15:35 ` mhmdanas
2023-11-20 11:13 ` mhmdanas [this message]
2023-11-27 11:54 ` [PR PATCH] [Updated] " mhmdanas
2023-11-27 13:09 ` nodejs: update to 18.18.2, adopt mhmdanas
2023-12-04 0:37 ` [PR PATCH] [Updated] " mhmdanas
2023-12-04 14:58 ` [PR PATCH] [Merged]: nodejs: update to 18.19.0, adopt classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231120111309.EVUxiY7bUIMr8nahu7qhFhZKhVyWlw3ZyUFwyI3ZD4c@z \
--to=mhmdanas@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).