summaryrefslogtreecommitdiff
path: root/data/dropbear_/default_path.diff
blob: a92f60f1b407b103d89bb9e0b3f54732312d85c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -ur dropbear-2019.78/Makefile.in dropbear-2019.78+iOS/Makefile.in
--- dropbear-2019.78/Makefile.in	2019-03-27 04:15:23.000000000 -1000
+++ dropbear-2019.78+iOS/Makefile.in	2019-11-10 07:42:23.000000000 -1000
@@ -9,7 +9,7 @@
 # dbclient functionality, and includes the progress-bar functionality in scp.
 
 ifndef PROGRAMS
-	PROGRAMS=dropbear dbclient dropbearkey dropbearconvert
+	PROGRAMS=dropbear dbclient dropbearkey dropbearconvert scp
 endif
 
 STATIC_LTC=libtomcrypt/libtomcrypt.a
diff -ur dropbear-2019.78/default_options.h dropbear-2019.78+iOS/default_options.h
--- dropbear-2019.78/default_options.h	2019-03-27 04:15:23.000000000 -1000
+++ dropbear-2019.78+iOS/default_options.h	2019-11-09 23:13:07.000000000 -1000
@@ -259,7 +259,7 @@
 
 /* This is used by the scp binary when used as a client binary. If you're
  * not using the Dropbear client, you'll need to change it */
-#define DROPBEAR_PATH_SSH_PROGRAM "/usr/bin/dbclient"
+#define DROPBEAR_PATH_SSH_PROGRAM "/binpack/usr/bin/dbclient"
 
 /* Whether to log commands executed by a client. This only logs the 
  * (single) command sent to the server, not what a user did in a 
@@ -295,6 +295,6 @@
 #define DEFAULT_IDLE_TIMEOUT 0
 
 /* The default path. This will often get replaced by the shell */
-#define DEFAULT_PATH "/usr/bin:/bin"
+#define DEFAULT_PATH "/binpack/usr/bin:/binpack/usr/sbin:/binpack/bin:/binpack/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
 
 #endif /* DROPBEAR_DEFAULT_OPTIONS_H_ */