Commit Graph

81 Commits

Author SHA1 Message Date
Nathan Freitas 1614921e34 clean pdnsd binaries from libs in Makefile 2016-10-04 23:45:47 -04:00
Nathan Freitas 268002bc75 fix build scripts for new paths 2016-09-29 12:00:09 -04:00
Nathan Freitas 10f1ade6e4 update makefile and add new patch 2016-09-19 16:06:34 -04:00
Nathan Freitas 18682e4b97 big check-in of major gradle refactor; now building and running!
VPN features are disabled for now
2016-06-29 00:20:20 -04:00
Nathan Freitas 9097b79a7e Move OrbotVPNService to a Manager and consolidate services
This allows for the VPN service to be set in the foreground with the TorService
and reduce the chance to be killed due to lack of memory
2016-03-09 14:43:01 -05:00
Nathan Freitas 66a5b7ad26 remove meek-client and use obfs4 meek_lite mode instead 2016-02-23 23:20:21 -05:00
Hans-Christoph Steiner 72eab39a95 build jtorctl directly, using a symlink to point to its source code
This builds the jtorctl java with the rest of Orbot's java.  The process of
making a jar breaks when external/Makefile is run with frozen time using
faketime.  That is needed to get reproducible native bits.
2016-01-22 23:25:54 +01:00
Nathan Freitas 324036798b clean shouldn't clean assets, so we can easily builds for multiple platforms 2016-01-15 14:22:47 -05:00
Nathan Freitas 0081d005e6 remove Pluto Go building form this Makefile for now 2016-01-07 10:59:58 -05:00
Nathan Freitas f1fcec3d45 add support for PDNSD DNS Daemon for VPN DNS resolution
Tor's DNS port doesn't work well with the VPN mode, so we
will use PDSND to resolve DNS over Tor using OpenDNS. This is
a hack/solution that we learned from SocksDroid.
2016-01-04 01:38:36 -05:00
Nathan Freitas 6dc8cf6980 update makefile for new pluto builds 2015-12-16 11:22:21 -05:00
Nathan Freitas 6cf120185f update makefile to support PLUTO builds 2015-12-16 10:26:28 -05:00
أحمد المحمودي (Ahmed El-Mahmoudy) d93017fd30 Define __MIPSEL__ to workaround OpenSSL build failure for mips arch. 2015-07-09 17:02:31 +02:00
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