From patchwork Sat Apr 6 15:04:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 62778 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 7A92327BBEA; Sat, 6 Apr 2024 16:05:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 9375027BBE2 for ; Sat, 6 Apr 2024 16:05:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt7bJ-0002oM-JY; Sat, 06 Apr 2024 11:05:01 -0400 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 1rt7bF-0002mt-8L for guix-patches@gnu.org; Sat, 06 Apr 2024 11:04:57 -0400 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 1rt7bE-0001rw-Vw for guix-patches@gnu.org; Sat, 06 Apr 2024 11:04:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt7bL-0001s8-5u for guix-patches@gnu.org; Sat, 06 Apr 2024 11:05:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67512] [PATCH v7 1/3] gnu: Add nss-3.98. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Apr 2024 15:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67512 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67512@debbugs.gnu.org Cc: Ian Eure Received: via spool by 67512-submit@debbugs.gnu.org id=B67512.17124158967132 (code B ref 67512); Sat, 06 Apr 2024 15:05:03 +0000 Received: (at 67512) by debbugs.gnu.org; 6 Apr 2024 15:04:56 +0000 Received: from localhost ([127.0.0.1]:40585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt7bD-0001qc-1B for submit@debbugs.gnu.org; Sat, 06 Apr 2024 11:04:56 -0400 Received: from fout7-smtp.messagingengine.com ([103.168.172.150]:46863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt7b6-0001p8-KC for 67512@debbugs.gnu.org; Sat, 06 Apr 2024 11:04:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 392B413800A2; Sat, 6 Apr 2024 11:04:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 06 Apr 2024 11:04:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1712415876; x= 1712502276; bh=7/f4sqU5tNrkuXAo1ILjb2Dm2yWC0FZwbOkfKRe9WCY=; b=Z CcZ+4q0OMnt8sdGuXbi9rNnAlCxw7cCGwc0e3PEJd0gmUyNj2MZRxUgSo4iTdP7i DaRililMW6TrU21i5jWnKYjK9l7jOBlT1X/z/D6/FyZwpdKruvruCc7L0q+WAWvr OMI2OasddF6GQVNZKPZSkUulnCZle/J3C4QzZIfKA6h/cG3j5sNuAa0Ze8kNKfTu kz1HAvtP+tkPj136xiJmkS/p4+PS/WWXKnIOb/KQpuTtxym4W2Po0GSETn92PZjj tNcauM7PzvOC6uXCd0Fu+cW8Yn+cK8jE19Jk7RXpZaR60kAalmYZVwxfakWIwrd+ FA1TaiYa0wlnR3xh+ni0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712415876; x= 1712502276; bh=7/f4sqU5tNrkuXAo1ILjb2Dm2yWC0FZwbOkfKRe9WCY=; b=V ZdHeoXxA9TZuAOyG+AXKPxo2HEYLk7TO6hwmAWEjHYF43YAjhow6vWF7I5GB5kBS yyGNYcgwsDg1l+YPfUbvIZdsx1dMyaTvTJfp8zQnfLMqp/0uQACdqQSmVm1z11Fq n1jnIYGYtoRtOOqe8LO1pnCLzJOIYCeZjMU4NYAJhw/KojgAoSQ+0EBYIjmQgFff nCzETjyMu3ZSUG062Cjvv23genpoDk6x9kPWdzytC4LSdWkrnzLPSL6OvPsUmsrW IpRdDcZigFnNbS+lQZj/7djE8bKapVlqjuFK+LSbq/UMtXUzJghPzzOUPYzezNQa 3IHa34EbdkBIZpFkUwaSw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudegvddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepgfetieffvdeljeelieeiveeggeelgeeiveejke efveeludfgheettefgueffvefhnecuffhomhgrihhnpehmohiiihhllhgrrdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihgrnhesrh gvthhrohhsphgvtgdrthhv X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 Apr 2024 11:04:35 -0400 (EDT) From: Ian Eure Date: Sat, 6 Apr 2024 08:04:16 -0700 Message-ID: <3db6c1dd76de00bee42833d2286cf916444cd49e.1712415593.git.ian@retrospec.tv> X-Mailer: git-send-email 2.41.0 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 * gnu/packages/nss.scm (nss-3.98): New variable. Change-Id: If54ba20d296da2f4edd444c7cfa223a2d5a9ecb8 --- gnu/packages/nss.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 54b9e5041a..14612d7ce9 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -241,3 +241,48 @@ (define-public nss security standards.") (license license:mpl2.0))) +(define-public nss-3.98 + (package + (inherit nss) + (version "3.98") + (source (origin + (method url-fetch) + (uri (let ((version-with-underscores + (string-join (string-split version #\.) "_"))) + (string-append + "https://ftp.mozilla.org/pub/mozilla.org/security/nss/" + "releases/NSS_" version-with-underscores "_RTM/src/" + "nss-" version ".tar.gz"))) + (sha256 + (base32 + "1kh98amfklrq6915n4mlbrcqghc3srm7rkzs9dkh21jwscrwqjgm")) + ;; Create nss.pc and nss-config. + (patches (search-patches "nss-3.56-pkgconfig.patch" + "nss-getcwd-nonnull.patch" + "nss-increase-test-timeout.patch")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete the bundled copy of these libraries. + (delete-file-recursively "nss/lib/zlib") + (delete-file-recursively "nss/lib/sqlite"))))) + (arguments + (substitute-keyword-arguments (package-arguments nss) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (begin + ;; Use 127.0.0.1 instead of $HOST.$DOMSUF as HOSTADDR for + ;; testing. The latter requires a working DNS or /etc/hosts. + (setenv "DOMSUF" "localdomain") + (setenv "USE_IP" "TRUE") + (setenv "IP_ADDRESS" "127.0.0.1") + + ;; The "PayPalEE.cert" certificate expires every six months, + ;; leading to test failures: + ;; . To + ;; work around that, set the time to roughly the release date. + (invoke "faketime" "2024-01-23" "./nss/tests/all.sh")) + (format #t "test suite not run~%"))))))))))