Received: by mail.netbsd.org (Postfix, from userid 605) id 18E4684D6F; Fri, 15 Oct 2021 13:00:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 500DA84D6B for ; Fri, 15 Oct 2021 13:00:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id hulGaE5uEfVW for ; Fri, 15 Oct 2021 13:00:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0D3B184D2F for ; Fri, 15 Oct 2021 13:00:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 063DCFA90; Fri, 15 Oct 2021 13:00:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1634302805175290" MIME-Version: 1.0 Date: Fri, 15 Oct 2021 13:00:05 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/www/firefox To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20211015130006.063DCFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1634302805175290 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Fri Oct 15 13:00:05 UTC 2021 Modified Files: pkgsrc/www/firefox: Makefile distinfo pkgsrc/www/firefox/files: node-wrapper.sh pkgsrc/www/firefox/patches: patch-gfx_thebes_gfxPlatform.cpp Added Files: pkgsrc/www/firefox/patches: patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc Removed Files: pkgsrc/www/firefox/patches: patch-js_src_jsfriendapi.h Log Message: firefox: Update to 93.0 Changelog: New * Firefox now supports the new AVIF image format, which is based on the modern and royalty free AV1 video codec. It offers significant bandwidth savings for sites compared to existing image formats. It also supports transparency and other advanced features. * Firefox PDF viewer now supports filling more forms (XFA-based forms, used by multiple governments and banks). Learn more. * When available system memory is critically low, Firefox on Windows will automatically unload tabs based on their last access time, memory usage, and other attributes. This should help reduce Firefox out-of-memory crashes. Switching to an unloaded tab automatically reloads it. * To prevent session loss for macOS users who are running Firefox from a mounted .dmg file, they??ll now be prompted to finish installation. This permission prompt only appears the first time these users run Firefox on their computer. * Firefox now blocks downloads that rely on insecure connections, protecting against potentially malicious or unsafe downloads. Learn more and see where to find downloads in Firefox. * Improved web compatibility for privacy protections with SmartBlock 3.0. Learn more * Introducing a new referrer tracking protection in Strict Tracking Protection and Private Browsing. Learn more * Introducing Firefox Suggest, a faster way to navigate the web. Learn more about the experience and locale-specific features. Fixed * The VoiceOver screen reader now correctly reports checkable items in accessible tree controls as checked or unchecked. * The Orca screen reader now works correctly with Firefox, no longer requiring users to switch to another application after starting Firefox. * Various security fixes Changed * TLS ciphersuites that use 3DES have been disabled. Such ciphersuites can only be enabled when deprecated versions of TLS are also enabled. Learn more. * The download panel now follows the Firefox visual styles. Enterprise * Various bug fixes and new policies have been implemented in the latest version of Firefox. See more details in the Firefox for Enterprise 93 Release Notes. Developer * Developer Information Web Platform * The UI for has been implemented. Security fixes: #CVE-2021-38496: Use-after-free in MessageTask #CVE-2021-38497: Validation message could have been overlaid on another origin #CVE-2021-38498: Use-after-free of nsLanguageAtomService object #CVE-2021-32810: Data race in crossbeam-deque #CVE-2021-38500: Memory safety bugs fixed in Firefox 93, Firefox ESR 78.15, and Firefox ESR 91.2 #CVE-2021-38501: Memory safety bugs fixed in Firefox 93 and Firefox ESR 91.2 #CVE-2021-38499: Memory safety bugs fixed in Firefox 93 To generate a diff of this commit: cvs rdiff -u -r1.498 -r1.499 pkgsrc/www/firefox/Makefile cvs rdiff -u -r1.448 -r1.449 pkgsrc/www/firefox/distinfo cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/firefox/files/node-wrapper.sh cvs rdiff -u -r1.7 -r1.8 \ pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp cvs rdiff -u -r1.3 -r0 pkgsrc/www/firefox/patches/patch-js_src_jsfriendapi.h cvs rdiff -u -r0 -r1.1 \ pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1634302805175290 Content-Disposition: inline Content-Length: 8644 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/firefox/Makefile diff -u pkgsrc/www/firefox/Makefile:1.498 pkgsrc/www/firefox/Makefile:1.499 --- pkgsrc/www/firefox/Makefile:1.498 Sat Oct 9 15:35:11 2021 +++ pkgsrc/www/firefox/Makefile Fri Oct 15 13:00:05 2021 @@ -1,18 +1,17 @@ -# $NetBSD: Makefile,v 1.498 2021/10/09 15:35:11 nia Exp $ +# $NetBSD: Makefile,v 1.499 2021/10/15 13:00:05 ryoon Exp $ FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} -MOZ_BRANCH= 92.0 -MOZ_BRANCH_MINOR= .1 +MOZ_BRANCH= 93.0 +MOZ_BRANCH_MINOR= DISTNAME= firefox-${FIREFOX_VER}.source PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} -PKGREVISION= 1 CATEGORIES= www MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} EXTRACT_SUFX= .tar.xz -DISTFILES= ${DEFAULT_DISTFILES} nodejs-output-92.0.tgz -SITES.nodejs-output-92.0.tgz= ${MASTER_SITE_LOCAL} +DISTFILES= ${DEFAULT_DISTFILES} nodejs-output-93.0.tgz +SITES.nodejs-output-93.0.tgz= ${MASTER_SITE_LOCAL} MAINTAINER= ryoon@NetBSD.org HOMEPAGE= https://www.mozilla.org/en-US/firefox/ Index: pkgsrc/www/firefox/distinfo diff -u pkgsrc/www/firefox/distinfo:1.448 pkgsrc/www/firefox/distinfo:1.449 --- pkgsrc/www/firefox/distinfo:1.448 Thu Oct 7 15:07:10 2021 +++ pkgsrc/www/firefox/distinfo Fri Oct 15 13:00:05 2021 @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.448 2021/10/07 15:07:10 nia Exp $ +$NetBSD: distinfo,v 1.449 2021/10/15 13:00:05 ryoon Exp $ -RMD160 (firefox-92.0.1.source.tar.xz) = 5f6fef29db1719e96daf1bc2f04bde7a8ebed6b1 -SHA512 (firefox-92.0.1.source.tar.xz) = 53361c231a4ac93a1808c9ccb29893d85b5e516fe939a770aac7f178abb4f43cbe3571097e5c5bf91b11fd95fc62b61f2aa215a45048357bfc9dad9eabdee9ef -Size (firefox-92.0.1.source.tar.xz) = 383567460 bytes -RMD160 (nodejs-output-92.0.tgz) = bca678f57d7d062b8087abe5189f12801985582f -SHA512 (nodejs-output-92.0.tgz) = 2e83f77667f0a48f494f46d82acc0c8fab8895f146e1be234613ef0a8bbb915570958d1ded416efe8789c7e0a506c6e4e454bf7f37597b0cc538c81d8edb968c -Size (nodejs-output-92.0.tgz) = 200659 bytes +RMD160 (firefox-93.0.source.tar.xz) = 9d04756d461da66d00563eddbeb0a51b800d3489 +SHA512 (firefox-93.0.source.tar.xz) = b29890e331819d47201b599b9feaaa7eaa0b02088fcbf980efc4f289d43da4f73970bf35ba2f763a2a892fd5318deb68cb9a66e71e9bc0c603642434c7e32e91 +Size (firefox-93.0.source.tar.xz) = 382181136 bytes +RMD160 (nodejs-output-93.0.tgz) = 4de3c7411f302153800f979d10c0bd8c057d527a +SHA512 (nodejs-output-93.0.tgz) = fec6958ddb80c22bba58e65530c557993964258baba418e9a03852a683053ca3eec2676000f6e809416dfa5337b7c496f9cda5098ee4b35e6a4f35acdfc65d67 +Size (nodejs-output-93.0.tgz) = 200582 bytes SHA1 (patch-aa) = 15b8567cee2af9853f6949c80345ffcb1fd3852a SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0 SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 @@ -15,14 +15,13 @@ SHA1 (patch-dom_base_nsAttrName.h) = ac7 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad -SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = f6f8996f0818a1b890698c7cc5054d49cb1e8924 +SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = 76c244e4e9f947c027feaf516c9b435dfb92ab2b SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836 SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = fad103cc698f9828ad58f742231984ec2bc27605 SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183 -SHA1 (patch-js_src_jsfriendapi.h) = b5cb687dbbda314fe0f16521c1c042c105c4bbe4 SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47 SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a @@ -34,6 +33,7 @@ SHA1 (patch-media_webrtc_trunk_webrtc_mo SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00 SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0 SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 +SHA1 (patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc) = 5b0ccc4e8a66be37b2fe3ae30b47c40edb6aa831 SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3 SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12 SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662 Index: pkgsrc/www/firefox/files/node-wrapper.sh diff -u pkgsrc/www/firefox/files/node-wrapper.sh:1.3 pkgsrc/www/firefox/files/node-wrapper.sh:1.4 --- pkgsrc/www/firefox/files/node-wrapper.sh:1.3 Fri Aug 13 14:57:52 2021 +++ pkgsrc/www/firefox/files/node-wrapper.sh Fri Oct 15 13:00:05 2021 @@ -1,6 +1,6 @@ #! /bin/sh -VERS=v14.17.4 +VERS=v14.18.0 if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then printf "${VERS}\n" Index: pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp diff -u pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp:1.7 pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp:1.8 --- pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp:1.7 Sun Jun 14 18:42:19 2020 +++ pkgsrc/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp Fri Oct 15 13:00:05 2021 @@ -1,13 +1,13 @@ -$NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.7 2020/06/14 18:42:19 maya Exp $ +$NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.8 2021/10/15 13:00:05 ryoon Exp $ Don't rely on CrossProcessSemaphore on NetBSD. It has some implementation issues that cause issues (kern/55386, not available on NetBSD<9) This idea is borrowed from macOS which has the same limitation. ---- gfx/thebes/gfxPlatform.cpp.orig 2020-06-03 01:04:50.000000000 +0000 +--- gfx/thebes/gfxPlatform.cpp.orig 2021-09-23 21:25:31.000000000 +0000 +++ gfx/thebes/gfxPlatform.cpp -@@ -2922,6 +2922,10 @@ bool gfxPlatform::UsesOffMainThreadCompo +@@ -2793,7 +2793,12 @@ bool gfxPlatform::UsesOffMainThreadCompo } bool gfxPlatform::UsesTiling() const { @@ -15,14 +15,8 @@ This idea is borrowed from macOS which h + // Avoid relying on CrossProcessSemaphore + return true; +#else - bool usesSkia = GetDefaultContentBackend() == BackendType::SKIA; - - // We can't just test whether the PaintThread is initialized here because -@@ -2934,6 +2938,7 @@ bool gfxPlatform::UsesTiling() const { - return StaticPrefs::layers_enable_tiles_AtStartup() || - (StaticPrefs::layers_enable_tiles_if_skia_pomtp_AtStartup() && - usesSkia && usesPOMTP); + return StaticPrefs::layers_enable_tiles_AtStartup(); +#endif } - bool gfxPlatform::ContentUsesTiling() const { + /*** Added files: Index: pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc diff -u /dev/null pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc:1.1 --- /dev/null Fri Oct 15 13:00:05 2021 +++ pkgsrc/www/firefox/patches/patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc Fri Oct 15 13:00:05 2021 @@ -0,0 +1,15 @@ +$NetBSD: patch-third__party_libwebrtc_webrtc_modules_audio__processing_echo__detector_mean__variance__estimator.cc,v 1.1 2021/10/15 13:00:05 ryoon Exp $ + +--- third_party/libwebrtc/webrtc/modules/audio_processing/echo_detector/mean_variance_estimator.cc.orig 2021-09-23 21:25:41.000000000 +0000 ++++ third_party/libwebrtc/webrtc/modules/audio_processing/echo_detector/mean_variance_estimator.cc +@@ -26,8 +26,8 @@ void MeanVarianceEstimator::Update(float + mean_ = (1.f - kAlpha) * mean_ + kAlpha * value; + variance_ = + (1.f - kAlpha) * variance_ + kAlpha * (value - mean_) * (value - mean_); +- RTC_DCHECK(isfinite(mean_)); +- RTC_DCHECK(isfinite(variance_)); ++ RTC_DCHECK(std::isfinite(mean_)); ++ RTC_DCHECK(std::isfinite(variance_)); + } + + float MeanVarianceEstimator::std_deviation() const { --_----------=_1634302805175290--