/[gentoo-x86]/net-proxy/obfsproxy/obfsproxy-0.1.4.ebuild
Gentoo

Contents of /net-proxy/obfsproxy/obfsproxy-0.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 11 13:48:28 2012 UTC (2 years, 5 months ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Moved SRC_URI as per upstream's instructions, thanks Sebastian.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/obfsproxy-0.1.4.ebuild,v 1.1 2012/05/03 12:16:44 blueness Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="A tor-compliant pluggable transports proxy to obfuscate tor traffic"
8 HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html"
9 SRC_URI="https://archive.torproject.org/tor-package-archive/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE=""
15
16 DEPEND="dev-libs/openssl
17 >=dev-libs/libevent-2
18 >=net-misc/tor-0.2.3.12_alpha
19 sys-libs/zlib"
20 RDEPEND="${DEPEND}"
21
22 src_install() {
23 emake DESTDIR="${D}" install
24 dodoc README ChangeLog
25 dodoc -r doc/*
26 }
27
28 pkg_postinst() {
29 einfo
30 einfo "To run ${PN} with a tor bridge, add the following to your torrc file:"
31 einfo
32 einfo " ORPort 5001"
33 einfo " BridgeRelay 1"
34 einfo " ExitPolicy reject *:*"
35 einfo " ServerTransportPlugin obfs2 exec /usr/bin/${PN} --managed"
36 einfo
37 einfo "Change your ORPort to whatever value you use. When you start tor,"
38 einfo "you should see a message similar to the following in its logs:"
39 einfo
40 einfo " Registered server transport 'obfs2' at '0.0.0.0:33578'"
41 einfo
42 einfo "Note the port number, 33578 in this case, and report it, along with"
43 einfo "your IP address, to your bridge clients."
44 einfo
45 einfo
46 einfo "To run ${PN} with a tor client, add the following to your torrc file:"
47 einfo
48 einfo " SocksPort 5000"
49 einfo " UseBridges 1"
50 einfo " Bridge obfs2 <IP>:<port>"
51 einfo " ClientTransportPlugin obfs2 exec /usr/bin/${PN} --managed"
52 einfo
53 einfo "Change your SocksPort to whatever value you use. Also, replace the"
54 einfo "<IP>:<port> pair with the values you received from the tor obfs bridge."
55 einfo
56 }

  ViewVC Help
Powered by ViewVC 1.1.20