Commit Graph

920 Commits

Author SHA1 Message Date
Florian Klink
1b78e0eeec
Merge pull request #73365 from colemickens/nixpkgs-firefox-libglvnd
firefox-wrapper: rename gdkWayland->forceWayland; always use libglvnd
2020-07-11 13:49:39 +02:00
Frederik Rietdijk
ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
Cole Mickens
8437596beb
firefox{,-bin}: add 'mesa', for wayland/drm 2020-07-09 19:56:36 -07:00
Cole Mickens
68c68ff3c3
firefox: wrapper: include libglvnd by default (WR) 2020-07-07 03:33:49 -07:00
Cole Mickens
8734a5e362
firefox: wrapper: gdkWayland->forceWayland 2020-07-07 03:33:44 -07:00
ajs124
1f02e09a2c
firefox-esr-68: 68.9.0esr -> 68.10.0esr (PR #92043) 2020-07-05 17:06:04 +02:00
Frederik Rietdijk
fe9a096f46 Merge staging-next into staging 2020-06-25 20:36:08 +02:00
zowoq
c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
John Ericson
fa54dd346f
Merge pull request #85189 from Ericson2314/cxx-wrapper-debt
C++ compilers: Be sane with standard libraries
2020-06-22 10:38:34 -04:00
John Ericson
f3f7612a40 C++ Compilers: Systematize handling of standard libraries 2020-06-22 04:24:44 +00:00
Jan Tojnar
987a5c1e14
firefox: remove libIDL dependency
It has not been used for ages:

https://bugzilla.mozilla.org/show_bug.cgi?id=687766
2020-06-20 23:33:39 +02:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
ajs124
7fc793091b firefox-esr-68: 68.8.0esr -> 68.9.0esr 2020-06-04 13:30:40 +02:00
ajs124
dd334ebabb firefox: 76.0.1 -> 77.0.1 2020-06-04 13:30:40 +02:00
ajs124
785cdcddd7 nss: 3.52 -> 3.52.1 2020-06-04 13:30:40 +02:00
Andreas Rammhold
b70435e43c
firefox: 76.0 -> 76.0.1 2020-05-14 12:50:34 +02:00
aszlig
8fb49973ce
firefox: Add patch to fix AES GCM IV bit size
Regression introduced by bce5268a21.

The bit size of the initialisation vector for AES GCM has been
introduced in NSS version 3.52 in the CK_GCM_PARMS struct via the
ulIvBits field.

Unfortunately, Firefox 68.8.0 and 76.0 do not set this field and thus it
gets initialised to zero, which in turn causes IV generation to fail.

I found out about this because WebRTC stopped working after updating to
NSS 3.52 and so I started bisecting.

Since there wasn't an obvious error in Firefox hinting towards NSS but
instead just the video stream ended up as a "null" stream, I didn't
suspect the NSS update to be the culprit at first. So I verified a few
times and then also started bisecting the actual commit in NSS that
caused the issue.

This turned out to be the problematic change:

https://phabricator.services.mozilla.com/D63241

> One notable change was caused by an inconsistancy between the spec and
> the released headers in PKCS#11 v2.40. CK_GCM_PARAMS had an extra
> field in the header that was not in the spec. OASIS considers the
> header file to be normative, so PKCS#11 v3.0 resolved the issue in
> favor of the header file definition.

Since the test I've used[1] was a bit flaky, I still didn't believe the
result of the bisect to be accurate, but after running the test several
times leading same results I dug through the above change line by line
to get more clues.

It fortunately didn't take that long to stumble upon the ulIvBits change
(which is actually documented in the NSS 3.52 release notes[4], but I
managed to blatantly ignore it for some reason) and started checking the
Firefox source tree for changes regarding that field.

Initialisation of that new field has been introduced[2] in preparation
for the 76 release, but subsequently got reverted[3] prior to the
release, because Firefox 76 is expected to be shipped with NSS 3.51,
which didn't have the ulIvBits field.

The patch I'm adding here is just a reintroduction of that change,
because we're using NSS 3.52. Not initialising that field will break
WebRTC and WebCrypto, which I think the former seems to gain in
popularity these days ;-)

Tested the change against the mentioned VM test[1] and also by testing
manually using Jitsi Meet and Nextcloud Talk.

[1]: https://github.com/aszlig/avonc/tree/884315838b6f0ebb32b/tests/talk
[2]: https://hg.mozilla.org/mozilla-central/rev/3ed30e6b6de1
[3]: https://hg.mozilla.org/mozilla-central/rev/665137da70ee
[4]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes

Signed-off-by: aszlig <aszlig@nix.build>
2020-05-13 02:23:12 +02:00
Vladimír Čunát
a2d5351b63
Merge #86788: firefox 75.0 -> 76.0 (critical security)
https://www.mozilla.org/en-US/firefox/76.0/releasenotes/
Some of the changes were in master already, but whatever...
2020-05-07 19:57:16 +02:00
Andreas Rammhold
5bac4f0213
firefox-esr-68: 68.7.0esr -> 68.8.0esr
Discussion: https://github.com/NixOS/nixpkgs/pull/86788
2020-05-06 11:40:28 +02:00
Andreas Rammhold
f3cc8dc6fa
firefox-esr-68: 68.7.0esr -> 68.8.0esr 2020-05-04 17:29:37 +02:00
Andreas Rammhold
324e40f0f4
firefox: 75.0 -> 76.0 2020-05-04 16:31:27 +02:00
Cole Mickens
552d729571
firefox: wrapper: use ffmpeg_4 for vaapi
without this, adding libva is insufficient to get VA-API working in
Firefox.
2020-04-27 05:05:14 -07:00
Cole Mickens
730d542ae0
firefox: wrapper: add libva to libs 2020-04-27 03:48:33 -07:00
worldofpeace
443e544721 firefox-wrapper: don't throw on enableGnomeExtensions
We use the config for the native messaging host below this statement.
2020-04-18 20:36:55 -04:00
John Ericson
eb4acb6ca9
Merge pull request #85468 from Ericson2314/no-dumpmachine
treewide: Get rid of -dumpmachine in favor of static info
2020-04-18 00:35:19 -04:00
Dominik Xaver Hörl
c51b0afd54 firefox-wrapper: remove dead npapi plugin code 2020-04-16 10:12:09 +02:00
John Ericson
204d710405 treewide: Get rid of -dumpmachine in favor of static info 2020-04-13 19:26:19 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andreas Rammhold
f56ea6cdd7
firefox-esr-68: 68.6.1esr -> 68.7.0esr 2020-04-07 13:27:27 +02:00
Andreas Rammhold
4a41fd7a1e
firefox: 74.0.1 -> 75.0 2020-04-07 13:27:27 +02:00
Andreas Rammhold
9de3c9749c
firefox: prepare for version 75 2020-04-07 13:27:27 +02:00
Florian Klink
29f491d5b7
Merge pull request #81864 from volth/patch-389
firefox: mark as broken on 32-bit buildPlatform
2020-04-05 20:29:29 +02:00
Andreas Rammhold
f6430a2aea
firefox-esr: 68.8.0esr -> 68.8.1esr 2020-04-03 22:42:48 +02:00
Andreas Rammhold
48e6a3f1f1
firefox: 74.0 -> 74.0.1 2020-04-03 22:11:03 +02:00
Andreas Rammhold
ea8362e315
firefox: 73.0.1 -> 74.0 (#82276)
https://www.mozilla.org/en-US/firefox/74.0/releasenotes/

Co-authored-by: Daniel Frank <git@danielfrank.net>
2020-03-12 14:47:56 +01:00
Andreas Rammhold
9727da29b0
firefox-esr-68: 68.5.0esr -> 68.6.0esr 2020-03-10 20:07:29 +01:00
Samuel Dionne-Riel
d4446c563d firefox: Fix AArch64 build
* The 'arm.patch' patch doesn't apply anymore.
 * The 'build-arm-libopus.patch' patch isn't required anymore.
 * See the mozilla phabricator link for the added patch.

Additionally, we are now *always* undconditionally applying all patches
to all architectures. That is, unless they have undesirable
side-effects, but those might not be fit for inclusion.

By applying all patches all the time, they'll be removed or replaced
when they stop applying.
2020-03-09 13:37:30 -04:00
volth
ed33a6c327 firefox: mark as broken on 32-bit buildPlatform 2020-03-06 03:53:14 +00:00
Andreas Rammhold
a5ae1b2ffd
firefox: remove unused patches 2020-02-23 13:13:36 +01:00
Andreas Rammhold
9fd425e56f
firefox: remove unused function arguments 2020-02-23 13:10:16 +01:00
Domen Kožar
5f711b6b7e
Merge pull request #57876 from dtzWill/feature/fx_cast
fx_cast: init at 0.0.5
2020-02-20 15:18:03 +07:00
Andreas Rammhold
52920a6b2c
firefox: 73.0 -> 73.0.1 2020-02-18 13:26:40 +01:00
Andreas Rammhold
f43fdd1151 firefox-esr: 68.4.2esr -> 68.5.0esr 2020-02-11 01:19:26 +01:00
Andreas Rammhold
8019df98f8 firefox: 72.0.2 -> 73.0 2020-02-11 01:19:26 +01:00
Andreas Rammhold
187d6912a8 firefox: prepare for 73.0 2020-02-11 01:19:26 +01:00
Silvan Mosberger
349b471469 Merge pull request #79297 from arcnmx/pr-firefox-extension-links
firefox: resolve relative nativeMessagingHosts links
2020-02-10 00:15:19 +01:00
Florian Klink
84af9839e0 firefoxPackages.*, firefox-esr*, icecat: add aliases 2020-02-09 22:33:33 +01:00
Florian Klink
94b2596540 firefox: simplify derivation
with firefox 64 being the latest version, and the removal of
"tor-browser/icecat-like" variants, we can greatly simplify the common
firefox derivation.
2020-02-09 22:33:33 +01:00
Florian Klink
e3659c50fc firefoxPackages.firefox-esr-52: remove package
firefoxPackages.firefox-esr-52 was removed as it's an unsupported ESR
with open security issues. If you need it because you need to run some
plugins not having been ported to WebExtensions API, import it from an
older nixpkgs checkout still containing it.
2020-02-09 22:33:33 +01:00
Florian Klink
9704fbec86 firefoxPackages.icecat[-52]: remove package
firefoxPackages.icecat was removed as even its latest upstream version
is based on an unsupported ESR release with open security issues.
2020-02-09 22:33:33 +01:00
Florian Klink
83fff69fca firefoxPackages.firefox-esr-60: remove
There's not really a reason to ship an unsupported ESR variant of
firefox, and if one really needs it, it's also possible to just checkout
an older version of nixpkgs.
2020-02-09 22:33:33 +01:00
Florian Klink
c173d663fd firefoxPackages.*: use config.allowAliases 2020-02-09 22:33:33 +01:00
arcnmx
c7a58a7ba7 firefox: resolve relative nativeMessagingHosts links 2020-02-05 14:29:52 -08:00
taku0
249e3d0ef3 firefox-esr: 68.4.1esr -> 68.4.2esr 2020-01-21 20:04:04 +09:00
taku0
57aed520d8 firefox: 72.0.1 -> 72.0.2 2020-01-21 19:59:34 +09:00
Florian Klink
0e75514442 firefoxPackages.icecat: mark as insecure
It's based on 60.3.0, whose support ended around October 2019.
2020-01-10 20:19:19 +01:00
Florian Klink
1efaa03d95 firefoxPackages.tor-browser*, tor-browser-bundle: remove
These are all based on firefox versions with known vulnerabilities
exploited in the wild.

We seriously shouldn't ship this in nixpkgs, especially not for
sensitive applications as the Tor Browser.

`tor-browser-bundle` is just a wrapper around
`firefoxPackages.tor-browser`, so let's remove it too.

`tor-browser-bundle-bin` is the much safer bet, which is individually
downloaded from `dist.torproject.org` and just `patchelf`-ed locally to
work on NixOS.

Co-Authored-By: Alyssa Ross <hi@alyssa.is>
Co-Authored-By: Andreas Rammhold <andreas@rammhold.de>
Co-Authored-By: Graham Christensen <graham@grahamc.com>
2020-01-10 18:34:22 +01:00
Vladimír Čunát
f703a3a04a
firefox-esr-60: mark as vulnerable
The last release was in September, so it's surely "vulnerable" now.
https://www.mozilla.org/en-US/firefox/60.9.0/releasenotes/

This is the same appproach we've taken for esr-52.
2020-01-10 17:08:01 +01:00
Andreas Rammhold
b4983fe20b
firefox: fix build of >=72 on aarch64 2020-01-08 23:39:26 +01:00
Andreas Rammhold
204d32a746
firefox-esr-68: 68.4.0esr -> 68.4.1esr 2020-01-08 23:39:26 +01:00
Andreas Rammhold
aab1f2dfe2
firefox: 72.0 -> 72.0.1 2020-01-08 23:39:26 +01:00
Andreas Rammhold
40018e5987
firefox: 71.0 -> 72.0 2020-01-08 17:06:35 +01:00
Andreas Rammhold
2ad59bdf8c firefox-esr-68: 68.3.0esr -> 68.4.0esr 2020-01-08 14:48:30 +01:00
Andreas Rammhold
6d8208e373 firefox: prepare for firefox 72 2020-01-08 14:48:30 +01:00
Maximilian Bosch
5ed6a9c70d
firefox: fix for structured attrs 2019-12-31 00:59:00 +01:00
Robin Gloster
ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
Franz Pletz
a1e4ee6d4f
firefox: fix indexedDB for 71.0
Adapted original patch[0] to also fix dom localstorage.

[0]: https://bugzilla.mozilla.org/show_bug.cgi?id=1601707#c6
2019-12-07 19:28:47 +01:00
Andreas Rammhold
1993a8bb45
firefox-esr-68: 68.2.0esr -> 68.3.0esr 2019-12-03 14:52:06 +01:00
Andreas Rammhold
8eb6c64404 firefox: 70.0.1 -> 71.0 2019-12-03 11:38:30 +01:00
Frederik Rietdijk
06a054e6eb Merge master into staging-next 2019-11-25 21:51:57 +01:00
John Ericson
d34d84a61d firefox-wrapper: Get rid of name argument
Only pname + version is supported now. (Both are still optional,
however.)
2019-11-24 17:27:45 +00:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Will Dietz
c4e9dd4e57 firefox: add option to use fx_cast_bridge 2019-11-16 01:37:14 -06:00
Franz Pletz
5ba6f78efa
firefox-esr-68: fix build with gcc9 2019-11-04 19:17:55 +01:00
taku0
0bc5d7fcfe firefox: 70.0 -> 70.0.1 2019-10-31 21:25:52 +09:00
Frederik Rietdijk
a85e58ac13 Merge master into staging-next 2019-10-23 09:38:37 +02:00
taku0
20dae73330 firefox-esr: 68.1.0esr -> 68.2.0esr 2019-10-22 13:49:56 +09:00
Andreas Rammhold
1b2b4768f6 firefox: 69.0.2 -> 70.0 2019-10-21 21:58:37 +02:00
taku0
6d974eb7ce firefox: 69.0.1 -> 69.0.2 2019-10-05 18:44:22 +09:00
Joachim F
fb5f43a486
Merge pull request #69335 from oxij/pkgs/tor-browser-856
firefoxPackages.tor-browser: 8.5.4 -> 8.5.6
2019-09-24 04:57:16 +00:00
Jan Malakhovski
54c8da0787 firefoxPackages.tor-browser: 8.5.4 -> 8.5.6 2019-09-24 01:54:11 +00:00
Jörg Thalheim
8fc3fe400c
Firefox bin 69.0.1 (#69099)
Firefox bin 69.0.1
2019-09-21 08:28:57 +01:00
Matthew Bauer
abbb9ea848 firefox: mark broken on darwin
this has been broken for a while, best to not make hydra keep building it.
2019-09-20 23:20:32 -04:00
taku0
a4edff0fec firefox: 69.0 -> 69.0.1 2019-09-19 21:50:43 +09:00
Will Dietz
a209776db9
firefox-60-esr: 60.8.0esr -> 60.9.0esr 2019-09-13 22:32:33 -05:00
Vladimír Čunát
41ce0c2a53
Merge #67924: firefox: 68.0.2 -> 69.0 2019-09-07 09:36:47 +02:00
Andreas Rammhold
6dce809b32
firefox-esr: 68.0.2esr -> 68.1.0esr 2019-09-04 11:03:32 +02:00
Andreas Rammhold
87e261843c
firefox/wrapper: Set new style override for legacy profiles & allow downgrades
While Firefox 68 started messing with our profiles and required new
profiles on binary location changes Firefox 69 now verifies that we
aren't downgrading to an older Firefox even of the same version. If you
switch between two channel versions and/or between nixpkgs releases
Firefox will refuse to start and demand a fresh profile. Disabling the
downgrade protection works around that issue.
2019-09-04 02:14:53 +02:00
Andreas Rammhold
77fc386344
firefox: 68.0.2 -> 69.0 2019-09-02 20:58:57 +02:00
Andreas Rammhold
f3d3377477 firefox: support building firefox 69 2019-09-02 16:13:19 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Vladimír Čunát
bc238b8df5
firefoxPackages: fix builds based on ESR 60
Attributes: firefox-esr-60, tor-browser(-8-5), icecat
Thanks to Symphorien: #67426
2019-08-25 14:54:46 +02:00
worldofpeace
0552f4dc73
Merge pull request #67214 from stefano-m/master
adoptopenjdk-icedtea-web: rename from icedtea_web
2019-08-23 16:43:52 -04:00
Stefano Mazzucco
a6d234e9e9 adoptopenjdk-icedtea-web: rename from icedtea_web
This is a follow up of https://github.com/NixOS/nixpkgs/pull/66422

- rename icedtea_web to adoptopenjdk-icedtea-web to reflect the new governance
- add icedtea_web and icedtea8_web to aliases.nix for backwards compatibility
- update the attribute name where icedtea_web is used
2019-08-23 21:12:59 +01:00
Robin Gloster
f4fc845e5b
Merge remote-tracking branch 'upstream/master' into openssl-1.1 2019-08-21 14:25:13 +02:00
Robin Gloster
86e1839847
esteidfirefoxplugin: remove
id.ee has removed it and doesn't build with openssl 1.1, there seems to
be a new plugin available
2019-08-21 00:05:18 +02:00
Alex Branham
5ca29a98b2
firefox-esr: 68.0.1esr -> 68.0.2esr 2019-08-16 12:08:51 -05:00
Alex Branham
75ae4a318a
firefox: 68.0.1 -> 68.0.2 2019-08-16 12:08:51 -05:00
taku0
71116cd9d5 firefox-esr: 68.0esr -> 68.0.1esr 2019-07-24 16:19:05 +09:00
taku0
9c7aa99db2 firefox: 68.0 -> 68.0.1 2019-07-24 16:18:08 +09:00
Vladimír Čunát
538c8aebd8
firefox-esr-60: 60.7.2esr -> 60.8.0esr 2019-07-15 13:36:21 +02:00
taku0
75d4e64fad
firefox-esr: 60.7.2esr -> 68.0esr 2019-07-14 22:51:14 +02:00
taku0
0c436f8ca1
firefox: 67.0.4 -> 68.0 2019-07-14 22:46:03 +02:00
SLNOS
279a001062 firefoxPackages.tor-browser: 8.5.2 -> 8.5.4 2019-07-10 08:34:54 +00:00
Robert Helgesson
06d8666a60
firefox: allow overriding config of wrapped package
By moving the `cfg` variable into the wrapper arguments we are able to
override it for an already wrapped package. For example, with this
change one can have

    pkgs.firefox-devedition-bin.override {
      cfg.enableBrowserpass = true;
    }

which would otherwise be difficult to accomplish for packages having a
complicated wrapped definition in `all-packages.nix`.
2019-07-09 00:56:24 +02:00
Vladimír Čunát
df1d27ac31
firefox: fix highly parallel make by upstream patch 2019-07-01 14:37:30 +02:00
SLNOS
2cec4ca4f4 firefoxPackages.tor-browser: 8.5.0 -> 8.5.2 2019-06-21 17:52:26 +00:00
Alyssa Ross
2e8da9d6ec
firefox-esr: 60.7.1esr -> 60.7.2esr
CVE-2019-11708
2019-06-20 19:21:59 +00:00
Alyssa Ross
5f69dc425c
firefox: 67.0.3 -> 67.0.4
CVE-2019-11708
2019-06-20 19:21:56 +00:00
Alyssa Ross
0ca0284580
firefox: 67.0.2 -> 67.0.3
CVE-2019-11707
2019-06-18 20:26:43 +00:00
Alyssa Ross
087c619572
firefox-esr: 60.7.0esr -> 60.7.1esr
CVE-2019-11707
2019-06-18 19:42:55 +00:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
762f89d157
firefox: 67.0.1 -> 67.0.2 2019-06-11 23:45:56 -05:00
Andreas Rammhold
03128836bb
firefox: 67.0 -> 67.0.1 2019-06-08 18:06:48 +02:00
Will Dietz
88dc069219
tor-browser-bundle: 8.5 -> 8.5.1, security fix!
I think the source variant needs special handling, sorry.
2019-06-06 22:50:21 -05:00
talyz
ae2778c9e3 firefox-wayland: Add missing dependency libglvnd (libEGL)
Firefox running in wayland mode is unable to find and load
libEGL.so (and says so on stdout). This puts it in "basic"
mode (unaccelerated graphics) and disables WebGL. Fix this by adding
libglvnd to the LD_LIBRARY_PATH.
2019-06-05 14:49:55 +02:00
SLNOS
c4962cd506 firefoxPackages.tor-browser: 8.0.9 -> 8.5.0
Actually, more like -> 8.5.0.1 as this version is made against the
branch with the pending fixup patch applied.
2019-05-30 12:31:59 +00:00
Timo Kaufmann
53b08beea6
tridactyl-native: init at 1.14.9 (#61703) 2019-05-28 13:14:06 +02:00
Andreas Rammhold
082ed38cb1
firefox-wrapper: stop creating new profiles when the binary path changes
With a recent change to firefox (that landed in 67) a new profile is
created whenever the install location changes. Since our install
location (the binary path) always changes when we do a new build it is
rather annoying.

Setting the environment variable `SNAP_NAME` to `firefox` is supposed to
workaround the issue.

related to #58923

Woarkound taken from 1ff8b6c3d8

cc @rail
2019-05-24 00:17:40 +02:00
Andreas Rammhold
e57d93af0c
firefox-esr-60: 60.6.3esr -> 60.7.0esr 2019-05-21 07:57:14 +02:00
Andreas Rammhold
f353c0e958
firefox: 66.0.5 -> 67.0 2019-05-20 19:09:17 +02:00
Andreas Rammhold
7f65d06c4f firefox: prepare for firefox 67.0 release
Firefox now requires `llvm-objdump` during the build phase. The aarch64
patches do no longer apply. So far I am guessing that they have been
merged. We should verify that.
2019-05-20 18:29:25 +02:00
Andreas Rammhold
f29d398c69 firefox-esr-60: 60.6.2esr -> 60.6.3esr 2019-05-08 17:54:13 +02:00
Andreas Rammhold
bc3d79f633 firefox: 66.0.4 -> 66.0.5 2019-05-08 11:39:39 +02:00
SLNOS
8b4d53168a firefoxPackages.tor-browser: 8.0.8 -> 8.0.9 2019-05-08 03:45:38 +00:00
Renaud
2fb1b3156f
Merge pull request #60932 from c0bw3b/patches-cleanup
[treewide] delete (some) unused patches
2019-05-07 23:34:04 +02:00
Frederik Rietdijk
0196d8f11c Merge master into staging-next 2019-05-07 09:00:06 +02:00
taku0
07458c2f38 firefox-esr: 60.6.1esr -> 60.6.2esr 2019-05-06 13:35:25 +09:00
Eelco Dolstra
1f6ddfc7e0 firefox: 66.0.3 -> 66.0.4 2019-05-05 23:57:54 +02:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Matthew Bauer
0fe315c9b6 treewide: remove old patches for macOS
These shouldn’t be needed now that we are on macOS 10.12.
2019-04-26 21:54:32 -04:00
taku0
3412a2cfcc firefox: 66.0.2 -> 66.0.3 2019-04-13 10:49:24 +09:00
Andreas Rammhold
4b00df4305
Merge pull request #58630 from volth/patch-312
firefox-esr-52: fix build
2019-04-09 13:08:58 +00:00
Andrew Childs
c6ef39927c firefox: fix aarch64 build 2019-04-07 02:31:27 +09:00
Andrew Childs
5a8ddeea73 firefox: re-enable webrtc on aarch64 (64+); fix comment 2019-04-07 02:31:22 +09:00
Vladimír Čunát
1c4b324c8d
firefoxPackages: fix builds by a patch from Arch 2019-04-06 13:07:35 +02:00
volth
1c290ea724
firefox-esr-52: use gcc6 2019-04-01 06:36:02 +00:00
volth
edbb386dc6
firefox-esr-52: needs libXdamage headers 2019-03-31 20:55:05 +00:00
volth
3551068153
firefox-esr-52: fix build 2019-03-31 18:55:39 +00:00
Andreas Rammhold
c8186ad7b3
firefox: 66.0.1 -> 66.0.2 2019-03-29 10:41:00 +01:00
SLNOS
ec4a7a02ca firefoxPackages.tor-browser: carry over more configureFlags from upstream
These are taken from `tor-browser-build.git` repository.
2019-03-24 18:40:37 +00:00
SLNOS
6ed479de0c firefoxPackages.tor-browser: 8.0.6 -> 8.0.8 2019-03-24 18:40:34 +00:00
Andreas Rammhold
3e7b029ab7
firefox-esr-60: 60.6.0esr -> 60.6.1esr 2019-03-23 01:43:39 +01:00
Andreas Rammhold
e716a952cd
firefox: 66.0 -> 66.0.1 2019-03-23 01:43:20 +01:00
Andreas Rammhold
94d9400b4d
firefox-esr-60: 60.5.2esr -> 60.6.0.esr 2019-03-18 17:27:29 +01:00
Andreas Rammhold
dafe9c3cb0
firefox: 65.0.2 -> 66.0 2019-03-18 17:18:44 +01:00
Andreas Rammhold
d64d42f12d
firefox: support building firefox 66 (and 60.6+) 2019-03-18 17:18:42 +01:00
Jan Tojnar
a92a1ae908
firefox-esr-52: remove updateScript
This is dead package so let’s remove the updateScript which does not evaluate anyway.
2019-03-17 17:39:20 +01:00
Jan Tojnar
20ab640aa2
Merge pull request #56730 from jtojnar/sublime3-updatescript
sublime3: add updateScript
2019-03-06 00:13:44 +01:00
Jan Tojnar
0105058698
common-updater-scripts: Add file and system flags
You can now optionally invoke update-source-versions with:

* --system flag changing the host platform, to be passed dirrectly to Nix commands.
  This is useful for binary packages which have different sources for each platform.
* --file flag allowing to change the file to be modified. This is useful for packages
  that offer multiple variants, listed in a different file than the derivation itself;
  e.g. packages.nix of Sublime Text 3.
* --version-key, which is now a keyword flag instead of a positional argument.
2019-03-02 23:03:04 +01:00
taku0
692a763f60 firefox-esr: 60.5.1esr -> 60.5.2esr 2019-03-01 22:57:53 +09:00
taku0
d59a40c3b0 firefox: 65.0.1 -> 65.0.2 2019-03-01 22:53:35 +09:00
Frederik Rietdijk
2fcb11a244 Merge staging-next into master 2019-03-01 09:06:20 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Frederik Rietdijk
fd48a94b62 Merge staging-next into staging 2019-02-16 09:30:46 +01:00
Joachim F
e9d97c223e
Merge pull request #55738 from oxij/pkgs/tor-browser-update
firefoxPackages.tor-browser: 8.0.5 -> 8.0.6
2019-02-14 19:00:57 +00:00
Andreas Rammhold
826611bef9 firefox: add andir (myself) as maintainer
I have been working on this for some time now so it probably makes
sense...
2019-02-14 11:28:34 +01:00
Andreas Rammhold
2f4c7f3f92 firefox-esr-60: 60.5.0esr -> 60.5.1esr
Release notes: https://www.mozilla.org/en-US/firefox/60.5.1/releasenotes/
2019-02-14 11:28:34 +01:00
Andreas Rammhold
aa2acd0123 firefox: 65.0 -> 65.0.1
Release notes: https://www.mozilla.org/en-US/firefox/65.0.1/releasenotes/
2019-02-14 11:28:34 +01:00
Jan Tojnar
606ceda352
gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
SLNOS
9e65251afe firefoxPackages.tor-browser: 8.0.5 -> 8.0.6 2019-02-13 23:00:48 +00:00
Andreas Rammhold
7eaef48e5a
wrapFirefox: support GDK_BACKEND=wayland
The firefox wrapper now supports setting the GDK_BACKEND to wayland
which is useful in cases where firefox would be started from within an
X-Application inside of wayland. GTK/GDK would otherwise default to the
X11 backend in those situations.

The intention is that people that are using wayland primarily pull in
the new `firefox-wayland` top-level attribute into their environments
instead of just `firefox`. Firefox will then always be started with the
correct rendering backend.
2019-02-03 12:13:02 +01:00
Andreas Rammhold
d7731c3142
firefoxPackages: enable support for wayland
This adds support for building firefox with the gtk wayland backend. It
should work on all the flavors that use >=gtk3. Using the wayland
still allows using the X11 backend.
2019-02-03 11:36:25 +01:00
Jan Malakhovski
26f6fabcfe firefoxPackages: move nixpkgsPatches into common.nix 2019-01-31 17:02:52 +00:00
Jan Malakhovski
e11586f69f firefoxPackages.tor-browser: fix meta 2019-01-31 17:02:52 +00:00
Jan Malakhovski
afd0929f6c firefoxPackages: add a comments explaining the purpose of older versions 2019-01-31 17:02:52 +00:00
SLNOS
86a0112d59 firefoxPackages.tor-browser: 8.0.4 -> 8.0.5 2019-01-31 17:02:51 +00:00
SLNOS
7d9812e158 firefoxPackages.tor-browser: 8.0.3 -> 8.0.4 2019-01-31 17:02:51 +00:00
SLNOS
ff6cc1ac0e firefoxPackages.icecat: init at 60.3.0, 52.6.0
It works, but this state is far from ideal: GNU guys update generated source
tarballs very infrequently. Ideally, src needs to be generated by running
makeicecat over firefox src. Will do later.
2019-01-31 17:02:45 +00:00
Andreas Rammhold
10024f2ad1
firefoxPackages.firefox-esr-60: 60.4.0esr -> 60.5.0esr 2019-01-30 01:25:51 +01:00
Andreas Rammhold
cb7f7364a4 firefox: 64.0.2 -> 65.0
There have been some more changes to the source tree which broke the
buildconfig patch. This commit adds another patch that can be used for
the future versions. Once all the flavors are based off a new(ish)
firefox release we can remove the old patch.
2019-01-29 20:30:42 +01:00
Andreas Rammhold
08ba4f13c9 firefoxPackages: support building with firefox 65
Firefox >=65 will depend on icu >=63. All the older firefox versions
(and derived packages) seem to work fine with this change.

Also the system path environment patch will fail to apply since there
was a trivial whitespace change in the source file. By adding `-l` to
patch we can avoid having to track two patches that do basically the
same. Having patchFlags per file without resorting to pre-/postPatch
would be nicer but there doesn't seem to be a facility for that right
now.
2019-01-29 20:30:42 +01:00
Vladimír Čunát
bde8efe792
Merge branch 'master' into staging-next
A couple thousand rebuilds have accumulated on master.
2019-01-12 12:19:34 +01:00
taku0
08f779a9c3 firefox: 64.0 -> 64.0.2 2019-01-10 20:16:21 +09:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Andreas Rammhold
ccd160023c
firefox: 63.0.3 -> 64.0
See #51863.
2018-12-12 11:27:23 +01:00
Andreas Rammhold
d16d0b3762
firefox-esr-60: 60.3.0esr -> 60.4.0esr
See #51863.
2018-12-12 00:25:57 +01:00
Andreas Rammhold
783dc61f68
firefox: updated common.nix to support ffx64
See #51863.
2018-12-12 00:25:33 +01:00
Jan Tojnar
59a94b57f0
update.nix: Run update scripts in parallel
To make updating large attribute sets faster, the update scripts
are now run in parallel.

Please note the following changes in semantics:

- The string passed to updateScript needs to be a path to an executable file.
- The updateScript can also be a list: the tail elements will then be passed
  to the head as command line arguments.
2018-12-01 19:17:13 +01:00
Michael Raskin
355aa4e9ca
Merge pull request #50484 from taku0/firefox-bin-63.0.3
firefox, firefox-bin: 63.0.1 -> 63.0.3
2018-11-17 16:54:35 +00:00
Andreas Rammhold
b4f2c7ba8b
Merge pull request #50373 from pbogdan/ff-no-gs
firefoxen: remove unused gstreamer dependencies
2018-11-16 16:25:23 +01:00
taku0
917309fa62 firefox: 63.0.1 -> 63.0.3 2018-11-16 23:14:14 +09:00
taku0
4bb9af228e common-updater, firefox: fix updater for firefox 2018-11-16 23:04:54 +09:00
Piotr Bogdan
3e7b6b5bfa firefoxen: remove unused gstreamer dependencies
Firefox and, by extension, Tor browser don't support gstreamer any more, this
removes what are effectively unused dependencies.

https://bugzilla.mozilla.org/show_bug.cgi?id=1234092 "Remove gstreamer support"
2018-11-14 22:29:48 +00:00
Andreas Rammhold
66e16843b3
firefox: apply patch for newer rust-cbindgen
rust-cbindgen did apply some breaking changes which requires the added
patch in order to compile until a firefox version with the fix gets
released. Firefox 63.0.3 is supposed to carry the required patches. This
should only be required for a short term.
2018-11-14 20:51:19 +01:00
Michael Raskin
108de151f8 firefox: 63.0 -> 63.0.1; firefox-esr: 60.2.2esr -> 60.3.0esr 2018-11-08 20:23:33 +03:00
Michael Raskin
adf41ed942
Merge pull request #49864 from oxij/pkgs/tiny-things
trivial: tiny cleanups and fixes
2018-11-08 06:28:10 +00:00
Jan Malakhovski
d2d80e6d30 firefox: disable pulseaudio support on non-Linux by default 2018-11-08 05:20:18 +00:00
Andreas Rammhold
551ef1ac41 firefox: provide clang configure flags on i686
With the upgrade to firefox 62 clang flags are now required on i686.

(cherry picked from commit acf4a4eff3)
2018-11-07 19:44:01 +01:00
Andreas Rammhold
c8d45086d1
firefox-esr-60: drop skia patch on aarch64 2018-11-07 16:47:24 +01:00
Matthew Harm Bekkema
9973a266ab firefox-esr-60: 60.2.2 -> 60.3.0 [critical security fixes]
This update bumps the package to the latest stable version containing a
few security fixes:

- CVE-2018-12392: Crash with nested event loops
  When manipulating user events in nested loops while opening a document
  through script, it is possible to trigger a potentially exploitable
  crash due to poor event handling.

- CVE-2018-12393: Integer overflow during Unicode conversion while loading JavaScript
  A potential vulnerability was found in 32-bit builds where an integer
  overflow during the conversion of scripts to an internal UTF-16
  representation could result in allocating a buffer too small for the
  conversion. This leads to a possible out-of-bounds write.
  Note: 64-bit builds are not vulnerable to this issue.

- CVE-2018-12395: WebExtension bypass of domain restrictions through header rewriting
  By rewriting the Host request headers using the webRequest API, a
  WebExtension can bypass domain restrictions through domain fronting.
  This would allow access to domains that share a host that are
  otherwise restricted.

- CVE-2018-12396: WebExtension content scripts can execute in disallowed contexts
  A vulnerability where a WebExtension can run content scripts in
  disallowed contexts following navigation or other events. This allows
  for potential privilege escalation by the WebExtension on sites where
  content scripts should not be run.

- CVE-2018-12397: Missing warning prompt when WebExtension requests local file access
  A WebExtension can request access to local files without the warning
  prompt stating that the extension will "Access your data for all
  websites" being displayed to the user. This allows extensions to run
  content scripts in local pages without permission warnings when a
  local file is opened.

- CVE-2018-12389: Memory safety bugs fixed in Firefox ESR 60.3
  Mozilla developers and community members Daniel Veditz and Philipp
  reported memory safety bugs present in Firefox ESR 60.2. Some of these
  bugs showed evidence of memory corruption and we presume that with
  enough effort that some of these could be exploited to run arbitrary
  code.

- CVE-2018-12390: Memory safety bugs fixed in Firefox 63 and Firefox ESR 60.3
  Mozilla developers and community members Christian Holler, Bob Owen,
  Boris Zbarsky, Calixte Denizet, Jason Kratzer, Jed Davis, Taegeon Lee,
  Philipp, Ronald Crane, Raul Gurzau, Gary Kwong, Tyson Smith, Raymond
  Forbes, and Bogdan Tara reported memory safety bugs present in Firefox
  62 and Firefox ESR 60.2. Some of these bugs showed evidence of memory
  corruption and we presume that with enough effort that some of these
  could be exploited to run arbitrary code.

Source: https://www.mozilla.org/en-US/security/advisories/mfsa2018-27/
2018-11-03 22:51:36 +11:00
Joachim F
3272b9a2e9
Merge pull request #49173 from oxij/pkgs/update-tor-browser-again
firefoxPackages.tor-browser: 8.0.2 -> 8.0.3
2018-10-29 09:54:17 +00:00
SLNOS
87d0fe0049 firefoxPackages.tor-browser: 8.0.2 -> 8.0.3 2018-10-26 18:02:05 +00:00
Andreas Rammhold
277da59e47
firefox: 62.0.3 -> 63.0 2018-10-23 10:15:46 +02:00
SLNOS
0e3df42d64 firefoxPackages.tor-browser-8-0: apply a fix from bugzilla 2018-10-21 19:18:28 +00:00
SLNOS
bd7c0c8a6c firefoxPackages.tor-browser: 7.5.6 -> 8.0.2
Mostly usable now.
2018-10-19 16:46:55 +00:00