diff --git a/info.yml b/info.yml index 97544ca..8f20ee5 100644 --- a/info.yml +++ b/info.yml @@ -1,6 +1,6 @@ name: nodejs description: Free and open-source Javascript runtime -version: 26.7.0 +version: 26.9.0 revision: 1 url: https://nodejs.org/ license: MIT @@ -9,20 +9,26 @@ maintainers: architecture: any type: source depends: + - ada - brotli - c-ares - icu + - libffi - libnghttp2 + - libngtcp2 - libuv - openssl + - simdjson - zlib + - zstd optional_depends: - - npm + - npm:For the node package manager make_depends: + - ninja - procps-ng - python3 downloads: - url: https://nodejs.org/dist/v${BPM_PKG_VERSION}/node-v${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: e6b182cbeeab032d1082ca4ac4fe15e3a57de691d3bde78ecf8a761fd56ee356 + checksum: 47b970d88511b429e587b740fa733176909d2a2005a29662f01b05205f58468b diff --git a/recipe.sh b/recipe.sh index 4dd5172..91ffde4 100644 --- a/recipe.sh +++ b/recipe.sh @@ -10,14 +10,21 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr \ - --shared-brotli \ - --shared-cares \ - --shared-libuv \ - --shared-openssl \ + ./configure --prefix=/usr \ + --ninja \ + --enable-lto \ + --shared-ada \ + --shared-brotli \ + --shared-cares \ + --shared-ffi \ + --shared-libuv \ --shared-nghttp2 \ - --shared-zlib \ - --without-npm \ + --shared-ngtcp2 \ + --shared-openssl \ + --shared-simdjson \ + --shared-zlib \ + --shared-zstd \ + --without-npm \ --with-intl=system-icu make } @@ -26,21 +33,21 @@ build() { # This function is used to run tests to verify the package has been compiled correctly check() { # Remove failing tests + rm test/client-proxy/test-http-proxy-request-no-proxy-port-specific.mjs rm test/parallel/test-datetime-change-notify.js rm test/parallel/test-http2-client-set-priority.js - rm test/parallel/test-http2-priority-event.js - rm test/parallel/test-http-outgoing-end-cork.js rm test/parallel/test-http2-client-unescaped-path.js - rm test/parallel/test-http2-multi-content-length.js - rm test/parallel/test-http2-reset-flood.js - rm test/parallel/test-http2-misbehaving-flow-control.js rm test/parallel/test-http2-max-invalid-frames.js + rm test/parallel/test-http2-misbehaving-flow-control.js rm test/parallel/test-http2-misbehaving-flow-control-paused.js + rm test/parallel/test-http2-multi-content-length.js + rm test/parallel/test-http2-priority-event.js + rm test/parallel/test-http2-reset-flood.js + rm test/parallel/test-http-outgoing-end-cork.js rm test/parallel/test-tls-ocsp-callback.js - rm test/client-proxy/test-http-proxy-request-no-proxy-port-specific.mjs rm test/pseudo-tty/test-set-raw-mode-reset.js - rm test/pseudo-tty/test-set-raw-mode-reset-signal.js rm test/pseudo-tty/test-set-raw-mode-reset-process-exit.js + rm test/pseudo-tty/test-set-raw-mode-reset-signal.js make test-only }