diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-14 00:24:32 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-14 00:24:32 +0800 |
commit | 191f22e11a0519ece1703696182c5595bc5950c3 (patch) | |
tree | 4e7dad0d14f4bc98ea4867fc4dc7afc9b7381f87 /INSTALL | |
parent | 93632660bb08c74a6942430b90a161f7205fad3d (diff) |
Update build instructions for localoptions, and tidy
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -1,20 +1,26 @@ Basic Dropbear build instructions: -- Edit options.h to set which features you want. -- Edit debug.h if you want any debug options (not usually required). +- Edit localoptions.h to set which features you want. Available options + are described in default_options.h.in, these will be overridden by + anything set in localoptions.h -(If using a non-tarball copy, "autoconf; autoheader") +- If using a Mercurial or Git checkout, "autoconf; autoheader" -./configure (optionally with --disable-zlib or --disable-syslog, +- Configure for your system: + ./configure (optionally with --disable-zlib or --disable-syslog, or --help for other options) -Now compile: +- Compile: -make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" + make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" -And install (/usr/local/bin is usual default): +- Optionally install, or copy the binaries another way -make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install + make install (/usr/local/bin is usual default): + + or + + make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install (you can leave items out of the PROGRAMS list to avoid compiling them. If you recompile after changing the PROGRAMS list, you *MUST* "make clean" before @@ -25,7 +31,7 @@ See MULTI for instructions on making all-in-one binaries. If you want to compile statically use ./configure --enable-static By default Dropbear adds various build flags that improve robustness -against programming bugs (good for security) - if these cause problems +against programming bugs (good for security). If these cause problems they can be disabled with ./configure --disable-harden Binaries can be stripped with "make strip" |