mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
net-misc/ooni-probe-cli: add 3.23.0
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
This commit is contained in:
parent
c002992902
commit
75a4c900c4
@ -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
|
||||
|
49
net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild
Normal file
49
net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user