[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 |
|
---|
| 25 | </sect2>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="installation">
|
---|
| 28 | <title>Installation of Dropbear</title>
|
---|
| 29 |
|
---|
[dda0b13] | 30 | <para>Fix dropbear so it doesn't install man pages:</para>
|
---|
| 31 |
|
---|
| 32 | <screen><userinput>sed -i 's/.*mandir.*//g' Makefile.in</userinput></screen>
|
---|
| 33 |
|
---|
[3bb8e6a] | 34 | <para os="a">Configure dropbear:</para>
|
---|
| 35 |
|
---|
[efb31cd] | 36 | <screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
|
---|
[3bb8e6a] | 37 |
|
---|
[dda0b13] | 38 | <note os="e"><para>We are just telling dropbear to use the default
|
---|
[31fac76] | 39 | configuration plus scp. For those who are more adventurous, edit options.h
|
---|
[dda0b13] | 40 | to further configure dropbear.</para></note>
|
---|
[3bb8e6a] | 41 |
|
---|
[8520e58] | 42 | <para os="f">Compile the package:</para>
|
---|
[3bb8e6a] | 43 |
|
---|
[dda0b13] | 44 | <screen os="g"><userinput>make MULTI=1 \
|
---|
| 45 | PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
|
---|
[3bb8e6a] | 46 |
|
---|
[8520e58] | 47 | <para os="h">Install the package:</para>
|
---|
[3bb8e6a] | 48 |
|
---|
[dda0b13] | 49 | <screen os="i"><userinput>make MULTI=1 \
|
---|
| 50 | PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
|
---|
| 51 | install DESTDIR=${CLFS}/targetfs</userinput></screen>
|
---|
[3bb8e6a] | 52 |
|
---|
[cff0bb4] | 53 | <para os="j">Create the directory for the dropbear key files:</para>
|
---|
| 54 |
|
---|
[3c75105] | 55 | <screen os="k"><userinput>install -dv ${CLFS}/targetfs/etc/dropbear</userinput></screen>
|
---|
[cff0bb4] | 56 |
|
---|
[659afd8] | 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2 role="bootscripts">
|
---|
| 60 | <title>Installation of Dropbear Bootscripts</title>
|
---|
| 61 |
|
---|
| 62 | <para os="l">From the clfs-bootscripts package, install the Dropbear
|
---|
| 63 | bootscripts:</para>
|
---|
[884672b] | 64 |
|
---|
[3c75105] | 65 | <screen os="m"><userinput>make install-dropbear DESTDIR=${CLFS}/targetfs</userinput></screen>
|
---|
[884672b] | 66 |
|
---|
| 67 |
|
---|
[3bb8e6a] | 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 id="contents-dropbear" role="content">
|
---|
| 71 | <title>Contents of Dropbear</title>
|
---|
| 72 |
|
---|
| 73 | <segmentedlist>
|
---|
| 74 | <segtitle>Installed programs</segtitle>
|
---|
| 75 |
|
---|
| 76 | <seglistitem>
|
---|
[82c2b54] | 77 | <seg>/usr/bin/dropbearmulti</seg>
|
---|
[3bb8e6a] | 78 | </seglistitem>
|
---|
| 79 | </segmentedlist>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | </sect1>
|
---|