From dcee83b1dcf5640466c1fa6b761c833d1a7a2c9a Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 20 Aug 2019 08:52:35 -0400 Subject: waterfox 56.2.13 rpm rc1 --- ...terfox-remove-SetCurrentProcessPrivileges.patch | 25 ++++++++++++++++++++++ waterfox/waterfox.spec | 23 ++++++++++++-------- 2 files changed, 39 insertions(+), 9 deletions(-) create mode 100644 waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch (limited to 'waterfox') diff --git a/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch b/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch new file mode 100644 index 0000000..ed096fb --- /dev/null +++ b/waterfox/waterfox-remove-SetCurrentProcessPrivileges.patch @@ -0,0 +1,25 @@ +From ddb9e372a2f3ac7b37b1c58a427351333b0545fe Mon Sep 17 00:00:00 2001 +From: Phantom X +Date: Mon, 19 Aug 2019 21:53:21 -0300 +Subject: [PATCH] Remove unneeded SetCurrentProcessPrivileges + +--- + ipc/chromium/src/base/process_util_linux.cc | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/ipc/chromium/src/base/process_util_linux.cc b/ipc/chromium/src/base/process_util_linux.cc +index f8cfb32..5501747 100644 +--- a/ipc/chromium/src/base/process_util_linux.cc ++++ b/ipc/chromium/src/base/process_util_linux.cc +@@ -169,8 +169,6 @@ bool LaunchApp(const std::vector& argv, + argv_cstr[i] = const_cast(argv[i].c_str()); + argv_cstr[argv.size()] = NULL; + +- SetCurrentProcessPrivileges(privs); +- + execve(argv_cstr[0], argv_cstr.get(), envp); + // if we get here, we're in serious trouble and should complain loudly + // NOTE: This is async signal unsafe; it could deadlock instead. (But +-- +2.21.0 + diff --git a/waterfox/waterfox.spec b/waterfox/waterfox.spec index 9385d96..3449372 100644 --- a/waterfox/waterfox.spec +++ b/waterfox/waterfox.spec @@ -1,6 +1,6 @@ -%global commit 1bc2fb60abf0fa173b69ca94f660115d76f09f4f +%global commit dc34e4b9d6fccdc97ce8b267eb04ca2c27490d2a %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global date 20190709 +%global date 20190819 %global with_snapshot 1 %global freebsd_rev 480450 @@ -69,9 +69,9 @@ ExcludeArch: armv7hl %global debug_build 0 %global disable_elfhack 0 -%if !0%{?build_with_clang} || 0%{?fedora} > 28 -%global disable_elfhack 1 -%endif +#%if !0%{?build_with_clang} || 0%{?fedora} > 28 +#%global disable_elfhack 1 +#%endif %global build_stylo 1 %global build_rust_simd 1 @@ -156,7 +156,7 @@ BuildRequires: %{scl_buildreq} Summary: Waterfox Web browser Name: waterfox -Version: 56.2.12 +Version: 56.2.13 Release: 11%{?gver}%{?dist} URL: https://www.waterfox.net License: MPLv1.1 or GPLv2+ or LGPLv2+ @@ -239,6 +239,7 @@ Patch701: %{name}-waterfoxdir-1.patch Patch702: %{name}-waterfoxdir-2.patch Patch703: %{name}-webrtc-gtest-libv4l2.patch Patch704: %{name}-fix-testing-file.patch +Patch705: %{name}-remove-SetCurrentProcessPrivileges.patch %if 0%{?system_nss} @@ -459,7 +460,7 @@ done # 2: no apply # 3: uncertain for i in \ - 702179 991253 1021761 1144632 1288587 1393283 1395486 1433747 1452576 1453127 1466606 \ + 702179 991253 1021761 1144632 1288587 1393235 1393283 1395486 1433747 1452576 1453127 1466606 \ 1388744 1413143 \ 1447519 do @@ -478,6 +479,7 @@ done %patch702 -p1 -b .waterfoxdir-2 %patch703 -p1 -b .lv4l2 %patch704 -p1 -b .fix-testing-file +%patch705 -p1 -b .remove-privs # Patch for big endian platforms only %if 0%{?big_endian} @@ -1033,6 +1035,7 @@ fi # That's Windows only %ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi %attr(644, root, root) %{mozappdir}/browser/blocklist.xml +%attr(644, root, root) %{mozappdir}/browser/ua-update.json %dir %{mozappdir}/browser/extensions %{mozappdir}/browser/extensions/* %if %{build_langpacks} @@ -1067,10 +1070,12 @@ fi #--------------------------------------------------------------------- %changelog -* Thu Jul 11 2019 B Stack - 56.2.12-11 +* Tue Aug 20 2019 B Stack - 56.2.13-11 - add el7 support, which uses provided libs for the most part, and disables lto - repackage for stackrpms -- Switch to release versions and not specific commits from upstream + +* Mon Aug 19 2019 Phantom X - 56.2.13-1.20190709gitdc34e4b +- New release/snapshot * Wed Jul 10 2019 Phantom X - 56.2.12-1.20190709git1bc2fb6 - New release/snapshot -- cgit