Commit Graph

96 Commits

Author SHA1 Message Date
Unpublished 8383c1abbc remove polipo 2018-03-16 17:56:33 +01:00
n8fr8 ae5420426d remove auto of date patches 2017-11-17 12:37:08 -05:00
n8fr8 3d951b9dd8 update path to new assets 2017-11-17 10:59:53 -05:00
n8fr8 7fbd72b0c8 remove pluto/obfs4proxy from build 2017-11-17 10:42:44 -05:00
goapunk 9ca36e1bff Add lzma and zstd
Signed-off-by: goapunk <noobie@goapunks.net>
2017-11-10 18:35:08 +01:00
Alexander Færøy d591cdb0df Don't strip binaries when doing a debug build.
This patch allows the developer to build the external binaries with
DEBUG=1 which ensures that the final binaries are not stripped from any
debug symbols.

This makes the binaries useful together with Google's simpleperf
profiler for Android.
2017-10-29 22:56:52 -04:00
Alexander Færøy 87edea9ce6 Disable Zstandard for now.
Because of bug #90 the current build process will be broken for people
who have Zstandard headers available on their host system. For people
who do not have the headers available the build system will silently
ignore the `--enable-zstd` and build Tor without support for it.

See: https://github.com/n8fr8/orbot/issues/90
2017-10-29 22:35:54 -04:00
n8fr8 90975fb18a update Makefile for tor compression options 2017-10-20 00:14:57 -04:00
n8fr8 25425a622e remove xtables and iptables (no more root support) 2017-10-17 10:07:54 -04:00
n8fr8 c4867ba8d2 update Makefile to target NDK 4.9 2017-10-14 12:18:15 -04:00
Nathan Freitas efde11ffc4 update maxfile for tor 0.2.9.9 2017-02-28 23:21:42 -05:00
Nathan Freitas 540db0f00b revert back to NDK toolchain 4.8 since it is more stable 2016-11-07 00:23:19 -05:00
Nathan Freitas 0efbb1729e update for new joint arm+x86 build release 2016-11-03 17:28:01 -04:00
Nathan Freitas 5ac21be984 use PIEFLAGS 2016-11-03 11:00:12 -04:00
Nathan Freitas da0fb101f3 multiple fixes to re-enable VPN mode and pdnsd daemon 2016-10-12 16:01:09 -04:00
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