mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
tor-browser-bundle: use obfs4proxy
This commit is contained in:
parent
b775493d23
commit
63a13cce7c
2 changed files with 4 additions and 5 deletions
|
@ -34,7 +34,7 @@
|
||||||
, rsync
|
, rsync
|
||||||
|
|
||||||
# Pluggable transports
|
# Pluggable transports
|
||||||
, obfsproxy
|
, obfs4
|
||||||
|
|
||||||
# Customization
|
# Customization
|
||||||
, extraPrefs ? ""
|
, extraPrefs ? ""
|
||||||
|
@ -171,9 +171,9 @@ stdenv.mkDerivation rec {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Configure pluggable transports
|
# Configure pluggable transports
|
||||||
cat >>$TBDATA_PATH/torrc-defaults <<EOF
|
substituteInPlace $TBDATA_PATH/torrc-defaults \
|
||||||
ClientTransportPlugin obfs2,obfs3 exec ${obfsproxy}/bin/obfsproxy managed
|
--replace "./TorBrowser/Tor/PluggableTransports/obfs4proxy" \
|
||||||
EOF
|
"${obfs4}/bin/obfs4proxy"
|
||||||
|
|
||||||
# Hard-code path to TBB fonts; xref: FONTCONFIG_FILE in the wrapper below
|
# Hard-code path to TBB fonts; xref: FONTCONFIG_FILE in the wrapper below
|
||||||
sed $bundleData/$bundlePlatform/Data/fontconfig/fonts.conf \
|
sed $bundleData/$bundlePlatform/Data/fontconfig/fonts.conf \
|
||||||
|
|
|
@ -6093,7 +6093,6 @@ in
|
||||||
tor-browser-bundle = callPackage ../applications/networking/browsers/tor-browser-bundle {
|
tor-browser-bundle = callPackage ../applications/networking/browsers/tor-browser-bundle {
|
||||||
stdenv = stdenvNoCC;
|
stdenv = stdenvNoCC;
|
||||||
tor-browser-unwrapped = firefoxPackages.tor-browser;
|
tor-browser-unwrapped = firefoxPackages.tor-browser;
|
||||||
inherit (python27Packages) obfsproxy;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
touchegg = callPackage ../tools/inputmethods/touchegg { };
|
touchegg = callPackage ../tools/inputmethods/touchegg { };
|
||||||
|
|
Loading…
Reference in a new issue