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

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

beyond/dropbear: Fix adventurous sentence structure

Thanks to akhiezer <lfs65@…> for pointing this out.

  • 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 </sect2>
26
27 <sect2 role="installation">
28 <title>Installation of Dropbear</title>
29
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
34 <para os="a">Configure dropbear:</para>
35
36<screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
37
38 <note os="e"><para>We are just telling dropbear to use the default
39 configuration plus scp. For those who are more adventurous, edit options.h
40 to further configure dropbear.</para></note>
41
42 <para os="f">Compile the package:</para>
43
44<screen os="g"><userinput>make MULTI=1 \
45 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
46
47 <para os="h">Install the package:</para>
48
49<screen os="i"><userinput>make MULTI=1 \
50 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
51 install DESTDIR=${CLFS}/targetfs</userinput></screen>
52
53 <para os="j">Create the directory for the dropbear key files:</para>
54
55<screen os="k"><userinput>install -dv ${CLFS}/targetfs/etc/dropbear</userinput></screen>
56
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>
64
65<screen os="m"><userinput>make install-dropbear DESTDIR=${CLFS}/targetfs</userinput></screen>
66
67
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>
77 <seg>/usr/bin/dropbearmulti</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.