230 Commits

Author SHA1 Message Date
landry
acc25705cc Update to firefox 73.0.
See https://www.mozilla.org/en-US/firefox/73.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2020-05/

- remove useless intl/icu/source/Makefile.in patch from #990196
- remove patches from #1594342m the slice-deque dependency was removed

note that i'm not going to backport this to -stable, but anybody is
welcome to do so, or at least try :)
2020-02-11 16:55:35 +00:00
landry
a89d6144f7 Update to firefox 72.0.2.
See https://www.mozilla.org/en-US/firefox/72.0.2/releasenotes/
2020-01-21 10:56:11 +00:00
landry
8d0b09a80f Update to firefox 72.0.1.
See https://www.mozilla.org/en-US/firefox/72.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2020-03/
2020-01-09 07:25:36 +00:00
landry
315bffc794 Update to firefox 72.0
See https://www.mozilla.org/en-US/firefox/72.0/releasenotes/
Fixes https://www.mozilla.org/security/advisories/mfsa2020-01/

Remove patches merged upstream:
- unveil/pledge work from #1584839, #1580271, #1580268
- jit fix from #1586912
- build fix with cbinding 0.11.1 from #1602358
- sndio/unveil fix from #1596546
- arm64 fix from #1587116

Add two patches from #1594342 by semarie@ to fix slice_deque build,
pending fix/merge upstream.
2020-01-07 17:44:45 +00:00
landry
4e3d328c62 Update to firefox-i18n 71.0 2019-12-03 17:01:10 +00:00
landry
bc38a3760c Update to firefox 70.0.1.
See https://www.mozilla.org/en-US/firefox/70.0.1/releasenotes/

While here use provided firefox.desktop instead of providing an outdated one.
2019-10-31 22:52:20 +00:00
landry
a680c85b0c Update to firefox 70.0.
See https://www.mozilla.org/en-US/firefox/70.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-34/
2019-10-23 19:38:07 +00:00
landry
ecacd6f852 Update to firefox 69.0.3.
See https://www.mozilla.org/en-US/firefox/69.0.3/releasenotes/
2019-10-13 17:15:13 +00:00
landry
755f1cb616 Update to firefox 69.0.2.
See https://www.mozilla.org/en-US/firefox/69.0.2/releasenotes/
2019-10-03 17:57:49 +00:00
landry
d74af0bfff Update to firefox 69.0.1.
See https://www.mozilla.org/en-US/firefox/69.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-31/
2019-09-18 16:58:05 +00:00
landry
a31a35537d Update to firefox 69.0.
See https://www.mozilla.org/en-US/firefox/69.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-25/
2019-09-03 16:27:04 +00:00
landry
a4402c6e69 Update to firefox 68.0.2.
See https://www.mozilla.org/en-US/firefox/68.0.2/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-24/
2019-08-15 05:47:59 +00:00
landry
5825de9ab6 Update to firefox 68.0.1.
See https://www.mozilla.org/en-US/firefox/68.0.1/releasenotes/
2019-07-18 16:42:49 +00:00
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
landry
def4b44c9a Garbage collect unlinked langpacks:
* Assamese (as)
* Bengali - Bangladesh (bn-BD)
* Bengali - India (bn-IN)
* English - South Africa (en-ZA)
* Maithili (mai)
* Malayalam (ml)
* Odia (or)
2019-07-09 18:17:56 +00:00
landry
58fce0f0c3 Seems bn-BD & bn-IN were merged in a single bengali (bn) localization. 2019-07-09 18:15:36 +00:00
landry
c4a44c3caa Update to firefox 68.0.
See https://www.mozilla.org/en-US/firefox/68.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-21/

Remove servo patches finally unneeded with rust 1.36.0.

Note that it is very unlikely this will get backported to 6.5-stable, as
this new release requires cbindgen 0.8.7 and rust 1.34, which are not
going to get backported either. Which also means no 68.0esr for -stable.
2019-07-09 18:04:15 +00:00
landry
8944c4c227 Update to firefox 67.0.4.
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-19/

Same diff sent by Henry Jensen.
2019-06-21 16:39:40 +00:00
landry
2d3c9b9872 Update to firefox 67.0.3.
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-18/
2019-06-20 14:59:56 +00:00
landry
d52e394906 Update to firefox 67.0.2.
See https://www.mozilla.org/en-US/firefox/67.0.2/releasenotes/
2019-06-11 06:01:20 +00:00
landry
07ec573eb8 Update to firefox 67.0.1 'Trailhead'
See https://www.mozilla.org/en-US/firefox/67.0.1/releasenotes/
2019-06-04 16:58:53 +00:00
landry
f0b51d7e9d Update to firefox 67.0.
See https://www.mozilla.org/en-US/firefox/67.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-13/

Add patch to relax sqlite runtime-check for SECURE_DELETE.
Add BDEP on nasm for bundled dav1d (reminded by naddy@)
2019-05-21 16:51:12 +00:00
landry
4a421da61a Update to firefox 66.0.5.
See https://www.mozilla.org/en-US/firefox/66.0.5/releasenotes/
2019-05-08 18:16:31 +00:00
landry
1b5a918529 Update to firefox 66.0.4.
See https://www.mozilla.org/en-US/firefox/66.0.4/releasenotes/
Fixes the addons issue seen all around, cf
https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/

Repackage i18n langpacks from 66.0.3 as they're not available for this
release.
2019-05-06 09:50:34 +00:00
landry
efd73df1e8 Bugfix update to firefox 66.0.3.
See https://www.mozilla.org/en-US/firefox/66.0.3/releasenotes/
Might get to 6.5-stable once i get some vm updated..
2019-04-15 18:11:07 +00:00
landry
ebc2be6c37 Bugfix update to firefox 66.0.2.
See https://www.mozilla.org/en-US/firefox/66.0.2/releasenotes/
2019-03-28 07:19:59 +00:00
landry
3f9e8d0be3 Update to firefox 66.0.1.
See https://www.mozilla.org/en-US/firefox/66.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-09/
2019-03-22 18:22:09 +00:00
landry
3a48d96716 Update to firefx 66.0.
See https://www.mozilla.org/en-US/firefox/66.0/releasenotes/
Fixes https://www.mozilla.org/security/advisories/mfsa2019-07/

Note that per
http://www.erahm.org/2019/03/13/doubling-the-number-of-content-processes-in-firefox/
the default number of content processes is now 8, change it via
dom.ipc.processCount in about:config if this is too much for your
resources.
Disable debug symbols on amd64 too, this allows to build with rust >=
1.32 with 4gb memory...
2019-03-19 19:21:21 +00:00
landry
38dc5b178f Bugfix update to firefox 65.0.1.
See https://www.mozilla.org/en-US/firefox/65.0.1/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-04/
2019-02-13 12:33:40 +00:00
landry
a34de66a3b Update to firefox 65.0.
See https://www.mozilla.org/en-US/firefox/65.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2019-01/

* link against systemwide icu4c now that it's been updated
* add 'video' to main process pledge: note that by default on OpenBSD
  only root can access the video device, so this changes nothing.
* document how to enable audio recording and changing video/webcam
  device ownership for proper WebRTC usage.

beware if you try building this: in -current, rust fails to build any
mozilla since the devel/llvm update, but this is known and being worked on.
2019-01-29 21:03:19 +00:00
landry
619c200e91 Bugfix update to firefox 64.0.2.
See https://www.mozilla.org/en-US/firefox/64.0.2/releasenotes/
2019-01-10 08:00:47 +00:00
landry
fb4a0b381d Update to firefox 64.0.
See https://www.mozilla.org/en-US/firefox/64.0/releasenotes/

Note that this version won't be backported to 6.4-stable as this
requires newer cbingen. -stable users should fallback to firefox-esr..
2018-12-11 15:32:35 +00:00
landry
7ddb4a0fb7 Bugfix update to firefox 63.0.3.
See https://www.mozilla.org/en-US/firefox/63.0.3/releasenotes/
2018-11-16 19:52:59 +00:00
landry
0fb7ae19a0 Bugfix update to firefox 63.0.1.
See https://www.mozilla.org/en-US/firefox/63.0.1/releasenotes/
- fix build with cbindgen 0.6.7
- really disable media autoplay by default, the knob changed (cf #1470082)
- use about:blank as default homepage/new tab page in new profiles.

Rationale: some parts of Activity Stream (the new Firefox Home) are nice
(ie searchbox, highlights, topsites from browsing history, etc) but
'snippets' is invasive (them being broken is a driver for this version,
cf #1503047, where comments are.. worrying), as is 'Recommended by
pocket' content shown to some countries (DE, CA, US..) - sadly, those
two sections cant easily be disabled (cf #1504279) on about:newtab, so
use the about:blank big hammer for privacy. Existing profiles still
using the default 'Firefox Home' are advised to visit
about:preferences#home and uncheck 'snippets' and 'pages saved to
pocket'... and read https://www.mozilla.org/en-US/privacy/firefox/.

While here add a section in pkg/README advising users using NIS or with
profiles on NFS to add getpw to the content process pledge, as it's
apparently needed in those conditions.
2018-11-03 21:45:52 +00:00
landry
043ffe6fce Update to firefox 63.0.
See https://www.mozilla.org/en-US/firefox/63.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2018-26/

Remove pledge patches from #1466593 & #1457092, they were all merged
upstream.
2018-10-23 16:52:48 +00:00
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