Commit Graph

1942 Commits

Author SHA1 Message Date
emilylange
2a765dfbad
chromium: resolve ref to rev for blink version string
This allows us to match the version the binaries use more closely.

For example, chromedriver darwin (binary) reports the following:

~~~bash
chromedriver --version
ChromeDriver 131.0.6778.85 (3d81e41b6f3ac8bcae63b32e8145c9eb0cd60a2d-refs/branch-heads/6778@{#2285})
~~~

while on Linux, where we build chromedriver based on the chromium
derivation from source and control the string ourselves:

~~~bash
chromedriver --version
ChromeDriver 131.0.6778.85 (131.0.6778.85-refs/heads/master@{#0})
~~~

With this commit, the version string now reports:

~~~bash
chromedriver --version
ChromeDriver 131.0.6778.85 (3d81e41b6f3ac8bcae63b32e8145c9eb0cd60a2d-refs/tags/131.0.6778.85@{#0})
~~~

This may seem like a small and unimportant detail, but turns out an
internal function within chromedriver depends on the git hash.

See https://chromium.googlesource.com/chromium/src/+/131.0.6778.85/chrome/test/chromedriver/chrome/browser_info.cc#172

This caused the tests of one package (single-file-cli) that use
selenium with chromium and chromedriver to fail in 24.05.

Only in 24.05, because 24.11 and unstable removed their test dependency
on chromedriver because it wasn't available for aarch64-linux at that
time.

~~~
Running phase: checkPhase
Serving HTTP on 127.0.0.1 port 8000 (http://127.0.0.1:8000/) ...
session not created
from unknown error: unrecognized Blink revision: 131.0.6778.85 URL: http://127.0.0.1:8000
Stack: SessionNotCreatedError: session not created
from unknown error: unrecognized Blink revision: 131.0.6778.85
    at Object.throwDecodedError (/build/source/node_modules/selenium-webdriver/lib/error.js:524:15)
    at parseHttpResponse (/build/source/node_modules/selenium-webdriver/lib/http.js:601:13)
    at Executor.execute (/build/source/node_modules/selenium-webdriver/lib/http.js:529:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
~~~
2024-11-25 14:44:52 +01:00
networkException
bd84f1c657
ungoogled-chromium: 131.0.6778.69-1 -> 131.0.6778.85-1
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop_19.html

This update includes 3 security fixes.

CVEs:
CVE-2024-11395
2024-11-20 23:28:35 +01:00
networkException
68d51619a2
chromium: use cached dependencies from other attributes in update script
This patch extends the caching mechanism of the chromium
update scripts to use cached dependencies of all attributes
in the lockfile.

When updating ungoogled-chromium for example, the update script
will now use cached dependencies from vanilla chromium, usually
meaning that no additional fetching has to be done.
2024-11-20 23:27:25 +01:00
emilylange
eaa1bb9980
chromium,chromedriver: 131.0.6778.69 -> 131.0.6778.85
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop_19.html

This update includes 3 security fixes.

CVEs:
CVE-2024-11395
2024-11-20 02:00:20 +01:00
emilylange
54d69a3c79
ungoogled-chromium: 130.0.6723.116-1 -> 131.0.6778.69-1
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop_12.html

This update includes 12 security fixes.

CVEs:
CVE-2024-11110 CVE-2024-11111 CVE-2024-11112 CVE-2024-11113
CVE-2024-11114 CVE-2024-11115 CVE-2024-11116 CVE-2024-11117
2024-11-19 20:43:06 +01:00
emilylange
875ae81fe5
chromium,chromedriver: 130.0.6723.116 -> 131.0.6778.69
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop_12.html

This update includes 12 security fixes.

CVEs:
CVE-2024-11110 CVE-2024-11111 CVE-2024-11112 CVE-2024-11113
CVE-2024-11114 CVE-2024-11115 CVE-2024-11116 CVE-2024-11117
2024-11-19 20:43:05 +01:00
emilylange
8dd2f1add9
chromium: fetch src from git instead of using release tarball
This builds upon Yureka's work to build electron from source.
A lot of the newly introduced changes to the chromium derivation and
update script are 1-to-1 copies or slight derivates of that work.

Especially the newly added depot_tools.py to resolve the DEPS files does
most of the heavy lifting and is an ever so slightly modified version of
that section Yureka implemented in electron's update.py.

Some coordination between the chromium and electron maintainers should
allow us to deduplicate a lot of the duplicated code fairly easily in
the future.

That just wasn't a goal with this commit, due to time constraints and
the urgency to switch away from the release tarballs.

Instead of taking just a few hours for a tarball to be available for
download after a release, it now takes multiple days at least.

At the time of writing, roughly a week after M131 was released, the
tarball is still not available. It's unclear if it will ever be.

Reason for this are CI issues on Google's side.

Note that virtually every release contains some security critical fixes.

Also note that this commit is written with a lot of conditionals so the
electron derivation doesn't change (just yet).

The new update.mjs update script is still very much work-in-progress but
gets the job done.

Co-Authored-By: Yureka <yuka@yuka.dev>
2024-11-19 20:43:03 +01:00
emilylange
ebb40bd5c2
chromium: remove "channel" argument
This is no longer used as we only differentiate between stable and
ungoogled-chromium, which we already track in the "ungoogled" boolean.

Beta and dev channels are gone for good.
It's been a year since their removal in 59719f787e.

There is, however, an additional channel mapping in nixos/tests/chromium
but that one is independent from this one here.
2024-11-19 20:35:51 +01:00
emilylange
f1626845b2
ungoogled-chromium: 130.0.6723.91-1 -> 130.0.6723.116-1
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop.html

This update includes 2 security fixes.

CVEs:
CVE-2024-10826 CVE-2024-10827
2024-11-10 14:54:20 +01:00
emilylange
42e3784bba
chromium,chromedriver: 130.0.6723.91 -> 130.0.6723.116
https://chromereleases.googleblog.com/2024/11/stable-channel-update-for-desktop.html

This update includes 2 security fixes.

CVEs:
CVE-2024-10826 CVE-2024-10827
2024-11-10 14:38:40 +01:00
emilylange
c6d46d68ef
ungoogled-chromium: 130.0.6723.69-1 -> 130.0.6723.91-1
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_29.html

This update includes 2 security fixes.

CVEs:
CVE-2024-10487 CVE-2024-10488
2024-11-02 14:18:50 +01:00
emilylange
0c2f29ac63
chromium,chromedriver: 130.0.6723.69 -> 130.0.6723.91
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_29.html

This update includes 2 security fixes.

CVEs:
CVE-2024-10487 CVE-2024-10488
2024-11-02 14:18:11 +01:00
Tristan Ross
7ae81f12f9
electron_30-bin: mark as insecure because it's EOL, electron-source.electron_30: remove as it's EOL (#350549) 2024-10-30 19:52:23 -07:00
emilylange
db9d29e7f1
ungoogled-chromium: 130.0.6723.58-1 -> 130.0.6723.69-1
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_22.html

This update includes 3 security fixes.

CVEs:
CVE-2024-10229 CVE-2024-10230 CVE-2024-10231
2024-10-27 14:24:18 +01:00
emilylange
925537f0d4
chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_22.html

This update includes 3 security fixes.

CVEs:
CVE-2024-10229 CVE-2024-10230 CVE-2024-10231
2024-10-26 21:55:49 +02:00
Aleksana
af50c28579
splice.nix: remove toplevel {build,host,target}Platform in __splicedPackages (#350299) 2024-10-24 15:19:21 +08:00
Artturin
95c1043ff5 treewide: remove usages of aliases {build,host,target}Platform 2024-10-23 22:40:32 +03:00
emilylange
87b49e9595
electron-source.electron_30: remove as it's EOL 2024-10-22 21:23:33 +02:00
networkException
855780b11d
ungoogled-chromium: 129.0.6668.100-1 -> 130.0.6723.58-1
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_15.html

This update includes 17 security fixes.

CVEs:
CVE-2024-9954 CVE-2024-9955 CVE-2024-9956 CVE-2024-9957 CVE-2024-9958
CVE-2024-9959 CVE-2024-9960 CVE-2024-9961 CVE-2024-9962 CVE-2024-9963
CVE-2024-9964 CVE-2024-9965 CVE-2024-9966

Co-authored-by: emilylange <git@emilylange.de>
2024-10-20 20:04:44 +02:00
emilylange
b71ae2d950
chromium,chromedriver: 129.0.6668.100 -> 130.0.6723.58
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_15.html

This update includes 17 security fixes.

CVEs:
CVE-2024-9954 CVE-2024-9955 CVE-2024-9956 CVE-2024-9957 CVE-2024-9958
CVE-2024-9959 CVE-2024-9960 CVE-2024-9961 CVE-2024-9962 CVE-2024-9963
CVE-2024-9964 CVE-2024-9965 CVE-2024-9966
2024-10-18 01:56:56 +02:00
networkException
d1c465b111
ungoogled-chromium: 129.0.6668.89-1 -> 129.0.6668.100-1
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_8.html

This update includes 3 security fixes.

CVEs:
CVE-2024-9602 CVE-2024-9603
2024-10-10 00:19:48 +02:00
emilylange
16faf9913e
chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop_8.html

This update includes 3 security fixes.

CVEs:
CVE-2024-9602 CVE-2024-9603
2024-10-09 20:51:47 +02:00
networkException
c194fbfa01
ungoogled-chromium: 129.0.6668.70-1 -> 129.0.6668.89-1
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop.html

This update includes 4 security fixes.

CVEs:
CVE-2024-7025 CVE-2024-9369 CVE-2024-9370
2024-10-03 23:46:51 +02:00
emilylange
2d836948f6
chromium,chromedriver: 129.0.6668.70 -> 129.0.6668.89
https://chromereleases.googleblog.com/2024/10/stable-channel-update-for-desktop.html

This update includes 4 security fixes.

CVEs:
CVE-2024-7025 CVE-2024-9369 CVE-2024-9370
2024-10-03 19:10:34 +02:00
networkException
aa8d06d990
ungoogled-chromium: 129.0.6668.58-1 -> 129.0.6668.70-1
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_24.html

This update includes 5 security fixes.

CVEs:
CVE-2024-9120 CVE-2024-9121 CVE-2024-9122 CVE-2024-9123
2024-09-26 03:29:02 +02:00
networkException
7382bf81c5
chromium,chromedriver: 129.0.6668.58 -> 129.0.6668.70
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_24.html

This update includes 5 security fixes.

CVEs:
CVE-2024-9120 CVE-2024-9121 CVE-2024-9122 CVE-2024-9123
2024-09-26 03:28:32 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Robert Schütz
64a773b7e4
electron_32: init at 32.1.1, bitwarden-desktop: 2024.8.2 -> 2024.9.0 (#343097) 2024-09-23 07:31:56 -07:00
networkException
a444490175
ungoogled-chromium: 128.0.6613.137-1 -> 129.0.6668.58-1
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_17.html

This update includes 9 security fixes.

CVEs:
CVE-2024-8904 CVE-2024-8905 CVE-2024-8906 CVE-2024-8907 CVE-2024-8908
CVE-2024-8909
2024-09-21 16:33:11 +02:00
Robert Schütz
f01b674064 chromium: remove superfluous patch 2024-09-19 16:05:27 -07:00
emilylange
3277484ee6
chromium,chromedriver: 128.0.6613.137 -> 129.0.6668.58
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_17.html

This update includes 9 security fixes.

CVEs:
CVE-2024-8904 CVE-2024-8905 CVE-2024-8906 CVE-2024-8907 CVE-2024-8908
CVE-2024-8909
2024-09-18 07:40:33 +02:00
networkException
a84b51fdd1
ungoogled-chromium: 128.0.6613.119-1 -> 128.0.6613.137-1
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_10.html

This update includes 5 security fixes.

CVEs:
CVE-2024-8636 CVE-2024-8637 CVE-2024-8638 CVE-2024-8639
2024-09-12 02:07:57 +02:00
networkException
bae4c09c77
chromium,chromedriver: 128.0.6613.119 -> 128.0.6613.137
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop_10.html

This update includes 5 security fixes.

CVEs:
CVE-2024-8636 CVE-2024-8637 CVE-2024-8638 CVE-2024-8639
2024-09-12 02:07:47 +02:00
networkException
dca7537c8f
ungoogled-chromium: 128.0.6613.113-1 -> 128.0.6613.119-1
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop.html

This update includes 4 security fixes.

CVEs:
CVE-2024-8362 CVE-2024-7970
2024-09-03 19:57:43 +02:00
networkException
c0a3113afe
chromium,chromedriver: 128.0.6613.113 -> 128.0.6613.119
https://chromereleases.googleblog.com/2024/09/stable-channel-update-for-desktop.html

This update includes 4 security fixes.

CVEs:
CVE-2024-8362 CVE-2024-7970
2024-09-03 19:56:12 +02:00
networkException
96ea156926
chromium: match release blog entry titles case-insensitive in get-commit-message.py 2024-09-03 19:55:57 +02:00
networkException
87d29e6770
ungoogled-chromium: 128.0.6613.84-1 -> 128.0.6613.113-1
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_28.html

This update includes 4 security fixes.

CVEs:
CVE-2024-7969 CVE-2024-8193 CVE-2024-8194 CVE-2024-8198
2024-08-29 19:08:30 +02:00
emilylange
530f91d839
chromium,chromedriver: 128.0.6613.84 -> 128.0.6613.113
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_28.html

This update includes 4 security fixes.

CVEs:
CVE-2024-7969 CVE-2024-8193 CVE-2024-8194 CVE-2024-8198
2024-08-29 16:54:47 +02:00
emilylange
fd911150a2
electron-source.electron_29: remove as it's EOL 2024-08-23 17:01:14 +02:00
networkException
175de87d1c
ungoogled-chromium: 127.0.6533.119-2 -> 128.0.6613.84-1
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_21.html

This update includes 38 security fixes. Google is aware that an exploit
for CVE-2024-7971 exists in the wild.

CVEs:
CVE-2024-7964 CVE-2024-7965 CVE-2024-7966 CVE-2024-7967 CVE-2024-7968
CVE-2024-7969 CVE-2024-7971 CVE-2024-7972 CVE-2024-7973 CVE-2024-7974
CVE-2024-7975 CVE-2024-7976 CVE-2024-7977 CVE-2024-7978 CVE-2024-7979
CVE-2024-7980 CVE-2024-7981 CVE-2024-8033 CVE-2024-8034 CVE-2024-8035
2024-08-23 15:57:52 +02:00
networkException
18b12fec2a
chromium,chromedriver: 127.0.6533.119 -> 128.0.6613.84
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_21.html

This update includes 38 security fixes. Google is aware that an exploit
for CVE-2024-7971 exists in the wild.

CVEs:
CVE-2024-7964 CVE-2024-7965 CVE-2024-7966 CVE-2024-7967 CVE-2024-7968
CVE-2024-7969 CVE-2024-7971 CVE-2024-7972 CVE-2024-7973 CVE-2024-7974
CVE-2024-7975 CVE-2024-7976 CVE-2024-7977 CVE-2024-7978 CVE-2024-7979
CVE-2024-7980 CVE-2024-7981 CVE-2024-8033 CVE-2024-8034 CVE-2024-8035
2024-08-23 15:56:42 +02:00
Philip Taron
642bfd678c
chromium: remove with statements 2024-08-18 06:31:13 -07:00
networkException
062f810112
ungoogled-chromium: 127.0.6533.119-1 -> 127.0.6533.119-2 2024-08-17 23:25:43 +02:00
networkException
0b30619020
ungoogled-chromium: 127.0.6533.99-1 -> 127.0.6533.119-1
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_13.html
2024-08-15 01:58:38 +02:00
networkException
5fd95c7be6
chromium,chromedriver: 127.0.6533.99 -> 127.0.6533.119
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop_13.html
2024-08-15 01:58:14 +02:00
networkException
9552a73cc2
ungoogled-chromium: 127.0.6533.88-1 -> 127.0.6533.99-1
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop.html

This update includes 5 security fixes.

CVEs:
CVE-2024-7532 CVE-2024-7533 CVE-2024-7550 CVE-2024-7534 CVE-2024-7535
CVE-2024-7536
2024-08-10 15:27:18 +02:00
emilylange
971f01aef8
chromium,chromedriver: 127.0.6533.88 -> 127.0.6533.99
https://chromereleases.googleblog.com/2024/08/stable-channel-update-for-desktop.html

This update includes 5 security fixes.

CVEs:
CVE-2024-7532 CVE-2024-7533 CVE-2024-7550 CVE-2024-7534 CVE-2024-7535
CVE-2024-7536
2024-08-07 17:54:21 +02:00
networkException
cc42786e42
ungoogled-chromium: 127.0.6533.72-1 -> 127.0.6533.88-1
https://chromereleases.googleblog.com/2024/07/stable-channel-update-for-desktop_30.html

This update includes 3 security fixes.

CVEs:
CVE-2024-6990 CVE-2024-7255 CVE-2024-7256
2024-08-01 12:35:19 +02:00
networkException
0b779a09ba
chromedriver,chromium: 127.0.6533.72 -> 127.0.6533.88
https://chromereleases.googleblog.com/2024/07/stable-channel-update-for-desktop_30.html

This update includes 3 security fixes.

CVEs:
CVE-2024-6990 CVE-2024-7255 CVE-2024-7256
2024-08-01 12:34:53 +02:00
Emily
6a10dc1f1f
Merge pull request #330610 from networkException/update-chromium
ungoogled-chromium: 126.0.6478.182-1 -> 127.0.6533.72-1
2024-07-28 17:00:01 +02:00