[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74187] [PATCH v2 05/24] gnu: Add libuv-for-node-lts.
From: |
jlicht |
Subject: |
[bug#74187] [PATCH v2 05/24] gnu: Add libuv-for-node-lts. |
Date: |
Wed, 4 Dec 2024 08:49:27 +0100 |
From: Jelle Licht <jlicht@fsfe.org>
Specific versions of Node depend on specific versions of libuv.
* gnu/packages/libevent.scm (libuv-for-node-lts): New package.
Change-Id: I97f6b96002dde37a0cec56dbfd7ff8722982ff89
---
gnu/packages/libevent.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index 20f967757d..202deaea47 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -158,6 +158,30 @@ (define-public libuv-for-node
"0wpb9pz3r8nksnrf4zbixj2kk9whr7abi45ydrwyv2js2ljrc4j3"))))
(properties '((hidden? . #t)))))
+(define-public libuv-for-node-lts
+ ;; When upgrading Node, also upgrade this. Get the version from
+ ;; https://github.com/nodejs/node/blob/main/deps/uv/include/uv/version.h
+ (package
+ (inherit libuv)
+ (name "libuv")
+ (version "1.46.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://dist.libuv.org/dist/v" version
+ "/libuv-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1knxvp6bl3y0c87cch1id0z7m7rb6igx55ci93qnbp4zifaq67qi"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Disable io_uring by default due to CVE-2024-22017. Can be
removed once
+ ;; https://github.com/libuv/libuv/issues/4468 is released and
compatible
+ ;; with Node.js
+ (substitute* "src/unix/linux.c"
+ (("val == NULL \\|\\|") "val != NULL &&"))))))
+ (properties '((hidden? . #t)))))
+
(define-public libuv-for-r-httpuv
;; When upgrading r-httpuv, also upgrade this.
(package
--
2.46.0
- [bug#74187] [PATCH v2 00/24] Bumping node to 20.18.0 and beyond, jlicht, 2024/12/04
- [bug#74187] [PATCH v2 01/24] gnu: node: Replace customized nghttp2-for-node by nghttp2., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 09/24] gnu: node-acorn: Update to 8.7.1., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 10/24] gnu: node-nan: Update to 2.22.0., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 06/24] gnu: llhttp-bootstrap: Update to 8.1.2., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 04/24] gnu: Remove c-ares-for-node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 20/24] gnu: ruby-autoprefixer-rails: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 02/24] gnu: Remove nghttp2-for-node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 22/24] gnu: vlang: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 05/24] gnu: Add libuv-for-node-lts.,
jlicht <=
- [bug#74187] [PATCH v2 14/24] gnu: python-cwl-utils: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 11/24] gnu: node-addon-api: Update to 8.3.0., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 07/24] gnu: node-lts: Update to 20.18.1 [security fixes]., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 03/24] gnu: node-lts: Replace customized c-ares-for-node by c-ares., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 12/24] gnu: r-v8: Fix build with node-lts@20., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 15/24] gnu: ocaml-ezjsonm: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 13/24] gnu: cwltool: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 08/24] gnu: node-uglify-js: Update to 3.19.3., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 18/24] gnu: python-cloudscraper: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 23/24] gnu: esbuild-node: Use node-lts instead of node., jlicht, 2024/12/04