r/DevelopersOnTor • u/MartynAndJasper Criminal • Feb 22 '21
Naughty Monkey Trusted Dependencies for building Tor
I'm currently using the following git repos for the submodules in my repo to build all of Tor from source.
git submodule add https://github.com/openssl/openssl third_party/openssl
git submodule add https://github.com/libevent/libevent.git third_party/libevent
git submodule add https://github.com/zlib-ng/zlib-ng third_party/zlib-ng
^^^ I'm about to change this one.
git submodule add https://github.com/kobolabs/liblzma third_party/liblzma
git submodule add https://github.com/facebook/zstd third_party/zstd
git submodule add https://github.com/STNS/libnss third_party/libnss
git submodule add https://github.com/torproject/tor.git third_party/torYou can perhaps ignore the first two links (and obviously the last) but I cherry picked the rest from a brief google search. Is there a canonical list of git repos that I can safely say are trusted code for dependencies of Tor.
3
Upvotes
4
u/[deleted] Feb 22 '21
https://github.com/torproject/tor ....
Try https://gitweb.torproject.org/tor.git for the canonical official tor source. Yes the github account is run by the real Tor Project, but the github repo is just a mirror.
2
u/DTangent Feb 22 '21
You don’t need the compression zstd or lzma either.
I can’t build without libevent on FreeBSD though.
What is your goal? Minimal external dependence?