[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74187] [PATCH v2 24/24] gnu: node: Rename variable node-bootstrap a
From: |
jlicht |
Subject: |
[bug#74187] [PATCH v2 24/24] gnu: node: Rename variable node-bootstrap and hide package. |
Date: |
Wed, 4 Dec 2024 08:49:46 +0100 |
From: Jelle Licht <jlicht@fsfe.org>
The formerly known as node package has security issues, so should only be used
to bootstrap more recent and secure versions of node.
* gnu/packages/node.scm (node): Rename to...
(node-bootstrap): ... this, and make it a hidden package.
Change-Id: I536a8f55faa14f8221915467c2981053f4c4d70e
---
gnu/packages/node.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 13d2575333..16153b20da 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -56,9 +56,12 @@ (define-module (gnu packages node)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (ice-9 match)
+ #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
-(define-public node
+;; This should be the latest version of node that still builds without
+;; depending on llhttp.
+(define-public node-bootstrap
(package
(name "node")
(version "10.24.1")
@@ -338,12 +341,8 @@ (define-public node
(license license:expat)
(properties '((max-silent-time . 7200) ;2h, needed on ARM
(timeout . 21600) ;6h
- (cpe-name . "node.js")))))
-
-;; This should be the latest version of node that still builds without
-;; depending on llhttp.
-(define-public node-bootstrap
- (hidden-package node))
+ (cpe-name . "node.js")
+ (hidden? . #t)))))
;; Duplicate of node-semver
(define-public node-semver-bootstrap
@@ -749,7 +748,7 @@ (define-public llhttp-bootstrap
(define-public node-lts
(package
- (inherit node)
+ (inherit node-bootstrap)
(version "20.18.1")
(source (origin
(method url-fetch)
@@ -780,7 +779,7 @@ (define-public node-lts
(("deps/uv/uv.gyp") "")
(("deps/zlib/zlib.gyp") ""))))))
(arguments
- (substitute-keyword-arguments (package-arguments node)
+ (substitute-keyword-arguments (package-arguments node-bootstrap)
((#:configure-flags configure-flags)
''("--shared-cares"
"--shared-libuv"
@@ -982,7 +981,8 @@ (define-public node-lts
nghttp3
`(,nghttp2 "lib")
openssl
- zlib))))
+ zlib))
+ (properties (alist-delete 'hidden? (package-properties node-bootstrap)))))
(define-public libnode
(package/inherit node-lts
--
2.46.0
- [bug#74187] [PATCH v2 11/24] gnu: node-addon-api: Update to 8.3.0., (continued)
- [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
- [bug#74187] [PATCH v2 21/24] gnu: ruby-execjs: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 24/24] gnu: node: Rename variable node-bootstrap and hide package.,
jlicht <=
- [bug#74187] [PATCH v2 17/24] gnu: fmp: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 19/24] gnu: qtwebengine-5: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 16/24] gnu: js-of-ocaml: Use node-lts instead of node., jlicht, 2024/12/04
- [bug#74187] [PATCH v2 00/24] Bumping node to 20.18.0 and beyond, Ludovic Courtès, 2024/12/12