195 Commits

Author SHA1 Message Date
landry
bd57982383 Update to firefox 62.0.3.
See https://www.mozilla.org/en-US/firefox/62.0.3/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-24/
2018-10-03 04:41:26 +00:00
landry
426772bfbc Update to firefox 62.0.2.
See https://www.mozilla.org/en-US/firefox/62.0.2/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-22/

Remove patch fixing build with rust 1.29, merged upstream in the
-release branch.
2018-09-22 04:47:40 +00:00
landry
5a2cb44c9a Update to firefox 62.0.
See https://www.mozilla.org/en-US/firefox/62.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-20/

* remove sndio patch from #1467882, merged upstream
* update sandboxing patches to match what was commited in #1457092. Set
  MOZ_LOG=SandboxPledge:5 in the env if you want to debug pledge calls.
* add aarch64 to ONLY_FOR_ARCHS. Probably doesnt build/package, but ppl
  interested may try to improve the situation.
2018-09-05 16:19:01 +00:00
landry
d3da8f0221 Fix langpack installation path to be under lib/firefox instead of
lib/firefox-X.Y, which isnt the case anymore since 59.. should fix
langpacks detection, and presence of the 'languages' section in
about:addons.

Noticed by and hints from semarie@, thanks!
2018-08-31 09:42:00 +00:00
landry
cf6cd394bd Update to firefox 61.0.1.
See https://www.mozilla.org/en-US/firefox/61.0.1/releasenotes/
2018-07-06 06:44:57 +00:00
landry
4536614743 Update to firefox 61.
See https://www.mozilla.org/en-US/firefox/61.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-15/

- build against bundled hunspell (#1460600), build against system
  hunspell is unsupported
- build depend on python3 in addition to python2. sigh.
- improve pledge messages to show the process id, and put the debugging
  ones behind MOZ_SANDBOX_LOGGING env var being set
- workaround content process 'proc' pledge violations by faking a
  session dbus if one isnt running, see #1466593. idea from semarie@
- backport patch from #1467882 that improves sndio volume handling, from
  ratchov@
2018-06-27 05:05:20 +00:00
landry
2059346c7e Fix distinfo for ca.xpi, noticed by naddy@ 2018-06-09 06:54:39 +00:00
landry
258ca5df5f Update to firefox 60.0.2.
See https://www.mozilla.org/en-US/firefox/60.0.2/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-14/
2018-06-08 16:45:31 +00:00
landry
3672f90bc5 Bugfix update to firefox 60.0.1.
See https://www.mozilla.org/en-US/firefox/60.0.1/releasenotes/

After numerous reports of pledge aborts when saving files (while for
some reason i'm not experiencing it) add 'getpw' to main process
promises. Also add 'mcast', because sometimes a setsockopt() seems to be
called with IP_MULTICAST_TTL.

Improve README:
- drop the now deprecated section about plugins
- improve section about debugging with pledge info
- add a section advising users to make sure a session dbus instance is
  running when starting their X session, otherwise for some reason the
content process might try to spawn one via glib, and this is forbidden
by pledge. You don't want the content process to be able to spawn
processes, right ?
2018-05-18 19:36:47 +00:00
landry
c71758479f Update to firefox 60.
See https://www.mozilla.org/en-US/firefox/60.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/

- Add initial/wip pledge() support, with distinct subsets for main &
content processes. The promises are runtime-configurable for now via
about:config knobs to ease debugging/testing. They're printed on stderr
when applied by the sandboxing codepaths (cf
patch-toolkit_xre_nsAppRunner_cpp and patch-dom_ipc_ContentChild_cpp).

- Add a bunch of patches (patch-widget_nsShmImage_cpp,
  patch-xpcom_base_nsDebugImpl_cpp, patch-mozglue_misc_TimeStamp_posix_cpp and
patch-xpcom_base_nsMemoryReporterManager_cpp) to neuter non-critical
codepaths that calls pledge-forbidden syscalls.

- All this pledge() stuff being currently discussed upstream in
https://bugzilla.mozilla.org/show_bug.cgi?id=1457092 and done at p2k18.
Been running with it since then, and i'm fairly confident the pledge
subsets i come up with are now enough for most usages.

If you encounter crashes due to pledge, look into your kernel log, and
try to figure out what missing pledge is needed or what firefox codepath
hits it.

So far i know 'getpw' might be needed when uploading files but i havent
hit it, and 'proc' might be needed by the content process when there's
no dbus daemon running, but they're not needed in the 'common case', and
too broad.

- While here, tweak defaults to disable the pocket extension, and try to
disable the activity-stream/sponsored content that is being shown by
default on the new tab page in new profiles. Stop the madness, plz.
2018-05-11 20:00:57 +00:00
landry
3a117fd2e0 Update to firefox 59.0.2.
See https://www.mozilla.org/en-US/firefox/59.0.2/releasenotes/
(security advisories not up yet)
2018-03-26 16:51:44 +00:00
landry
3da6051450 Update to firefox 59.0.1.
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-08/
from Pwn2own - "Out of bounds memory write while processing Vorbis audio
data".
2018-03-16 18:36:27 +00:00
landry
a6dc4eebe3 Adjust pref in README, apparently in 59 general.useragent.locale has
been replaced by intl.locale.requested, though it *should* use the OS
locale (which one ? LANG in the env? *shrug*) - see #1414390 for the
gory details.
Tested to work fine with fr langpack in 60.0b3.
2018-03-15 08:50:21 +00:00
landry
19c0f6d0d4 Update to firefox 59.0.
See https://www.mozilla.org/en-US/firefox/59.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-06/

- Selfhost the source tarball temporarly until bug #1432591 is fixed
- add show-commit convenience target
- use bundled cairo, system cairo is broken and the option to build
  against a it is being removed in #1432751
- remove version from the install dir (per #445128)
- in the README, remove now useless section about e10s (it's enabled by
  default) and replace it by a section explaining how to enable GL
compositing and WebRender.

Note that backporting it to 6.2 might not be possible. Currently hacking
various options.
2018-03-13 19:29:35 +00:00
landry
5b79404cb3 Oops, forgot to commit i18n too, reminded by nigel@ 2018-02-08 19:15:09 +00:00
landry
b9ae65d981 Security update to firefox 58.0.1.
See https://www.mozilla.org/en-US/firefox/58.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-05/
2018-01-29 20:54:13 +00:00
landry
74b1bd742d Update to firefox 58.0.
See https://www.mozilla.org/en-US/firefox/58.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-02/

Remove rust/i386 related patch from #1401093, doesnt apply and i'm not
really sure of the situation of rust on i386 anyway..
Remove sndio-related patches from #1221580 (merged upstream)
2018-01-23 19:17:02 +00:00
landry
01c813bb98 Security update to firefox 57.0.4.
See https://www.mozilla.org/en-US/firefox/57.0.4/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-01/
https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/

Note that ESR doesn't need such fix.
2018-01-05 05:36:18 +00:00
landry
5d8806d4a4 Bugfix update to firefox 57.0.3.
See https://www.mozilla.org/en-US/firefox/57.0.3/releasenotes/
(probably doesnt affect us since crashreporter related, but who knows..)
2017-12-28 17:11:55 +00:00
landry
65239e1116 Update to firefox 57.0.2.
See https://www.mozilla.org/en-US/firefox/57.0.2/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2017-29/
which is windows-only but whatever.
2017-12-08 13:11:34 +00:00
landry
e890a9e046 Bugfix update to firefox 57.0.1.
See https://www.mozilla.org/en-US/firefox/57.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2017-24/

Fix HOMEPAGE while here, reminded by anton@

(note that 52.5.1esr is pending release-mgmt approval but is around the
corner)
2017-11-30 19:33:41 +00:00
landry
5c7b047041 Update to firefox 57.0 (codename quantum)
See https://www.mozilla.org/en-US/firefox/57.0/releasenotes/
Fixes MFSA2017-24, see https://www.mozilla.org/en-US/security/advisories/mfsa2017-24/

- Legacy extensions are now unsupported and will stop working - you've
  been warned, deal with it
- a separate single content process is now enabled by default
- remove gettext MODULE (reminded by naddy@)
- build stylo css engine (for that, add patches from #1401093 and #1341234)
- remove debugger.js patch, merged upstream (#1400197)
- build webrender, it's not enabled by default at runtime yet, but one
  can test it by setting MOZ_WEBRENDER=1 in the env; See
https://wiki.mozilla.org/Platform/GFX/Quantum_Render for details.
- backport patch from ratchov@ (#1221580) enabling full-duplex audio in
  cubeb, for a working audio webrtc experience ! Try it...

Tested by many, thanks!
2017-11-14 20:08:59 +00:00
landry
47900f8b11 Update to firefox 56.0.2.
- see https://www.mozilla.org/en-US/firefox/56.0.2/releasenotes/

If i manage to update my stable cvs tree to 6.2 i might update it in
6.2-stable..
2017-10-27 16:53:44 +00:00
landry
4b987bcb2f Update to firefox 56.0.
- see https://www.mozilla.org/en-US/firefox/56.0/releasenotes/
- fixes https://www.mozilla.org/en-US/security/advisories/mfsa2017-21/

- switch to the bundled icu4c, as 59.1 is now required and we only have
  58 in the portstree for now
- disable stylo css engine (see #1341234 & #1401093) - hopefully for
  57.0 it'll build/work..
- pass --enable-release (#1386371) & --enable-rust-simd (#1261841)
- add a patch to fix javascript debugger in devtools (#1400197)

ok naddy@
2017-09-28 16:39:11 +00:00
landry
307175a489 Bugfix update to firefox 55.0.3.
See https://www.mozilla.org/en-US/firefox/55.0.3/releasenotes/ and
https://www.mozilla.org/en-US/firefox/55.0.2/releasenotes/
2017-08-28 09:00:19 +00:00
landry
f4b1d19a4d Bugfix update to 55.0.1.
See https://www.mozilla.org/en-US/firefox/55.0.1/releasenotes/

* Fix a regression the tab restoration process (bug 1388160)
* Fix a problem causing What's new pages not to be displayed (bug 1386224)
* Fix a rendering issue with some PKCS#11 libraries (bug 1388370)
* Disable the predictor prefetch (bug 1388160)

-stable commit awaiting packages...
2017-08-11 07:37:34 +00:00
landry
e8c7d3dbac Update to firefox 55.0.
See https://www.mozilla.org/en-US/firefox/55.0/releasenotes/

Set ONLY_FOR_ARCHS properly - all the world is x86 anyway.
Ditch --disable-debug-symbols on i386, it links fine without it.
2017-08-08 10:17:15 +00:00
landry
79c9fa4867 Update to firefox 54.0.1.
See https://www.mozilla.org/en-US/firefox/54.0.1/releasenotes/
2017-06-30 05:24:36 +00:00
landry
b001a73401 Update to firefox 54.0.
See https://www.mozilla.org/en-US/firefox/54.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2017-15/
- move ulimit patch around (#1347139)
- Remove Cargo.toml patch, merged upstream in #1360521
tested by several, thanks!
2017-06-14 05:30:05 +00:00
landry
62e45043f8 Bugfix update to firefox 53.0.3.
See https://www.mozilla.org/en-US/firefox/53.0.3/releasenotes/
2017-05-19 21:54:35 +00:00
landry
2c1e82544a Bugfix update to firefox 53.0.2.
See https://www.mozilla.org/en-US/firefox/53.0.2/releasenotes/
Fixes MFSA2017-14, but that only affects Windows.
2017-05-06 07:15:58 +00:00
landry
47ce2cfc1e Update to firefox 53.0.
See https://www.mozilla.org/en-US/firefox/53.0/releasenotes/ and
https://www.mozilla.org/en-US/security/advisories/mfsa2017-10/.

- Now depends on rust and cargo to build.
- Remove patch-browser_installer_Makefile_in, sdk was removed in #1333826
- Ship a small distribution.ini to show package source in about dialog
- Add a blurb from Michael Reed about installing ffmpeg package to play
HTML5 audio/video.

Tested by several
2017-04-20 06:12:58 +00:00
landry
406e32b92f Bugfix update to firefox 52.0.2.
See https://www.mozilla.org/en-US/firefox/52.0.2/releasenotes/
2017-03-28 20:07:27 +00:00
landry
3ae1b1aac0 Update to firefox 52.0.1.
Fixes MFSA 2017-08/CVE-2017-5428, see
https://www.mozilla.org/en-US/security/advisories/mfsa2017-08/

While here, add a patch from semarie@ (tested by and ok danj@) to tweak
a last-minute change in the jit engine memory allocator that happened to
fix a security issue in 52 branch (bug #1334933/CVE-2017-5400) - see
https://hg.mozilla.org/releases/mozilla-esr52/rev/6b35bbf96b67.

Sadly, this change resulted in a browser crashing at startup
on OpenBSD with the default limits, because the jit engine tried to
allocate 1Gb (previously 640Mb in #1334933, then 1Gb because of
#1337561, see
https://hg.mozilla.org/releases/mozilla-esr52/rev/65bb26d07408) and hit
the default datasize ulimit of 768Mb. The patch makes it allocate 128Mb
instead (as it's done on 32bit architectures), while a better (?) fix
might be devised in bug #1347139.

Generally speaking, if you see firefox crashing with ENOMEM errors,
raise the datasize limit for your login class, write your own wrapper
script to temporarly raise the limit when starting firefox, or stop
using the modern web. Websites are ginormous, deal with it.
2017-03-20 19:35:15 +00:00
landry
c3b7032780 Update mozilla-firefox to 52.0.
See https://www.mozilla.org/en-US/firefox/52.0/releasenotes/

Remove patch for #1335827, merged upstream.

Note that this release removes support for NPAPI plugins (java, etc..) -
users relying on those should migrate to firefox-esr, where NPAPI
plugins will be supported for the lifetime of 52esr branch.

Tested by several, thanks!
2017-03-07 15:31:38 +00:00
landry
265f93dca6 Update to firefox 51.0.
See https://www.mozilla.org/en-US/firefox/51.0/releasenotes/ and MFSA
2017-01 (https://www.mozilla.org/en-US/security/advisories/mfsa2017-01/)

Remove patch-netwerk_protocol_http_Http2Session_cpp (#1290037)
2017-01-24 21:33:09 +00:00
landry
4fd3b0ca6d Bugfix update to firefox 50.1.0.
See https://www.mozilla.org/en-US/firefox/50.1.0/releasenotes/ and
https://www.mozilla.org/en-US/security/advisories/mfsa2016-94/.
2016-12-14 13:30:34 +00:00
landry
330fd22779 Fix botched distinfo 2016-11-30 21:47:05 +00:00
landry
afa19413b2 Security update to firefox 50.0.2.
See https://www.mozilla.org/en-US/firefox/50.0.2/releasenotes/ and
https://www.mozilla.org/en-US/security/advisories/mfsa2016-92/ (link not
up yet). A javascript exploit for windows was found in the wild, and the
vulnerability could technically be exploited on other platforms..
2016-11-30 21:38:53 +00:00
landry
e8b8f9adbd Bugfix update to firefox 50.0.1.
See https://www.mozilla.org/en-US/firefox/50.0.1/releasenotes/ and
https://www.mozilla.org/en-US/security/advisories/mfsa2016-91/
2016-11-29 08:11:34 +00:00
landry
cd2a046617 Update to firefox 50.0.
See https://www.mozilla.org/en-US/firefox/50.0/releasenotes/
and https://www.mozilla.org/en-US/security/advisories/mfsa2016-89/

Switch back to build against systemwide sqlite3 coming from the
ports-tree. Remove the build goo for macppc|sparc64|alpha, it's unlikely
this will ever come back...
2016-11-15 22:01:15 +00:00
landry
001e0f0a3a Update to firefox 49.0.2.
See https://www.mozilla.org/en-US/firefox/49.0.2/releasenotes/ and
https://www.mozilla.org/en-US/security/advisories/mfsa2016-87/
Fixes MFSA-2016-87:
- CVE-2016-5287 / bugzil.la/1309823
- CVE-2016-5288 / bugzil.la/1310183 (bug information private)

prodded by naddy@
2016-10-24 09:33:08 +00:00
naddy
439514e8c8 Update to firefox 49.0.1. 2016-09-24 20:07:33 +00:00
landry
04c35def2c Update to firefox 49.0.1.
See https://www.mozilla.org/en-US/firefox/49.0/releasenotes/ (.1 is for
a windows-only fix) - not that 'loop' (ex-firefox hello) was removed
from the browser.
- Fixes MFSA 2016-85
- Remove media/ffvpx/config.h patch, merged upstream/fixed differently in
bug #1239550
- Set media.autoplay.enabled to false by default, i'm usually wary of
  changing upstream defaults, but this one is unfuriating with "the
modern web and all this funky video ads".. this one got support from
many.
- Add a blurb to README explaining how to enable/test e10s/multi-process
  support.
2016-09-24 14:46:45 +00:00
landry
ae308be950 Update to firefox 48.0.
- See https://www.mozilla.org/en-US/firefox/48.0/releasenotes/
- Fixes MFSA 2016-62->84
- See
  https://blog.mozilla.org/blog/2016/08/02/exciting-improvements-in-firefox-for-desktop-and-android/
for user-facing changes
- Switch CONFIGURE_STYLE to simple as it's really not a gnu script
  anymore..
- Remove gtk 3.20 jumbo patch, most gtk3 issues are either fixed or
  being worked on, and the patch isnt maintainable
- Remove patch-gfx_skia_moz_build, it isn't needed anymore on i386, and
  SSE2 will soon be a hard runtime requirement anyway
- Remove patch-media_libcubeb_src_cubeb_sndio_c, merged upstream (#1153151 & #1153179)
- Remove
  patch-toolkit_components_protobuf_src_google_protobuf_stubs_atomicops_h,
merged upstream (#1192556)
- Note that WebRT was removed
2016-08-02 17:50:03 +00:00
landry
2f601aefb0 Minor bugfix update to firefox 47.0.1.
- See https://www.mozilla.org/en-US/firefox/47.0.1/releasenotes/
- Fixes #1278605 & #1277522
2016-07-10 10:04:44 +00:00
landry
578eed963c Update to firefox 47.0.
- See https://www.mozilla.org/en-US/firefox/47.0/releasenotes/
- Fixes MFSA 2016-49->61
2016-06-08 19:25:42 +00:00
landry
4008f2e62d Bugfix update to firefox 46.0.1.
- See https://www.mozilla.org/en-US/firefox/46.0.1/releasenotes/
2016-05-05 06:53:19 +00:00
landry
a200e676eb Revert the revert. I made you a Makefile but CVS ated it. 2016-04-28 17:44:20 +00:00
ajacoutot
ea00dc6a28 Revert that as well. 2016-04-28 16:52:59 +00:00