From patchwork Thu Aug 29 08:35:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67394 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 4D4E427BBE9; Thu, 29 Aug 2024 09:37:38 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 5F5DF27BBE2 for ; Thu, 29 Aug 2024 09:37:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjaeY-00085x-5G; Thu, 29 Aug 2024 04:37:14 -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 1sjaeV-00084q-Gd for guix-patches@gnu.org; Thu, 29 Aug 2024 04:37:12 -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 1sjaeS-00087J-Nk for guix-patches@gnu.org; Thu, 29 Aug 2024 04:37:10 -0400 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=662RLrOJVxIIrDv3vFq/LWRMkYMbzukaqTHiXGYJcf8=; b=D1EaPNFm53b1Jm+yGmduvq9duO2AvdD7l6RTPn03PeqLRn08XdFgPfTxRuPbhj1KLAQJOUa6OzWedBRFyfUh9u9dnh5g8uP8ReAvrqIjKzPXt99C24sY8vnlywACIk0XjutRQRJWvPCe9fUVAgSjtAFosPWkOQC1RBtm/vIKIMrNnRLS1FEDeb5DzDYEXUGrEK2CeXjNA2DbALgqWv/PardAcMXXDDmDdLszfcouu7+l1ebsB+QgFb39jC1VWjMavQHkRN9QtcHr5mco55t8sEkLKKBZnaR1CJAdtYQXoS+0vD5F2AruYwc4HZsQ92WhzZFdplRM7ftQNsVYZ+Y9CA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjafL-0007RT-PV for guix-patches@gnu.org; Thu, 29 Aug 2024 04:38:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72851] [PATCH v2 4/6] gnu: pidgin: Use system ssl certs. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 08:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72851@debbugs.gnu.org Cc: Dariqq , me@tobias.gr, liliana.prikler@gmail.com Received: via spool by 72851-submit@debbugs.gnu.org id=B72851.172492065328509 (code B ref 72851); Thu, 29 Aug 2024 08:38:03 +0000 Received: (at 72851) by debbugs.gnu.org; 29 Aug 2024 08:37:33 +0000 Received: from localhost ([127.0.0.1]:50370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjaeq-0007Pd-Di for submit@debbugs.gnu.org; Thu, 29 Aug 2024 04:37:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjaem-0007Oc-C3 for 72851@debbugs.gnu.org; Thu, 29 Aug 2024 04:37:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5971E240103 for <72851@debbugs.gnu.org>; Thu, 29 Aug 2024 10:36:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724920586; bh=I/P4tD/ILSBYnBDa5+o9CC260LQLsMW9gwT2aF0+ae8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=TnGQ60gexGFrHTvn2wj3LP+uveo6CBIIkgjk7oGHQ+H6Jplt5iRKtnS9I7CP8HtaK 23f11A7h4QN57722ZlHuPK37xuIf1j7fP668X39WfsmlocPIfrV894vMZfZhS4RKWU ys9ygbUKQCDyR+GYMdJ8pTI8vzLp6aQXjwhacJu9vIQe1vg+CsOdFzmYDhHbQhCw3F sUq9u7F1ju9LigyexszMQpMDqoN3dCMjalRyLLFDFceTu4jyWR9zyWrZcZ86PlsaGL 16oIA3yMAKTPKhGnn8p8rfPFtWGhYwb5vT6LWU559YELJv57l8Wu8fTlTaPGMvDYzK 5XPWX2aKXRl0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WvZPj5Njlz6twB; Thu, 29 Aug 2024 10:36:25 +0200 (CEST) From: Dariqq Date: Thu, 29 Aug 2024 08:35:19 +0000 Message-ID: <22922127775e781edc3d75ec4461171cde609a1c.1724920170.git.dariqq@posteo.net> 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 If not present pidgin bundles its own certs otherwise. * gnu/packages/messaging.scm (pdigin) [inputs]: Add nss-certs. [#:configure-flags]: Add --with-system-ssl-certs Change-Id: I14ec36002b31b4de52871f065bd18c9d30eca275 --- gnu/packages/messaging.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 6b3dff2152..4992db1bee 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -74,6 +74,7 @@ (define-module (gnu packages messaging) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages certs) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) @@ -1002,6 +1003,7 @@ (define-public pidgin network-manager nspr nss + nss-certs pango perl python-2 @@ -1024,6 +1026,9 @@ (define-public pidgin "--disable-gevolution" "--enable-cap" "--enable-cyrus-sasl" + (string-append "--with-system-ssl-certs=" + (assoc-ref %build-inputs "nss-certs") + "/etc/ssl/certs") (string-append "--with-ncurses-headers=" (assoc-ref %build-inputs "ncurses") "/include")