diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-03-05 03:41:39 (GMT) |
---|---|---|
committer | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-03-10 13:59:00 (GMT) |
commit | 45d34aaac7be400a5befb5a7a67d3b7b0072bc92 (patch) | |
tree | 7e0c7bf6f06d4cf82695aa4add7c6beff849216f /tools | |
parent | 700f5c841fc1aa2b7bc15c317fd8f13c7e491e74 (diff) | |
download | mxe-45d34aaac7be400a5befb5a7a67d3b7b0072bc92.zip mxe-45d34aaac7be400a5befb5a7a67d3b7b0072bc92.tar.gz mxe-45d34aaac7be400a5befb5a7a67d3b7b0072bc92.tar.bz2 |
more URL updates
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-pkg.lua | 2 | ||||
-rwxr-xr-x | tools/compat-init.sh | 3 | ||||
-rwxr-xr-x | tools/copydlldeps.py | 4 | ||||
-rwxr-xr-x | tools/update-config-guess | 4 | ||||
-rwxr-xr-x | tools/update-gmsl | 6 |
5 files changed, 9 insertions, 10 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index ab79203..e898727 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -35,7 +35,7 @@ The following error: > This may be due to a lack of SYSV IPC support. > fakeroot: error while starting the `faked' daemon. can be caused by leaked ipc resources originating in fakeroot. -How to remove them: http://stackoverflow.com/a/4262545 +How to remove them: https://stackoverflow.com/a/4262545 ]] local max_items = tonumber(os.getenv('MXE_BUILD_PKG_MAX_ITEMS')) diff --git a/tools/compat-init.sh b/tools/compat-init.sh index e8f825a..7ca393f 100755 --- a/tools/compat-init.sh +++ b/tools/compat-init.sh @@ -15,6 +15,5 @@ if [ gsort --help >/dev/null 2>&1 ]; then SORT='gsort' fi -WGET="wget --no-check-certificate - --user-agent=$(wget --version | +WGET="wget --user-agent=$(wget --version | $SED -n 's,GNU \(Wget\) \([0-9.]*\).*,\1/\2,p')" diff --git a/tools/copydlldeps.py b/tools/copydlldeps.py index 17c0677..1f350b9 100755 --- a/tools/copydlldeps.py +++ b/tools/copydlldeps.py @@ -138,7 +138,7 @@ if __name__ == "__main__": not_found_dlls = set() # Create a list of all available .dll files in the libdir directories - # Flattening list: http://stackoverflow.com/questions/952914 + # Flattening list: https://stackoverflow.com/questions/952914 for libdir in [item for sublist in args.libdirs for item in sublist]: for dll_filename in os.listdir(libdir): dll_filename_full = os.path.join(libdir, dll_filename) @@ -147,7 +147,7 @@ if __name__ == "__main__": # Create a list of initial dependencies (dlls_to_copy) and already copied # DLLs (copied_dlls) from the checkdir arguments. - # Flattening list: http://stackoverflow.com/questions/952914 + # Flattening list: https://stackoverflow.com/questions/952914 for checkdir in [item for sublist in args.checkdirs for item in sublist]: for pe_filename in os.listdir(checkdir): pe_filename_full = os.path.join(checkdir, pe_filename) diff --git a/tools/update-config-guess b/tools/update-config-guess index 100e11a..55209bc 100755 --- a/tools/update-config-guess +++ b/tools/update-config-guess @@ -2,7 +2,7 @@ # This file is part of MXE. See LICENSE.md for licensing information. # # Script to automatically update config.guess -# (http://savannah.gnu.org/projects/config) +# (https://savannah.gnu.org/projects/config) clean(){ rm -rf tmp-config-guess @@ -17,7 +17,7 @@ current_version=$(grep 'timestamp.*=' 'ext/config.guess' 2>/dev/null | \ clean # Fetch latest config.guess from Savannah Git -$WGET -q -O tmp-config-guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' +$WGET -q -O tmp-config-guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' # Latest config.guess timestamp latest_version=$(grep 'timestamp.*=' 'tmp-config-guess' | head -1 | \ diff --git a/tools/update-gmsl b/tools/update-gmsl index bb5b52b..1f947a0 100755 --- a/tools/update-gmsl +++ b/tools/update-gmsl @@ -2,7 +2,7 @@ # This file is part of MXE. See LICENSE.md for licensing information. # # Script to automatically update GNU Make Standard Library -# (http://gmsl.sourceforge.net/) +# (https://gmsl.sourceforge.io/) clean(){ rm -rf tmp-gmsl.tar.gz gmsl-* @@ -15,7 +15,7 @@ current_version=$(grep 'gmsl_version.*=' 'ext/__gmsl' | \ cut -d'=' -f2 | $SED -e 's/^ //' -e 's/ *$//' | tr ' ' '.') # Latest GMSL version fetched from SourceForge latest_version=$( - $WGET -q -O- http://sourceforge.net/projects/gmsl/files/GNU%20Make%20Standard%20Library/ | \ + $WGET -q -O- https://sourceforge.net/projects/gmsl/files/GNU%20Make%20Standard%20Library/ | \ $SED -n 's,.*/v\([0-9][^"]*\)/".*,\1,p' | \ $SORT -V | \ tail -1) @@ -24,7 +24,7 @@ clean if [ $current_version != $latest_version ]; then echo "New version found: $current_version --> $latest_version" $WGET -q -O tmp-gmsl.tar.gz \ - "http://downloads.sourceforge.net/project/gmsl/GNU%20Make%20Standard%20Library/v${latest_version}/gmsl-${latest_version}.tar.gz" + "https://downloads.sourceforge.net/project/gmsl/GNU%20Make%20Standard%20Library/v${latest_version}/gmsl-${latest_version}.tar.gz" tar xzf tmp-gmsl.tar.gz rm -f ext/*gmsl docs/gmsl* cp -a gmsl-${latest_version}/gmsl ext/ |