git: 7bea7a19621d - 2024Q3 - net/ooni-probe-cli: unbreak, update to 3.22.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Aug 2024 10:15:40 UTC
The branch 2024Q3 has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7bea7a19621da40d5055337245ae183ffa2eb7ca
commit 7bea7a19621da40d5055337245ae183ffa2eb7ca
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-08-11 09:40:58 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-08-11 10:15:26 +0000
net/ooni-probe-cli: unbreak, update to 3.22.0
PR: 270020
Reported by: alster@vinterdalen.se
Approved by: maintainer timeout (egypcio, 15 days)
MFH: 2024Q3
(cherry picked from commit 48a92f7511b106e3a75e354454d73cf8db2405de)
---
net/ooni-probe-cli/Makefile | 5 +----
net/ooni-probe-cli/distinfo | 10 +++++-----
.../files/patch-internal_netxlite_getaddrinfo__cgo.go | 10 ++++++++++
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/net/ooni-probe-cli/Makefile b/net/ooni-probe-cli/Makefile
index 214fbee57ce1..b87742f87e2c 100644
--- a/net/ooni-probe-cli/Makefile
+++ b/net/ooni-probe-cli/Makefile
@@ -1,7 +1,6 @@
PORTNAME= ooni-probe-cli
DISTVERSIONPREFIX= v
-DISTVERSION= 3.21.1
-PORTREVISION= 3
+DISTVERSION= 3.22.0
CATEGORIES= net www benchmarks
MAINTAINER= egypcio@FreeBSD.org
@@ -11,8 +10,6 @@ WWW= https://ooni.org/about/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN= https://bugs.freebsd.org/272643
-
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
USES= go:modules
diff --git a/net/ooni-probe-cli/distinfo b/net/ooni-probe-cli/distinfo
index 46fd43070638..30aa678dabda 100644
--- a/net/ooni-probe-cli/distinfo
+++ b/net/ooni-probe-cli/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1713008454
-SHA256 (go/net_ooni-probe-cli/ooni-probe-cli-v3.21.1/v3.21.1.mod) = c58314ed2588a8618365b4ee7ec03b570d53345c4c0e3b14850c17d044813112
-SIZE (go/net_ooni-probe-cli/ooni-probe-cli-v3.21.1/v3.21.1.mod) = 7615
-SHA256 (go/net_ooni-probe-cli/ooni-probe-cli-v3.21.1/v3.21.1.zip) = 0d1fd7edb7aff39edd24d63a41b4249678c72e0b264092fe148301edd267dae6
-SIZE (go/net_ooni-probe-cli/ooni-probe-cli-v3.21.1/v3.21.1.zip) = 3886575
+TIMESTAMP = 1721938352
+SHA256 (go/net_ooni-probe-cli/ooni-probe-cli-v3.22.0/v3.22.0.mod) = c87253b61d77580590a6f148e55e5123a03ce48dacf519e052743b93f89262d0
+SIZE (go/net_ooni-probe-cli/ooni-probe-cli-v3.22.0/v3.22.0.mod) = 7394
+SHA256 (go/net_ooni-probe-cli/ooni-probe-cli-v3.22.0/v3.22.0.zip) = 3808b7c0abd34c04f5ec409a4126109b9cc06740794db0f809eaa933b58f7ec5
+SIZE (go/net_ooni-probe-cli/ooni-probe-cli-v3.22.0/v3.22.0.zip) = 3288757
diff --git a/net/ooni-probe-cli/files/patch-internal_netxlite_getaddrinfo__cgo.go b/net/ooni-probe-cli/files/patch-internal_netxlite_getaddrinfo__cgo.go
new file mode 100644
index 000000000000..8ea2f1b8f21f
--- /dev/null
+++ b/net/ooni-probe-cli/files/patch-internal_netxlite_getaddrinfo__cgo.go
@@ -0,0 +1,10 @@
+--- internal/netxlite/getaddrinfo_cgo.go.orig 1979-11-30 00:00:00 UTC
++++ internal/netxlite/getaddrinfo_cgo.go
+@@ -9,6 +9,7 @@ package netxlite
+
+ #ifndef _WIN32
+ #include <netdb.h> // for getaddrinfo
++#include <sys/socket.h>
+ #else
+ #include <ws2tcpip.h> // for getaddrinfo
+ #endif