mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
net-misc/ooni-probe-cli: add 3.15.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ooni-probe-cli-3.14.2.tar.gz 20997747 BLAKE2B 45e18e40b280c81935476aa67d73b3d56df34507c3ccdd611f22a979d72ef8cd45c3e70d6d899927e8af353717d944fc84650f2a0417d288c175e4694631be0d SHA512 e35e70363f49cac73bbb4a6ae5f091a33c9e72d565e4fb69d2fac25dfebc961cde3cbd88493ffc17f6330b52cfcc6b093c65a63359a534ca4370010422e0e776
|
||||
DIST ooni-probe-cli-3.15.0.tar.gz 21374406 BLAKE2B 05fef6dacee64a58bab319d62c01976a29435b8b938f2c3fffe8f5e57801e1ecc39b4e1a02f1ef64550a13ae35139cb2ca035bf3c9e541ec9821e0fa224fc734 SHA512 b5795fe2ee8de25c3189568f479a6010119f2fb18d6f57642c4d23d9116056bd5a5db20f9eeebe9030705a0e0a65d1ecd57b1c71123d87297036b3affcf433e7
|
||||
|
||||
32
net-misc/ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild
Normal file
32
net-misc/ooni-probe-cli/ooni-probe-cli-3.15.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
MY_PN=${PN#ooni-}
|
||||
DESCRIPTION="OONI Probe network measurement tool for detecting internet censorship"
|
||||
HOMEPAGE="https://ooni.org https://github.com/ooni/probe-cli"
|
||||
SRC_URI="https://github.com/ooni/${MY_PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test" # hangs
|
||||
|
||||
DOCS=( docs CODEOWNERS {CONTRIBUTING,Readme}.md )
|
||||
|
||||
src_compile() {
|
||||
ego build -v -ldflags="-s -w" ./cmd/ooniprobe
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test $(ego list ./... | grep -v /vendor/)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ooniprobe
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user