Commit Graph

68 Commits

Author SHA1 Message Date
Hans-Christoph Steiner cf43fa247d switch to standard NDK env var: ANDROID_NDK_HOME
ANDROID_NDK_HOME is hardcoded in gradle as the name of the env var:
https://android.googlesource.com/platform/tools/build/+/master/gradle/src/main/groovy/com/android/build/gradle/internal/Sdk.groovy
2015-06-04 13:32:26 -04:00
Nathan Freitas 77d1b82411 adding patch for iptables building on x86 2015-05-13 12:17:54 -04:00
Nathan Freitas 20bf4c7ec6 update Makefile 2015-05-13 11:55:41 -04:00
Nathan Freitas d6ff4131db update Makefile with a few tweaks 2015-05-12 02:27:07 -04:00
أحمد المحمودي (Ahmed El-Mahmoudy) d5e937d2a0 Fix build for mips* archs.
OpenSSL's 'make depend' fails if _MIPS_SZLONG is not set
2015-04-29 22:57:13 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) 8d7c32c84b Update OpenSSL to 1.0.2a
Also, disable rc4 cipher for 64-bit archs, to avoid this link error for
tor:
external/lib/libcrypto.a(e_rc4_hmac_md5.o):e_rc4_hmac_md5.c:function rc4_hmac_md5_cipher: error: undefined reference to 'rc4_md5_enc'
2015-04-29 17:48:28 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) 81a945e632 Patch libevent to compile for 64-bit archs. 2015-04-29 15:29:28 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) ebe85e55bc Add iptables-clean prerequisite to clean target 2015-04-29 15:25:49 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) adb9a19367 Add support for variable arch builds to support mips & 64-bit archs 2015-04-29 15:25:49 +02:00
Nathan Freitas 84c6645220 fixing flag typo 2015-04-15 10:15:38 -04:00
Nathan Freitas dbe3024dfc fix PIE_FLAGS variable to allow for override
also, standardize use of STRIP command
2015-04-15 09:58:02 -04:00
Nathan Freitas e7a7d8c7cd support variable arch builds to support x86
move asset builds to /assets folder
2015-04-11 21:16:20 -04:00
Nathan Freitas 05f14ed420 make sure libs directory exists 2015-03-19 08:50:55 -04:00
Nathan Freitas 84e97e6c71 update Makefile for building tor 0.2.6.4 with patch for Android 2015-03-18 21:20:20 -04:00
Nathan Freitas 56df927fb5 remove liballium and obfsclient dependencies
We are switching to Go-based Meek and Obfs4 PT's
2015-03-17 13:02:12 -04:00
Nathan Freitas 50519d8a0b ensure x86_64 case of NDK is supported 2015-02-04 16:29:03 -05:00
SandroB 1472b4e35d some missing files added to git repo 2015-01-25 11:42:15 +01:00
SandroB 21b75b4c56 vpn changes 2015-01-20 15:47:24 +01:00
Nathan Freitas 16d87310a3 make sure polipo is really cleaned; add only PIE flags for polipo 2014-11-17 14:11:17 -05:00
Nathan Freitas 5917e63693 updates for Android L and PIE binary support 2014-11-13 13:42:14 -05:00
Nathan Freitas 7f50f79b0e update Makefile to support PIE arguments
make PIEFLAGS="-fPIE -pie" NDK_PLATFORM_LEVEL="16"
2014-11-06 14:05:19 -05:00
Nathan Freitas f6ad0fff3d initial modifications for PIE support 2014-10-24 01:13:31 -04:00
Michael Rogers 8b5bb041d1 Makefile patch for Orbot
Signed-off-by: Nathan Freitas <nathan@freitas.net>
2014-06-06 12:07:22 -04:00
Nathan Freitas 148e7eb4bf remove deletion of polipo folder 2014-06-05 11:08:06 -04:00
Nathan Freitas 05b6553cba add binary stripping to makefile 2014-04-25 12:45:11 -04:00
Nathan Freitas 40546c9ee5 change from privoxy to polipo for http proxy 2014-04-24 23:43:33 -04:00
Nathan Freitas 7af85b5cc3 small updates to Makefile for NDK 2014-04-24 12:29:41 -04:00
Yawning Angel 2c2d094601 Integrate obfsclient/liballium into the build process
* Compiler/toolchain version changed to 4.8 for C++11
 * Build and package obfsclient/liballium

NB: Currently obfsclient is build with debugging information which
results in a binary that is rather large, strongly consider stripping.

Signed-off-by: Nathan Freitas <nathan@freitas.net>
2014-04-22 22:46:52 -04:00
Nathan Freitas cc8d3e1eab update to return to binaries as ZIPd res/raw
stop using the libs/armeabi hack method
2014-04-03 23:01:39 -04:00
Daniel Martí 75a0d34e28 Signed-off-by: Nathan Freitas <nathan@freitas.net> 2014-03-27 13:46:34 -04:00
Daniel Martí 57ef1c3f61 Fix building of openssl on newer systems
Forcing CC when running make works around this problem.

Signed-off-by: Nathan Freitas <nathan@freitas.net>
2014-03-26 11:47:01 -04:00
Nathan Freitas b5a043a6a0 updated Makefile to not build libevent TESTS 2014-03-26 11:33:58 -04:00
Nathan Freitas dab37b576e setting to 4.6 for compat 2014-03-24 14:45:13 -04:00
Nathan Freitas 1a346cf25e updated makefile 2014-03-24 14:34:20 -04:00
Nathan Freitas 06b46f1a35 updated to only build tor binary and not tests, etc 2014-03-24 14:18:23 -04:00
Nathan Freitas d605b45488 add obfsclient build but don't include binary yet 2014-02-22 19:19:50 -05:00
Nathan Freitas 649ca401e7 enable compiliation for all android not just armv7 2014-01-12 22:15:50 -05:00
Nathan Freitas e24ae6cb07 update Makefile - try building with older toolchain 2014-01-09 21:15:23 -05:00
Nathan Freitas 0b024c9efa Merge branch 'master' of https://github.com/eighthave/orbot into hans_build_patches
Conflicts:
	external/Makefile
2014-01-02 13:49:33 -05:00
Nathan Freitas 76b15ddf58 adding new iptables/xtables build from source 2013-12-28 09:10:05 -05:00
Nathan Freitas 198974a053 update to build openssl latest 2013-12-27 16:41:54 -05:00
Nathan Freitas a8ca927610 remove simple file sharing server from build process 2013-12-27 13:24:15 -05:00
Nathan Freitas 4d6e0cca96 update makefile for new install process
update tags for libevent and tor
2013-12-27 11:14:11 -05:00
Hans-Christoph Steiner ca8197fa5b update native build to include Android NDK build flags
This updates external/Makefile to be more integrated into the Android NDK,
by using the same variable names and including build flags from the NDK.
2013-12-05 19:28:54 -05:00
Hans-Christoph Steiner ddd62f29ae remove spaces and tabs where 'make' complains about them
spaces and tabs can have meaning in a Makefile, so stray ones can cause
troubles.  emacs makefile-mode warns about potentially troublesome errant
whitespace.
2013-12-05 18:38:11 -05:00
n8fr8 303ceb416a updates for building 2013-07-22 13:57:10 -04:00
n8fr8 216a41d896 adding new HS/onion based file sharing service 2013-02-12 14:05:20 +07:00
n8fr8 1748cb49e2 added missing path to libevent include 2013-02-12 13:44:09 +07:00
n8fr8 29e2452aea updated to ndk 8b/gcc 4.6 toolchain 2012-10-01 01:18:06 +05:30
n8fr8 a80d029fef updated method for building privoxy from src 2012-07-06 14:53:29 -04:00