tor2web / Tor2web

Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
https://www.tor2web.org
GNU Affero General Public License v3.0
704 stars 176 forks source link

Tor2web should be packaged following best debian guidelines #161

Open evilaliv3 opened 10 years ago

evilaliv3 commented 10 years ago

Currently Tor2web is packaged in a best effort way and setup guide involve the use of pip.

I would be important to package it following the best debian guidelines. Packaging will need to consider compatibility for at least Ubuntu 12.04/Ubuntu14.04/Debian Wheezy.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5558294-tor2web-should-be-packaged-following-best-debian-guidelines?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).
evilaliv3 commented 10 years ago

Relevant things to be investigated:

1) the Twisted version to be used and how to handle probably differencies in Twisted versions (especially in passages from 12 to 13 i remember that Twisted have applied a lot of changes related to python3 compatibility (similar to this https://twistedmatrix.com/documents/14.0.0/core/howto/python3.html) how can we be compatible with transition version e.g. Twisted 11.1 on ubuntu 12.04 and Twisted 13.2.0 on ubuntu 14.04 ? http://packages.ubuntu.com/search?keywords=python-twisted

2) the same as 1) apply to python-openssl ubuntu 12.04 includes pyopenssl 0.12, ubuntu 14.04 includes the 0.13 and currently tor2web is written in compatibility with 0.14 so probably we will need to perform a regression and from what i remember a monkeypatching in order to suppord ecdhe (that i written so i would be able to riproduce it: https://code.launchpad.net/~evilaliv3/pyopenssl/pyopenssl/+merge/184401) http://packages.ubuntu.com/search?keywords=python-openssl

in addition we will need do document the release guide (that is something missing that currently reflect the globaleaks one)

evilaliv3 commented 10 years ago

@mmaker i've moved your patch here: https://github.com/globaleaks/Tor2web-3.0/tree/feature/packaging

evilaliv3 commented 10 years ago

@fpietrosanti / @mmaker :

for tor2web as for globaleaks probably we will need to handle different packaging scripts versioned and including patchs to tor2web/globaleaks source codes in order to make it work with the different availables libraries versions.

maker can you start thinking about to handle this differncies ans structuring the packaging script directories in a three handling multiple distros/distroversions?

evilaliv3 commented 9 years ago

Following the great work performed by @mmaker on the GlobaLeaks software i've now rewritten completely the debian packaging of Tor2web: https://github.com/globaleaks/Tor2web-3.0/commit/e916b5f26ea04fc51113fa5f07847d535af51438

I'm now going to open some specific sub-issues for the missing things to do.

\cc @hellais @fpietrosanti @vecna @mmaker