[tor-bugs] #8416 [Pluggable transport]: Programmatize PT bundle building

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 2 18:05:52 UTC 2013


#8416: Programmatize PT bundle building
------------------------------------+---------------------------------------
    Reporter:  dcf                  |       Owner:  dcf         
        Type:  defect               |      Status:  needs_review
    Priority:  normal               |   Milestone:              
   Component:  Pluggable transport  |     Version:              
  Resolution:                       |    Keywords:  flashproxy  
      Parent:                       |      Points:              
Actualpoints:                       |  
------------------------------------+---------------------------------------
Changes (by dcf):

  * status:  reopened => needs_review


Comment:

 What do you think of the current state in https://gitweb.torproject.org
 /pluggable-transports/bundle.git?

 In building the 2.4.12-alpha-2-pt1 bundles, I made some changes that make
 the process a bit nicer.
  1. Only the `fetch-*` targets download from the network, and they are not
 run implicitly.
  2. pyptlib doesn't have to be installed. Like flashproxy and obfsproxy,
 you just need to have a clone of it somewhere.
  3. The makefile makes another temporary local clone of each of those
 three clones. The temporary clones are blown away on each rebuild and the
 originals are never written to. This also means that you can do e.g. `git
 checkout 1.1` to build against a certain tag, even if there are newer
 commits in the repository.
  4. Uses `find -print0` and `gpgv`.

 The manual steps are:
  * Installing a build environment and dependencies (`bundle-*.txt`
 instructions);
  * Making clones of pyptlib, obfsproxy, and flashproxy; and
  * Downloading and verifying a plain TBB.
 Then automatic steps done by the makefile are
  * Extracting the TBB;
  * Making a copy of each of pyptlib, obfsproxy, and flashproxy, and
 building them;
  * Copying pyptlib, obfsproxy, and flashproxy files;
  * Modifying `torrc`; and
  * Re-zipping the bundle with a pluggable transports file name.

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


More information about the tor-bugs mailing list