comparison AXIS-README @ 312:24056a5eb75b ucc-axis-hack

serial works better. enable DSS.
author matt-ucc@ucc.asn.au
date Sun, 26 Mar 2006 13:05:31 +0000
parents
children dc6173e09ff7
comparison
equal deleted inserted replaced
310:4b4478d0d2b9 312:24056a5eb75b
1 Running it:
2
3 For normally (just vfork(), no inetd):
4
5 ./dropbear -F -E
6
7 (add -v for verbose). Note that since it's vforking, only one connection
8 will reliably work at a time.
9
10 For inetd-server mode, which will execv() a new dropbear inetd child each time:
11
12 ./dropbear -x /path/to/dropbear -F -E
13
14 ---------------------
15
16 From: Bernard Blackham <[email protected]>
17 To: [email protected]
18 Subject: [tech] axis building
19 Date: Mon, 6 Mar 2006 20:05:15 +0800
20 Message-ID: <[email protected]>
21
22 Notes for archiving... this is what you need to build dropbear 0.47.
23
24 export PATH=/usr/local/cris:$PATH
25 export CFLAGS="-melinux -O3 -s -symbolic -D__uClinux__"
26
27 ./configure --prefix=/mnt/flash/dropbear --disable-zlib --host=cris
28
29 make MULTI="1" STATIC="1" PROGRAMS="dropbear dbclient scp"
30
31 cris-gcc -melinux -s -symbolic -static -o dropbearmulti dbmulti.o atomicio.o
32 bignum.o buffer.o circbuffer.o cli-algo.o cli-auth.o cli-authinteract.o
33 cli-authpasswd.o cli-authpubkey.o cli-channel.o cli-chansession.o cli-kex.o
34 cli-main.o cli-runopts.o cli-service.o cli-session.o cli-tcpfwd.o common-algo.o
35 common-channel.o common-chansession.o common-kex.o common-runopts.o
36 common-session.o compat.o dbutil.o dss.o fake-rfc2553.o listener.o loginrec.o
37 packet.o process-packet.o progressmeter.o queue.o random.o rsa.o scp.o scpmisc.o
38 signkey.o sshpty.o svr-agentfwd.o svr-algo.o svr-auth.o svr-authpam.o
39 svr-authpasswd.o svr-authpubkey.o svr-chansession.o svr-kex.o svr-main.o
40 svr-runopts.o svr-service.o svr-session.o svr-tcpfwd.o svr-x11fwd.o tcp-accept.o
41 termcodes.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -L
42 /usr/local/cris/lib/gcc-lib/cris/2.96/elinux/ uccrt/*.o
43
44 [ paste the multiline cris-gcc command with `xargs` - MSH ]
45
46 There's custom stuff in uccrt/ which should also be archived
47 somewhere.
48
49 Doesn't work quite yet - needs some hacking to get around a buggy
50 libc.
51
52
53 -------------------
54
55
56 Or for just dropbear without multi:
57
58 make STATIC=1
59
60 cris-gcc -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o
61 random.o queue.o atomicio.o compat.o fake-rfc2553.o common-session.o packet.o
62 common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o
63 loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o
64 circbuffer.o svr-kex.o svr-algo.o svr-auth.o sshpty.o svr-authpasswd.o
65 svr-authpubkey.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o
66 svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o
67 libtomcrypt/libtomcrypt.a libtommath/libtommath.a -melinux -s -symbolic
68 -static -L /usr/local/cris/lib/gcc-lib/cris/2.96/elinux/ uccrt/*.o