diff options
author | 2013-10-06 16:47:24 +0000 | |
---|---|---|
committer | 2013-10-06 16:47:24 +0000 | |
commit | c85e06092b5afc54d21633d6849ffadba94d1b1c (patch) | |
tree | 7511f44fbea36e7b5cfd215c15ac637f3abd6523 /net-proxy | |
parent | version bump wrt #487054 (diff) | |
download | gentoo-2-c85e06092b5afc54d21633d6849ffadba94d1b1c.tar.gz gentoo-2-c85e06092b5afc54d21633d6849ffadba94d1b1c.tar.bz2 gentoo-2-c85e06092b5afc54d21633d6849ffadba94d1b1c.zip |
Initial commit of 0.2.x branch, a complete rewrite in python
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/obfsproxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/obfsproxy/obfsproxy-0.2.4.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/net-proxy/obfsproxy/ChangeLog b/net-proxy/obfsproxy/ChangeLog index 1fe526848559..adb763400671 100644 --- a/net-proxy/obfsproxy/ChangeLog +++ b/net-proxy/obfsproxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/obfsproxy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/ChangeLog,v 1.19 2013/06/26 11:56:18 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/ChangeLog,v 1.20 2013/10/06 16:47:24 blueness Exp $ + +*obfsproxy-0.2.4 (06 Oct 2013) + + 06 Oct 2013; Anthony G. Basile <blueness@gentoo.org> +obfsproxy-0.2.4.ebuild: + Initial commit of 0.2.x branch, a complete rewrite in python 26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> obfsproxy-0.1.4-r1.ebuild: Stable for arm, wrt bug #473648 diff --git a/net-proxy/obfsproxy/obfsproxy-0.2.4.ebuild b/net-proxy/obfsproxy/obfsproxy-0.2.4.ebuild new file mode 100644 index 000000000000..52944daadba9 --- /dev/null +++ b/net-proxy/obfsproxy/obfsproxy-0.2.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/obfsproxy-0.2.4.ebuild,v 1.1 2013/10/06 16:47:24 blueness Exp $ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="An obfuscating proxy using Tor's pluggable transport protocol" +HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" +SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/${PN}-remove-argparse.patch ) +DOCS=( ChangeLog INSTALL README TODO doc/HOWTO.txt ) + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=">=dev-python/pyptlib-0.0.5[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6-r2[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}]" + +pkg_postinst() { + einfo + einfo "To run ${PN} with a tor bridge, add the following to your torrc file:" + einfo + einfo " SocksPort 0" + einfo " ORPort 443 # or some other port if you already run a webserver/skype" + einfo " BridgeRelay 1" + einfo " ExitPolicy reject *:*" + einfo " Nickname CHANGEME_1" + einfo " ContactInfo CHANGEME_2" + einfo " ServerTransportPlugin obfs2,obfs3 exec /usr/bin/${PN} managed" + einfo + einfo "Obviously, change CHANGEME_1 and CHANGEME_2 to appropriate values. When you" + einfo "start tor, you should see a message similar to the following in its logs:" + einfo + einfo " Oct 05 20:00:41.000 [notice] Registered server transport 'obfs2' at '0.0.0.0:26821" + einfo " Oct 05 20:00:42.000 [notice] Registered server transport 'obfs3' at '0.0.0.0:40172" + einfo + einfo "Note the port numbers, 26821 and 40172 in this case, and report it, along with" + einfo "your IP address, to your bridge clients. If you are behind a NAT firewall, you" + einfo "you need to do port forwarding on those ports." + einfo +} |