All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] c-ares: define random file
@ 2015-11-25 12:44 gustavo.zacarias at free-electrons.com
  2015-11-25 22:01 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: gustavo.zacarias at free-electrons.com @ 2015-11-25 12:44 UTC (permalink / raw)
  To: buildroot

From: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>

When cross-compiling it assumes there's none, however that's not true.
Specify the usual /dev/urandom for this usage, it's used for random key
generation on startup.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
---
 package/c-ares/c-ares.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/c-ares/c-ares.mk b/package/c-ares/c-ares.mk
index c858887..77ae4b9 100644
--- a/package/c-ares/c-ares.mk
+++ b/package/c-ares/c-ares.mk
@@ -7,6 +7,7 @@
 C_ARES_VERSION = 1.10.0
 C_ARES_SITE = http://c-ares.haxx.se/download
 C_ARES_INSTALL_STAGING = YES
+C_ARES_CONF_OPTS = --with-random=/dev/urandom
 # Rebuild configure to avoid XC_CHECK_USER_CFLAGS
 C_ARES_AUTORECONF = YES
 C_ARES_LICENSE = MIT
-- 
2.4.10

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

* [Buildroot] [PATCH] c-ares: define random file
  2015-11-25 12:44 [Buildroot] [PATCH] c-ares: define random file gustavo.zacarias at free-electrons.com
@ 2015-11-25 22:01 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2015-11-25 22:01 UTC (permalink / raw)
  To: buildroot

>>>>> "gustavo" == gustavo zacarias <gustavo.zacarias@free-electrons.com> writes:

 > From: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
 > When cross-compiling it assumes there's none, however that's not true.
 > Specify the usual /dev/urandom for this usage, it's used for random key
 > generation on startup.

 > Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2015-11-25 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 12:44 [Buildroot] [PATCH] c-ares: define random file gustavo.zacarias at free-electrons.com
2015-11-25 22:01 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.