public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/ooni-probe-cli/
Date: Sat, 25 Feb 2023 21:15:50 +0000 (UTC)	[thread overview]
Message-ID: <1677358050.aed473ece331b1777d697803055d4c1d1b081126.cybertailor@gentoo> (raw)

commit:     aed473ece331b1777d697803055d4c1d1b081126
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 25 20:44:33 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 25 20:47:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aed473ec

net-misc/ooni-probe-cli: add 3.17.0, drop 3.16.6

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/ooni-probe-cli/Manifest                   |  2 +-
 .../ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild    | 32 -------------
 .../ooni-probe-cli/ooni-probe-cli-3.17.0.ebuild    | 53 ++++++++++++++++++++++
 3 files changed, 54 insertions(+), 33 deletions(-)

diff --git a/net-misc/ooni-probe-cli/Manifest b/net-misc/ooni-probe-cli/Manifest
index 8b996f836..02badc88d 100644
--- a/net-misc/ooni-probe-cli/Manifest
+++ b/net-misc/ooni-probe-cli/Manifest
@@ -1,2 +1,2 @@
-DIST ooni-probe-cli-3.16.6.tar.gz 21899521 BLAKE2B de4e74d8ac131c0531a1c9d7c00d7d5f854ef09b78a9c61208f9cf97be6102d40a4b93a9d1f6c8785445966b4da2af19c04578736ab9c9f989a6bf47d9ec1f67 SHA512 f42fc687597f74ada325e4d8b1c0f7619c64b2adf0a80c455384299d60e84e31cc7bcded33892c952a8fcf75cc02f49b82a51a320ee0e8518577f0a13b6ca243
 DIST ooni-probe-cli-3.16.7.tar.gz 21896439 BLAKE2B db06a87d30b97691a4f897c97282772d41c6f5a83c28df64f8f6d7084ef1c52c38d384d7b437308560f0327559faab4c07f09b878fc681897e8537a83e972c65 SHA512 a00c9622389348f588202f0db5fbc861cf3f0a13f241bf99d385eb3925a8333071337ed0cb3875a65fba50fe5478886bd40d97fec51b4b054ec440d2c9746d16
+DIST ooni-probe-cli-3.17.0.tar.gz 22660357 BLAKE2B 688b4e2ebf1b6064753180ee5d77a34e9e685955cc99a6a0ad8c05e6f9f3ae89c92e092f6c19de346aa85ffebfe8b26c70903f455489980773dd84e37c427116 SHA512 1619674382dd0ef20228f7bcecaec2a7ac3fa71ac56fdf733b307b6fe2f30d73c6ab5be99a1c18e79656f16f65790299afddbc7e6acbdaec15979cb0269995ce

diff --git a/net-misc/ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild b/net-misc/ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild
deleted file mode 100644
index e47901013..000000000
--- a/net-misc/ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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 $(go list ./... | grep -v /vendor/)
-}
-
-src_install() {
-	dobin ooniprobe
-	einstalldocs
-}

diff --git a/net-misc/ooni-probe-cli/ooni-probe-cli-3.17.0.ebuild b/net-misc/ooni-probe-cli/ooni-probe-cli-3.17.0.ebuild
new file mode 100644
index 000000000..038127af8
--- /dev/null
+++ b/net-misc/ooni-probe-cli/ooni-probe-cli-3.17.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2022-2023 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="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"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+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
+}


             reply	other threads:[~2023-02-25 21:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-25 21:15 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12 13:57 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/ooni-probe-cli/ Eli Burch
2024-06-26 18:33 Eli Burch
2023-07-21 18:00 Anna Vyalkova
2023-06-30 16:28 Anna Vyalkova
2023-06-10 10:30 Anna Vyalkova
2023-06-08  4:24 Anna Vyalkova
2023-06-02  9:47 Anna Vyalkova
2023-05-12  2:02 Anna Vyalkova
2023-03-20  6:00 Anna Vyalkova
2023-02-28 21:35 Anna Vyalkova
2022-12-12 20:52 Anna Vyalkova
2022-12-12 11:44 Anna Vyalkova
2022-11-24 21:20 Anna Vyalkova
2022-11-16 19:36 Anna Vyalkova
2022-11-03  3:09 Anna Vyalkova
2022-10-30  8:38 Anna Vyalkova
2022-10-08 14:58 Anna Vyalkova
2022-07-07  2:57 Anna Vyalkova
2022-06-17  0:10 Anna Vyalkova
2022-06-03  1:19 Anna Vyalkova
2022-05-30 17:47 Anna Vyalkova
2022-01-03  9:43 Anna Vyalkova

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677358050.aed473ece331b1777d697803055d4c1d1b081126.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox