source: clfs-embedded/BOOK/beyond/common/dropbear.xml@ adfc846

Last change on this file since adfc846 was adfc846, checked in by Andrew Bradford <andrew@…>, 7 years ago

beyond: dropbear: Add note that dropbear depends on zlib

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-beyond-dropbear" role="wrap">
9 <?dbhtml filename="dropbear.html"?>
10
11 <title>Dropbear-&dropbear-version;</title>
12
13 <indexterm zone="ch-beyond-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 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.</para>
24
25 <para>Dropbear depends on zlib.</para>
26
27 </sect2>
28
29 <sect2 role="installation">
30 <title>Installation of Dropbear</title>
31
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
36 <para os="a">Configure dropbear:</para>
37
38<screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
39
40 <note os="e"><para>We are just telling dropbear to use the default
41 configuration plus scp. For those who are more adventurous, edit options.h
42 to further configure dropbear.</para></note>
43
44 <para os="f">Compile the package:</para>
45
46<screen os="g"><userinput>make MULTI=1 \
47 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
48
49 <para os="h">Install the package:</para>
50
51<screen os="i"><userinput>make MULTI=1 \
52 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
53 install DESTDIR=${CLFS}/targetfs</userinput></screen>
54
55 <para os="j">Create the directory for the dropbear key files:</para>
56
57<screen os="k"><userinput>install -dv ${CLFS}/targetfs/etc/dropbear</userinput></screen>
58
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>
66
67<screen os="m"><userinput>make install-dropbear DESTDIR=${CLFS}/targetfs</userinput></screen>
68
69
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>
79 <seg>/usr/bin/dropbearmulti</seg>
80 </seglistitem>
81 </segmentedlist>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.