tor-browser-bundle-bin: 10.0.18 -> 10.5.2
(cherry picked from commit 42e69ba13fc6628e147a0060468ec35daada5edd)
This commit is contained in:
parent
f3414d7d2b
commit
70f944bdee
|
@ -88,19 +88,19 @@ let
|
||||||
fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ];
|
fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ];
|
||||||
|
|
||||||
# Upstream source
|
# Upstream source
|
||||||
version = "10.0.18";
|
version = "10.5.2";
|
||||||
|
|
||||||
lang = "en-US";
|
lang = "en-US";
|
||||||
|
|
||||||
srcs = {
|
srcs = {
|
||||||
x86_64-linux = fetchurl {
|
x86_64-linux = fetchurl {
|
||||||
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz";
|
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz";
|
||||||
sha256 = "15ni33mkg3awfmk3ynr0vi4max1h2k0s10xw3dpmdx6chzv4ll14";
|
sha256 = "16zk7d0sxm2j00vb002mjj38wxcxxlahnfdb9lmkmkfms9p9xfkb";
|
||||||
};
|
};
|
||||||
|
|
||||||
i686-linux = fetchurl {
|
i686-linux = fetchurl {
|
||||||
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz";
|
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz";
|
||||||
sha256 = "16lx8wkxli1fzq5f6gcw3im4p8k3xdmnmf6w0p7n8hd8681b1w5s";
|
sha256 = "0xc3ac2y9xf7ff3pqrp5n6l9j8i5hk3y2y3zwykwhnycnfi6dfv4";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -311,6 +311,13 @@ stdenv.mkDerivation rec {
|
||||||
# chance that TBB would continue using old font files.
|
# chance that TBB would continue using old font files.
|
||||||
rm -rf "\$HOME/.cache/fontconfig"
|
rm -rf "\$HOME/.cache/fontconfig"
|
||||||
|
|
||||||
|
# Manually specify data paths (by default TB attempts to create these in the store)
|
||||||
|
{
|
||||||
|
echo "user_pref(\"extensions.torlauncher.toronionauthdir_path\", \"\$HOME/TorBrowser/Data/Tor/onion-auth\");"
|
||||||
|
echo "user_pref(\"extensions.torlauncher.torrc_path\", \"\$HOME/TorBrowser/Data/Tor/torrc\");"
|
||||||
|
echo "user_pref(\"extensions.torlauncher.tordatadir_path\", \"\$HOME/TorBrowser/Data/Tor\");"
|
||||||
|
} >> "\$HOME/TorBrowser/Data/Browser/profile.default/prefs.js"
|
||||||
|
|
||||||
# Lift-off
|
# Lift-off
|
||||||
#
|
#
|
||||||
# XAUTHORITY and DISPLAY are required for TBB to work at all.
|
# XAUTHORITY and DISPLAY are required for TBB to work at all.
|
||||||
|
|
Loading…
Reference in New Issue