tor-osx-dmg-creation.txt 1.4 KB

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