Mercurial > dropbear
diff INSTALL @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 72fd994fe7bd |
children | d35cf9a5e0b5 |
line wrap: on
line diff
--- a/INSTALL Tue Jan 23 23:27:40 2018 +0800 +++ b/INSTALL Sat Feb 17 19:29:51 2018 +0800 @@ -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" + +- Optionally install, or copy the binaries another way -And install (/usr/local/bin is usual default): + make install (/usr/local/bin is usual default): -make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install + 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 @@ 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"