From patchwork Fri Sep 30 07:34:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 43067 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 1065427BBEA; Fri, 30 Sep 2022 08:35:17 +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=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 C6A1227BBE9 for ; Fri, 30 Sep 2022 08:35:16 +0100 (BST) Received: from localhost ([::1]:40430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeAYF-00070i-Ur for patchwork@mira.cbaines.net; Fri, 30 Sep 2022 03:35:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeAY2-0006xk-O7 for guix-patches@gnu.org; Fri, 30 Sep 2022 03:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeAY2-0006NL-Fn for guix-patches@gnu.org; Fri, 30 Sep 2022 03:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeAY2-0008Cx-6o for guix-patches@gnu.org; Fri, 30 Sep 2022 03:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58189] [PATCH] gnu: squid: Enable TLS features Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Sep 2022 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58189 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58189@debbugs.gnu.org Cc: Sergey Trofimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166452329531534 (code B ref -1); Fri, 30 Sep 2022 07:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Sep 2022 07:34:55 +0000 Received: from localhost ([127.0.0.1]:40404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeAXv-0008CW-1U for submit@debbugs.gnu.org; Fri, 30 Sep 2022 03:34:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:35574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeAXq-0008CM-G1 for submit@debbugs.gnu.org; Fri, 30 Sep 2022 03:34:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeAXq-0006rY-8h for guix-patches@gnu.org; Fri, 30 Sep 2022 03:34:50 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:33690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeAXo-0006LA-8X for guix-patches@gnu.org; Fri, 30 Sep 2022 03:34:50 -0400 Received: by mail-ej1-x634.google.com with SMTP id lc7so7329307ejb.0 for ; Fri, 30 Sep 2022 00:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=eVjXaO06kG3JSzy6rpuXeWlHd8cDyDa1HKHlK/unCzc=; b=DzbtbnQMvid14uOsh8c5E9OWDOtpKHoCIz6FFp4KtxDyPMmjp0byDs0FVDbG/jPw2g mAJLI41wOdQj3KvCEtirdGuNvHdSW0+fdBQbH351SrDblo81pRBbFOQh4ZKRdhcsD/Ay Q+BoTkTCEHQxqTKdJOITBMZX4hyYVlE+HJ87M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=eVjXaO06kG3JSzy6rpuXeWlHd8cDyDa1HKHlK/unCzc=; b=LDlwRSlSuIu6nTEhnhrmNzxmeUN5HqojROiXCWDENFkWwXJ3roJvSkjqFUrjtyAqJn sPsCmfKJ3o9wZ1SvTyVY381S7y0KWHWVwaWKPDQyOvuBvw+l/rCNt14IR2gBmYSPFzw+ awzSctpOLtgG+QB+1mSNkibv8sSYTz5pS0okU82GNoBOL+2WqFIBJwUgsXrc5lJMK9t2 syDPj8lSlw9SRmzil/J7cn6uEzCqITYIyXObRbNhQodqq9yY0NiU4hA20d49GYpLjgRE RmNx3a1pY2CzO7wdVfnzvIFFRMqZGuerGNADp6yeQZzh84SdZCps8qQXHKOMjB9le0Jk cB+w== X-Gm-Message-State: ACrzQf01rqMWapMyCNdFWHI6soyYDw3H42ZDnHDfVn9LmJJg4hcTokxC qRWzxZ3KPGiSC/4xapTeMpSbBFym2RpwCQ== X-Google-Smtp-Source: AMsMyM6jQ9T/EUWjzK6HW01nq7krsLedo14ezIUtFWY5glt3ucRKFiSyesZI5hj+ksL7wAPhkb6J1g== X-Received: by 2002:a17:907:70a:b0:741:78ab:dce5 with SMTP id xb10-20020a170907070a00b0074178abdce5mr5790137ejb.527.1664523284616; Fri, 30 Sep 2022 00:34:44 -0700 (PDT) Received: from localhost ([158.181.75.40]) by smtp.gmail.com with ESMTPSA id bj25-20020a170906b05900b0073d83f80b05sm774702ejb.94.2022.09.30.00.34.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 00:34:43 -0700 (PDT) From: Sergey Trofimov Date: Fri, 30 Sep 2022 09:34:39 +0200 Message-Id: <20220930073439.2317-1-sarg@sarg.org.ru> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::634; envelope-from=sarg@sarg.org.ru; helo=mail-ej1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches I've noticed that despite openssl is listed as an input - it's not actually enabled by default. Fixing that using a configure flag. W/o this change I was not able to use cache_peer with tls enabled. --- gnu/packages/networking.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 3d9ba4fc8d..3489c3b96a 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2010,7 +2010,7 @@ (define-public squid '(#:configure-flags ;; disable -march=native in build for reproducibility; see ;; https://wiki.squid-cache.org/KnowledgeBase/IllegalInstructionError - (list "--disable-arch-native") + (list "--disable-arch-native" "--with-openssl") #:phases (modify-phases %standard-phases (add-before 'build 'fix-true-path