unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51063] [PATCH] gnu: ruby-eventmachine: Add openssl input.
@ 2021-10-06 17:55 Stephen Paul Weber
  2021-10-26 10:45 ` bug#51063: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Paul Weber @ 2021-10-06 17:55 UTC (permalink / raw)
  To: 51063; +Cc: Stephen Paul Weber

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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51063: [PATCH] gnu: ruby-eventmachine: Add openssl input.
  2021-10-06 17:55 [bug#51063] [PATCH] gnu: ruby-eventmachine: Add openssl input Stephen Paul Weber
@ 2021-10-26 10:45 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-10-26 10:45 UTC (permalink / raw)
  To: Stephen Paul Weber; +Cc: 51063-done

Hi,

Stephen Paul Weber <singpolyma@singpolyma.net> 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'.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-26 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 17:55 [bug#51063] [PATCH] gnu: ruby-eventmachine: Add openssl input Stephen Paul Weber
2021-10-26 10:45 ` bug#51063: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).