git: 234a1c965aa5 - 2022Q2 - www/iridium: set SO_REUSEPORT on UDP multicast and broadcast sockets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Apr 2022 19:40:22 UTC
The branch 2022Q2 has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=234a1c965aa554ccfb18c1f641fda37ea6af354f
commit 234a1c965aa554ccfb18c1f641fda37ea6af354f
Author: Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-04-15 18:43:13 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-04-15 19:39:18 +0000
www/iridium: set SO_REUSEPORT on UDP multicast and broadcast sockets
(cherry picked from commit 14203704214f2ce60b5d95e39692560dd75d5e4f)
---
www/iridium/Makefile | 2 +-
www/iridium/files/patch-net_socket_udp__socket__posix.cc | 11 ++++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/www/iridium/Makefile b/www/iridium/Makefile
index 8a967eda3c38..2eb66e96b234 100644
--- a/www/iridium/Makefile
+++ b/www/iridium/Makefile
@@ -1,6 +1,6 @@
PORTNAME= iridium
PORTVERSION= 2022.04.100.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://downloads.iridiumbrowser.de/source/
PKGNAMESUFFIX= -browser
diff --git a/www/iridium/files/patch-net_socket_udp__socket__posix.cc b/www/iridium/files/patch-net_socket_udp__socket__posix.cc
index bb2585fc51db..e17e93b8a863 100644
--- a/www/iridium/files/patch-net_socket_udp__socket__posix.cc
+++ b/www/iridium/files/patch-net_socket_udp__socket__posix.cc
@@ -1,4 +1,4 @@
---- net/socket/udp_socket_posix.cc.orig 2022-04-01 07:48:30 UTC
+--- net/socket/udp_socket_posix.cc.orig 2022-04-15 05:34:28 UTC
+++ net/socket/udp_socket_posix.cc
@@ -574,7 +574,7 @@ int UDPSocketPosix::SetDoNotFragment() {
}
@@ -9,3 +9,12 @@
if (confirm) {
sendto_flags_ |= MSG_CONFIRM;
} else {
+@@ -595,7 +595,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) {
+ DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
+ int value = broadcast ? 1 : 0;
+ int rv;
+-#if BUILDFLAG(IS_APPLE)
++#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+ // SO_REUSEPORT on OSX permits multiple processes to each receive
+ // UDP multicast or broadcast datagrams destined for the bound
+ // port.