1 |
commit: 74996872513894f53240533d6408e37f2893a87a |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 16:46:46 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 16:47:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=74996872 |
7 |
|
8 |
gkbuilds/dropbear: Build dbclient |
9 |
|
10 |
Required for scp. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
gkbuilds/dropbear.gkbuild | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/gkbuilds/dropbear.gkbuild b/gkbuilds/dropbear.gkbuild |
18 |
index 55639cb..9e2c18b 100644 |
19 |
--- a/gkbuilds/dropbear.gkbuild |
20 |
+++ b/gkbuilds/dropbear.gkbuild |
21 |
@@ -25,7 +25,7 @@ src_configure() { |
22 |
src_compile() { |
23 |
local MYMAKEOPTS=( "V=1" ) |
24 |
MYMAKEOPTS+=( "MULTI=1" ) |
25 |
- MYMAKEOPTS+=( "PROGRAMS='dropbear dropbearkey dropbearconvert scp'" ) |
26 |
+ MYMAKEOPTS+=( "PROGRAMS='dbclient dropbear dropbearkey dropbearconvert scp'" ) |
27 |
gkmake "${MYMAKEOPTS[@]}" |
28 |
} |
29 |
|
30 |
@@ -48,6 +48,9 @@ src_install() { |
31 |
"${STRIP}" --strip-all "${D}"/usr/bin/dropbearmulti \ |
32 |
|| die "Failed to strip '${D}/usr/bin/dropbearmulti'!" |
33 |
|
34 |
+ ln -s dropbearmulti "${D}"/usr/bin/dbclient \ |
35 |
+ || die "Failed to symlink '${D}/usr/bin/dbclient' to '${D}/usr/bin/dropbearmulti'!" |
36 |
+ |
37 |
ln -s ../bin/dropbearmulti "${D}"/usr/sbin/dropbear \ |
38 |
|| die "Failed to symlink '${D}/usr/sbin/dropbear' to '${D}/usr/bin/dropbearmulti'!" |