From e722133cea3351cd4c2bc6df4c0d25d5f51dd8fd Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Sat, 25 Nov 2023 10:11:07 -0800 Subject: [PATCH] update fetch tors to 0.4.8.9 --- fetch-tor-macos.sh | 2 +- fetch-tor-win.ps1 | 4 ++-- fetch-tor.sh | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fetch-tor-macos.sh b/fetch-tor-macos.sh index a1071966..1d956794 100755 --- a/fetch-tor-macos.sh +++ b/fetch-tor-macos.sh @@ -1,7 +1,7 @@ #!/bin/sh cd macos -curl https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-macos-0.4.7.8.tar.gz --output tor.tar.gz +curl https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-macos.tar.gz --output tor.tar.gz tar -xzf tor.tar.gz chmod a+x Tor/tor.real cd .. diff --git a/fetch-tor-win.ps1 b/fetch-tor-win.ps1 index 7e7c4a01..5e9338f0 100644 --- a/fetch-tor-win.ps1 +++ b/fetch-tor-win.ps1 @@ -1,6 +1,6 @@ -Invoke-WebRequest -Uri https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-win64-0.4.7.8.zip -OutFile tor.zip +Invoke-WebRequest -Uri https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-win64.zip -OutFile tor.zip -if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne '5b8f900a37f6e90d7a945b3903d769383c7478042cb43b2105d2374186e1a536f1a4758a2823d1d5be71d53a81dcfd8243293e04f82812d355983df322823cf4' ) { Write-Error 'tor.zip sha512sum mismatch' } +if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne 'fa8792fb64d133cd17fa0405e1e67c3135785baf05f0402e32cfbd3154ef7698b73a93969114a00cb32a27e2a17afd37987539542030aac1c828359be792843f' ) { Write-Error 'tor.zip sha512sum mismatch' } Expand-Archive -Path tor.zip -DestinationPath Tor diff --git a/fetch-tor.sh b/fetch-tor.sh index ca71ca7b..813e9006 100755 --- a/fetch-tor.sh +++ b/fetch-tor.sh @@ -1,14 +1,14 @@ #!/bin/sh cd linux -wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.7.8-linux-x86_64.tar.gz -O tor.tar.gz +wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-linux-x86_64.tar.gz -O tor.tar.gz tar -xzf tor.tar.gz cd .. mkdir -p android/app/src/main/jniLibs/arm64-v8a -wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.7.10-arm64 -O android/app/src/main/jniLibs/arm64-v8a/libtor.so +wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-android-arm64 -O android/app/src/main/jniLibs/arm64-v8a/libtor.so chmod a+x android/app/src/main/jniLibs/arm64-v8a/libtor.so mkdir -p android/app/src/main/jniLibs/armeabi-v7a -wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.7.10-arm7 -O android/app/src/main/jniLibs/armeabi-v7a/libtor.so +wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-android-arm7 -O android/app/src/main/jniLibs/armeabi-v7a/libtor.so chmod a+x android/app/src/main/jniLibs/armeabi-v7a/libtor.so