Changeset 7754837 in clfs-embedded
- Timestamp:
- Oct 17, 2013, 8:05:41 PM (11 years ago)
- Branches:
- master
- Children:
- dda0b13
- Parents:
- 38bbcb3
- git-author:
- Andrew Bradford <andrew@…> (10/17/13 19:57:47)
- git-committer:
- Andrew Bradford <andrew@…> (10/17/13 20:05:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/beyond-net/common/dropbear.xml
r38bbcb3 r7754837 18 18 <title/> 19 19 20 <para>Dropbear is a relatively small SSH 2server and client. Dropbear has a small20 <para>Dropbear is a relatively small SSH server and client. Dropbear has a small 21 21 memory footprint suitable for memory-constrained environments, while still having 22 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> 23 style license.</para> 25 24 26 25 </sect2> … … 29 28 <title>Installation of Dropbear</title> 30 29 31 <para os="s1">Dropbear incorrectly calls ld instead of gcc for linking, so fix it:</para>32 33 <screen os="s2"><userinput>cp Makefile.in{,.orig}34 sed -e s/@LD@/@CC@/ Makefile.in.orig > Makefile.in</userinput></screen>35 36 30 <para os="a">Configure dropbear:</para> 37 31 38 32 <screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen> 39 40 <para os="c">Now we will utilize /dev/urandom instead of /dev/random. To allow41 this to be utilized we use the following sed:</para>42 43 <screen os="d"><userinput>cp -v options.h options.h.backup44 sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h</userinput></screen>45 33 46 34 <note os="e"> … … 51 39 <para os="f">Compile the package:</para> 52 40 53 <screen os="g"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>41 <screen os="g"><userinput>make MULTI=1</userinput></screen> 54 42 55 43 <para os="h">Install the package:</para> 56 44 57 <screen os="i"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \ 58 install DESTDIR=${CLFS}/targetfs 59 ln -svf /usr/bin/dropbearmulti ${CLFS}/targetfs/usr/sbin/dropbear 60 ln -svf /usr/bin/dropbearmulti ${CLFS}LFS}/targetfs/usr/bin/dbclient 61 ln -svf /usr/bin/dropbearmulti ${CLFS}LFS}/targetfs/usr/bin/dropbearkey 62 ln -svf /usr/bin/dropbearmulti ${CLFS}LFS}/targetfs/usr/bin/dropbearconvert 63 ln -svf /usr/bin/dropbearmulti ${CLFS}LFS}/targetfs/usr/bin/scp</userinput></screen> 45 <screen os="i"><userinput>make MULTI=1 install DESTDIR=${CLFS}/targetfs</userinput></screen> 64 46 65 47 <para os="j">Create the directory for the dropbear key files:</para>
Note:
See TracChangeset
for help on using the changeset viewer.