pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Updatet to 103.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8aff172d686
branches:  trunk
changeset: 382711:e8aff172d686
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Aug 03 17:09:26 2022 +0000

description:
firefox: Updatet to 103.0.1

Changelog:
103.0.1:
New
  * Enabled hardware acceleration on newer AMD cards.

Fixed
  * Fixed a crash on Firefox shutdown caused by a bug in the audio manager.


103.0:
New
  * Improved responsiveness on macOS during periods of high CPU load by
    switching to a modern lock API.

  * Do you always forget something? Required fields are now highlighted in PDF
    forms.

  * Improved performance on high-refresh rate monitors (120Hz+).

  * Enjoying Picture-in-Picture subtitles feature? It just got better: you can
    now change subtitles font size directly from the PiP window. Additionally,
    PiP subtitles are now available at Funimation, Dailymotion, Tubi, Hotstar,
    and SonyLIV.

  * Buttons in the Tabs toolbar can now be reached with Tab, Shift+Tab, and
    Arrow keys. View this article for additional details.

  * Windows' "Make text bigger" accessibility setting now affects all the UI
    and content pages, rather than only applying to system font sizes.

  * Rejoice! You can now conveniently access Firefox, which will now be pinned
    to the Windows taskbar during installation on Windows 10 and 11. (This will
    also allow for Firefox to be launched quicker after installing.)

Fixed
  * Non-breaking spaces are now preserved --- preventing automatic line
    breaks --- when copying text from a form control.

  * Fixed WebGL performance issues on NVIDIA binary drivers via DMA-Buf on
    Linux.

  * Fixed an issue in which Firefox startup could be significantly slowed down
    by the processing of Web content local storage. This had the greatest
    impact on users with platter hard drives and significant local storage.

  * Various security fixes.

Changed
  * Removed a configuration option to allow SHA-1 signatures in certificates:
    SHA-1 signatures in certificates --- long since determined to no longer be
    secure enough --- are now not supported.

Security fixes:
#CVE-2022-36319: Mouse Position spoofing with CSS transforms
#CVE-2022-36318: Directory indexes for bundled resources reflected URL
 parameters
#CVE-2022-36314: Opening local <code>.lnk</code> files could cause unexpected
 network loads
#CVE-2022-36315: Preload Cache Bypasses Subresource Integrity
#CVE-2022-36316: Performance API leaked whether a cross-site resource is
 redirecting
#CVE-2022-2505: Memory safety bugs fixed in Firefox 103 and 102.1

diffstat:

 www/firefox/Makefile                     |      5 +-
 www/firefox/distinfo                     |     10 +-
 www/firefox/mozilla-common.mk            |      6 +-
 www/firefox/patches/patch-libwebrtc.diff |  19633 ++++++++++++----------------
 4 files changed, 8372 insertions(+), 11282 deletions(-)

diffs (truncated from 24290 to 300 lines):

diff -r 51fe36030fac -r e8aff172d686 www/firefox/Makefile
--- a/www/firefox/Makefile      Wed Aug 03 16:31:48 2022 +0000
+++ b/www/firefox/Makefile      Wed Aug 03 17:09:26 2022 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.530 2022/07/25 01:01:54 tnn Exp $
+# $NetBSD: Makefile,v 1.531 2022/08/03 17:09:26 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH=            102.0
+MOZ_BRANCH=            103.0
 MOZ_BRANCH_MINOR=      .1
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
-PKGREVISION=   3
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
diff -r 51fe36030fac -r e8aff172d686 www/firefox/distinfo
--- a/www/firefox/distinfo      Wed Aug 03 16:31:48 2022 +0000
+++ b/www/firefox/distinfo      Wed Aug 03 17:09:26 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.477 2022/07/24 16:33:09 rjs Exp $
+$NetBSD: distinfo,v 1.478 2022/08/03 17:09:26 ryoon Exp $
 
-BLAKE2s (firefox-102.0.1.source.tar.xz) = 43e2f34c0e39d1a3d3d341e55d474a9e5551865ace57f9f0fd1d7eb16676ef64
-SHA512 (firefox-102.0.1.source.tar.xz) = a930d359fb81e473b963a93f6db5110871e9fd57f6d0f352513047d363d930dd4811e8dd786c2f6f3541c3871eb1c0169b718652d9ee076fd13a20f52af30417
-Size (firefox-102.0.1.source.tar.xz) = 477609884 bytes
+BLAKE2s (firefox-103.0.1.source.tar.xz) = 5128a952e6957b1b808dd5c513848706937e6943639d64ac6856858ae8564cb1
+SHA512 (firefox-103.0.1.source.tar.xz) = cb487e1d5d602e6b07093b5e722c4e70b9bf39f42c13c25642f263f90f9d3940d02e6fdbab9e8f41b66a50f81d70300acf81c222f08a26eed3ae55777fdc6303
+Size (firefox-103.0.1.source.tar.xz) = 480380068 bytes
 BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9
 SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798
 Size (nodejs-output-95.0.tgz) = 200627 bytes
@@ -23,7 +23,7 @@
 SHA1 (patch-js_src_jit_arm64_vixl_MozCpu-vixl.cpp) = fdc522e3fb626b1b8a2ebf19ad60bfc25dfa4183
 SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba
 SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 0501fdcae11568ae4ea78e0d2f6b3750b7a67d47
-SHA1 (patch-libwebrtc.diff) = 74e110546874446cad066a15614af5e96e1f7fe8
+SHA1 (patch-libwebrtc.diff) = e007fe7dd2fd16e7d0ac4a35f9a006db4e24eb7e
 SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a
 SHA1 (patch-media_libcubeb_src_cubeb__alsa.c) = 2ef11da83c90c41490db4c0d9809c3e1826b488a
 SHA1 (patch-media_libcubeb_src_cubeb__jack.cpp) = fc546c5e6582fd5eda64ba83287dfbbb3c9e229f
diff -r 51fe36030fac -r e8aff172d686 www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Wed Aug 03 16:31:48 2022 +0000
+++ b/www/firefox/mozilla-common.mk     Wed Aug 03 17:09:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.235 2022/07/17 08:08:56 wiz Exp $
+# $NetBSD: mozilla-common.mk,v 1.236 2022/08/03 17:09:26 ryoon Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -20,7 +20,7 @@
 # ERROR: Only GCC 7.1 or newer is supported (found version 5.5.0).
 GCC_REQD+=             7
 
-TOOL_DEPENDS+=         cbindgen>=0.23.0:../../devel/cbindgen
+TOOL_DEPENDS+=         cbindgen>=0.24.3:../../devel/cbindgen
 
 .if defined(FIREFOX_MAINTAINER) && !defined(MAINTAINER_INTERNAL)
 TOOL_DEPENDS+=         nodejs-[0-9]*:../../lang/nodejs
@@ -199,7 +199,7 @@
 BUILDLINK_API_DEPENDS.nspr+=   nspr>=4.34
 .include "../../devel/nspr/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
-BUILDLINK_API_DEPENDS.nss+=    nss>=3.79
+BUILDLINK_API_DEPENDS.nss+=    nss>=3.80
 .include "../../devel/nss/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 #.include "../../mk/jpeg.buildlink3.mk"
diff -r 51fe36030fac -r e8aff172d686 www/firefox/patches/patch-libwebrtc.diff
--- a/www/firefox/patches/patch-libwebrtc.diff  Wed Aug 03 16:31:48 2022 +0000
+++ b/www/firefox/patches/patch-libwebrtc.diff  Wed Aug 03 17:09:26 2022 +0000
@@ -1,49 +1,42 @@
-$NetBSD: patch-libwebrtc.diff,v 1.6 2022/07/24 16:33:09 rjs Exp $
+$NetBSD: patch-libwebrtc.diff,v 1.7 2022/08/03 17:09:26 ryoon Exp $
+
+Generated by scripts in http://ftp.netbsd.org/pub/NetBSD/misc/ryoon/firefox-103.0-create-libwebrtc.diff and modified by hand.
 
-diff -ur firefox-102.0.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-102.0/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
---- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build  2022-06-17 06:35:29.000000000 +0900
-_+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build 2022-06-23 07:13:54.673949403 +0900
-@@ -67,14 +67,17 @@
-     DEFINES["__STDC_CONSTANT_MACROS"] = True
-     DEFINES["__STDC_FORMAT_MACROS"] = True
- 
--if CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
- 
-     DEFINES["USE_AURA"] = "1"
-     DEFINES["USE_GLIB"] = "1"
-     DEFINES["USE_NSS_CERTS"] = "1"
-     DEFINES["USE_OZONE"] = "1"
-     DEFINES["USE_UDEV"] = True
--    DEFINES["WEBRTC_LINUX"] = True
-+    if CONFIG["OS_TARGET"] == "Linux":
-+        DEFINES["WEBRTC_LINUX"] = True
-+    else:
-+        DEFINES["WEBRTC_BSD"] = True
-     DEFINES["WEBRTC_POSIX"] = True
-     DEFINES["_FILE_OFFSET_BITS"] = "64"
-     DEFINES["_GNU_SOURCE"] = True
-@@ -153,7 +156,7 @@
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
-+if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
-@@ -169,7 +172,7 @@
- 
-     DEFINES["_DEBUG"] = True
- 
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_DEBUG"] = True
- 
-@@ -201,4 +204,13 @@
-         "-msse2"
-     ]
+diff -ur firefox-103.0.orig/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build firefox-103.0/third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
+--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build  2022-07-19 03:44:36.000000000 +0900
++++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build  2022-07-26 23:57:28.491578328 +0900
+@@ -67,14 +67,17 @@
+     DEFINES["__STDC_CONSTANT_MACROS"] = True
+     DEFINES["__STDC_FORMAT_MACROS"] = True
+ 
+-if CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
+ 
+     DEFINES["USE_AURA"] = "1"
+     DEFINES["USE_GLIB"] = "1"
+     DEFINES["USE_NSS_CERTS"] = "1"
+     DEFINES["USE_OZONE"] = "1"
+     DEFINES["USE_UDEV"] = True
+-    DEFINES["WEBRTC_LINUX"] = True
++    if CONFIG["OS_TARGET"] == "Linux":
++        DEFINES["WEBRTC_LINUX"] = True
++    else:
++        DEFINES["WEBRTC_BSD"] = True
+     DEFINES["WEBRTC_POSIX"] = True
+     DEFINES["_FILE_OFFSET_BITS"] = "64"
+     DEFINES["_LARGEFILE64_SOURCE"] = True
+@@ -147,7 +150,7 @@
+ 
+     DEFINES["_DEBUG"] = True
+ 
+-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_DEBUG"] = True
+ 
+@@ -200,4 +203,13 @@
+ 
+     DEFINES["_GNU_SOURCE"] = True
  
 +if CONFIG["CPU_ARCH"] == "x86":
 +    CFLAGS += [
@@ -55,9 +48,9 @@
 +    ]
 +
  Library("resource_adaptation_api_gn")
-diff -ur firefox-102.0.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-102.0/third_party/libwebrtc/api/array_view_gn/moz.build
---- third_party/libwebrtc/api/array_view_gn/moz.build  2022-06-17 06:35:22.000000000 +0900
-_+++ third_party/libwebrtc/api/array_view_gn/moz.build 2022-06-23 07:13:54.683864356 +0900
+diff -ur firefox-103.0.orig/third_party/libwebrtc/api/array_view_gn/moz.build firefox-103.0/third_party/libwebrtc/api/array_view_gn/moz.build
+--- third_party/libwebrtc/api/array_view_gn/moz.build  2022-07-19 03:44:30.000000000 +0900
++++ third_party/libwebrtc/api/array_view_gn/moz.build  2022-07-26 23:57:28.411454920 +0900
 @@ -63,14 +63,17 @@
      DEFINES["__STDC_CONSTANT_MACROS"] = True
      DEFINES["__STDC_FORMAT_MACROS"] = True
@@ -77,28 +70,19 @@
 +        DEFINES["WEBRTC_BSD"] = True
      DEFINES["WEBRTC_POSIX"] = True
      DEFINES["_FILE_OFFSET_BITS"] = "64"
-     DEFINES["_GNU_SOURCE"] = True
-@@ -141,7 +144,7 @@
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
-+if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
-@@ -157,7 +160,7 @@
- 
-     DEFINES["_DEBUG"] = True
- 
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_DEBUG"] = True
- 
-@@ -179,4 +182,13 @@
-         "android_support"
-     ]
+     DEFINES["_LARGEFILE64_SOURCE"] = True
+@@ -135,7 +138,7 @@
+ 
+     DEFINES["_DEBUG"] = True
+ 
+-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_DEBUG"] = True
+ 
+@@ -180,4 +183,13 @@
+ 
+     DEFINES["_GNU_SOURCE"] = True
  
 +if CONFIG["CPU_ARCH"] == "x86":
 +    CFLAGS += [
@@ -110,50 +94,41 @@
 +    ]
 +
  Library("array_view_gn")
-diff -ur firefox-102.0.orig/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build firefox-102.0/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
---- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build   2022-06-17 06:35:14.000000000 +0900
-_+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build  2022-06-23 07:13:54.675378802 +0900
-@@ -67,14 +67,17 @@
-     DEFINES["__STDC_CONSTANT_MACROS"] = True
-     DEFINES["__STDC_FORMAT_MACROS"] = True
- 
--if CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
- 
-     DEFINES["USE_AURA"] = "1"
-     DEFINES["USE_GLIB"] = "1"
-     DEFINES["USE_NSS_CERTS"] = "1"
-     DEFINES["USE_OZONE"] = "1"
-     DEFINES["USE_UDEV"] = True
--    DEFINES["WEBRTC_LINUX"] = True
-+    if CONFIG["OS_TARGET"] == "Linux":
-+        DEFINES["WEBRTC_LINUX"] = True
-+    else:
-+        DEFINES["WEBRTC_BSD"] = True
-     DEFINES["WEBRTC_POSIX"] = True
-     DEFINES["_FILE_OFFSET_BITS"] = "64"
-     DEFINES["_GNU_SOURCE"] = True
-@@ -153,7 +156,7 @@
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
--if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
-+if not CONFIG["MOZ_DEBUG"] and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_FORTIFY_SOURCE"] = "2"
- 
-@@ -169,7 +172,7 @@
- 
-     DEFINES["_DEBUG"] = True
- 
--if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
-+if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
- 
-     DEFINES["_DEBUG"] = True
- 
-@@ -201,4 +204,13 @@
-         "-msse2"
-     ]
+diff -ur firefox-103.0.orig/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build firefox-103.0/third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
+--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build   2022-07-19 03:44:25.000000000 +0900
++++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build   2022-07-26 23:57:28.532316610 +0900
+@@ -67,14 +67,17 @@
+     DEFINES["__STDC_CONSTANT_MACROS"] = True
+     DEFINES["__STDC_FORMAT_MACROS"] = True
+ 
+-if CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD":
+ 
+     DEFINES["USE_AURA"] = "1"
+     DEFINES["USE_GLIB"] = "1"
+     DEFINES["USE_NSS_CERTS"] = "1"
+     DEFINES["USE_OZONE"] = "1"
+     DEFINES["USE_UDEV"] = True
+-    DEFINES["WEBRTC_LINUX"] = True
++    if CONFIG["OS_TARGET"] == "Linux":
++        DEFINES["WEBRTC_LINUX"] = True
++    else:
++        DEFINES["WEBRTC_BSD"] = True
+     DEFINES["WEBRTC_POSIX"] = True
+     DEFINES["_FILE_OFFSET_BITS"] = "64"
+     DEFINES["_LARGEFILE64_SOURCE"] = True
+@@ -147,7 +150,7 @@
+ 
+     DEFINES["_DEBUG"] = True
+ 
+-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
++if CONFIG["MOZ_DEBUG"] == "1" and (CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "NetBSD" or CONFIG["OS_TARGET"] == "OpenBSD" or CONFIG["OS_TARGET"] == "FreeBSD"):
+ 
+     DEFINES["_DEBUG"] = True
+ 
+@@ -200,4 +203,13 @@
+ 
+     DEFINES["_GNU_SOURCE"] = True
  



Home | Main Index | Thread Index | Old Index