Dan Ballard 4f290d44c6 | ||
---|---|---|
.. | ||
harvest | ||
oldscripts | ||
README.md | ||
build-from-tor-reproducer.sh | ||
tor | ||
tor-0.3.5.2-alpha.x86 | ||
tor-0.3.5.2-alpha.x86.zip | ||
tor-0.3.5.3-alpha.arm-pie | ||
tor-0.3.5.3-alpha.arm-pie.zip | ||
tor-0.3.5.3-alpha.x86 | ||
tor-0.3.5.7-armeabi-v7a.so | ||
tor-0.3.5.7-armeabi.so | ||
tor-0.3.5.7-x86 | ||
tor-0.4.4.6-arm64_pie | ||
tor-0.4.4.6-arm64_pie.zip | ||
tor-0.4.4.6-arm_pie | ||
tor-0.4.4.6-arm_pie.zip | ||
tor-0.4.4.6-linux-aarch64.zip | ||
tor-0.4.4.6-linux-x86_64 | ||
tor-0.4.4.6-linux-x86_64.zip | ||
tor-0.4.4.9-arm64_pie | ||
tor-0.4.4.9-arm_pie | ||
tor-0.4.4.9-linux-x86_64 | ||
tor-0.4.5.9-linux-x86_64 | ||
tor-0.4.6.9-arm7 | ||
tor-0.4.6.9-arm64 | ||
tor-0.4.6.9-linux-x86_64.tar.gz | ||
tor-0.4.7.8-linux-x86_64.tar.gz | ||
tor-0.4.7.10-arm7 | ||
tor-0.4.7.10-arm64 | ||
tor-0.4.8.9-android-arm7 | ||
tor-0.4.8.9-android-arm64 | ||
tor-0.4.8.9-linux-x86_64.tar.gz | ||
tor-0.4.8.9-macos.tar.gz | ||
tor-0.4.8.9-win64.zip | ||
tor-macos-0.4.6.7.tar.gz | ||
tor-macos-0.4.6.9.tar.gz | ||
tor-macos-0.4.7.8.tar.gz | ||
tor-versions.json | ||
tor-win64-0.4.6.5.zip | ||
tor-win64-0.4.6.9.zip | ||
tor-win64-0.4.7.8.zip | ||
torrc |
README.md
Build processes
Android
We are now using The Guardian Project's tor-android to build Android tor libs directly. The results we want aren't the .aar
or .jar
in output
but the direct libraries in tor-android-binary/src/main/libs
.
Linux and Android
We use Briar's Tor Reproducer to build our tor linux and android binaries.
git clone https://code.briarproject.org/briar/tor-reproducer.git
Either edit the tor-versions.json or copy in the one from this directory
docker build --tag tor-reproducer:0.4.4.9 .
docker run tor-reproducer:0.4.4.9 ./build-tor.py 0.4.4.9
docker ps -a
docker cp 2798b62ed756:/opt/tor-reproducer/tor_arm_pie.zip tor-0.4.4.9-arm_pie.zip
docker cp 2798b62ed756:/opt/tor-reproducer/tor_arm64_pie.zip tor-0.4.4.9-arm64_pie.zip
docker cp 2798b62ed756:/opt/tor-reproducer/tor_linux-x86_64.zip tor-0.4.4.9-linux-x86_64.zip
docker cp 2798b62ed756:/opt/tor-reproducer/tor_linux-aarch64.zip tor-0.4.4.9-linux-aarch64.zip
Where 937d81a46c33 is the container ID from docker ps -a
.
Cleanup with
docker container prune
docker rmi tor-reproducer:0.4.4.9
Windows
For Window we are bundling binaries from the Tor Windows Expert Bundle.
Mac
For Mac we are bundling the binaries from Tor Browser. harvet/harvest.sh
can be used to fetch, extract and package them.
Historical
Previously we used some scripts that have been moved to oldscripts
. They did not generate correct android binaries.