tor-osx-dmg-creation.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. The following steps are the exact steps used to produce the "official"
  2. OSX builds of tor
  3. Summary:
  4. 1) Compile and install the latest release of libevent
  5. 2) Acquire privoxyosx_setup_3.0.3.zip. Remember where you put this
  6. file.
  7. 3) Acquire and install your preferred version of tor via "make
  8. dist-osx"
  9. Details:
  10. ### Compiling libevent
  11. 1) Download the latest libevent from
  12. http://www.monkey.org/~provos/libevent/
  13. 2) The first step of compiling libevent is to configure it as
  14. follows:
  15. ./configure --enable-static --disable-shared
  16. 3) Complete the "make" and "make install". You will need to be root,
  17. or sudo -s, to complete the "make install".
  18. ### Acquiring privoxy
  19. 1) Download osx privoxy source from
  20. http://prdownloads.sourceforge.net/ijbswa/privoxyosx_setup_3.0.3.zip?download
  21. 2) Edit /path/to/tor/contrib/osx/package.sh and confirm
  22. PRIVOXY_PKG_ZIP= is set to the correct path to find the
  23. file privoxyosx_setup_3.0.3.zip
  24. ## Compiling Tor
  25. 1) Get your preferred version of the tor source from tor.eff.org.
  26. 2) In the top level, this means /path/to/tor/, not tor/contrib/osx,
  27. do a configure with these parameters:
  28. configure --prefix=/Library/Tor --bindir=/Library/Tor \
  29. --sysconfdir=/Library --enable-static --disable-shared
  30. 3) In same top level dir, do a "make dist-osx". There now exists a
  31. .dmg file in the same directory. Install from this dmg.