From nobody Sat Mar 19 13:53:47 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0C6141A14328; Sat, 19 Mar 2022 13:53:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KLMmW6tBPz3FMP; Sat, 19 Mar 2022 13:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647698028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BVkusd1E+vg169IeRt2M2iz9EjKQS7hnbStFNoRa3c0=; b=Ys06HRbPogzKOFWuF7hpZPu7Kcqo6ZkqaFFAXl7wXRGeFwc3DlMfo+L8xaGfyLuOAr2Zq4 7mILDYsGFdxI9euGhII2DzEKY6phdQvvP92x0Zj9UUmxHmBsvtPHU9ZQoMDefM6b7NkZbN XQYQaPLrQbxkYffqBeAkQDFmgugFnwI1yJwMXpftaD9QHnsfJ5YCvImlD+81WV7pEO5dGX W+DW5iLmA2KAWyFBmR3Hyz5TeFcqK1Ju+oI69Hxz/pnAi4B+Ix9IJGLYKjo/VoucKoKeUE HmjEZ6a5CXse2+kLobmhahkTZAz7huG46b52D83g57zBy8MFMM3aUHCo2oPqJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C86AF149F4; Sat, 19 Mar 2022 13:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22JDrlCJ080987; Sat, 19 Mar 2022 13:53:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22JDrlTp080986; Sat, 19 Mar 2022 13:53:47 GMT (envelope-from git) Date: Sat, 19 Mar 2022 13:53:47 GMT Message-Id: <202203191353.22JDrlTp080986@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 7f26584d0ed8 - main - www/chromium: unbreak DEBUG build and update space requirements List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7f26584d0ed82325f0da45cee69609322e44d118 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647698028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BVkusd1E+vg169IeRt2M2iz9EjKQS7hnbStFNoRa3c0=; b=MdABNjfF2aZ8N+Sh0kVwDCH+MdVJoE8n452/1v/4Wr9I8xel19W/NJNrBiYTFhbrTqQK5a d26zWQIwtnhG1h+ZdDesgRP4OYFKxee3DQk7i2PD8oXtfW0yVyrFlUYHrFojIdplm7u2kk Et3hhRbpUQ51Q0D0yJMpOXDJiCpC5NfV8w3jUiQLOgborwdjHisO7rovHvaTgeL4VI1GlD wLfRI5SchnclqzBj8qSPX6GVkJ1+34d1e0VivcwIP+I19wJkXzWNQCe7vZJn4QRbFd30Nx iVF/+2bVyjCZfEDGP9SG1HEQrLgjWnnXk8IFxP8dgk1XWSGZH+ax3gRsmMagLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647698028; a=rsa-sha256; cv=none; b=iZvgfB8V3RU6EPZscAx8nRw7BE6s2YLbCi27/r+985z012ae7Uc+xxvlZTozaA6GoYcLzi Z5Jfhz/r7F16olWLOTF/zYJilhqTm8m1pabS7vHtw3ZU2p9o3YKEhNdd9dvK+pA9QQsHEG gI0JBUt6qeQGamZ5+0xyq2h0blTKSzQAXOTELam9pkgtw9P4JX02KYcERnpT9FxUnHBuC/ ZjICS5CGXXtn40TMhlFTAqsTAkpMxynvO0EQcBjv4P6dyNU1Zqp3sbOrrXktQJwusZ6LCZ kp4eBzB3yJiSZlk+9qK0farNPbpO1WFPDlX6q/3/Q5RvxJIZbm8MCFeNIjQrsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f26584d0ed82325f0da45cee69609322e44d118 commit 7f26584d0ed82325f0da45cee69609322e44d118 Author: Robert Nagy AuthorDate: 2022-03-19 13:53:06 +0000 Commit: Rene Ladan CommitDate: 2022-03-19 13:53:37 +0000 www/chromium: unbreak DEBUG build and update space requirements --- www/chromium/Makefile | 4 ++-- www/chromium/files/patch-net_BUILD.gn | 26 ++++++++++++++-------- ...rvices_network_network__sandbox__hook__linux.cc | 14 +++++++++--- 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 9708df9d5c33..26ecb4f7eb36 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -159,13 +159,13 @@ DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ - WANTSPACE="13 GB" + WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ - WANTSPACE="6.5 GB" + WANTSPACE="14 GB" DRIVER_MAKE_ARGS= chromedriver diff --git a/www/chromium/files/patch-net_BUILD.gn b/www/chromium/files/patch-net_BUILD.gn index b3348e6ae0ec..3d26c0584d04 100644 --- a/www/chromium/files/patch-net_BUILD.gn +++ b/www/chromium/files/patch-net_BUILD.gn @@ -1,4 +1,4 @@ ---- net/BUILD.gn.orig 2022-03-16 08:38:25 UTC +--- net/BUILD.gn.orig 2022-03-19 12:56:15 UTC +++ net/BUILD.gn @@ -100,7 +100,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", @@ -9,7 +9,15 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1215,6 +1215,15 @@ component("net") { +@@ -1087,6 +1087,7 @@ component("net") { + "//net/dns:mdns_client", + "//net/dns/public", + "//net/third_party/quiche", ++ "//sandbox/policy", + ] + + allow_circular_includes_from = [ +@@ -1215,6 +1216,15 @@ component("net") { ] } @@ -25,7 +33,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1347,7 +1356,7 @@ component("net") { +@@ -1347,7 +1357,7 @@ component("net") { } } @@ -34,7 +42,7 @@ sources += [ "base/network_change_notifier_posix.cc", "base/network_change_notifier_posix.h", -@@ -1380,7 +1389,7 @@ component("net") { +@@ -1380,7 +1390,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. @@ -43,7 +51,7 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2451,7 +2460,7 @@ if (is_linux || is_chromeos || is_mac) { +@@ -2451,7 +2461,7 @@ if (is_linux || is_chromeos || is_mac) { } } @@ -52,7 +60,7 @@ static_library("epoll_server") { sources = [ "tools/epoll_server/platform/impl/epoll_bug_impl.h", -@@ -4445,7 +4454,7 @@ test("net_unittests") { +@@ -4445,7 +4455,7 @@ test("net_unittests") { ] } @@ -61,7 +69,7 @@ sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -4519,6 +4528,10 @@ test("net_unittests") { +@@ -4519,6 +4529,10 @@ test("net_unittests") { "//url:buildflags", ] @@ -72,7 +80,7 @@ allow_circular_includes_from = [ "//net/third_party/quiche:quiche_tests" ] if (enable_websockets) { -@@ -4566,7 +4579,7 @@ test("net_unittests") { +@@ -4566,7 +4580,7 @@ test("net_unittests") { ] } @@ -81,7 +89,7 @@ sources += [ "quic/platform/impl/quic_epoll_clock_test.cc", "quic/platform/impl/quic_flags_test.cc", -@@ -4712,7 +4725,7 @@ test("net_unittests") { +@@ -4712,7 +4726,7 @@ test("net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. diff --git a/www/chromium/files/patch-services_network_network__sandbox__hook__linux.cc b/www/chromium/files/patch-services_network_network__sandbox__hook__linux.cc index d5deac2ffc7d..8aec4c470be5 100644 --- a/www/chromium/files/patch-services_network_network__sandbox__hook__linux.cc +++ b/www/chromium/files/patch-services_network_network__sandbox__hook__linux.cc @@ -1,14 +1,22 @@ ---- services/network/network_sandbox_hook_linux.cc.orig 2022-02-07 13:39:41 UTC +--- services/network/network_sandbox_hook_linux.cc.orig 2022-03-19 12:56:15 UTC +++ services/network/network_sandbox_hook_linux.cc -@@ -32,6 +32,7 @@ std::vector GetNetworkFilePermis +@@ -26,12 +26,15 @@ sandbox::syscall_broker::BrokerCommandSet GetNetworkBr + }); } ++#if !defined(OS_BSD) + std::vector GetNetworkFilePermissions() { + // TODO(tsepez): remove universal permission under filesystem root. + return {BrokerFilePermission::ReadWriteCreateRecursive("/")}; + } ++#endif + bool NetworkPreSandboxHook(sandbox::policy::SandboxLinux::Options options) { +#if !defined(OS_BSD) auto* instance = sandbox::policy::SandboxLinux::GetInstance(); instance->StartBrokerProcess( -@@ -39,6 +40,7 @@ bool NetworkPreSandboxHook(sandbox::policy::SandboxLin +@@ -39,6 +42,7 @@ bool NetworkPreSandboxHook(sandbox::policy::SandboxLin sandbox::policy::SandboxLinux::PreSandboxHook(), options); instance->EngageNamespaceSandboxIfPossible();