git: e4214d6e826d - 2022Q2 - www/chromium: update to 100.0.4896.127

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Fri, 15 Apr 2022 19:40:23 UTC
The branch 2022Q2 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4214d6e826d04d3082852bc39ed6bc5fc1f542a

commit e4214d6e826d04d3082852bc39ed6bc5fc1f542a
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-04-15 19:00:51 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-04-15 19:40:00 +0000

    www/chromium: update to 100.0.4896.127
    
    While here, set SO_REUSEPORT on UDP multicast and broadcast sockets
    
    Security:       a25ea27b-bced-11ec-87b5-3065ec8fd3ec
    (cherry picked from commit f2cfce95113949cf26c7c2bd7cbe7a58fd16a891)
---
 www/chromium/Makefile                                     |  2 +-
 www/chromium/distinfo                                     | 10 +++++-----
 www/chromium/files/patch-net_socket_udp__socket__posix.cc | 11 ++++++++++-
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 354316b609b2..cf4fefea675c 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,7 +1,7 @@
 # Created by: Florent Thoumie <flz@FreeBSD.org>
 
 PORTNAME=	chromium
-PORTVERSION=	100.0.4896.88
+PORTVERSION=	100.0.4896.127
 CATEGORIES=	www
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
 		https://nerd.hu/distfiles/:fonts
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 7f1b05af008d..cacd334731d5 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1649753574
-SHA256 (chromium-100.0.4896.88.tar.xz) = c5a5708678f30679a1181f89401c966cb335799926a5e4dc7f52e7194847c250
-SIZE (chromium-100.0.4896.88.tar.xz) = 1358219840
-SHA256 (chromium-100.0.4896.88-testdata.tar.xz) = bf5fb59666afe830e86d951089db94f2850b6dd39151636f0e9c94c0a644c756
-SIZE (chromium-100.0.4896.88-testdata.tar.xz) = 259985168
+TIMESTAMP = 1650025280
+SHA256 (chromium-100.0.4896.127.tar.xz) = 4710e3453c972c91e68a21f6b0b76ba73d4d617f299a5208615ed6e41b1af84d
+SIZE (chromium-100.0.4896.127.tar.xz) = 1358426108
+SHA256 (chromium-100.0.4896.127-testdata.tar.xz) = ad2d659c4850d9e48b298f192261c795be67e1393a3aecc42c062e6b751ca6a9
+SIZE (chromium-100.0.4896.127-testdata.tar.xz) = 260013080
 SHA256 (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
 SIZE (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = 26759650
diff --git a/www/chromium/files/patch-net_socket_udp__socket__posix.cc b/www/chromium/files/patch-net_socket_udp__socket__posix.cc
index 8f4d7d71c0c7..e17e93b8a863 100644
--- a/www/chromium/files/patch-net_socket_udp__socket__posix.cc
+++ b/www/chromium/files/patch-net_socket_udp__socket__posix.cc
@@ -1,4 +1,4 @@
---- net/socket/udp_socket_posix.cc.orig	2022-03-25 21:59:56 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.