2.4
ablfs-more
legacy
new_features
trunk
Last change
on this file since f1da335 was 7b79679, checked in by George Boudreau <georgeb@…>, 18 years ago |
bad commit, too many typos
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[ddca240] | 1 | #
|
---|
| 2 | # $Id$
|
---|
| 3 | #
|
---|
| 4 | # Code taken from CLFS-Embedded
|
---|
| 5 | # Chapter 12 Beyond CLFS Embedded
|
---|
| 6 | #
|
---|
| 7 | # Dropbear is a relatively small SSH 2 server and client.
|
---|
| 8 | # Dropbear has a small memory footprint suitable for memory-constrained
|
---|
| 9 | # environments, while still having the same features as OpenSSH. It
|
---|
| 10 | # does not depend on OpenSSL and it has a MIT style license. Optionally
|
---|
| 11 | # it can even be made smaller.
|
---|
| 12 | #
|
---|
| 13 |
|
---|
[7b79679] | 14 | PKG="DROPBEAR"
|
---|
[ddca240] | 15 | PKG_VERSION="0.48.1"
|
---|
[7b79679] | 16 | PKG_FILE="${PKG}-${PKG_VERSION}.tar.gz"
|
---|
| 17 | URL="http://matt.ucc.asn.au/dropbear/releases/${PKG_FILE}"
|
---|
[ddca240] | 18 | MD5="ca8e53a766faec831882831364568421"
|
---|
| 19 | for i in PATCH{1..10}; do
|
---|
| 20 | unset $i
|
---|
| 21 | done
|
---|
| 22 | PATCH1="http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/patches/dropbear-0.48.1-autotool-1.patch"
|
---|
| 23 |
|
---|
| 24 | ( cat << "xEOFx"
|
---|
| 25 |
|
---|
| 26 | patch -Np1 -i ../dropbear-0.48.1-autotool-1.patch
|
---|
| 27 |
|
---|
| 28 | cp Makefile.in{,.orig}
|
---|
| 29 | sed -e s/@LD@/@CC@/ Makefile.in.orig > Makefile.in
|
---|
| 30 |
|
---|
| 31 | CC="${CC} ${BUILD}" ./configure --prefix=/usr --host=${CLFS_TARGET}
|
---|
| 32 |
|
---|
| 33 | cp -v options.h options.h.backup
|
---|
| 34 | sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h
|
---|
| 35 |
|
---|
| 36 | make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
---|
| 37 |
|
---|
| 38 | make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install DESTDIR=${CLFS}
|
---|
| 39 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/sbin/dropbear
|
---|
| 40 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/dbclient
|
---|
| 41 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/dropbearkey
|
---|
| 42 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/dropbearconvert
|
---|
| 43 | ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/bin/scp
|
---|
| 44 |
|
---|
| 45 | install -dv ${CLFS}/etc/ssh
|
---|
| 46 |
|
---|
| 47 |
|
---|
| 48 | xEOFx
|
---|
| 49 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.