buildfiles/tor
Dan Ballard 4dc72242e3 adding tor-macos-0.4.6.7.tar.gz from TorBrowser on macos 2021-11-04 17:07:10 -07:00
..
oldscripts tor reproducer builds 2018-10-29 16:20:15 -07:00
README.md add tor-win mirror copy since tor distfiles keep changing 2021-08-17 12:36:33 -07:00
build-from-tor-reproducer.sh 0.3.5.7 binaries 2019-02-12 17:31:40 -08:00
tor tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-0.3.5.2-alpha.x86 more /bin/tor* to /tor; add tor-0.3.5.2-alpha.x86 2018-10-10 15:40:25 -07:00
tor-0.3.5.2-alpha.x86.zip more /bin/tor* to /tor; add tor-0.3.5.2-alpha.x86 2018-10-10 15:40:25 -07:00
tor-0.3.5.3-alpha.arm-pie tor 0.3.5.3-alpha arm !!!!! 2018-11-01 21:01:43 -07:00
tor-0.3.5.3-alpha.arm-pie.zip tor 0.3.5.3-alpha arm !!!!! 2018-11-01 21:01:43 -07:00
tor-0.3.5.3-alpha.x86 finished scripts to automate static tor builds for x86 and arm; new static tor 0.3.5.3-alpha for both 2018-10-27 16:54:48 -07:00
tor-0.3.5.7-armeabi-v7a.so unzipping new tor arm binaries 2019-02-13 12:53:50 -08:00
tor-0.3.5.7-armeabi.so unzipping new tor arm binaries 2019-02-13 12:53:50 -08:00
tor-0.3.5.7-x86 0.3.5.7 binaries 2019-02-12 17:31:40 -08:00
tor-0.4.4.6-arm64_pie add arm64 android 2020-12-10 12:27:19 -08:00
tor-0.4.4.6-arm64_pie.zip add arm64 android 2020-12-10 12:27:19 -08:00
tor-0.4.4.6-arm_pie adding tor 0.4.4.6 and more detailed build instructions 2020-11-30 17:56:59 -08:00
tor-0.4.4.6-arm_pie.zip adding tor 0.4.4.6 and more detailed build instructions 2020-11-30 17:56:59 -08:00
tor-0.4.4.6-linux-aarch64.zip add arm64 android 2020-12-10 12:27:19 -08:00
tor-0.4.4.6-linux-x86_64 adding tor 0.4.4.6 and more detailed build instructions 2020-11-30 17:56:59 -08:00
tor-0.4.4.6-linux-x86_64.zip adding tor 0.4.4.6 and more detailed build instructions 2020-11-30 17:56:59 -08:00
tor-0.4.4.9-arm64_pie tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-0.4.4.9-arm_pie tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-0.4.4.9-linux-x86_64 tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-0.4.5.9-linux-x86_64 tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-macos-0.4.6.7.tar.gz adding tor-macos-0.4.6.7.tar.gz from TorBrowser on macos 2021-11-04 17:07:10 -07:00
tor-versions.json tor builds for 0.4.4.9 and linux build for 0.4.5.9 2021-06-22 23:44:04 -07:00
tor-win64-0.4.6.5.zip add tor-win mirror copy since tor distfiles keep changing 2021-08-17 12:36:33 -07:00
torrc RunAsDaemon needed for integ tests 2018-12-07 10:41:09 -08:00

README.md

Build processes

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

0.4.5.x and Beyond

As of testing (2021.06) some issues with tor-reproducer and newer tor have been causing build fails. Some warnings around tput have solutions, but the final error of glob.h: No such file or directory doesn't yet have a solution. As such tor reproducer will complete linux builds but fail durring android.

Windows

For Window we are bundling binaries from the Tor Windows Expert Bundle.

Historical

Previously we used some scripts that have been moved to oldscripts. They did not generate correct android binaries.