File tree Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,11 @@ jobs:
7575 set -eu
7676 apk add --no-cache file >/dev/null 2>&1 || true
7777 echo "== file =="
78- file /out/dropbearmulti || true
78+ file /out/dropbear || true
7979 echo "== ldd =="
80- ldd /out/dropbearmulti || true
80+ ldd /out/dropbear || true
8181 echo "== execute =="
8282 /out/dropbear -h >/dev/null
83- /out/dropbearkey -h >/dev/null
8483 '
8584
8685 - name : Upload artifact (tarballs)
Original file line number Diff line number Diff line change @@ -20,18 +20,17 @@ Extracting one yields:
2020
2121```
2222dropbear-x86_64-linux-musl/
23- dropbearmulti
24- dropbear -> dropbearmulti
25- dropbearkey -> dropbearmulti
23+ dropbear
24+ dropbearkey
25+ dropbearconvert
26+ dbclient
27+ scp
2628```
2729
28- ` dropbearmulti ` is a multi-call binary. Depending on ` argv[0] ` , it runs as
29- either ` dropbear ` (the server) or ` dropbearkey ` (key generator).
30-
31- To install, copy the three files somewhere on your ` PATH ` , e.g.:
30+ To install, copy the two files somewhere on your ` PATH ` , e.g.:
3231
3332``` sh
34- sudo cp dropbearmulti dropbear dropbearkey /usr/local/bin/
33+ sudo cp dropbear* /usr/local/bin/
3534```
3635
3736## Basic Dropbear Tutorial
@@ -68,3 +67,4 @@ this repo. You can rerun the same process yourself to verify results.
6867 resource-constrained environments.
6968* ** Security:** As with any SSH server, configure carefully (authorized\_ keys,
7069 permissions, etc.).
70+
Original file line number Diff line number Diff line change @@ -60,18 +60,17 @@ LDFLAGS="-static -no-pie" \
6060 --enable-bundled-libtom \
6161 --enable-static
6262
63- echo " Building dropbearmulti …"
64- make -j " ${JOBS} " PROGRAMS=" dropbear dropbearkey" STATIC=1 MULTI =1
63+ echo " Building dropbear …"
64+ make -j " ${JOBS} " PROGRAMS=" dropbear dbclient dropbearkey dropbearconvert scp " STATIC=1
6565
6666# --- Package ----------------------------------------------------------------
67- [[ -x ./dropbearmulti ]] || { echo " Build failed: dropbearmulti missing" ; exit 1; }
68- strip ./dropbearmulti || true
67+ [[ -x ./dropbear ]] || { echo " Build failed: dropbear missing" ; exit 1; }
68+ strip ./drop * dbclient scp || true
6969
7070# Stage files (with symlinks) inside dropbear-${TARGET}/
7171stage_dir=" ${builddir} /stage/dropbear-${TARGET} "
7272mkdir -p " ${stage_dir} "
73- cp ./dropbearmulti " ${stage_dir} /"
74- ( cd " ${stage_dir} " && ln -sf dropbearmulti dropbear && ln -sf dropbearmulti dropbearkey )
73+ cp ./dropbear* dbclient scp " ${stage_dir} /"
7574
7675# Produce dropbear-${TARGET}.tar.xz in the original working dir
7776out_tar=" ${workdir} /dropbear-${TARGET} .tar.xz"
You can’t perform that action at this time.
0 commit comments