Changeset 7754837 in clfs-embedded for BOOK/beyond-net/common/dropbear.xml


Ignore:
Timestamp:
Oct 17, 2013, 1:05:41 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
dda0b13
Parents:
38bbcb3
git-author:
Andrew Bradford <andrew@…> (10/17/13 12:57:47)
git-committer:
Andrew Bradford <andrew@…> (10/17/13 13:05:41)
Message:

dropbear: Update for recent changes

Will install man pages, which is not desired.

Attempting to install scp will fail due to man page not existing.
Changelog says this was fixed but apparently it isn't fully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/beyond-net/common/dropbear.xml

    r38bbcb3 r7754837  
    1818    <title/>
    1919
    20     <para>Dropbear is a relatively small SSH 2 server and client. Dropbear has a small
     20    <para>Dropbear is a relatively small SSH server and client. Dropbear has a small
    2121     memory footprint suitable for memory-constrained environments, while still having
    2222     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>
    2524
    2625  </sect2>
     
    2928    <title>Installation of Dropbear</title>
    3029
    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 
    3630    <para os="a">Configure dropbear:</para>
    3731
    3832<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 allow
    41     this to be utilized we use the following sed:</para>
    42 
    43 <screen os="d"><userinput>cp -v options.h options.h.backup
    44 sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h</userinput></screen>
    4533
    4634    <note os="e">
     
    5139    <para os="f">Compile the package:</para>
    5240
    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>
    5442
    5543    <para os="h">Install the package:</para>
    5644
    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>
    6446
    6547    <para os="j">Create the directory for the dropbear key files:</para>
Note: See TracChangeset for help on using the changeset viewer.