11) Update three variables in contrib/osx/package.sh:
PRIVOXY_PKG_ZIP=~/tmp/privoxyosx_setup_3.0.6.zip
-TORBUTTON_PATH=~/tmp/torbutton-1.1.8-alpha.xpi
+TORBUTTON_PATH=~/tmp/torbutton-1.1.9.1-alpha.xpi
TORBUTTON_LIC_PATH=~/tmp/LICENSE
Make sure the paths are correct. The build will fail if they are not.
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" \
CONFDIR=/Library/Tor \
./configure --prefix=/Library/Tor --bindir=/Library/Tor \
---sysconfdir=/Library --enable-static --disable-shared \
---disable-dependency-tracking
+--sysconfdir=/Library --disable-dependency-tracking
13) "make dist-osx"
4) Update three variables in contrib/osx/package.sh:
PRIVOXY_PKG_ZIP=~/tmp/privoxyosx_setup_3.0.6.zip
-TORBUTTON_PATH=~/tmp/torbutton-1.1.8-alpha.xpi
+TORBUTTON_PATH=~/tmp/torbutton-1.1.9.1-alpha.xpi
TORBUTTON_LIC_PATH=~/tmp/LICENSE
Make sure the paths are correct. The build will fail if they are not.
5) In the top level, this means /path/to/tor/, not tor/contrib/osx,
do a configure with these parameters:
CONFDIR=/Library/Tor ./configure --prefix=/Library/Tor \
- --bindir=/Library/Tor --sysconfdir=/Library \
- --enable-eventdns --enable-static --disable-shared
+ --bindir=/Library/Tor --sysconfdir=/Library
6) In same top level dir, do a "make dist-osx". There now exists a
.dmg file in the same directory. Install from this dmg.
----------------------------------------------
Download openssl:
-http://www.openssl.org/source/openssl-0.9.8e.tar.gz
+http://www.openssl.org/source/openssl-0.9.8g.tar.gz
Extract openssl:
Copy the openssl tarball into the "tor-mingw" directory.
Type "cd tor-mingw/"
-Type "tar zxf openssl-0.9.8e.tar.gz"
+Type "tar zxf openssl-0.9.8g.tar.gz"
Make openssl libraries:
-Type "cd tor-mingw/openssl-0.9.8e/"
+Type "cd tor-mingw/openssl-0.9.8g/"
Type "./Configure -no-idea -no-rc5 -no-mdc2 mingw"
Edit Makefile and remove the "test:" and "tests:" sections.
Type "rm -rf ./test"
Type "tar zxf latest-tor-alpha.tar.gz"
cd tor-<version>
-Type "./configure --enable-static --disable-shared"
+Type "./configure"
Type "make"
You now have a tor.exe in src/or/. This is Tor.
%build
%if %{is_suse}
%configure --with-tor-user=%{toruser} --with-tor-group=%{torgroup} \
- --build=%{_host} --host=%{_host} --target=%{_host} \
- --enable-static --disable-shared
+ --build=%{_host} --host=%{_host} --target=%{_host}
%else
%configure --with-tor-user=%{toruser} --with-tor-group=%{torgroup} \
--build=%{_host} --host=%{_host} --target=%{_host}