Skip to content

Commit

Permalink
[Backport release-24.05] tor-browser: 13.5.5 -> 13.5.6, mullvad-brows…
Browse files Browse the repository at this point in the history
…er: 13.5.3 -> 13.5.6 (NixOS#346540)
  • Loading branch information
felschr authored Oct 5, 2024
2 parents fa5b482 + 17ee0f7 commit 7fa8476
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/mu/mullvad-browser/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let
++ lib.optionals mediaSupport [ ffmpeg ]
);

version = "13.5.3";
version = "13.5.6";

sources = {
x86_64-linux = fetchurl {
Expand All @@ -102,7 +102,7 @@ let
"https://tor.eff.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz"
];
hash = "sha256-rJKOkVfWs5q3eF+ffeBLIQaAMtoR7KzoNQlv64iNWJ8=";
hash = "sha256-AayGWFfsdAK9Ku4J4nDolJxnQn0HhGeZeEf//9OspWA=";
};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/mu/mullvad-browser/update.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ in writeShellScript "update-${pname}" ''
for platform in ${lib.escapeShellArgs meta.platforms}; do
arch="''${platforms[$platform]}"
sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | cut -d" " -f1)
sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | head -1 | cut -d" " -f1)
hash=$(nix hash to-sri --type sha256 "$sha256")
update-source-version "${pname}" "0" "sha256-${lib.fakeSha256}" --source-key="sources.$platform"
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/to/tor-browser/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ lib.warnIf (useHardenedMalloc != null)
++ lib.optionals mediaSupport [ ffmpeg ]
);

version = "13.5.5";
version = "13.5.6";

sources = {
x86_64-linux = fetchurl {
Expand All @@ -111,7 +111,7 @@ lib.warnIf (useHardenedMalloc != null)
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux-x86_64-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux-x86_64-${version}.tar.xz"
];
hash = "sha256-5Gwr7gKI5HVyAymi04BjiKTAIrYSSLVmIBu882XZ7gw=";
hash = "sha256-dEairGoBMsXF4gtnnqa2KsA8PpW9VwF8woUrInVWuKM=";
};

i686-linux = fetchurl {
Expand All @@ -121,7 +121,7 @@ lib.warnIf (useHardenedMalloc != null)
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux-i686-${version}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux-i686-${version}.tar.xz"
];
hash = "sha256-kpRtPM7jTYm6wmYiFT89B4Ue7kbsWweUxqXzeNtLCdo=";
hash = "sha256-9WRN+iU7vvt9KvVudsS7qe0hoJwDP/J+yOTHW7nmrxs=";
};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/to/tor-browser/update.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ in writeShellScript "update-${pname}" ''
for platform in ${lib.escapeShellArgs meta.platforms}; do
arch="''${platforms[$platform]}"
sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | cut -d" " -f1)
sha256=$(grep "${name}-$arch-$version.tar.xz" "$HOME/shasums" | head -1 | cut -d" " -f1)
hash=$(nix hash to-sri --type sha256 "$sha256")
update-source-version "${pname}" "$version" "$hash" --ignore-same-version --source-key="sources.$platform"
Expand Down

0 comments on commit 7fa8476

Please sign in to comment.