diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-03-11 14:46:30 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-03-11 14:46:30 +0000 |
commit | 4d0b2a84f17209c6e94c307b3dea1170fd4b417a (patch) | |
tree | 5512c7a13637917453b166a898cbc7014268e217 /net-proxy/obfsproxy | |
parent | Stable for amd64, wrt bug #404771 (diff) | |
download | gentoo-2-4d0b2a84f17209c6e94c307b3dea1170fd4b417a.tar.gz gentoo-2-4d0b2a84f17209c6e94c307b3dea1170fd4b417a.tar.bz2 gentoo-2-4d0b2a84f17209c6e94c307b3dea1170fd4b417a.zip |
Initial commit
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/obfsproxy')
-rw-r--r-- | net-proxy/obfsproxy/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/obfsproxy/metadata.xml | 8 | ||||
-rw-r--r-- | net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild | 56 |
3 files changed, 74 insertions, 0 deletions
diff --git a/net-proxy/obfsproxy/ChangeLog b/net-proxy/obfsproxy/ChangeLog new file mode 100644 index 000000000000..61f72e79982d --- /dev/null +++ b/net-proxy/obfsproxy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-proxy/obfsproxy +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/ChangeLog,v 1.1 2012/03/11 14:46:30 blueness Exp $ + +*obfsproxy-0.1.0 (11 Mar 2012) + + 11 Mar 2012; Anthony G. Basile <blueness@gentoo.org> +obfsproxy-0.1.0.ebuild, + +metadata.xml: + Initial commit + diff --git a/net-proxy/obfsproxy/metadata.xml b/net-proxy/obfsproxy/metadata.xml new file mode 100644 index 000000000000..1e7587374fdf --- /dev/null +++ b/net-proxy/obfsproxy/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> +</pkgmetadata> diff --git a/net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild b/net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild new file mode 100644 index 000000000000..5c5d94144b5b --- /dev/null +++ b/net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild,v 1.1 2012/03/11 14:46:30 blueness Exp $ + +EAPI="4" + +DESCRIPTION="obfsproxy is a tor-compliant pluggable transports proxy" +HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html.en" +SRC_URI="https://www.torproject.org/dist/obfsproxy/obfsproxy-0.1.0.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="dev-libs/openssl + >=dev-libs/libevent-2 + >=net-misc/tor-0.2.3.12_alpha + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_install() { + emake DESTDIR="${D}" install + dodoc README ChangeLog + dodoc -r doc/* +} + +pkg_postinst() { + einfo + einfo "To run ${PN} with a tor bridge, add the following to your torrc file:" + einfo + einfo " ORPort 5001" + einfo " BridgeRelay 1" + einfo " ExitPolicy reject *:*" + einfo " ServerTransportPlugin obfs2 exec /usr/bin/${PN} --managed" + einfo + einfo "Change your ORPort to whatever value you use. When you start tor," + einfo "you should see a message similar to the following in its logs:" + einfo + einfo " Registered server transport 'obfs2' at '0.0.0.0:33578'" + einfo + einfo "Note the port number, 33578 in this case, and report it, along with" + einfo "your IP address, to your bridge clients." + einfo + einfo + einfo "To run ${PN} with a tor client, add the following to your torrc file:" + einfo + einfo " SocksPort 5000" + einfo " UseBridges 1" + einfo " Bridge obfs2 <IP>:<port>" + einfo " ClientTransportPlugin obfs2 exec /usr/bin/${PN} --managed" + einfo + einfo "Change your SocksPort to whatever value you use. Also, replace the" + einfo "<IP>:<port> pair with the values you received from the tor obfs bridge." + einfo +} |