[Pkg-privacy-commits] [obfsproxy] 160/353: Update the HOWTO to use pip instead of git.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:01:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfsproxy.

commit e7bc8f158a4bd71ef2f4f9c0bafdf4e857924b5e
Author: George Kadianakis <desnacked at riseup.net>
Date:   Mon Apr 15 20:29:27 2013 +0300

    Update the HOWTO to use pip instead of git.
---
 ChangeLog     |  1 +
 doc/HOWTO.txt | 50 +++++++++++++++-----------------------------------
 2 files changed, 16 insertions(+), 35 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index eb94d08..649d8be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Changes in version 0.2.2 - ??
    in 0.2.1 was placed in the wrong place, making it useless when
    obfsproxy gets installed. Patch by Lunar.
  - Add dependencies to the setup script.
+ - Update the HOWTO to use pip.
 
 
 Changes in version 0.2.1 - 2013-04-08
diff --git a/doc/HOWTO.txt b/doc/HOWTO.txt
index 44e3b5e..eaa87c6 100644
--- a/doc/HOWTO.txt
+++ b/doc/HOWTO.txt
@@ -1,13 +1,16 @@
-This is a short guide on how to setup a pyobfsproxy obfs2/obfs3 bridge
+This is a short guide on how to setup an obfsproxy obfs2/obfs3 bridge
 on a Debian/Ubuntu system.
 
-Step 0: Install needed dependencies
+Step 0: Install Python
 
- To use pyobfsproxy you will need git, Python (>= 2.7) and a couple of
- python libraries. If you use Debian testing (or unstable), or a
- version of Ubuntu newer than Oneiric, this is easy:
+ To use obfsproxy you will need Python (>= 2.7) and pip. If you use
+ Debian testing (or unstable), or a version of Ubuntu newer than
+ Oneiric, this is easy:
 
-   # apt-get install git python2.7 python-setuptools python-crypto python-twisted python-argparse
+   # apt-get install python2.7 python-pip
+
+
+Step 1: Install Tor
 
  You will also need a development version of Tor. To do this, you
  should use the following guide to install tor and
@@ -18,40 +21,17 @@ Step 0: Install needed dependencies
  your obfsproxy address to BridgeDB.
 
 
-Step 1: Install pyptlib
-
-  You will also need pyptlib, a small library developed by the Tor
-  project for writing pluggable transports.
-
-    $ git clone https://git.torproject.org/pluggable-transports/pyptlib.git
-    $ cd pyptlib && python setup.py install
-
-  You might need to run the 'python setup.py install' command as
-  root. If you don't want to run it as root, you can use 'python
-  setup.py install --user' which will install pyptlib just for the
-  current user.
-
-
-Step 2: Install and test pyobfsproxy
-
-  Now it's time to fetch pyobfsproxy and test that it works:
-
-    $ git clone https://git.torproject.org/pluggable-transports/pyobfsproxy.git
-    $ cd pyobfsproxy
-    $ python obfsproxy/test/tester.py
-
-  If you got a message reporting that all tests finished successfully,
-  then pyobfsproxy works for you. Run the setup.py script so that
-  pyobfsproxy gets installed in your system:
+Step 2: Install obfsproxy
 
-    # python setup.py install
+  If you have pip, installing obfsproxy and its dependencies should be
+  a matter of a single command:
 
-  You will probably want to run the setup.py script as root so that pyobfsproxy gets installed in /usr/local/bin.
+    $ pip install obfsproxy
 
 
 Step 3: Setup Tor
 
-  Edit your /etc/tor/torrc to add:
+  Now setup Tor. Edit your /etc/tor/torrc to add:
 
     SocksPort 0
     ORPort 443 # or some other port if you already run a webserver/skype
@@ -63,7 +43,7 @@ Step 3: Setup Tor
     ## CHANGEME_2 -> provide some email address so we can contact you if there's a problem
     #ContactInfo CHANGEME_2
 
-    ServerTransportPlugin obfs2,obfs3 exec /usr/local/bin/pyobfsproxy managed
+    ServerTransportPlugin obfs2,obfs3 exec /usr/local/bin/obfsproxy managed
 
   Don't forget to uncomment and edit the CHANGEME fields.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list