Rewrite OS X document to refer to macports
Sebastian Hahn

Sebastian Hahn commited on 2015-02-11 08:08:38
Zeige 1 geänderte Dateien mit 27 Einfügungen und 43 Löschungen.

... ...
@@ -19,58 +19,53 @@
19 19
     are done.
20 20
     </h2>
21 21
 
22
-    <p>Even though the Tor Browser comes with a regular Tor, and you could use the graphical interface to configure Tor as a relay and bridge easily, it will only run as long as you keep the Tor Browser open. The following instructions will set up Tor without graphical interface or a browser. Many people prefer this over TBB when they host hidden services or relay traffic for other Tor users.
23
-    <hr>
22
+    <p>Even though the Tor Browser comes with a regular Tor, it will only run
23
+    as long as you keep the Tor Browser open. The following instructions will
24
+    set up Tor without graphical interface or a browser. Many people prefer
25
+    this over TBB when they host hidden services or relay traffic for other Tor
26
+    users.  <hr>
24 27
     <a id="installing"></a>
25
-    <h2><a class="anchor" href="#installing">Step One: Install Homebrew</a></h2>
28
+    <h2><a class="anchor" href="#installing">Step One: Install Macports</a></h2>
26 29
     <br>
27 30
 
28 31
     <p>
29
-    The advanced Tor without any graphical user interface can be installed using <a href="http://brew.sh">the Homebrew package manager</a>. It is most suitable if you want to use Tor as a SOCKS proxy for applications other than web browsing, or run a Tor relay/bridge to help other Tor users. If you use the command-line Tor, you might be interested in <a href="<page projects/arm>">arm</a>, a command-line Tor monitor.
32
+    Macports is a package manager for Mac OS X which provides a Tor package,
33
+    along a lot of other stuff. Follow the instructions on <a
34
+    href="https://www.macports.org/install.php">its Website</a> to install.
30 35
     </p>
31 36
 
32
-    <p>If you don't have Homebrew installed, open a terminal window and run:</p>
33
-
34
-    <pre>ruby -e "$(curl -fsSkL https://raw.githubusercontent.com/Homebrew/install/master/install)"</pre>
35
-
36 37
     <hr>
37 38
     <h2>Step Two: Install Tor</a></h2>
38 39
     <br>
39 40
 
40
-    <p>In a terminal window, run:</p>
41
+    <p>In a Terminal window, run:</p>
41 42
 
42
-    <pre>brew install tor</pre>
43
+    <pre>sudo port install tor</pre>
43 44
 
44
-    <p>You will find the Tor configuration file at <tt>/usr/local/etc/tor/torrc</tt>.</p>
45
-
46
-    <hr>
47
-    <a id="verify"></a>
48
-    <h2><a class="anchor" href="#verify">Step Three: Verify your download</a></h2>
49
-
50
-    <p>As with any application, you should make sure it came unmodified from the orginal source. Unfortunately, Homebrew does not come with integrated verification for downloads, and anyone could submit a modified Tor! Currently, we don't have good instructions on how to verify the Tor download on Mac OSX. If you think you do, please <a href="<page about/contact>">let us know</a>!</p>
45
+    <p>You will find a sample Tor configuration file at
46
+    <tt>/opt/local/etc/tor/torrc.sample</tt>. Remove the .sample extension to
47
+    make it effective.</p>
51 48
 
52 49
     <hr>
53 50
     <a id="using"></a>
54
-    <h2><a class="anchor" href="#using">Step Four: Configure your application to use Tor</a></h2>
51
+    <h2><a class="anchor" href="#using">Step Three: Configure your application to use Tor</a></h2>
55 52
 
56 53
     <p>
57
-    If you want to use Tor for anonymous web browsing, please use the <a href="<page projects/torbrowser>">Tor Browser</a>. It comes with readily configured Tor and a browser patched for better anonymity. To use SOCKS directly (for instant messaging, Jabber, IRC, etc),
58
-    you can point your application directly at Tor (localhost
59
-    port 9050), but see <a href="<wikifaq>#SOCKSAndDNS">this FAQ
60
-    entry</a> for why this may be dangerous. For applications
61
-    that support neither SOCKS nor HTTP, take a look at <a
62
-    href="http://www.dest-unreach.org/socat/">socat</a>.</p>
54
+    To use SOCKS directly (for instant messaging, Jabber, IRC, etc), you can
55
+    point your application directly at Tor (localhost port 9050), but see <a
56
+    href="<wikifaq>#SOCKSAndDNS">this FAQ entry</a> for why this may be
57
+    dangerous. For applications that support neither SOCKS nor HTTP, take a
58
+    look at <a href="http://www.dest-unreach.org/socat/">socat</a>.</p>
63 59
 
64 60
     <p>For information on how to Torify other applications, check out the
65 61
     <a href="<wiki>doc/TorifyHOWTO">Torify HOWTO</a>.
66 62
     </p>
67 63
 
68
-    <p>If you have a personal firewall that limits your computer's
69
-    ability to connect to itself, be sure to allow connections from
70
-    your local applications to local port 9050. If your
71
-    firewall blocks outgoing connections, punch a hole so it can
72
-    connect to at least TCP ports 80 and 443, and then see <a
73
-    href="<wikifaq>#FirewalledClient">this FAQ entry</a>.
64
+    <p>If you have a personal firewall that limits your computer's ability to
65
+    connect to itself, be sure to allow connections from your local
66
+    applications to local port 9050. If your firewall blocks outgoing
67
+    connections, punch a hole so it can connect to at least TCP ports 80 and
68
+    443, and then see <a href="<wikifaq>#FirewalledClient">this FAQ entry</a>.
74 69
     </p>
75 70
 
76 71
     <p>If it's still not working, look at <a
... ...
@@ -100,21 +95,10 @@
100 95
     values.  If you just want to stop using Tor, you can end at this
101 96
     point.</p>
102 97
 
103
-    <p>If you want to completely remove Tor, and your account has Admin
104
-    Privileges, then proceed as follows:</p>
105
-
106
-    <ol>
107
-    <li>Open Finder and click on Applications.</li>
108
-    <li>Drag /Applications/TorBrowser to the Trash.</li>
109
-    <li>Remove /Library/Torbutton from your system.</li>
110
-    </ol>
98
+    <p>If you want to completely remove Tor, type into a Terminal window:</p>
111 99
 
112
-    <p>Tor Browser is now completely removed from your system.</p>
113
-
114
-    <hr>
100
+    <pre>sudo port uninstall tor</pre>
115 101
 
116
-    <p>If you have suggestions for improving this document, please <a
117
-    href="<page about/contact>">send them to us</a>. Thanks!</p>
118 102
   </div>
119 103
   <!-- END MAINCOL -->
120 104
   <div id = "sidecol">
121 105