summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-03-11 14:46:30 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-03-11 14:46:30 +0000
commit1c29f6fdaf1a72d38f4b432be53d272425b0e7d0 (patch)
treedf3895c9448bd1d332900fec0dea9a621a954ca7 /net-proxy
parentStable for amd64, wrt bug #404771 (diff)
downloadhistorical-1c29f6fdaf1a72d38f4b432be53d272425b0e7d0.tar.gz
historical-1c29f6fdaf1a72d38f4b432be53d272425b0e7d0.tar.bz2
historical-1c29f6fdaf1a72d38f4b432be53d272425b0e7d0.zip
Initial commit
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/obfsproxy/ChangeLog10
-rw-r--r--net-proxy/obfsproxy/Manifest14
-rw-r--r--net-proxy/obfsproxy/metadata.xml8
-rw-r--r--net-proxy/obfsproxy/obfsproxy-0.1.0.ebuild56
4 files changed, 88 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/Manifest b/net-proxy/obfsproxy/Manifest
new file mode 100644
index 000000000000..cdfc39f4273f
--- /dev/null
+++ b/net-proxy/obfsproxy/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST obfsproxy-0.1.0.tar.gz 189632 RMD160 9f37e6e17174c764fdacd8a259cf9cb519df613a SHA1 a7c1b74e23ed3e12e9a46a91bf649aafa0a8f9b9 SHA256 45024f71cbb2e472d884aa94373e153fd179432da00bac763fa19a5a9c5213c8
+EBUILD obfsproxy-0.1.0.ebuild 1755 RMD160 607f3eddf92fc03de0c113eecd69c1ee7997a47d SHA1 c09c0d02b3db275906ca06447a4e65f4a498188e SHA256 5147d77bc36fbe4391eaa7a3500d4d1a85863425c28bc9a0be9fd14c306ed4d4
+MISC ChangeLog 360 RMD160 a373c42abf3406a6260d2f9f09deaf198aecb4c6 SHA1 961ff88d6906f1402e78307e1ed3db694ac06714 SHA256 8aee58f4a12d3ae8b5b5689ddb8750178d3ad74d77ac1156e5b16d20598e86ff
+MISC metadata.xml 238 RMD160 6401efde1642c40e91d5a41a966b9dbff0512eab SHA1 9751c07b46aec3d4f96133758cdd23a3e2ca2835 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREIAAYFAk9cutAACgkQl5yvQNBFVTXpBgCgkCBKwSSWsWYig3w0nU80ofLU
+O/wAn1vYBrOvFoDvtyZooGEFCei0GIp4
+=06QC
+-----END PGP SIGNATURE-----
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
+}