From owner-svn-ports-all@freebsd.org Sat Jan 12 10:18:45 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A167E148DC6B; Sat, 12 Jan 2019 10:18:45 +0000 (UTC) (envelope-from cpm@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43A9A81490; Sat, 12 Jan 2019 10:18:45 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 31F021D40; Sat, 12 Jan 2019 10:18:45 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0CAIjoX027322; Sat, 12 Jan 2019 10:18:45 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0CAIiiq027317; Sat, 12 Jan 2019 10:18:44 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201901121018.x0CAIiiq027317@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sat, 12 Jan 2019 10:18:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r490040 - in branches/2019Q1/www/chromium: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in branches/2019Q1/www/chromium: . files X-SVN-Commit-Revision: 490040 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 43A9A81490 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2019 10:18:46 -0000 Author: cpm Date: Sat Jan 12 10:18:43 2019 New Revision: 490040 URL: https://svnweb.freebsd.org/changeset/ports/490040 Log: MFH: r490035 - Fix debug build - Add missing patch in r489897 - Drop unnecessary patch - Bump PORTREVISION Approved by: ports-secteam (miwi) Added: branches/2019Q1/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc - copied unchanged from r490035, head/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc Deleted: branches/2019Q1/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc Modified: branches/2019Q1/www/chromium/Makefile branches/2019Q1/www/chromium/files/patch-content_gpu_gpu_sandbox_hook_linux.cc branches/2019Q1/www/chromium/files/patch-extensions_shell_app_shell_main_delegate.cc branches/2019Q1/www/chromium/pkg-plist Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/www/chromium/Makefile ============================================================================== --- branches/2019Q1/www/chromium/Makefile Sat Jan 12 09:52:54 2019 (r490039) +++ branches/2019Q1/www/chromium/Makefile Sat Jan 12 10:18:43 2019 (r490040) @@ -3,7 +3,7 @@ PORTNAME= chromium PORTVERSION= 71.0.3578.98 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= www MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/cpm/chromium/:fonts Modified: branches/2019Q1/www/chromium/files/patch-content_gpu_gpu_sandbox_hook_linux.cc ============================================================================== --- branches/2019Q1/www/chromium/files/patch-content_gpu_gpu_sandbox_hook_linux.cc Sat Jan 12 09:52:54 2019 (r490039) +++ branches/2019Q1/www/chromium/files/patch-content_gpu_gpu_sandbox_hook_linux.cc Sat Jan 12 10:18:43 2019 (r490040) @@ -1,11 +1,58 @@ ---- content/gpu/gpu_sandbox_hook_linux.cc.orig 2018-03-03 20:54:40.697792000 +0100 -+++ content/gpu/gpu_sandbox_hook_linux.cc 2018-03-03 20:54:56.999743000 +0100 -@@ -95,7 +95,7 @@ +--- content/gpu/gpu_sandbox_hook_linux.cc.orig 2018-12-12 22:56:07.000000000 +0100 ++++ content/gpu/gpu_sandbox_hook_linux.cc 2019-01-11 16:30:27.925996000 +0100 +@@ -95,8 +95,9 @@ + "/usr/lib/libv4l/plugins/libv4l-encplugin.so"; #endif - } - + -constexpr int dlopen_flag = RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE; +constexpr int dlopen_flag = RTLD_NOW | RTLD_GLOBAL; - + ++#if !defined(OS_BSD) void AddV4L2GpuWhitelist( std::vector* permissions, + const service_manager::SandboxSeccompBPF::Options& options) { +@@ -265,8 +266,10 @@ + AddStandardGpuWhiteList(&permissions); + return permissions; + } ++#endif + + void LoadArmGpuLibraries() { ++#if !defined(OS_BSD) + // Preload the Mali library. + if (UseChromecastSandboxWhitelist()) { + for (const char* path : kWhitelistedChromecastPaths) { +@@ -281,6 +284,7 @@ + // Preload the Tegra V4L2 (video decode acceleration) library. + dlopen(kLibTegraPath, dlopen_flag); + } ++#endif + } + + bool LoadAmdGpuLibraries() { +@@ -336,6 +340,7 @@ + return true; + } + ++#if !defined(OS_BSD) + sandbox::syscall_broker::BrokerCommandSet CommandSetForGPU( + const service_manager::SandboxLinux::Options& options) { + sandbox::syscall_broker::BrokerCommandSet command_set; +@@ -356,13 +361,17 @@ + service_manager::SetProcessTitleFromCommandLine(nullptr); + return true; + } ++#endif + + } // namespace + + bool GpuProcessPreSandboxHook(service_manager::SandboxLinux::Options options) { ++ NOTIMPLEMENTED(); ++#if !defined(OS_BSD) + service_manager::SandboxLinux::GetInstance()->StartBrokerProcess( + CommandSetForGPU(options), FilePermissionsForGpu(options), + base::BindOnce(BrokerProcessPreSandboxHook), options); ++#endif + + if (!LoadLibrariesForGpu(options)) + return false; Copied: branches/2019Q1/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc (from r490035, head/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q1/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc Sat Jan 12 10:18:43 2019 (r490040, copy of r490035, head/www/chromium/files/patch-extensions_browser_browser_context_keyed_service_factories.cc) @@ -0,0 +1,11 @@ +--- extensions/browser/browser_context_keyed_service_factories.cc.orig 2019-01-11 19:03:59.864185000 +0100 ++++ extensions/browser/browser_context_keyed_service_factories.cc 2019-01-11 19:04:22.204588000 +0100 +@@ -85,7 +85,7 @@ + #if defined(OS_CHROMEOS) + NetworkingConfigServiceFactory::GetInstance(); + #endif +-#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_MACOSX) ++#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_BSD) + NetworkingPrivateEventRouterFactory::GetInstance(); + #endif + PowerAPI::GetFactoryInstance(); Modified: branches/2019Q1/www/chromium/files/patch-extensions_shell_app_shell_main_delegate.cc ============================================================================== --- branches/2019Q1/www/chromium/files/patch-extensions_shell_app_shell_main_delegate.cc Sat Jan 12 09:52:54 2019 (r490039) +++ branches/2019Q1/www/chromium/files/patch-extensions_shell_app_shell_main_delegate.cc Sat Jan 12 10:18:43 2019 (r490040) @@ -1,6 +1,6 @@ ---- extensions/shell/app/shell_main_delegate.cc.orig 2019-01-09 22:03:40.116892000 +0100 -+++ extensions/shell/app/shell_main_delegate.cc 2019-01-09 22:04:39.261286000 +0100 -@@ -38,13 +38,13 @@ +--- extensions/shell/app/shell_main_delegate.cc.orig 2019-01-11 19:10:53.125547000 +0100 ++++ extensions/shell/app/shell_main_delegate.cc 2019-01-11 19:11:57.764029000 +0100 +@@ -38,7 +38,7 @@ #if defined(OS_WIN) #include "base/base_paths_win.h" @@ -9,13 +9,15 @@ #include "base/nix/xdg_util.h" #elif defined(OS_MACOSX) #include "base/base_paths_mac.h" - #endif +@@ -52,7 +52,7 @@ + namespace { + -#if defined(OS_LINUX) && !defined(OS_CHROMEOS) +#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) - #include "components/crash/content/app/breakpad_linux.h" // nogncheck - #include "components/crash/content/app/crash_reporter_client.h" // nogncheck - #include "extensions/shell/app/shell_crash_reporter_client.h" + extensions::ShellCrashReporterClient* GetCrashReporterClient() { + static base::NoDestructor instance; + return instance.get(); @@ -70,7 +70,7 @@ return cmd_line->GetSwitchValuePath(switches::kContentShellDataPath); Modified: branches/2019Q1/www/chromium/pkg-plist ============================================================================== --- branches/2019Q1/www/chromium/pkg-plist Sat Jan 12 09:52:54 2019 (r490039) +++ branches/2019Q1/www/chromium/pkg-plist Sat Jan 12 10:18:43 2019 (r490040) @@ -317,8 +317,6 @@ bin/chrome %%DATADIR%%/v8_context_snapshot.bin %%DATADIR%%/views_mus_resources.pak %%DEBUG%%%%DATADIR%%/character_data_generator -%%DEBUG%%%%DATADIR%%/libmalloc_wrapper.so -%%DEBUG%%%%DATADIR%%/libtest_shared_library.so %%DEBUG%%%%DATADIR%%/libVkICD_mock_icd.so %%DEBUG%%%%DATADIR%%/libVkLayer_core_validation.so %%DEBUG%%%%DATADIR%%/libVkLayer_object_tracker.so