annotate README.axis @ 310:4b4478d0d2b9 ucc-axis-hack

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