From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oNr4ExoKUGc1+gAAe85BDQ:P1 (envelope-from ) for ; Wed, 04 Dec 2024 07:51:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oNr4ExoKUGc1+gAAe85BDQ (envelope-from ) for ; Wed, 04 Dec 2024 08:51:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MFMk0Y56; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021081301 header.b=tlOHaREr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733298714; a=rsa-sha256; cv=none; b=A+QzQuom/wiGpl8DhYpO9nPdkznrw6cBsZqfp83bT7DYEEYuUrlK5b/uuttnp/X+NhAylW GmsnYPGOzc7D5dV3wknyZtXCyBvHnTSXtU92URNa0PZI0Mkb54TePS5SROuGSxq2mcbOAc fluRgjhDLyV7A/jqKkrhF0T6POBcHekk4AmCV/nMEmEMTsNv4t0xwi/nRHHKiAwwuZr1TF N9cq1SpNJ0DmZU5u6tWsvX8BvTrlxZPs75m4vF5RRVaN7Xpjy4gwMSA8SJfmNmiVObvOm6 wsMn7GGhCRAMUU/p8m+fEPplcMeiE5E0B79KgoyG1dQ61/SohC2AQSDhoxTlCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MFMk0Y56; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021081301 header.b=tlOHaREr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733298714; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qczc+LkIkdOqb7HAOh1NWogqrp5TZENiKMvJnXwAZ7k=; b=qWJuIJdWmTJqdTFe3YJLC9AdQKzsTfAuBhUlscIbHAzT6r8ghXTsUgmL2ui3cAIajhdSd1 SyXvnHcG7OwQdCEBYx87Qm8jxjSFx7uaC3/KCN8je5tENMZAhiQiQrU8ih1TL+DInmPNxr yvSlXbSVZmspCSSBjM/l/4TVEu41XHGCDt4lZl1Riwp+V8E0r72vE2Pzqs1/c7jimisbJv SSR0beidLBU7eOrYxQYpNOd0G99Dzt606mpGdyVlucLLZyh6qkQnG9ZesFaxNfBq6UhISN hL5qkoQ7TFGFi7dq9Xzjq5sr5AlxDUYIlJnPdyV0BPgS2lozoQMsRz5kBPYycg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 18AF959D5C for ; Wed, 04 Dec 2024 08:51:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIkAJ-0007Bu-RC; Wed, 04 Dec 2024 02:51:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIkA8-00076l-SN for guix-patches@gnu.org; Wed, 04 Dec 2024 02:51:11 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIkA5-0001z1-Sj; Wed, 04 Dec 2024 02:51:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Qczc+LkIkdOqb7HAOh1NWogqrp5TZENiKMvJnXwAZ7k=; b=MFMk0Y56/n9KaMqTQtPck037mT92l6QrxTOvs5tCv3MTJSrG37StGYjOPi8ZUuNIjo/mTN3U+01Gkv1mpYEilbCsH90E1xEjhTmNcMM4IwGUcGMVoFcuGAujRVhIdBrAtTLmh0TlbKmy0tMfE8sCoVG5lRgkpBYLlNzHaMQwq8Qlwa4VNVA0jZFA+6FuerYrupztGhSsjBqb5xQ3N3r3VqbzleTz+jBIh0tdlXQ9TJ3e/vW9EIUfVp5QyiZTh075MYwd1FGU08B1SN0mtacRS9tLfVy5FN/870ASvdkwLZ+OSbCmBNDGN7KgNgM3nrvc/twjog8YD121qZ8k4Ta4Jw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIkA3-0001b1-DE; Wed, 04 Dec 2024 02:51:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74187] [PATCH v2 05/24] gnu: Add libuv-for-node-lts. Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" Resent-CC: jlicht@fsfe.org, rekado@elephly.net, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Wed, 04 Dec 2024 07:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74187 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74187@debbugs.gnu.org Cc: Jelle Licht , jlicht@fsfe.org, Ricardo Wurmus , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: jlicht@fsfe.org, Ricardo Wurmus , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74187-submit@debbugs.gnu.org id=B74187.17332986215859 (code B ref 74187); Wed, 04 Dec 2024 07:51:03 +0000 Received: (at 74187) by debbugs.gnu.org; 4 Dec 2024 07:50:21 +0000 Received: from localhost ([127.0.0.1]:33991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIk9N-0001WQ-GO for submit@debbugs.gnu.org; Wed, 04 Dec 2024 02:50:21 -0500 Received: from mail2.fsfe.org ([213.95.165.55]:35398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIk9L-0001W0-1a for 74187@debbugs.gnu.org; Wed, 04 Dec 2024 02:50:19 -0500 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021081301; t=1733298618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qczc+LkIkdOqb7HAOh1NWogqrp5TZENiKMvJnXwAZ7k=; b=tlOHaRErTOmhsyFS0zlTQyfgWd0KnmPAF8XRd7F851O27TQwuEvvOx0bh9L08NMpJwhddV RmpHUfinDHfCMBm3IYcDoGAjrbl9i8huuYF73Rjfx9/M5bfVQd1LlM2rw1eRNQxGCqnO5a Z/Go/AFAZP7crm2XW7eGRcbeI6cZjQw= Date: Wed, 4 Dec 2024 08:49:27 +0100 Message-ID: <08bd1952c0bd722b96dbcd7be2480b4e67ca5d4c.1733298337.git.jlicht@fsfe.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 18AF959D5C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.41 X-Spam-Score: -9.41 X-TUID: yh3CAH67xvjJ From: Jelle Licht 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