[3bb8e6a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[bd48e48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3bb8e6a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[524795e] | 8 | <sect1 id="ch-beyond-dropbear" role="wrap">
|
---|
[3bb8e6a] | 9 | <?dbhtml filename="dropbear.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Dropbear-&dropbear-version;</title>
|
---|
| 12 |
|
---|
[524795e] | 13 | <indexterm zone="ch-beyond-dropbear">
|
---|
[3bb8e6a] | 14 | <primary sortas="a-Dropbear">Dropbear</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[7754837] | 20 | <para>Dropbear is a relatively small SSH server and client. Dropbear has a small
|
---|
[3bb8e6a] | 21 | memory footprint suitable for memory-constrained environments, while still having
|
---|
| 22 | the same features as OpenSSH. It does not depend on OpenSSL and it has a MIT
|
---|
[7754837] | 23 | style license.</para>
|
---|
[3bb8e6a] | 24 |
|
---|
[adfc846] | 25 | <para>Dropbear depends on zlib.</para>
|
---|
| 26 |
|
---|
[3bb8e6a] | 27 | </sect2>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="installation">
|
---|
| 30 | <title>Installation of Dropbear</title>
|
---|
| 31 |
|
---|
[dda0b13] | 32 | <para>Fix dropbear so it doesn't install man pages:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>sed -i 's/.*mandir.*//g' Makefile.in</userinput></screen>
|
---|
| 35 |
|
---|
[3bb8e6a] | 36 | <para os="a">Configure dropbear:</para>
|
---|
| 37 |
|
---|
[efb31cd] | 38 | <screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
|
---|
[3bb8e6a] | 39 |
|
---|
[dda0b13] | 40 | <note os="e"><para>We are just telling dropbear to use the default
|
---|
[31fac76] | 41 | configuration plus scp. For those who are more adventurous, edit options.h
|
---|
[dda0b13] | 42 | to further configure dropbear.</para></note>
|
---|
[3bb8e6a] | 43 |
|
---|
[8520e58] | 44 | <para os="f">Compile the package:</para>
|
---|
[3bb8e6a] | 45 |
|
---|
[dda0b13] | 46 | <screen os="g"><userinput>make MULTI=1 \
|
---|
| 47 | PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
|
---|
[3bb8e6a] | 48 |
|
---|
[8520e58] | 49 | <para os="h">Install the package:</para>
|
---|
[3bb8e6a] | 50 |
|
---|
[dda0b13] | 51 | <screen os="i"><userinput>make MULTI=1 \
|
---|
| 52 | PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
|
---|
| 53 | install DESTDIR=${CLFS}/targetfs</userinput></screen>
|
---|
[3bb8e6a] | 54 |
|
---|
[cff0bb4] | 55 | <para os="j">Create the directory for the dropbear key files:</para>
|
---|
| 56 |
|
---|
[3c75105] | 57 | <screen os="k"><userinput>install -dv ${CLFS}/targetfs/etc/dropbear</userinput></screen>
|
---|
[cff0bb4] | 58 |
|
---|
[659afd8] | 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 role="bootscripts">
|
---|
| 62 | <title>Installation of Dropbear Bootscripts</title>
|
---|
| 63 |
|
---|
| 64 | <para os="l">From the clfs-bootscripts package, install the Dropbear
|
---|
| 65 | bootscripts:</para>
|
---|
[884672b] | 66 |
|
---|
[3c75105] | 67 | <screen os="m"><userinput>make install-dropbear DESTDIR=${CLFS}/targetfs</userinput></screen>
|
---|
[884672b] | 68 |
|
---|
| 69 |
|
---|
[3bb8e6a] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 id="contents-dropbear" role="content">
|
---|
| 73 | <title>Contents of Dropbear</title>
|
---|
| 74 |
|
---|
| 75 | <segmentedlist>
|
---|
| 76 | <segtitle>Installed programs</segtitle>
|
---|
| 77 |
|
---|
| 78 | <seglistitem>
|
---|
[82c2b54] | 79 | <seg>/usr/bin/dropbearmulti</seg>
|
---|
[3bb8e6a] | 80 | </seglistitem>
|
---|
| 81 | </segmentedlist>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | </sect1>
|
---|