From 81b6ce6c6fc4b2e7d5f04973e144a9704fcf04e5 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 21 Apr 2016 11:57:19 +0200 Subject: 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. --- net-proxy/obfs4proxy/Manifest | 4 +++ net-proxy/obfs4proxy/metadata.xml | 13 ++++++++ net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild | 49 ++++++++++++++++++++++++++++ net-proxy/obfs4proxy/obfs4proxy-9999.ebuild | 49 ++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 net-proxy/obfs4proxy/Manifest create mode 100644 net-proxy/obfs4proxy/metadata.xml create mode 100644 net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild create mode 100644 net-proxy/obfs4proxy/obfs4proxy-9999.ebuild (limited to 'net-proxy') diff --git a/net-proxy/obfs4proxy/Manifest b/net-proxy/obfs4proxy/Manifest new file mode 100644 index 000000000000..8550e392e367 --- /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 000000000000..969bb1d92543 --- /dev/null +++ b/net-proxy/obfs4proxy/metadata.xml @@ -0,0 +1,13 @@ + + + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers Project + + + Marek.Szuba@cern.ch + Marek Szuba + Proxied maintainer; set to assignee in all bugs + + 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 000000000000..5bc4c27b31d8 --- /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 000000000000..5bc4c27b31d8 --- /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" +} -- cgit v1.2.3-65-gdbad