net-misc/ooni-probe-cli: add 3.23.0

Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
Eli Burch 2024-08-12 06:56:44 -07:00
parent c002992902
commit 75a4c900c4
No known key found for this signature in database
GPG Key ID: 236AD5D7E0145BA1
2 changed files with 50 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST ooni-probe-cli-3.22.0.tar.gz 26961384 BLAKE2B 31792ad2bf792d19edc61b12894c91b85c33445808b70880d2f32f3b83665e80577d830ce255ae114c4de163e2f93bb8a73eea3b6d2a4143c6623c9a15fe5c8d SHA512 28f845a3e50eb50a9d7d9411ad0d5cbb6ae08b3238bb4cd7f85dd4fbdaa833203bcf8387287b5b45ccc51196caab4981ec85d7bb9cd199ba04f7b0d2568e20a4
DIST ooni-probe-cli-3.23.0.tar.gz 26939575 BLAKE2B 55dd955185f7c48ca151091002d5a908bd96882cb09f38d368ba9069ca1e5e4d707f61d1354acb982271832e0e719037452b484b684c764e764add4bb67946e4 SHA512 ce742fac78a237e2e2e979fb03db5093b7da96151cf6acfc2ce5e0d4e8b9321b9112e28ead648a2499917827797faddeba6f2f6c56cff331f857ae0f4976dfd7

View File

@ -0,0 +1,49 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
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/probe-cli/releases/download/v${PV}/${P}.tar.gz"
LICENSE="0BSD Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 GPL-3+ ISC LGPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-db/sqlite:3[icu]"
RDEPEND="${DEPEND}"
DOCS=( docs CODEOWNERS {CODE_OF_CONDUCT,CONTRIBUTING,DESIGN,Readme}.md )
src_prepare() {
default
# remove ooni's build tool
rm -r internal/cmd/buildtool || die
}
src_configure() {
GOFLAGS+=" -tags=shaping"
}
src_compile() {
ego build ./cmd/ooniprobe
ego build ./internal/cmd/miniooni
ego build ./internal/cmd/oohelperd
}
src_test() {
local -x GOFLAGS
GOFLAGS="${GOFLAGS//-v/}"
GOFLAGS="${GOFLAGS//-x/}"
ego test -short -race ./...
}
src_install() {
dobin ooniprobe miniooni oohelperd
einstalldocs
}