firefox: 75.0 -> 76.0

This commit is contained in:
Danny Rawlins 2020-05-05 23:17:53 +10:00
parent ce68de5416
commit 422bc464ab
4 changed files with 6 additions and 47 deletions

View File

@ -8,7 +8,6 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/firefox/
-rw-r--r-- root/root usr/lib/firefox/application.ini
drwxr-xr-x root/root usr/lib/firefox/browser/
-rw-r--r-- root/root usr/lib/firefox/browser/blocklist.xml
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/icons/
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/icons/default/

View File

@ -1,9 +1,8 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yUgdfAY4vHtMV6CevDODZBEnbom03jvyzzrd6tQSqzkY3l2LwLPbG747qPSpKAFu8WFGsnaZgkEaG2cL5PIKg0=
SHA256 (Pkgfile) = dbc5d23540e2598e3f300e84b15dd88e836d1a6f3ad853e78b8b3d684eb03c52
SHA256 (.footprint) = 9df33aad85e11ded757ac494b9d53f882cade01f805dacc3b52e1ed602436bbb
SHA256 (firefox-75.0.source.tar.xz) = bbb1054d8f2717c634480556d3753a8483986af7360e023bb6232df80b746b0f
RWSagIOpLGJF33JGvcgDXEP/bKTzmstLax6t4SM5OIsUVYqCyYSyOXLa0PHolDFehc8m8MgR6VFAizHms8hupVAVZACX25cTaAU=
SHA256 (Pkgfile) = 84a02cfaf6628866b35145499f466c603ee089421bb2971f89f6926a6d050641
SHA256 (.footprint) = 8b8bebe1e51e7e8d82a57e60b95e4fd85c806ecbcbb15ad1774730025ba0e931
SHA256 (firefox-76.0.source.tar.xz) = 3b7b97b0b0625fc6ec23ee28d425988c679d3a56f362d62fd3b225a5d50afdc8
SHA256 (firefox.desktop) = 8ba3439f3dfc5cab883641969c93d8d15f8f20d7188d9568346b2edad52d6f91
SHA256 (0001-Use-remoting-name-for-GDK-application-names.patch) = 5f7ac724a5c5afd9322b1e59006f4170ea5354ca1e0e60dab08b7784c2d8463c
SHA256 (0001-Bug-1623885-Add-subsystem-to-Mesa-sandbox-policy.patch) = ebb169804750ddc10a4801ed6ddb37356331bbf76615f58eb29de2e6e15ee930
SHA256 (fix-unicode-errors.patch) = 47fa576aa3e2dcb1f1d48fa504893bcbe31e7a5fef7c1f2e84570a2692c6794d

View File

@ -1,35 +0,0 @@
From 0447215abf836bbb8eef53aeccf029dd40bd1a52 Mon Sep 17 00:00:00 2001
From: Jeff Gilbert <jgilbert@mozilla.com>
Date: Sun, 12 Apr 2020 21:21:32 +0000
Subject: [PATCH] Bug 1623885 - Add "subsystem" to Mesa sandbox policy to fix
libdrm-2.4.101+. r=gcp, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D70579
---
.../linux/broker/SandboxBrokerPolicyFactory.cpp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
index 3aa7cf27e353..0b3948ebd92e 100644
--- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
@@ -86,10 +86,12 @@ static void AddMesaSysfsPaths(SandboxBroker::Policy* aPolicy) {
// broker. To match this, allow the canonical paths.
UniqueFreePtr<char[]> realSysPath(realpath(sysPath.get(), nullptr));
if (realSysPath) {
- static const Array<const char*, 7> kMesaAttrSuffixes = {
- "revision", "vendor", "device", "subsystem_vendor",
- "subsystem_device", "uevent", "config"};
- for (const auto attrSuffix : kMesaAttrSuffixes) {
+ constexpr const char* kMesaAttrSuffixes[] = {
+ "config", "device", "revision",
+ "subsystem", "subsystem_device", "subsystem_vendor",
+ "uevent", "vendor",
+ };
+ for (const auto& attrSuffix : kMesaAttrSuffixes) {
nsPrintfCString attrPath("%s/%s", realSysPath.get(),
attrSuffix);
aPolicy->AddPath(rdonly, attrPath.get());
--
2.26.2

View File

@ -5,12 +5,11 @@
# Optional: sccache
name=firefox
version=75.0
release=2
version=76.0
release=1
source=(https://ftp.mozilla.org/pub/firefox/releases/$version/source/firefox-$version.source.tar.xz
firefox.desktop
0001-Use-remoting-name-for-GDK-application-names.patch
0001-Bug-1623885-Add-subsystem-to-Mesa-sandbox-policy.patch
fix-unicode-errors.patch)
build() {
@ -19,9 +18,6 @@ build() {
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530052
patch -p1 -i $SRC/0001-Use-remoting-name-for-GDK-application-names.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=1627486
patch -p1 -i $SRC/0001-Bug-1623885-Add-subsystem-to-Mesa-sandbox-policy.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=1532169
patch -p1 -i $SRC/fix-unicode-errors.patch