commit: e615386b6a018b9f8e00756578161aae9acc79eb Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Thu Jan 21 20:21:14 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Jan 21 20:51:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e615386b
net-misc/dhcp: Pass randomdev path to configure * dhcp fails to detect which random device to use when cross-compiling, so we have to pass --with-randomdev=/dev/random to configure Closes: https://bugs.gentoo.org/766426 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/19153 net-misc/dhcp/dhcp-4.4.2-r3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild index c0bbefce10f..b123e346e37 100644 --- a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild +++ b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -166,6 +166,7 @@ src_configure() { --enable-paranoia --enable-early-chroot --sysconfdir=${e} + --with-randomdev=/dev/random $(use_enable ipv6 dhcpv6) $(use_with ldap) $(use ldap && use_with ssl ldapcrypto || echo --without-ldapcrypto) @@ -178,6 +179,7 @@ src_configure() { local el eval econf \ $(for el in $(awk '/^bindconfig/,/^$/ {print}' ../Makefile.in) ; do if [[ ${el} =~ ^-- ]] ; then printf ' %s' ${el//\\} ; fi ; done | sed 's,@\([[:alpha:]]\+\)dir@,${binddir}/\1,g') \ + --with-randomdev=/dev/random \ --disable-symtable \ --without-make-clean }
