From ea0989690c90a40ef1aa128eaedcd7199db5fc07 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 20 Aug 2026 06:34:43 +0100 Subject: [PATCH] net-libs/libssh: fix comment wrt /dev/urandom It's actually dropbear itself: https://github.com/mkj/dropbear/blob/1442f00d3f0d755d9f8ba83c5edcd893aa4d71db/src/dbrandom.c#L309 Bug: https://bugs.gentoo.org/964307 Fixes: 6cc11dab674346112870b1359501901890fe5043 Signed-off-by: Sam James --- net-libs/libssh/libssh-0.11.5.ebuild | 4 ++-- net-libs/libssh/libssh-0.12.2.ebuild | 4 ++-- net-libs/libssh/libssh-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-libs/libssh/libssh-0.11.5.ebuild b/net-libs/libssh/libssh-0.11.5.ebuild index 3121cb2044b02..0b9bdb307cecd 100644 --- a/net-libs/libssh/libssh-0.11.5.ebuild +++ b/net-libs/libssh/libssh-0.11.5.ebuild @@ -117,8 +117,8 @@ multilib_src_configure() { -DWITH_SERVER=$(usex server) -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) - # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't - # do client/server testing yet anyway (bug #964307) + # dropbear's dhclient tries to open /dev/urandom for writing in + # seedrandom. And we don't do client/server testing yet anyway (bug #964307) -DDROPBEAR_EXECUTABLE= # TODO: try enabling {CLIENT,SERVER}_TESTING -DUNIT_TESTING=$(usex test) diff --git a/net-libs/libssh/libssh-0.12.2.ebuild b/net-libs/libssh/libssh-0.12.2.ebuild index 8e07e4abb03fb..281f1e8d22b5e 100644 --- a/net-libs/libssh/libssh-0.12.2.ebuild +++ b/net-libs/libssh/libssh-0.12.2.ebuild @@ -125,8 +125,8 @@ multilib_src_configure() { -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) - # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't - # do client/server testing yet anyway (bug #964307) + # dropbear's dhclient tries to open /dev/urandom for writing in + # seedrandom. And we don't do client/server testing yet anyway (bug #964307) -DDROPBEAR_EXECUTABLE= # TODO: Still needs some work, some tests hang and some fail # Would need net-misc/openssh and net-misc/putty too diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index 8e07e4abb03fb..281f1e8d22b5e 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -125,8 +125,8 @@ multilib_src_configure() { -DWITH_SFTP=$(usex sftp) -DBUILD_STATIC_LIB=$(usex static-libs) - # libtomcrypt tries to open /dev/urandom -> sandbox issue, but we don't - # do client/server testing yet anyway (bug #964307) + # dropbear's dhclient tries to open /dev/urandom for writing in + # seedrandom. And we don't do client/server testing yet anyway (bug #964307) -DDROPBEAR_EXECUTABLE= # TODO: Still needs some work, some tests hang and some fail # Would need net-misc/openssh and net-misc/putty too