Skip to contentSkip to conversation

c-ares: define random file

PATCH New gustavo.zacarias at free-electrons.com 2 participants 2 messages Nov 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 c-ares: define random file

From: Gustavo Zacarias <[email protected]>

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.

---
 package/c-ares/c-ares.mk | 1 +
 1 file changed, 1 insertion(+)
package/c-ares/c-ares.mk +1 -0
index c858887..77ae4b9 100644
@@ -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
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 c-ares: define random file

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"gustavo" == gustavo zacarias <[email protected]> writes:

From: Gustavo Zacarias <[email protected]> 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard