diff options
author | Marek Szuba <Marek.Szuba@cern.ch> | 2016-04-21 15:07:05 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-04-23 02:49:50 -0400 |
commit | d266ca42a8756e6dc7eed283a73a4cf733852f83 (patch) | |
tree | 8b1344360d626d1c66b57ff18ade6831cf79604a /net-proxy/obfs4proxy | |
parent | Revert "New ebuild: net-proxy/obfs4proxy, plus dependencies." in order to spl... (diff) | |
download | gentoo-d266ca42a8756e6dc7eed283a73a4cf733852f83.tar.gz gentoo-d266ca42a8756e6dc7eed283a73a4cf733852f83.tar.bz2 gentoo-d266ca42a8756e6dc7eed283a73a4cf733852f83.zip |
New ebuild: net-proxy/obfs4proxy.
A new obfuscating proxy for Tor bridges which supports, among others,
the OBFS4 protocol.
Relevant Gentoo bug: #580582.
Diffstat (limited to 'net-proxy/obfs4proxy')
-rw-r--r-- | net-proxy/obfs4proxy/Manifest | 4 | ||||
-rw-r--r-- | net-proxy/obfs4proxy/metadata.xml | 8 | ||||
-rw-r--r-- | net-proxy/obfs4proxy/obfs4proxy-0.0.6.ebuild | 49 | ||||
-rw-r--r-- | net-proxy/obfs4proxy/obfs4proxy-9999.ebuild | 49 |
4 files changed, 110 insertions, 0 deletions
diff --git a/net-proxy/obfs4proxy/Manifest b/net-proxy/obfs4proxy/Manifest new file mode 100644 index 000000000000..4db0084b8d54 --- /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 252 SHA256 a590e5133cd97a615db4f977b0e28e5c60c56cac76eb3d339109cdf379003b60 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 WHIRLPOOL b209a730a169969b9e3c4d4612368bc5b30bfa5fae275d98d83ba96fd0ad01d308a8fed4f7d67a7c9fa417c624dfeb23ce89ab58923a8a0b5b1bd68ee73f288c diff --git a/net-proxy/obfs4proxy/metadata.xml b/net-proxy/obfs4proxy/metadata.xml new file mode 100644 index 000000000000..d920e3ba3e56 --- /dev/null +++ b/net-proxy/obfs4proxy/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 type="person"> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </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 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" +} |