diff options
author | Marek Szuba <marecki@gentoo.org> | 2016-11-28 17:24:55 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2016-11-28 17:26:48 +0100 |
commit | bae9cb1de5c65fe8348512e0229ba565c3324d39 (patch) | |
tree | d8ef2303ff736d6484694009d0479367695e62eb /net-proxy | |
parent | www-client/seamonkey: Added app-crypt/pinentry[qt5] as pinentry provider. (diff) | |
download | gentoo-bae9cb1de5c65fe8348512e0229ba565c3324d39.tar.gz gentoo-bae9cb1de5c65fe8348512e0229ba565c3324d39.tar.bz2 gentoo-bae9cb1de5c65fe8348512e0229ba565c3324d39.zip |
net-proxy/obfs4proxy: bump to 0.0.7
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/obfs4proxy/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-proxy/obfs4proxy/Manifest b/net-proxy/obfs4proxy/Manifest index ab01d0d9de18..e0856707ea4c 100644 --- a/net-proxy/obfs4proxy/Manifest +++ b/net-proxy/obfs4proxy/Manifest @@ -1 +1,2 @@ DIST obfs4proxy-0.0.6.tar.gz 67151 SHA256 a7b0a96ca3d1ed4d149bacab39b1b57477f8a5350d91e46bca15d6237ab1c0e0 SHA512 fb1584cec5db09ffc1124497daffd1cab1f9895eb080334004356cd08ec463a65226187c8462d8fe60df30f4c8c321ae8fb38e0c7b8a64216ed9413927bcd303 WHIRLPOOL e920a5fdd8b3b726b232a5dc4c59ba4015bad14361867be15959a3c3327c5bcd560faa91326ad6dc4291f8e4256221f23ed444ed96928090e45d88bcd04d8207 +DIST obfs4proxy-0.0.7.tar.gz 67479 SHA256 8e2f0fcb93ccc788601d00e84677624f6a03b785fd2e19e41740a5d15ae3510e SHA512 57b71138a139b1821cf58c8e1965f207a6164a046bbfc8d6da828351d4f5bf4ecfb63ca5c69dba834c4e3a72362089d2a7fd296278115c0cae1c53c51d1b124d WHIRLPOOL 63fd353fc0293d8f73477b5dac1b16a63ed373e27cefd1bbf79455e6d12f20809733f84561c18f58ef2774880d3068e4cc7a88ab1aa459f295f61590b478d127 diff --git a/net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild b/net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild new file mode 100644 index 000000000000..d5f423d1defd --- /dev/null +++ b/net-proxy/obfs4proxy/obfs4proxy-0.0.7.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 ~arm ~x86" + 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="BSD" +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" +} |