tMerge pull request #3074 from SomberNight/build_security1 - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit b2f029851ad2be4537b1c6594f984ddb6c91d61b (DIR) parent 4b60513d5e8e780aa5f31cb217646b931f5a1e06 (HTM) Author: ThomasV <thomasv@electrum.org> Date: Fri, 20 Oct 2017 18:32:08 +0200 Merge pull request #3074 from SomberNight/build_security1 build scripts: https Diffstat: M contrib/build-wine/build-electrum-… | 2 +- M contrib/build-wine/prepare-hw.sh | 10 +++++----- M contrib/build-wine/prepare-wine.sh | 6 +++--- M contrib/make_locale | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) --- (DIR) diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh t@@ -1,7 +1,7 @@ #!/bin/bash # You probably need to update only this link -ELECTRUM_GIT_URL=git://github.com/spesmilo/electrum.git +ELECTRUM_GIT_URL=https://github.com/spesmilo/electrum.git BRANCH=master NAME_ROOT=electrum PYTHON_VERSION=3.5.4 (DIR) diff --git a/contrib/build-wine/prepare-hw.sh b/contrib/build-wine/prepare-hw.sh t@@ -1,8 +1,8 @@ #!/bin/bash -TREZOR_GIT_URL=git://github.com/trezor/python-trezor.git -KEEPKEY_GIT_URL=git://github.com/keepkey/python-keepkey.git -BTCHIP_GIT_URL=git://github.com/LedgerHQ/btchip-python.git +TREZOR_GIT_URL=https://github.com/trezor/python-trezor.git +KEEPKEY_GIT_URL=https://github.com/keepkey/python-keepkey.git +BTCHIP_GIT_URL=https://github.com/LedgerHQ/btchip-python.git BRANCH=master t@@ -20,8 +20,8 @@ set -e cd tmp -# downoad mingw-get-setup.exe -#wget http://downloads.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe +# download mingw-get-setup.exe +#wget https://downloads.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe #wine mingw-get-setup.exe #echo "add c:\MinGW\bin to PATH using regedit" in HKEY_CURRENT_USER/Environment (DIR) diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh t@@ -1,7 +1,7 @@ #!/bin/bash # Please update these carefully, some versions won't work under Wine -NSIS_URL=http://prdownloads.sourceforge.net/nsis/nsis-3.02.1-setup.exe?download +NSIS_URL=https://prdownloads.sourceforge.net/nsis/nsis-3.02.1-setup.exe?download PYTHON_VERSION=3.5.4 ## These settings probably don't need change t@@ -49,7 +49,7 @@ $PYTHON -m pip install PyQt5 $PYTHON -m pip install pyinstaller==3.3 # Install ZBar -#wget -q -O zbar.exe "http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download" +#wget -q -O zbar.exe "https://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download" #wine zbar.exe # install Cryptodome t@@ -75,7 +75,7 @@ wget -q -O nsis.exe "$NSIS_URL" wine nsis.exe # Install UPX -#wget -O upx.zip "http://upx.sourceforge.net/download/upx308w.zip" +#wget -O upx.zip "https://downloads.sourceforge.net/project/upx/upx/3.08/upx308w.zip" #unzip -o upx.zip #cp upx*/upx.exe . (DIR) diff --git a/contrib/make_locale b/contrib/make_locale t@@ -36,12 +36,12 @@ if crowdin_api_key: requests.request('POST', url, files=files) # Build translations print('Build translations') - response = requests.request('GET', 'http://api.crowdin.com/api/project/' + crowdin_identifier + '/export?key=' + crowdin_api_key).content + response = requests.request('GET', 'https://api.crowdin.com/api/project/' + crowdin_identifier + '/export?key=' + crowdin_api_key).content print(response) # Download & unzip print('Download translations') -s = requests.request('GET', 'http://crowdin.com/download/project/' + crowdin_identifier + '.zip').content +s = requests.request('GET', 'https://crowdin.com/download/project/' + crowdin_identifier + '.zip').content zfobj = zipfile.ZipFile(io.BytesIO(s)) print('Unzip translations')