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
|
||||
|
||||
# Pluggable transports
|
||||
, obfsproxy
|
||||
, obfs4
|
||||
|
||||
# Customization
|
||||
, extraPrefs ? ""
|
||||
|
@ -171,9 +171,9 @@ stdenv.mkDerivation rec {
|
|||
EOF
|
||||
|
||||
# Configure pluggable transports
|
||||
cat >>$TBDATA_PATH/torrc-defaults <<EOF
|
||||
ClientTransportPlugin obfs2,obfs3 exec ${obfsproxy}/bin/obfsproxy managed
|
||||
EOF
|
||||
substituteInPlace $TBDATA_PATH/torrc-defaults \
|
||||
--replace "./TorBrowser/Tor/PluggableTransports/obfs4proxy" \
|
||||
"${obfs4}/bin/obfs4proxy"
|
||||
|
||||
# Hard-code path to TBB fonts; xref: FONTCONFIG_FILE in the wrapper below
|
||||
sed $bundleData/$bundlePlatform/Data/fontconfig/fonts.conf \
|
||||
|
|
|
@ -6093,7 +6093,6 @@ in
|
|||
tor-browser-bundle = callPackage ../applications/networking/browsers/tor-browser-bundle {
|
||||
stdenv = stdenvNoCC;
|
||||
tor-browser-unwrapped = firefoxPackages.tor-browser;
|
||||
inherit (python27Packages) obfsproxy;
|
||||
};
|
||||
|
||||
touchegg = callPackage ../tools/inputmethods/touchegg { };
|
||||
|
|
Loading…
Reference in a new issue