pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Update to 101.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30bd60ee4cb9
branches:  trunk
changeset: 380420:30bd60ee4cb9
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 06 20:59:39 2022 +0000

description:
firefox: Update to 101.0

* Under NetBSD/i386 9, rustc consumes all RAM and swap and failed
  to build this package.

Changelog:
New

  * Reading is now easier with the prefers-contrast media query, which allows
    sites to detect if the user has requested that web content is presented
    with a higher (or lower) contrast.

  * It??s your choice! All non-configured MIME types can now be assigned a
    custom action upon download completion.

  * Firefox now allows users to use as many microphones as you want, at the
    same time, during video conferencing. The most exciting benefit is that you
    can easily switch your microphones at any time (if your conferencing
    service provider enables this flexibility).

Fixed

  * Various security fixes.

Changed

  * Removed "subject common name" fallback support from certificate validation.
    This fallback mode was previously enabled only for manually installed
    certificates. The CA Browser Forum Baseline Requirements have required the
    presence of the "subjectAltName" extension since 2012, and use of the
    subject common name was deprecated in RFC 2818.

diffstat:

 www/firefox/Makefile                                                             |      11 +-
 www/firefox/distinfo                                                             |      12 +-
 www/firefox/mozilla-common.mk                                                    |       6 +-
 www/firefox/patches/patch-libwebrtc.diff                                         |  298264 +---------
 www/firefox/patches/patch-toolkit_modules_subprocess_subprocess__shared__unix.js |       8 +-
 5 files changed, 17234 insertions(+), 281067 deletions(-)

diffs (truncated from 299360 to 300 lines):

diff -r 052501a63079 -r 30bd60ee4cb9 www/firefox/Makefile
--- a/www/firefox/Makefile      Mon Jun 06 20:58:49 2022 +0000
+++ b/www/firefox/Makefile      Mon Jun 06 20:59:39 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.521 2022/05/21 14:44:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.522 2022/06/06 20:59:39 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
-MOZ_BRANCH=            100.0
-MOZ_BRANCH_MINOR=      .2
+MOZ_BRANCH=            101.0
+MOZ_BRANCH_MINOR=      
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
@@ -74,6 +74,11 @@
 NOT_PAX_MPROTECT_SAFE+=        lib/${PKGBASE}/firefox-bin
 .endif
 
+# As of 101.0, rustc consumes all available RAM and swap by default.
+.if ${MACHINE_ARCH} == "i386"
+MAKE_ENV+=     RUSTFLAGS="-C opt-level=1 -C codegen-units=1"
+.endif
+
 # Avoid ld "invalid section index" errors.
 BUILDLINK_TRANSFORM.SunOS+=    rm:-fdata-sections
 BUILDLINK_TRANSFORM.SunOS+=    rm:-ffunction-sections
diff -r 052501a63079 -r 30bd60ee4cb9 www/firefox/distinfo
--- a/www/firefox/distinfo      Mon Jun 06 20:58:49 2022 +0000
+++ b/www/firefox/distinfo      Mon Jun 06 20:59:39 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.468 2022/05/21 14:44:47 ryoon Exp $
+$NetBSD: distinfo,v 1.469 2022/06/06 20:59:39 ryoon Exp $
 
-BLAKE2s (firefox-100.0.2.source.tar.xz) = 597e20d9823f6dbda1ff370e8be200d1de88ddcdad7a904197703f5730788a08
-SHA512 (firefox-100.0.2.source.tar.xz) = 6d9922e35e496fa63833ba03d1466e075287e40e50854ddc4f4a2036d9c7ca1f35c03bc6f708a3c469e0ec3b389b3346ac754bb84df0fecb86955fc21c05e00f
-Size (firefox-100.0.2.source.tar.xz) = 482708576 bytes
+BLAKE2s (firefox-101.0.source.tar.xz) = 21e95ea9927612144a36f5b56fc95272fb63b7b1f31813c72eba5f7ca4d7bfba
+SHA512 (firefox-101.0.source.tar.xz) = fffe7e0940c1443fcdc5b205677764cb4e04b29f33fcfafb2857d383700584f309806b81fc4989efb56cc12a3cca1ff7d451b647050c43e98777b5c952ed5d56
+Size (firefox-101.0.source.tar.xz) = 490975228 bytes
 BLAKE2s (nodejs-output-95.0.tgz) = c44b37d3605524a49157002f01c29f568f04194b0e635bc312de7ffdeb9a74c9
 SHA512 (nodejs-output-95.0.tgz) = 2faf326f4e100b66f8597c365cc2eb5d0eee26aae92a7e2446891f2178041aa71ba16eae37000acacd43a657025ec11c18db73b112f5c49cc21cdb882da6d798
 Size (nodejs-output-95.0.tgz) = 200627 bytes
@@ -22,7 +22,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) = ad0b7b4ef00cc43d08eb5e94a4d600fd62cd6783
+SHA1 (patch-libwebrtc.diff) = dd36ac8c3449d876ac179e00238e50ebef468a8e
 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
@@ -37,7 +37,7 @@
 SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4
 SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8
 SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 1c1397f6177728cf9deb2b74708069b9d09509c3
-SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12
+SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 2303b753066298305ccae80d72765dbc4da5e0dc
 SHA1 (patch-toolkit_moz.configure) = 8de54693dc47b0993f220cc5a04af98925de1fb5
 SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662
 SHA1 (patch-widget_gtk_DMABufSurface.cpp) = 72bc9554f075734df12e1748fb8965dce8318de5
diff -r 052501a63079 -r 30bd60ee4cb9 www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Mon Jun 06 20:58:49 2022 +0000
+++ b/www/firefox/mozilla-common.mk     Mon Jun 06 20:59:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.231 2022/06/04 01:00:16 gutteridge Exp $
+# $NetBSD: mozilla-common.mk,v 1.232 2022/06/06 20:59:39 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.19.0:../../devel/cbindgen
+TOOL_DEPENDS+=         cbindgen>=0.23.0:../../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.32
 .include "../../devel/nspr/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"
-BUILDLINK_API_DEPENDS.nss+=    nss>=3.76
+BUILDLINK_API_DEPENDS.nss+=    nss>=3.78
 .include "../../devel/nss/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 #.include "../../mk/jpeg.buildlink3.mk"
diff -r 052501a63079 -r 30bd60ee4cb9 www/firefox/patches/patch-libwebrtc.diff
--- a/www/firefox/patches/patch-libwebrtc.diff  Mon Jun 06 20:58:49 2022 +0000
+++ b/www/firefox/patches/patch-libwebrtc.diff  Mon Jun 06 20:59:39 2022 +0000
@@ -1,261678 +1,2645 @@
-$NetBSD: patch-libwebrtc.diff,v 1.2 2022/03/01 13:35:33 ryoon Exp $
-
-* Fix build under *BSD. Based on Mozilla Bugzilla 1654448.
-* Add -msse2 to cc and c++ for x86 architecture unconditionally to fix build.
-
-diff -urN dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh
---- dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh   2022-02-03 06:01:47.000000000 +0900
-+++ dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh   2022-02-17 21:29:00.293313835 +0900
-@@ -94,6 +94,10 @@
-   IS_WIN=1
- elif [ "x$SYS_NAME" = "xOpenBSD" ]; then
-   CONFIGS="x64_False_x64_openbsd x64_True_x64_openbsd"
-+elif [ "x$SYS_NAME" = "xNetBSD" ]; then
-+  CONFIGS="x64_False_x64_netbsd x64_True_x64_netbsd"
-+  CONFIGS="$CONFIGS x64_False_x86_netbsd x64_True_x86_netbsd"
-+  CONFIGS="$CONFIGS x64_False_arm64_netbsd x64_True_arm64_netbsd"
- else
-   # Ensure rust has the correct targets for building x86 and arm64.  These
-   # operations succeed quickly if previously completed.
-diff -urN dom/media/webrtc/third_party_build/gn-configs/x64_False_arm64_netbsd.json dom/media/webrtc/third_party_build/gn-configs/x64_False_arm64_netbsd.json
---- dom/media/webrtc/third_party_build/gn-configs/x64_False_arm64_netbsd.json  1970-01-01 09:00:00.000000000 +0900
-+++ dom/media/webrtc/third_party_build/gn-configs/x64_False_arm64_netbsd.json  2022-02-17 21:28:59.385278602 +0900
-@@ -0,0 +1,43624 @@
-+{
-+    "gn_gen_args": {
-+        "host_cpu": "x64",
-+        "is_debug": false,
-+        "target_cpu": "arm64",
-+        "target_os": "netbsd"
-+    },
-+    "mozbuild_args": {
-+        "CPU_ARCH": "aarch64",
-+        "HOST_CPU_ARCH": "x86_64",
-+        "MOZ_DEBUG": null,
-+        "OS_TARGET": "NetBSD"
-+    },
-+    "sandbox_vars": {
-+        "COMPILE_FLAGS": {
-+            "WARNINGS_AS_ERRORS": []
-+        },
-+        "FINAL_LIBRARY": "webrtc"
-+    },
-+    "targets": {
-+        "//:webrtc": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-funwind-tables",
-+                "-fPIC",
-+                "-pthread",
-+                "-fcolor-diagnostics",
-+                "-fmerge-all-constants",
-+                "-fcrash-diagnostics-dir=../../../../third_party/libwebrtc/tools/clang/crashreports",
-+                "-mllvm",
-+                "-instcombine-lower-dbg-declare=0",
-+                "-mllvm",
-+                "-enable-dse-memoryssa=false",
-+
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-Xclang",
-+                "-fdebug-compilation-dir",
-+                "-Xclang",
-+                ".",
-+                "-no-canonical-prefixes",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wimplicit-fallthrough",
-+                "-Wunreachable-code",
-+                "-Wthread-safety",
-+                "-Wextra-semi",
-+                "-Wno-missing-field-initializers",
-+                "-Wno-unused-parameter",
-+                "-Wno-c++11-narrowing",
-+                "-Wno-unneeded-internal-declaration",
-+                "-Wno-undefined-var-template",
-+                "-Wno-psabi",
-+                "-Wno-ignored-pragma-optimize",
-+                "-Wno-implicit-int-float-conversion",
-+                "-Wno-final-dtor-non-final-class",
-+                "-Wno-builtin-assume-aligned-alignment",
-+                "-Wno-deprecated-copy",
-+                "-Wno-non-c-typedef-for-linkage",
-+                "-Wno-max-tokens",
-+                "-O2",
-+                "-fno-ident",
-+                "-fdata-sections",
-+                "-ffunction-sections",
-+                "-fno-omit-frame-pointer",
-+                "-g0",
-+                "-ftrivial-auto-var-init=pattern",
-+                "-fvisibility=hidden",
-+                "-Wheader-hygiene",
-+                "-Wstring-conversion",
-+                "-Wtautological-overlap-compare",
-+                "-Wexit-time-destructors",
-+                "-Wglobal-constructors",
-+                "-Wc++11-narrowing",
-+                "-Wimplicit-fallthrough",
-+                "-Wthread-safety",
-+                "-Winconsistent-missing-override",
-+                "-Wundef",
-+                "-Wunused-lambda-capture",
-+                "-Wno-shorten-64-to-32"
-+            ],
-+            "defines": [
-+                "USE_UDEV",
-+                "USE_AURA=1",
-+                "USE_GLIB=1",
-+                "USE_NSS_CERTS=1",
-+                "USE_OZONE=1",
-+                "USE_X11=1",
-+                "_FILE_OFFSET_BITS=64",
-+                "_LARGEFILE_SOURCE",
-+                "_LARGEFILE64_SOURCE",
-+                "_GNU_SOURCE",
-+                "__STDC_CONSTANT_MACROS",
-+                "__STDC_FORMAT_MACROS",
-+                "_FORTIFY_SOURCE=2",
-+                "CR_SYSROOT_HASH=ef67b6ca8fd6e2e51515a243d043d1ea4caf45e6",
-+                "NDEBUG",
-+                "NVALGRIND",
-+                "DYNAMIC_ANNOTATIONS_ENABLED=0",
-+                "WEBRTC_ENABLE_PROTOBUF=0",
-+                "RTC_ENABLE_VP9",
-+                "WEBRTC_ARCH_ARM64",
-+                "WEBRTC_HAS_NEON",
-+                "WEBRTC_LIBRARY_IMPL",
-+                "WEBRTC_MOZILLA_BUILD",
-+                "WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0",
-+                "WEBRTC_POSIX",
-+                "WEBRTC_BSD",
-+                "ABSL_ALLOCATOR_NOTHROW=1"
-+            ],
-+            "deps": [
-+                "//api/audio_codecs:builtin_audio_decoder_factory",
-+                "//api/audio_codecs:builtin_audio_encoder_factory",
-+                "//api/video:video_frame",
-+                "//api/video:video_rtp_headers",
-+                "//api/video_codecs:builtin_video_decoder_factory",
-+                "//api/video_codecs:builtin_video_encoder_factory",
-+                "//audio:audio",
-+                "//call:call",
-+                "//common_audio:common_audio",
-+                "//common_video:common_video",
-+                "//media:media",
-+                "//modules:modules",
-+                "//modules/video_capture:video_capture_internal_impl",
-+                "//rtc_base:rtc_base",
-+                "//test:rtp_test_utils",
-+                "//video:video"
-+            ],
-+            "include_dirs": [
-+                "//",
-+                "//third_party/abseil-cpp/"
-+            ],
-+            "libs": [
-+                "dl",
-+                "rt",
-+                "X11",
-+                "Xcomposite",
-+                "Xdamage",
-+                "Xext",
-+                "Xfixes",
-+                "Xrender",
-+                "Xrandr",
-+                "Xtst",
-+                "m"
-+            ],
-+            "sources": [],
-+            "type": "static_library"
-+        },
-+        "//api/adaptation:resource_adaptation_api": {
-+            "cflags": [
-+                "-fno-strict-aliasing",
-+                "--param=ssp-buffer-size=4",
-+                "-fstack-protector",
-+                "-funwind-tables",
-+                "-fPIC",
-+                "-pthread",
-+                "-fcolor-diagnostics",
-+                "-fmerge-all-constants",
-+                "-fcrash-diagnostics-dir=../../../../third_party/libwebrtc/tools/clang/crashreports",
-+                "-mllvm",
-+                "-instcombine-lower-dbg-declare=0",
-+                "-mllvm",
-+                "-enable-dse-memoryssa=false",
-+
-+                "-Wno-builtin-macro-redefined",
-+                "-D__DATE__=",
-+                "-D__TIME__=",
-+                "-D__TIMESTAMP__=",
-+                "-Xclang",
-+                "-fdebug-compilation-dir",
-+                "-Xclang",
-+                ".",
-+                "-no-canonical-prefixes",
-+                "-Wall",
-+                "-Werror",
-+                "-Wextra",
-+                "-Wimplicit-fallthrough",
-+                "-Wunreachable-code",
-+                "-Wthread-safety",
-+                "-Wextra-semi",



Home | Main Index | Thread Index | Old Index