1 |
commit: bae9cb1de5c65fe8348512e0229ba565c3324d39 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 16:24:55 2016 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 16:26:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae9cb1d |
7 |
|
8 |
net-proxy/obfs4proxy: bump to 0.0.7 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
net-proxy/obfs4proxy/Manifest | 1 + |
13 |
net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild | 49 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/net-proxy/obfs4proxy/Manifest b/net-proxy/obfs4proxy/Manifest |
17 |
index ab01d0d..e085670 100644 |
18 |
--- a/net-proxy/obfs4proxy/Manifest |
19 |
+++ b/net-proxy/obfs4proxy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST obfs4proxy-0.0.6.tar.gz 67151 SHA256 a7b0a96ca3d1ed4d149bacab39b1b57477f8a5350d91e46bca15d6237ab1c0e0 SHA512 fb1584cec5db09ffc1124497daffd1cab1f9895eb080334004356cd08ec463a65226187c8462d8fe60df30f4c8c321ae8fb38e0c7b8a64216ed9413927bcd303 WHIRLPOOL e920a5fdd8b3b726b232a5dc4c59ba4015bad14361867be15959a3c3327c5bcd560faa91326ad6dc4291f8e4256221f23ed444ed96928090e45d88bcd04d8207 |
22 |
+DIST obfs4proxy-0.0.7.tar.gz 67479 SHA256 8e2f0fcb93ccc788601d00e84677624f6a03b785fd2e19e41740a5d15ae3510e SHA512 57b71138a139b1821cf58c8e1965f207a6164a046bbfc8d6da828351d4f5bf4ecfb63ca5c69dba834c4e3a72362089d2a7fd296278115c0cae1c53c51d1b124d WHIRLPOOL 63fd353fc0293d8f73477b5dac1b16a63ed373e27cefd1bbf79455e6d12f20809733f84561c18f58ef2774880d3068e4cc7a88ab1aa459f295f61590b478d127 |
23 |
|
24 |
diff --git a/net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild b/net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..d5f423d |
27 |
--- /dev/null |
28 |
+++ b/net-proxy/obfs4proxy/obfs4proxy-0.0.7.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit golang-build |
37 |
+ |
38 |
+EGO_SRC=git.torproject.org/pluggable-transports/obfs4.git |
39 |
+EGO_PN=${EGO_SRC}/... |
40 |
+ |
41 |
+if [[ ${PV} == "9999" ]]; |
42 |
+then |
43 |
+ inherit golang-vcs |
44 |
+else |
45 |
+ KEYWORDS="~amd64 ~arm ~x86" |
46 |
+ EGIT_COMMIT="${P}" |
47 |
+ SRC_URI="https://github.com/Yawning/obfs4/archive/${P}.tar.gz -> ${P}.tar.gz" |
48 |
+ inherit golang-vcs-snapshot |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="An obfuscating proxy supporting Tor's pluggable transport protocol obfs4" |
52 |
+HOMEPAGE="https://github.com/Yawning/obfs4" |
53 |
+ |
54 |
+LICENSE="BSD" |
55 |
+SLOT="0" |
56 |
+IUSE="" |
57 |
+ |
58 |
+DEPEND="dev-go/ed25519 |
59 |
+ dev-go/go-crypto |
60 |
+ dev-go/go-net |
61 |
+ dev-go/goptlib |
62 |
+ dev-go/siphash" |
63 |
+RDEPEND="" |
64 |
+ |
65 |
+src_compile() { |
66 |
+ golang-build_src_compile |
67 |
+ local binfile=$(find "${T}" -name a.out) |
68 |
+ [[ -x ${binfile} ]] || die "a.out not found" |
69 |
+ cp -a ${binfile} obfs4proxy |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ dobin obfs4proxy || die "install failed" |
75 |
+ cd src/${EGO_SRC} |
76 |
+ doman doc/obfs4proxy.1 || die "install failed" |
77 |
+ dodoc README.md ChangeLog doc/obfs4-spec.txt || die "install failed" |
78 |
+} |