Subject: bug#51063: closed (Re: bug#51063: [PATCH] gnu: ruby-eventmachine: Add openssl input.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 26 Oct 2021 10:46:02 +0000

Your bug report

#51063: [PATCH] gnu: ruby-eventmachine: Add openssl input.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
51063: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51063
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#51063: [PATCH] gnu: ruby-eventmachine: Add openssl input.
From: Ludovic Courtès <[email-masked]>
To: Stephen Paul Weber <[email-masked]>
Cc: [email-masked]
Date: Tue, 26 Oct 2021 12:45:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Stephen Paul Weber <[email-masked]> skribis:

> While EventMachine will build without openssl present, attempting to use it to
> make any TLS-secured connections will crash at runtime, which is not very
> useful.  This allows the build system to find and link OpenSSL and thus TLS will
> work at runtime.
>
> * gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.

Applied, thanks!

Ludo'.

Subject: [PATCH] gnu: ruby-eventmachine: Add openssl input.
From: Stephen Paul Weber <[email-masked]>
To: [email-masked]
Cc: Stephen Paul Weber <[email-masked]>
Date: Wed, 6 Oct 2021 12:55:56 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

While EventMachine will build without openssl present, attempting to use it to
make any TLS-secured connections will crash at runtime, which is not very
useful.  This allows the build system to find and link OpenSSL and thus TLS will
work at runtime.

* gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.
---
 gnu/packages/ruby.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 8db5bd9158..58c6df5260 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8730,6 +8730,8 @@ application.")
     (build-system ruby-build-system)
     (arguments
      '(#:tests? #f))               ; test suite tries to connect to google.com
+    (inputs
+     `(("openssl" ,openssl)))
     (native-inputs
      `(("ruby-rake-compiler" ,ruby-rake-compiler)))
     (synopsis "Single-threaded network event framework for Ruby")
-- 
2.20.1