commit b2f029851ad2be4537b1c6594f984ddb6c91d61b
parent 4b60513d5e8e780aa5f31cb217646b931f5a1e06
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:
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh
@@ -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
diff --git a/contrib/build-wine/prepare-hw.sh b/contrib/build-wine/prepare-hw.sh
@@ -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
@@ -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
diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh
@@ -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
@@ -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
@@ -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 .
diff --git a/contrib/make_locale b/contrib/make_locale
@@ -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')