mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-proxy/obfs4proxy: bump to 0.0.7
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -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
|
||||
|
||||
49
net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild
Normal file
49
net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user