1 diff -u -r ../dropbear-2015.71/options.h ./options.h
2 --- ../dropbear-2015.71/options.h 2015-12-03 08:24:00.000000000 -0500
3 +++ ./options.h 2015-12-03 11:48:59.745257140 -0500
5 /* IMPORTANT: Many options will require "make clean" after changes */
7 #ifndef DROPBEAR_DEFPORT
8 -#define DROPBEAR_DEFPORT "22"
9 +#define DROPBEAR_DEFPORT "8022"
12 #ifndef DROPBEAR_DEFADDRESS
15 /* Default hostkey paths - these can be specified on the command line */
16 #ifndef DSS_PRIV_FILENAME
17 -#define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key"
18 +#define DSS_PRIV_FILENAME "@TERMUX_PREFIX@/etc/dropbear/dropbear_dss_host_key"
20 #ifndef RSA_PRIV_FILENAME
21 -#define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key"
22 +#define RSA_PRIV_FILENAME "@TERMUX_PREFIX@/etc/dropbear/dropbear_rsa_host_key"
24 #ifndef ECDSA_PRIV_FILENAME
25 -#define ECDSA_PRIV_FILENAME "/etc/dropbear/dropbear_ecdsa_host_key"
26 +#define ECDSA_PRIV_FILENAME "@TERMUX_PREFIX@/etc/dropbear/dropbear_ecdsa_host_key"
29 /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens
31 several kB in binary size however will make the symmetrical ciphers and hashes
32 slower, perhaps by 50%. Recommended for small systems that aren't doing
34 -#define DROPBEAR_SMALL_CODE
35 +#undef DROPBEAR_SMALL_CODE
37 /* Enable X11 Forwarding - server only */
41 /* The MOTD file path */
43 -#define MOTD_FILENAME "/etc/motd"
44 +#define MOTD_FILENAME "@TERMUX_PREFIX@/etc/motd"
47 /* Authentication Types - at least one required.
50 /* This requires crypt() */
52 -#define ENABLE_SVR_PASSWORD_AUTH
53 +#undef ENABLE_SVR_PASSWORD_AUTH
55 /* PAM requires ./configure --enable-pam */
56 /*#define ENABLE_SVR_PAM_AUTH */
58 /* The default file to store the daemon's process ID, for shutdown
59 scripts etc. This can be overridden with the -P flag */
60 #ifndef DROPBEAR_PIDFILE
61 -#define DROPBEAR_PIDFILE "/var/run/dropbear.pid"
62 +#define DROPBEAR_PIDFILE "@TERMUX_PREFIX@/var/run/dropbear.pid"
65 /* The command to invoke for xauth when using X11 forwarding.
67 #define DEFAULT_IDLE_TIMEOUT 0
69 /* The default path. This will often get replaced by the shell */
70 -#define DEFAULT_PATH "/usr/bin:/bin"
71 +#define DEFAULT_PATH "@TERMUX_PREFIX@/bin:/system/bin"
73 /* Some other defines (that mostly should be left alone) are defined