summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <Marek.Szuba@cern.ch>2016-04-21 11:57:19 +0200
committerAnthony G. Basile <blueness@gentoo.org>2016-04-23 02:49:46 -0400
commit81b6ce6c6fc4b2e7d5f04973e144a9704fcf04e5 (patch)
tree3b63ce26c2ac0f3294f718766a1ad9ccda6eb271 /net-proxy
parentsys-fs/hfsplusutils: add support for USE=static-libs (diff)
downloadgentoo-81b6ce6c6fc4b2e7d5f04973e144a9704fcf04e5.tar.gz
gentoo-81b6ce6c6fc4b2e7d5f04973e144a9704fcf04e5.tar.bz2
gentoo-81b6ce6c6fc4b2e7d5f04973e144a9704fcf04e5.zip
New ebuild: net-proxy/obfs4proxy, plus dependencies.
A new obfuscating proxy for Tor bridges which supports, among others, the OBFS4 protocol. It depends on three packages which were not in Portage and therefore have just had ebuild files created as well: dev-go/ed25519, dev-go/goptlib, and dev-go/siphash. Relevant Gentoo bugs: #580582, #580622, #580626, #580628.
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/obfs4proxy/Manifest4
-rw-r--r--net-proxy/obfs4proxy/metadata.xml13
-rw-r--r--net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild49
-rw-r--r--net-proxy/obfs4proxy/obfs4proxy-9999.ebuild49
4 files changed, 115 insertions, 0 deletions
diff --git a/net-proxy/obfs4proxy/Manifest b/net-proxy/obfs4proxy/Manifest
new file mode 100644
index 00000000000..8550e392e36
--- /dev/null
+++ b/net-proxy/obfs4proxy/Manifest
@@ -0,0 +1,4 @@
+DIST obfs4proxy-0.0.6.tar.gz 67151 SHA256 a7b0a96ca3d1ed4d149bacab39b1b57477f8a5350d91e46bca15d6237ab1c0e0 SHA512 fb1584cec5db09ffc1124497daffd1cab1f9895eb080334004356cd08ec463a65226187c8462d8fe60df30f4c8c321ae8fb38e0c7b8a64216ed9413927bcd303 WHIRLPOOL e920a5fdd8b3b726b232a5dc4c59ba4015bad14361867be15959a3c3327c5bcd560faa91326ad6dc4291f8e4256221f23ed444ed96928090e45d88bcd04d8207
+EBUILD obfs4proxy-0.0.6.ebuild 1068 SHA256 14562347b6533c5d2aa93489c2ee554a121a203ab62d3e10c388171516926b44 SHA512 9384e78451283eb0e0d8c6415b29bf552d82007385d66b94da3a90e67456959d0854215f7708ac2580f0bc84a0f50dea3491eb56c36a46d38b4a8d9edf3a041b WHIRLPOOL ba7ec6d45a82f73419010fcafd70963575dd564c4258864860cd43cc6235219075b8341c82dd4bd89fe901f409365f9f78f9dd62fa59a7c93710c77142acae33
+EBUILD obfs4proxy-9999.ebuild 1068 SHA256 14562347b6533c5d2aa93489c2ee554a121a203ab62d3e10c388171516926b44 SHA512 9384e78451283eb0e0d8c6415b29bf552d82007385d66b94da3a90e67456959d0854215f7708ac2580f0bc84a0f50dea3491eb56c36a46d38b4a8d9edf3a041b WHIRLPOOL ba7ec6d45a82f73419010fcafd70963575dd564c4258864860cd43cc6235219075b8341c82dd4bd89fe901f409365f9f78f9dd62fa59a7c93710c77142acae33
+MISC metadata.xml 455 SHA256 3752be463cc35dcb6d06fad3dd5a4387a42d8c63959eec026acc78542eb896cf SHA512 2c3718417db689cc74201c24c326a1967a6e551cfa2310b5816b40d1df8de5ec92ef31b62542fbb46665d67c9036ee77bba136124f291354df5b22125922a703 WHIRLPOOL bb1d6a6769fde54baba077023f17af5da4641d53c4cbbef839a4269c4303887d3c447c7ac71b4d6dcb74e63ba213cb675a897e67e8d32193c89e987b71e4c89b
diff --git a/net-proxy/obfs4proxy/metadata.xml b/net-proxy/obfs4proxy/metadata.xml
new file mode 100644
index 00000000000..969bb1d9254
--- /dev/null
+++ b/net-proxy/obfs4proxy/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>Marek.Szuba@cern.ch</email>
+ <name>Marek Szuba</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild b/net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild
new file mode 100644
index 00000000000..5bc4c27b31d
--- /dev/null
+++ b/net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit golang-build
+
+EGO_SRC=git.torproject.org/pluggable-transports/obfs4.git
+EGO_PN=${EGO_SRC}/...
+
+if [[ ${PV} == "9999" ]];
+then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT="${P}"
+ SRC_URI="https://github.com/Yawning/obfs4/archive/${P}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4"
+HOMEPAGE="https://github.com/Yawning/obfs4"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/ed25519
+ dev-go/go-crypto
+ dev-go/go-net
+ dev-go/goptlib
+ dev-go/siphash"
+RDEPEND=""
+
+src_compile() {
+ golang-build_src_compile
+ local binfile=$(find "${T}" -name a.out)
+ [[ -x ${binfile} ]] || die "a.out not found"
+ cp -a ${binfile} obfs4proxy
+}
+
+src_install() {
+ default
+ dobin obfs4proxy || die "install failed"
+ cd src/${EGO_SRC}
+ doman doc/obfs4proxy.1 || die "install failed"
+ dodoc README.md ChangeLog doc/obfs4-spec.txt || die "install failed"
+}
diff --git a/net-proxy/obfs4proxy/obfs4proxy-9999.ebuild b/net-proxy/obfs4proxy/obfs4proxy-9999.ebuild
new file mode 100644
index 00000000000..5bc4c27b31d
--- /dev/null
+++ b/net-proxy/obfs4proxy/obfs4proxy-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit golang-build
+
+EGO_SRC=git.torproject.org/pluggable-transports/obfs4.git
+EGO_PN=${EGO_SRC}/...
+
+if [[ ${PV} == "9999" ]];
+then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT="${P}"
+ SRC_URI="https://github.com/Yawning/obfs4/archive/${P}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4"
+HOMEPAGE="https://github.com/Yawning/obfs4"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/ed25519
+ dev-go/go-crypto
+ dev-go/go-net
+ dev-go/goptlib
+ dev-go/siphash"
+RDEPEND=""
+
+src_compile() {
+ golang-build_src_compile
+ local binfile=$(find "${T}" -name a.out)
+ [[ -x ${binfile} ]] || die "a.out not found"
+ cp -a ${binfile} obfs4proxy
+}
+
+src_install() {
+ default
+ dobin obfs4proxy || die "install failed"
+ cd src/${EGO_SRC}
+ doman doc/obfs4proxy.1 || die "install failed"
+ dodoc README.md ChangeLog doc/obfs4-spec.txt || die "install failed"
+}