Commit Graph

427 Commits

Author SHA1 Message Date
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
87f241ee73 Bump all ports using rust to ensure they get rebuilt/updated. 2018-10-08 15:28:05 +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
sthen
202fbf484e bump REVISION on ports using rust, to ensure that they pick up the fix
for out of bounds write due to integer overflow that was fixed in rust's
libstd (which is statically linked).
2018-09-25 21:16:37 +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
83aeffddb0 Backport https://hg.mozilla.org/mozilla-central/rev/36f4ba2fb6f5
Fixes the build with upcoming rust 1.29.
with semarie@
2018-09-16 16:32:14 +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
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
landry
9e61267751 Remove patch that was meant to be removed when updating to 61.
ComputeUptime is called before pledge().. so no need to neuter this sysctl()
2018-07-06 06:54:05 +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
espie
150a0f36fa first tag: update-desktop-database 2018-06-27 21:03:34 +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
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
jasper
8c6f6d35f8 spello 2018-06-02 11:45:27 +00:00
sthen
114b1e4413 Bump the remaining ports to trigger updates following cpu stats
changes (CPUSTATES/etc). Last part.

- some of these might be in code that's not actually built or rarely
used but it's not worth the hassle evaluating that, i'm just bumping &
moving on.

- as mentioned before, there might still be runtime problems relating
to the addition or renumbering.
2018-06-01 15:44:28 +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
61489d07dc Oops, forgot to bump SO_VERSION - not that it matters, but oh well..
No bump since it was just commited.
2018-05-11 20:09:01 +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
99d10cbc39 Properly define DISTFILES where appropriate when MOZILLA_COMMIT is set.
Dammit.
2018-03-14 06:07:11 +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
153549ce77 Bugfix update to firefox 58.0.2.
See https://www.mozilla.org/en-US/firefox/58.0.2/releasenotes/
2018-02-08 15:45:30 +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
2b22587d09 Set DPB_PROPERTIES=lonesome on i386 so that no new jobs are sent to the
worker building firefox. Fixes firefox packaging on i386, but for how long...
same diff/ok sthen@
2018-01-29 18:47:02 +00:00
landry
409aff2b87 Pass --disable-debug-symbols to CONFIGURE_ARGS on i386, removes -C
debuginfo=2 from rust build flags and allows me to build firefox on i386
with recent rust. Somehow i had it locally but never commited it..
2018-01-27 07:53:50 +00:00
landry
7576546738 Also remove this one, was merged upstream in #1341234 2018-01-23 19:18:41 +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
6c4c50522c Out-out from shield/studies by default in new profiles.
For existing profiles, visit about:preferences#privacy to disable it (cf
https://support.mozilla.org/en-US/kb/shield)

Users just want to browse the web, not be opted-in by default to random UI
experiments. See https://wiki.mozilla.org/Firefox/Shield/Shield_Studies
for details.

While i usually don't like diverting from upstream defaults, something
that automagically loads unwanted add-ons isn't right, so i'm making an
exception here.
2017-12-15 21:03:58 +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
15c740198d On i386, tell the rust compiler to target pentium4 and enable sse2, this
way simd builds and we shouldnt suffer from runtime performance issues
using encoding_rs. Who would use firefox on a pentium 2 nowadays?

If your build fails, max out ulimit -d. At least 3Gig. Yes...

from semarie@
2017-12-04 17:35:12 +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
naddy
11e3dd67b3 switch COMPILER from the old, confusing shortcuts to the more explicit format 2017-11-16 23:20:37 +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
sthen
cd095cec5e Handle pthread-stubs removal. 2017-10-23 17:11:02 +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
sthen
1dd1aed429 bump; textproc/icu4c now uses multi-packages for -wwwdata 2017-08-24 09:45:23 +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
danj
a7b9a58b6c Update BDEP now that cargo lives in lang/rust 2017-07-31 13:19:46 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +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