[or-cvs] r20829: {projects} This results in a working Tor binary! (projects/android/trunk/Orbot)
ioerror at seul.org
ioerror at seul.org
Sun Oct 25 04:17:55 UTC 2009
Author: ioerror
Date: 2009-10-25 00:17:53 -0400 (Sun, 25 Oct 2009)
New Revision: 20829
Modified:
projects/android/trunk/Orbot/BUILD
Log:
This results in a working Tor binary!
Modified: projects/android/trunk/Orbot/BUILD
===================================================================
--- projects/android/trunk/Orbot/BUILD 2009-10-25 03:36:52 UTC (rev 20828)
+++ projects/android/trunk/Orbot/BUILD 2009-10-25 04:17:53 UTC (rev 20829)
@@ -4,7 +4,7 @@
Please install the following prerequisites (instructions for each follows):
Android OS SDK
droid-wrapper: http://github.com/tmurakam/droid-wrapper
- libevent source
+ libevent source (1.4.12-stable)
Tor source (most recent git master branch)
Install and prepare the Android OS SDK ( http://source.android.com/download )
@@ -48,33 +48,21 @@
export DROID_ROOT=~/mydroid/
export DROID_TARGET=generic
-# XXX TODO:
-# Do we need this?
-Build zlib:
- cd ~/mydroid/external/zlib
- export ZLIBDIR=`pwd`
- CC=droid-gcc LD=droid-ld ./configure
- make
-
-# XXX TODO:
-# Do we need this?
-Build openssl:
- cd ~/mydroid/external/openssl/include/openssl/
- export OPENSSLDIR=`pwd`
- CC=droid-gcc LD=droid-ld ./configure
-
-
Fetch and build libevent:
cd ~/mydroid/external/libevent
svn co https://levent.svn.sourceforge.net/svnroot/levent/tags/release-1.4.12-stable/libevent/ .
export LIBEVENTDIR=`pwd`
./autogen.sh
- # http://pastebin.ca/1577159
+ # http://pastebin.ca/1577207
patch < /tmp/libevent-patch
CC=droid-gcc LD=droid-ld ./configure --host=arm-none-linux-gnueabi
make
+Copy over the libevent library:
+
+ cp .libs/libevent.a ~/mydroid/out/target/product/generic/obj/lib
+
Fetch and build Tor:
export OPENSSLDIR=`cd ~/mydroid/external/openssl/include/ && pwd`
More information about the tor-commits
mailing list