[or-cvs] Added quick instructions for those wishing to replicate the...

phobos at seul.org phobos at seul.org
Sun Feb 12 06:44:24 UTC 2006


Update of /home/or/cvsroot/tor/contrib/osx
In directory moria:/tmp/cvs-serv27147/contrib/osx

Modified Files:
	package.sh 
Log Message:
Added quick instructions for those wishing to replicate the official
build process for linux rpm and osx dmg


Index: package.sh
===================================================================
RCS file: /home/or/cvsroot/tor/contrib/osx/package.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -d -r1.9 -r1.10
--- package.sh	7 Aug 2005 12:43:34 -0000	1.9
+++ package.sh	12 Feb 2006 06:44:22 -0000	1.10
@@ -12,15 +12,31 @@
 # This script expects to be run from the toplevel makefile, with VERSION
 # set to the latest Tor version, and Tor already built.
 #
-# Building Tor for OSX in 3 easy steps:
-# 1) Make sure PRIVOXY_PKG_ZIP= is set to the correct path to find privoxyosx_setup_3.0.3.zip
-# 2) In the top level, this means ~/tor, not tor/contrib/osx, do a configure with these parameters:
-# configure --prefix=/Library/Tor --bindir=/Library/Tor --sysconfdir=/Library
-# 3) In same top level dir, make dist-osx.  You'll have a .dmg file when complete.
+
+######################
+# The following steps are the exact steps used to produce the "official" OSX build of tor
+#
+# Summary:
+# 1) Compile and install the latest release of libevent
+# 2) Acquire privoxyosx_setup_3.0.3.zip.  Remember where you put this file.
+# 3) Acquire and install your preferred version of tor via "make dist-osx"
+#
+# Details:
+# 1)  You need to download the latest libevent from http://www.monkey.org/~provos/libevent/
+# 1a) At a shell prompt, export CFLAGS="-march=powerpc -mtune=powerpc"
+# 1b) The first step of compiling libevent is to configure it as follows: 
+# 	configure --enable-static --disable-shared
+# 1c) Complete the "make" and "make install".  
+# 2) Get your preferred version of the tor source from tor.eff.org
+# 2a) Edit /path/to/tor/contrib/osx/package.sh (the file you are reading) and confirm PRIVOXY_PKG_ZIP= is set 
+#     to the correct path to find the file privoxyosx_setup_3.0.3.zip
+# 2b) In the top level, this means /path/to/tor/, not tor/contrib/osx, do a configure with these parameters:
+#     configure --prefix=/Library/Tor --bindir=/Library/Tor --sysconfdir=/Library
+# 2c) In same top level dir, do a "make dist-osx".  You'll have a .dmg file when complete.  Install from this dmg.
 
 # Where have we put the zip file containing Privoxy?  Edit this if your
 # privoxy lives somewhere else.
-PRIVOXY_PKG_ZIP=~/src/privoxy-setup/privoxyosx_setup_3.0.3.zip
+PRIVOXY_PKG_ZIP=~/tmp/privoxyosx_setup_3.0.3.zip
 
 ###
 # Helpful info on OS X packaging:
@@ -132,8 +148,8 @@ DOC=$BUILD_DIR/output/Documents
 mkdir $DOC
 cp doc/tor-doc.html doc/tor-doc.css $DOC
 cp AUTHORS $DOC/AUTHORS.txt
-groff doc/tor.1 -T ps -m man | ps2pdf - $DOC/tor-reference.pdf
-groff doc/tor-resolve.1 -T ps -m man | ps2pdf - $DOC/tor-resolve.pdf
+groff doc/tor.1 -T ps -m man | pstopdf - $DOC/tor-reference.pdf
+groff doc/tor-resolve.1 -T ps -m man | pstopdf - $DOC/tor-resolve.pdf
 
 mkdir $DOC/Advanced
 cp doc/tor-spec.txt doc/rend-spec.txt doc/control-spec.txt doc/socks-extensions.txt doc/version-spec.txt $DOC/Advanced



More information about the tor-commits mailing list