[guardian-dev] Build process for Android Tor binary

Hans of Guardian hans at guardianproject.info
Thu Jan 2 11:27:54 EST 2014


On Dec 27, 2013, at 12:42 PM, Nathan of Guardian wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12/27/2013 11:23 AM, Michael Rogers wrote:
>> Does anyone have a few minutes to give me a quick description of
>> how you cross-compile the Tor binary that's bundled with
>> ChatSecure? We're using Guardian's Tor binaries for Briar, but we
>> ought to build all our dependencies from source (deterministically,
>> in the long term). Is there a build script somewhere that I can
>> refer to?
> 
> We don't bundle Tor with ChatSecure, it is only in Orbot. ChatSecure
> uses a simple helper class to check if Orbot is running (based on
> process list), and then requests it to start via Intent API if it is
> not on.

Hey Michael,

Why do you want to include the tor binary in Briar?  Why not just rely on Orbot to provide it for Briar?

.hc


> 
> https://github.com/guardianproject/NetCipher/blob/master/libonionkit/src/info/guardianproject/onionkit/ui/OrbotHelper.java
> 
> Regardless, still happy to help you compile your own Tor. It is quite
> a robust build process.
> 
> 1) Ensure you have NDK installed
> 
> 2) Set your ANDROID_NDK home env variable.
> 
> 3) cd Orbot/external
> 
> 4) run "make"!
> 
> More build info here:
> https://gitweb.torproject.org/orbot.git/blob/HEAD:/BUILD
> 
> Makefile here if you want to enjoy the _hc's evil genious of fusing
> Make with NDK-BUILD:
> https://gitweb.torproject.org/orbot.git/blob/HEAD:/external/Makefile
> 
> I'm around on IRC if you have any questions.
> 
> +n
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQIcBAEBAgAGBQJSvbvpAAoJEKgBGD5ps3qphhsQAIAgwI6dqD/1lKNqChY0Rvos
> Vdu12pLi19iWpdIgcKIjaLja1hJIvwDBWr23k/u+myhd+B/+OshnAlGd1SqvhPWm
> TEFiE5ORCx5ZBZe048XYXR59vzh+EpvNwCmKkQ4hpD3ktVHWuUQFlt6b7N6RiSL/
> F2vBQ+VjkY5hZik93zyKgDUVfeFNe1e0PbZFuSiIqXX5ErKNVC0rlIh/igZ7iW6n
> WsoLbtknI1ogvAYbfOIlsJQe5hUxJxieyk5npe1fJVksHzzQ3RX6fPHfJV8HE+TS
> A004PsEKoiX61tkFjH6TY6E/guoQf+iom8v/L9kLQeaiy0gN2rs95kwn2QnXNeXw
> X9iyCRjvyuhgVIdg/6CDlGY5uEEygfr/Ec/ZifAaBsuQXCq3KQtsDBMFpxBoWj0F
> 8pIFOphLJaq09guoC4AKQZR3FjFurkf7jpTg++XB/Zj6PDFjPU3jYydArs4Ycbl2
> c71mQqGnUjVIiNWdZV1Xv/Zl4gt/mDvSt1lXhM6/aYsbD0i2sgIU51L8KjODM18C
> 6Q5zkM1CleBWBvNcYlFyPnZt9GbE+JeaXuGoW/yI8R42a974QnLI0F5Kh1+ne5Sp
> bJMFwEl8GtwGKss7R7mD2lOWfqGux0HpyxiUFK1uBQz3hHwp5HbMIEQbDvPTOT6W
> gC59Gmi9+3HAxXgqZESj
> =qnnD
> -----END PGP SIGNATURE-----
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>        Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>        Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> 
> You are subscribed as: hans at guardianproject.info



More information about the Guardian-dev mailing list