[PATCH] gnu: squid: Enable TLS features

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Sergey Trofimov
Owner
unassigned
Submitted by
Sergey Trofimov
Severity
normal

Debbugs page

Sergey Trofimov wrote 2 years ago
(address . guix-patches@gnu.org)(name . Sergey Trofimov)(address . sarg@sarg.org.ru)
20220930073439.2317-1-sarg@sarg.org.ru
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(-)

Toggle diff (15 lines)
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
--
2.37.3
Ludovic Courtès wrote 2 years ago
(name . Sergey Trofimov)(address . sarg@sarg.org.ru)(address . 58189-done@debbugs.gnu.org)
87zge8fyk4.fsf@gnu.org
Hi,

Sergey Trofimov <sarg@sarg.org.ru> skribis:

Toggle quote (3 lines)
> 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.

I tweaked the commit log and applied it, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 58189@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58189
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help