1 |
commit: 3d2b0f03985588a66254cf34d48319c6cb1451a2 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Fri Jun 3 00:01:58 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Fri Jun 3 01:18:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d2b0f03 |
7 |
|
8 |
net-misc/ooni-probe-cli: add 3.15.0 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
net-misc/ooni-probe-cli/Manifest | 1 + |
13 |
.../ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild | 32 ++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/ooni-probe-cli/Manifest b/net-misc/ooni-probe-cli/Manifest |
17 |
index 8a5ef0b53..855515d4d 100644 |
18 |
--- a/net-misc/ooni-probe-cli/Manifest |
19 |
+++ b/net-misc/ooni-probe-cli/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ooni-probe-cli-3.14.2.tar.gz 20997747 BLAKE2B 45e18e40b280c81935476aa67d73b3d56df34507c3ccdd611f22a979d72ef8cd45c3e70d6d899927e8af353717d944fc84650f2a0417d288c175e4694631be0d SHA512 e35e70363f49cac73bbb4a6ae5f091a33c9e72d565e4fb69d2fac25dfebc961cde3cbd88493ffc17f6330b52cfcc6b093c65a63359a534ca4370010422e0e776 |
22 |
+DIST ooni-probe-cli-3.15.0.tar.gz 21374406 BLAKE2B 05fef6dacee64a58bab319d62c01976a29435b8b938f2c3fffe8f5e57801e1ecc39b4e1a02f1ef64550a13ae35139cb2ca035bf3c9e541ec9821e0fa224fc734 SHA512 b5795fe2ee8de25c3189568f479a6010119f2fb18d6f57642c4d23d9116056bd5a5db20f9eeebe9030705a0e0a65d1ecd57b1c71123d87297036b3affcf433e7 |
23 |
|
24 |
diff --git a/net-misc/ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild b/net-misc/ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..5b479e74a |
27 |
--- /dev/null |
28 |
+++ b/net-misc/ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit go-module |
36 |
+ |
37 |
+MY_PN=${PN#ooni-} |
38 |
+DESCRIPTION="OONI Probe network measurement tool for detecting internet censorship" |
39 |
+HOMEPAGE="https://ooni.org https://github.com/ooni/probe-cli" |
40 |
+SRC_URI="https://github.com/ooni/${MY_PN}/releases/download/v${PV}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-3+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+RESTRICT="test" # hangs |
47 |
+ |
48 |
+DOCS=( docs CODEOWNERS {CONTRIBUTING,Readme}.md ) |
49 |
+ |
50 |
+src_compile() { |
51 |
+ ego build -v -ldflags="-s -w" ./cmd/ooniprobe |
52 |
+} |
53 |
+ |
54 |
+src_test() { |
55 |
+ ego test $(ego list ./... | grep -v /vendor/) |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin ooniprobe |
60 |
+ einstalldocs |
61 |
+} |