1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-bclfs-dropbear" role="wrap">
|
---|
9 | <?dbhtml filename="dropbear.html"?>
|
---|
10 |
|
---|
11 | <title>Dropbear-&dropbear-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-bclfs-dropbear">
|
---|
14 | <primary sortas="a-Dropbear">Dropbear</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>Dropbear is a relatively small SSH 2 server and client. Dropbear has a small
|
---|
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
|
---|
23 | style license. Optionally it can even be made smaller.
|
---|
24 | </para>
|
---|
25 |
|
---|
26 | </sect2>
|
---|
27 |
|
---|
28 | <sect2 role="installation">
|
---|
29 | <title>Installation of Dropbear</title>
|
---|
30 |
|
---|
31 | <para os="a">Configure dropbear:</para>
|
---|
32 |
|
---|
33 | <screen os="b"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr</userinput></screen>
|
---|
34 |
|
---|
35 | <para os="c">Now we will utilize /dev/urandom instead of /dev/random. To allow
|
---|
36 | this to be utilized we use the following sed:</para>
|
---|
37 |
|
---|
38 | <screen os="d"><userinput>cp -v options.h options.h.backup
|
---|
39 | sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h</userinput></screen>
|
---|
40 |
|
---|
41 | <note os="e">
|
---|
42 | <para>We are just telling dropbear to use the default configuration.
|
---|
43 | For those for more adventureous, edit options.h to further configure dropbear.</para>
|
---|
44 | </note>
|
---|
45 |
|
---|
46 | <para os="f">Compile the package:</para>
|
---|
47 |
|
---|
48 | <screen os="g"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
|
---|
49 |
|
---|
50 | <para os="h">Install the package:</para>
|
---|
51 |
|
---|
52 | <screen os="i"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install DESTDIR=${CLFS}
|
---|
53 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/sbin/dropbear
|
---|
54 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/sbin/dbclient
|
---|
55 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/dropbearkey
|
---|
56 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/dropbearconvert
|
---|
57 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/scp</userinput></screen>
|
---|
58 |
|
---|
59 | </sect2>
|
---|
60 |
|
---|
61 | <sect2 id="contents-dropbear" role="content">
|
---|
62 | <title>Contents of Dropbear</title>
|
---|
63 |
|
---|
64 | <segmentedlist>
|
---|
65 | <segtitle>Installed programs</segtitle>
|
---|
66 |
|
---|
67 | <seglistitem>
|
---|
68 | <seg>To be Written</seg>
|
---|
69 | </seglistitem>
|
---|
70 | </segmentedlist>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | </sect1>
|
---|