From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17940159C9B for ; Mon, 12 Aug 2024 13:57:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42ACF2BC01E; Mon, 12 Aug 2024 13:57:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D0512BC01E for ; Mon, 12 Aug 2024 13:57:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0492A34133B for ; Mon, 12 Aug 2024 13:57:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58DFB1E5D for ; Mon, 12 Aug 2024 13:57:22 +0000 (UTC) From: "Eli Burch" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Burch" Message-ID: <1723471004.75a4c900c4e878164c0de55c2fbb626a52c1264c.redawl@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/ooni-probe-cli/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/ooni-probe-cli/Manifest net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild X-VCS-Directories: net-misc/ooni-probe-cli/ X-VCS-Committer: redawl X-VCS-Committer-Name: Eli Burch X-VCS-Revision: 75a4c900c4e878164c0de55c2fbb626a52c1264c X-VCS-Branch: dev Date: Mon, 12 Aug 2024 13:57:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9231a621-1911-4390-8b57-8e4d46577616 X-Archives-Hash: cd3422a017a27e8e4671c9e7d3f510d1 commit: 75a4c900c4e878164c0de55c2fbb626a52c1264c Author: Eli Burch burchbytes com> AuthorDate: Mon Aug 12 13:56:44 2024 +0000 Commit: Eli Burch burchbytes com> CommitDate: Mon Aug 12 13:56:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75a4c900 net-misc/ooni-probe-cli: add 3.23.0 Signed-off-by: Eli Burch burchbytes.com> net-misc/ooni-probe-cli/Manifest | 1 + .../ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-misc/ooni-probe-cli/Manifest b/net-misc/ooni-probe-cli/Manifest index 5f7e46a6d..f110b7890 100644 --- a/net-misc/ooni-probe-cli/Manifest +++ b/net-misc/ooni-probe-cli/Manifest @@ -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 diff --git a/net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild b/net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild new file mode 100644 index 000000000..718501272 --- /dev/null +++ b/net-misc/ooni-probe-cli/ooni-probe-cli-3.23.0.ebuild @@ -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 +}