commit: 74996872513894f53240533d6408e37f2893a87a
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 16:46:46 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 16:47:08 2020 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=74996872
gkbuilds/dropbear: Build dbclient
Required for scp.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gkbuilds/dropbear.gkbuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gkbuilds/dropbear.gkbuild b/gkbuilds/dropbear.gkbuild
index 55639cb..9e2c18b 100644
--- a/gkbuilds/dropbear.gkbuild
+++ b/gkbuilds/dropbear.gkbuild
@@ -25,7 +25,7 @@ src_configure() {
src_compile() {
local MYMAKEOPTS=( "V=1" )
MYMAKEOPTS+=( "MULTI=1" )
- MYMAKEOPTS+=( "PROGRAMS='dropbear dropbearkey dropbearconvert scp'" )
+ MYMAKEOPTS+=( "PROGRAMS='dbclient dropbear dropbearkey dropbearconvert
scp'" )
gkmake "${MYMAKEOPTS[@]}"
}
@@ -48,6 +48,9 @@ src_install() {
"${STRIP}" --strip-all "${D}"/usr/bin/dropbearmulti \
|| die "Failed to strip '${D}/usr/bin/dropbearmulti'!"
+ ln -s dropbearmulti "${D}"/usr/bin/dbclient \
+ || die "Failed to symlink '${D}/usr/bin/dbclient' to
'${D}/usr/bin/dropbearmulti'!"
+
ln -s ../bin/dropbearmulti "${D}"/usr/sbin/dropbear \
|| die "Failed to symlink '${D}/usr/sbin/dropbear' to
'${D}/usr/bin/dropbearmulti'!"