# Dropbear-&dropbear-version;

Dropbear is a relatively small SSH server and client. Dropbear has a small memory footprint suitable for memory-constrained environments, while still having the same features as OpenSSH. It does not depend on OpenSSL and it has a MIT style license.

Dropbear depends on zlib.

## Installation of Dropbear

Fix dropbear so it doesn't install man pages:

    sed -i 's/.*mandir.*//g' Makefile.in

Configure dropbear:

    CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}

We are just telling dropbear to use the default configuration plus scp. For those who are more adventurous, edit options.h to further configure dropbear.

Compile the package:

    make MULTI=1 \
      PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"

Install the package:

    make MULTI=1 \
      PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
      install DESTDIR=${CLFS}/targetfs

Create the directory for the dropbear key files:

    install -dv ${CLFS}/targetfs/etc/dropbear

## Installation of Dropbear Bootscripts

From the clfs-bootscripts package, install the Dropbear bootscripts:

    make install-dropbear DESTDIR=${CLFS}/targetfs

## Contents of Dropbear

Installed programs
- /usr/bin/dropbearmulti