From patchwork Sun Jan 5 17:57:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jelle Licht X-Patchwork-Id: 36634 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2DD1F27BBE2; Sun, 5 Jan 2025 17:58:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E138727BBE2 for ; Sun, 5 Jan 2025 17:58:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUUt9-0008RR-8k; Sun, 05 Jan 2025 12:58:11 -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 1tUUt1-0008Pq-Ky for guix-patches@gnu.org; Sun, 05 Jan 2025 12:58:03 -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 1tUUt0-0007FW-Vm for guix-patches@gnu.org; Sun, 05 Jan 2025 12:58:03 -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=1gHm5+r0NLjTWololblDjwHrETSkwWjDm6l1Mmcp8Mg=; b=Exikt3VnL7Vu+4RsM4mumb9q6JDkZe6mcZewxLitcdLSeHqFU16Edtuv0Za07Rx5Kx252DijSeTtmoOzvy5jonuAEonoYWLneJwDJfYxCAZn6FOP798QA2PkY//MqRAuYsR+phFHdch9FV/YbIXrfdtm7xBrnHsjJG8/KrO8uYPNI4V7UUXrhRmqMQDCHyu1PC6r1Hem2bEDnKkp62XAcs+6/N2kFzHsD21tG8HOs1LR9aAyP3wJdODQnJSizAi0o/fCQImdCKPQOpkTf2nN5wbSTUerf8V2cynS64c/MJ/fsP0CY6PjPv4tWvt6QgFXvTRiNdMrCKvei1SYwmzdbw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUUt0-0008Ur-Bc; Sun, 05 Jan 2025 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75384] [PATCH 1/4] gnu: Add c-ares-for-node-lts. Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" Resent-CC: jlicht@fsfe.org, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 05 Jan 2025 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75384 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75384@debbugs.gnu.org Cc: Jelle Licht , jlicht@fsfe.org, Sharlatan Hellseher X-Debbugs-Original-Xcc: jlicht@fsfe.org, Sharlatan Hellseher Received: via spool by 75384-submit@debbugs.gnu.org id=B75384.173609983632561 (code B ref 75384); Sun, 05 Jan 2025 17:58:02 +0000 Received: (at 75384) by debbugs.gnu.org; 5 Jan 2025 17:57:16 +0000 Received: from localhost ([127.0.0.1]:35071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUUsG-0008T7-E1 for submit@debbugs.gnu.org; Sun, 05 Jan 2025 12:57:16 -0500 Received: from mail2.fsfe.org ([213.95.165.55]:52038) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUUsC-0008Sh-OC for 75384@debbugs.gnu.org; Sun, 05 Jan 2025 12:57:14 -0500 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021081301; t=1736099830; 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=1gHm5+r0NLjTWololblDjwHrETSkwWjDm6l1Mmcp8Mg=; b=UQLFfco3cCo2o4QLQGe21B0VZbs8jUi1dXJJm8CPZD1QEv9hpxPFGwb1zDU2SDhAdCpps4 BxjZHU2uLTrzFG6XKFvHkFuxUz9lyKB99wGy7o6KqaYGScD6zTjcEnmzb0zP2CmHZrf/Hb qBR4PxsDHawWaXKXYi9YA6oEN2m2dbY= Date: Sun, 5 Jan 2025 18:57:19 +0100 Message-ID: <198f8648dea237e3619376fe0b3e59cf481e10a5.1736092552.git.jlicht@fsfe.org> In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Jelle Licht * gnu/packages/adns.scm (c-ares-for-node-lts): New variable. Change-Id: I547272f3fa3419a7659bf5b2d91a3e917c20d434 --- gnu/packages/adns.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm index 1097b84062..8f37d970c3 100644 --- a/gnu/packages/adns.scm +++ b/gnu/packages/adns.scm @@ -148,6 +148,21 @@ (define-public c-ares multiple clients and programs with graphical user interfaces.") (license (x11-style "https://c-ares.haxx.se/license.html")))) +(define-public c-ares-for-node-lts + (hidden-package + (package + (inherit c-ares) + (version "1.34.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/c-ares/c-ares/releases/download/v" + version "/c-ares-" version + ".tar.gz")) + (sha256 + (base32 + "0br2msk3bpl5myhjp9vr5j2scpspvbg2fpnz69dcrr4ycpnxnf7s"))))))) + ;; gRPC requires a c-ares built with CMake in order to get the .cmake modules. ;; We can not build c-ares itself with CMake because that would introduce a ;; circular dependency through nghttp2.