Buildfiles for Open Privacy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

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.6 .
docker run tor-reproducer:0.4.4.6 ./build-tor.py 0.4.4.6
docker ps -a
docker cp 937d81a46c33:/opt/tor-reproducer/tor_arm_pie.zip tor-0.4.4.6-arm_pie.zip
docker cp 937d81a46c33:/opt/tor-reproducer/tor_arm64_pie.zip tor_arm64_pie.zip
docker cp 937d81a46c33:/opt/tor-reproducer/tor_linux-x86_64.zip tor-0.4.4.6-linux-x86_64.zip
docker cp 937d81a46c33:/opt/tor-reproducer/tor_linux-aarch64.zip tor_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.6

Windows

For Window we are bundling the Tor Windows Expert Bundle.

Historical

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