[tor-bugs] #11190 [Obfsproxy]: obfsproxy shebang should point to "python2", not "python"

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 12 19:33:04 UTC 2014


#11190: obfsproxy shebang should point to "python2", not "python"
-------------------------+-------------------------------------------------
     Reporter:  yawning  |      Owner:  asn
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:           |    Version:
  Obfsproxy              |   Keywords:  python version, obfsproxy, tbb,
   Resolution:           |  flashproxy
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------
Changes (by dcf):

 * keywords:  python version, obfsproxy, tbb => python version, obfsproxy,
     tbb, flashproxy


Comment:

 The same goes, I'm sure for flashproxy.

 Yawning, maybe you could try building a TBB that answers this ticket? You
 can do it in an Ubuntu VM, I'm told. Probably, all you need to do is
 define a `PYTHON=python2` variable and replace `python` with `$PYTHON` in
 these two descriptor files:
  * https://gitweb.torproject.org/builders/tor-browser-
 bundle.git/blob/HEAD:/gitian/descriptors/linux/gitian-pluggable-
 transports.yml
  * https://gitweb.torproject.org/builders/tor-browser-
 bundle.git/blob/HEAD:/gitian/descriptors/mac/gitian-pluggable-
 transports.yml
 You shouldn't need to do anything in the windows descriptor because that
 uses py2exe so Python is built in.

 I'm pretty sure it suffices to change the name of the executable used to
 call the various setup.py's, because distutils/setuptools rewrite the
 shebang line in installed executables according to how it was called.g

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11190#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list