From b9a47e838a65f0cf631276175f1c941120272a3a Mon Sep 17 00:00:00 2001
From: Viktor Szakats <commit@vszakats.net>
Date: Fri, 13 Jul 2018 23:02:08 +0000
Subject: Secure URLs

---
 docs/index.html                                    | 28 +++++++++++-----------
 plugins/examples/qt5-freeze/qt3d.mk                |  2 +-
 plugins/examples/qt5-freeze/qtactiveqt.mk          |  2 +-
 plugins/examples/qt5-freeze/qtbase.mk              |  6 ++---
 plugins/examples/qt5-freeze/qtcanvas3d.mk          |  2 +-
 plugins/examples/qt5-freeze/qtcharts.mk            |  2 +-
 plugins/examples/qt5-freeze/qtconnectivity.mk      |  2 +-
 plugins/examples/qt5-freeze/qtdatavis3d.mk         |  2 +-
 .../examples/qt5-freeze/qtdeclarative-render2d.mk  |  2 +-
 plugins/examples/qt5-freeze/qtdeclarative.mk       |  2 +-
 plugins/examples/qt5-freeze/qtgamepad.mk           |  2 +-
 plugins/examples/qt5-freeze/qtgraphicaleffects.mk  |  2 +-
 plugins/examples/qt5-freeze/qtimageformats.mk      |  2 +-
 plugins/examples/qt5-freeze/qtlocation.mk          |  2 +-
 plugins/examples/qt5-freeze/qtmultimedia.mk        |  2 +-
 plugins/examples/qt5-freeze/qtpurchasing.mk        |  2 +-
 plugins/examples/qt5-freeze/qtquickcontrols.mk     |  2 +-
 plugins/examples/qt5-freeze/qtquickcontrols2.mk    |  2 +-
 plugins/examples/qt5-freeze/qtscript.mk            |  2 +-
 plugins/examples/qt5-freeze/qtscxml.mk             |  2 +-
 plugins/examples/qt5-freeze/qtsensors.mk           |  2 +-
 plugins/examples/qt5-freeze/qtserialbus.mk         |  2 +-
 plugins/examples/qt5-freeze/qtserialport.mk        |  2 +-
 plugins/examples/qt5-freeze/qtsvg.mk               |  2 +-
 plugins/examples/qt5-freeze/qttools.mk             |  2 +-
 plugins/examples/qt5-freeze/qttranslations.mk      |  2 +-
 plugins/examples/qt5-freeze/qtvirtualkeyboard.mk   |  2 +-
 plugins/examples/qt5-freeze/qtwebchannel.mk        |  2 +-
 plugins/examples/qt5-freeze/qtwebkit.mk            |  2 +-
 plugins/examples/qt5-freeze/qtwebsockets.mk        |  2 +-
 plugins/examples/qt5-freeze/qtwebview.mk           |  2 +-
 plugins/examples/qt5-freeze/qtwinextras.mk         |  2 +-
 plugins/examples/qt5-freeze/qtxmlpatterns.mk       |  2 +-
 plugins/luarocks/luasocket.mk                      |  2 +-
 src/box2d.mk                                       |  2 +-
 src/cpp-netlib.mk                                  |  2 +-
 src/dcmtk.mk                                       |  6 ++---
 src/freexl.mk                                      |  4 ++--
 src/gdal.mk                                        |  2 +-
 src/geos.mk                                        |  4 ++--
 src/glfw2.mk                                       |  2 +-
 src/glfw3.mk                                       |  2 +-
 src/gta.mk                                         |  2 +-
 src/gtkglarea.mk                                   |  2 +-
 src/hdf-eos2.mk                                    |  2 +-
 src/ilmbase.mk                                     |  4 ++--
 src/itpp.mk                                        |  2 +-
 src/lapack-test.c                                  |  2 +-
 src/lapack.mk                                      |  2 +-
 src/lensfun-test.c                                 |  2 +-
 src/libcddb-test.c                                 |  2 +-
 src/libf2c.mk                                      |  2 +-
 src/libgeotiff.mk                                  |  2 +-
 src/libjpeg-turbo.mk                               |  2 +-
 src/libmad.mk                                      |  2 +-
 src/libntlm.mk                                     |  4 ++--
 src/libspatialindex.mk                             |  4 ++--
 src/libusb1.mk                                     |  2 +-
 src/libvpx.mk                                      |  2 +-
 src/lzma.mk                                        |  6 ++---
 src/mpfr.mk                                        |  6 ++---
 src/nasm.mk                                        |  6 ++---
 src/neon-test.c                                    |  2 +-
 src/neon.mk                                        |  2 +-
 src/openblas.mk                                    |  2 +-
 src/openexr.mk                                     |  4 ++--
 src/openjpeg.mk                                    |  2 +-
 src/pango.mk                                       |  2 +-
 src/pangomm.mk                                     |  2 +-
 src/primesieve.mk                                  |  4 ++--
 src/proj.mk                                        |  4 ++--
 src/rubberband.mk                                  |  4 ++--
 src/sdl2_gfx.mk                                    |  6 ++---
 src/sdl_gfx.mk                                     |  6 ++---
 src/spatialite.mk                                  |  4 ++--
 src/tidy-html5.mk                                  |  2 +-
 src/tiff.mk                                        |  2 +-
 src/unzip.mk                                       |  2 +-
 src/vamp-plugin-sdk.mk                             |  2 +-
 src/vorbis.mk                                      |  2 +-
 src/xvidcore.mk                                    |  2 +-
 src/yasm.mk                                        |  2 +-
 src/zip.mk                                         |  2 +-
 tools/s3-fetch-and-sync                            |  2 +-
 84 files changed, 121 insertions(+), 121 deletions(-)

diff --git a/docs/index.html b/docs/index.html
index 2480683..f0a2ef6 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -637,7 +637,7 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
         <td></td>
     </tr>
     <tr>
-        <td><a href="http://search.cpan.org/dist/XML-Parser/Parser.pm">Perl XML::Parser</a></td>
+        <td><a href="https://metacpan.org/pod/distribution/XML-Parser/Parser.pm">Perl XML::Parser</a></td>
         <td></td>
     </tr>
     <tr>
@@ -653,11 +653,11 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
         <td></td>
     </tr>
     <tr>
-        <td><a href="http://www.scons.org/">SCons</a></td>
+        <td><a href="https://www.scons.org/">SCons</a></td>
         <td>≥ 0.98</td>
     </tr>
     <tr>
-        <td><a href="http://www.info-zip.org/UnZip.html">UnZip</a></td>
+        <td><a href="https://infozip.sourceforge.io/UnZip.html">UnZip</a></td>
         <td></td>
     </tr>
     <tr>
@@ -937,10 +937,10 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
 
     <h5 id="requirements-macos-rudix">Rudix</h5>
     <p>
-    Install <a href="http://rudix.org/">Rudix</a>,
+    Install <a href="https://rudix.org/">Rudix</a>,
     then run:
     </p>
-    <!-- http://rudix.org/packages/index.html -->
+    <!-- https://rudix.org/packages/index.html -->
     <pre>sudo rudix install \
     autoconf \
     automake \
@@ -965,7 +965,7 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
     Install <a href="https://brew.sh/">Homebrew</a>,
     then run:
     </p>
-    <!-- http://braumeister.org/ -->
+    <!-- https://formulae.brew.sh/ -->
     <pre>brew install \
     autoconf \
     automake \
@@ -1413,7 +1413,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
         The package should be a
         <a href="https://www.gnu.org/philosophy/free-sw.html">free</a>
         <a href="https://www.debian.org/social_contract#guidelines">software</a>
-        <a href="http://www.opensource.org/osd.html">library</a>
+        <a href="https://www.opensource.org/osd.html">library</a>
         that is really used by one of your applications. Please also review our
         <a href="#legal">legal notes</a>.
         </p>
@@ -1963,7 +1963,7 @@ endef</pre>
     <ul>
     <li><a href="https://www.gnu.org/philosophy/free-sw.html">The Free Software Definition</a></li>
     <li><a href="https://www.debian.org/social_contract#guidelines">The Debian Free Software Guidelines (DFSG)</a></li>
-    <li><a href="http://www.opensource.org/osd.html">The Open Source Definition</a></li>
+    <li><a href="https://www.opensource.org/osd.html">The Open Source Definition</a></li>
     </ul>
 
     <p>
@@ -2919,7 +2919,7 @@ endef</pre>
         Appeared on
         <a href="http://lxer.com/module/newswire/view/118868">LXer</a>
         and
-        <a href="http://www.linuxtoday.com/developer/2009041501335RVSWDV">Linux Today</a>
+        <a href="https://www.linuxtoday.com/developer/2009041501335RVSWDV">Linux Today</a>
     </li>
     <li>
         <a href="http://www.mingw.org/wiki/LinuxCrossMinGW">MinGW cross compiler for Linux build environment</a>
@@ -3028,16 +3028,16 @@ endef</pre>
         <a href="https://github.com/ThKattanek/emu64">Emu64</a>
     </li>
     <li>
-        <a href="http://www.ros.org/wiki/eros">Eros</a>
+        <a href="https://www.ros.org/wiki/eros">Eros</a>
     </li>
     <li>
-        <a href="http://www.nongnu.org/galois/">Galois</a>
+        <a href="https://www.nongnu.org/galois/">Galois</a>
     </li>
     <li>
         <a href="http://gcompris.net/">GCompris</a>
     </li>
     <li>
-        <a href="http://www.nongnu.org/gta/">Generic Tagged Arrays</a>
+        <a href="https://www.nongnu.org/gta/">Generic Tagged Arrays</a>
     </li>
     <li>
         <a href="https://www.gnu.org/software/freedink/">GNU FreeDink</a>
@@ -3067,7 +3067,7 @@ endef</pre>
         <a href="https://msmtp.sourceforge.io/">msmtp</a>
     </li>
     <li>
-        <a href="http://www.openscad.org/">OpenSCAD</a>
+        <a href="https://www.openscad.org/">OpenSCAD</a>
     </li>
     <li>
         <a href="https://pdfgrep.org/">Pdfgrep</a>
@@ -3124,7 +3124,7 @@ endef</pre>
         <a href="http://ph.on.things.free.fr/projects/ube/">Ube</a>
     </li>
     <li>
-        <a href="http://ufoai.org/">UFO: Alien Invasion</a>
+        <a href="https://ufoai.org/">UFO: Alien Invasion</a>
     </li>
     <li>
         <a href="https://violetland.github.io/">Violetland</a>
diff --git a/plugins/examples/qt5-freeze/qt3d.mk b/plugins/examples/qt5-freeze/qt3d.mk
index 68b8808..e9317c5 100644
--- a/plugins/examples/qt5-freeze/qt3d.mk
+++ b/plugins/examples/qt5-freeze/qt3d.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qt3d
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtactiveqt.mk b/plugins/examples/qt5-freeze/qtactiveqt.mk
index 7943b6c..5a0e0f0 100644
--- a/plugins/examples/qt5-freeze/qtactiveqt.mk
+++ b/plugins/examples/qt5-freeze/qtactiveqt.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtactiveqt
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtbase.mk b/plugins/examples/qt5-freeze/qtbase.mk
index 680817f..944ef23 100644
--- a/plugins/examples/qt5-freeze/qtbase.mk
+++ b/plugins/examples/qt5-freeze/qtbase.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtbase
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 5.7.1
@@ -9,7 +9,7 @@ $(PKG)_CHECKSUM := edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b665
 $(PKG)_PATCHES  := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/$(PKG)-[0-9]*.patch)))
 $(PKG)_SUBDIR   := $(PKG)-opensource-src-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-opensource-src-$($(PKG)_VERSION).tar.xz
-$(PKG)_URL      := http://download.qt.io/official_releases/qt/5.7/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.qt.io/official_releases/qt/5.7/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc dbus fontconfig freetds freetype harfbuzz jpeg libmysqlclient libpng openssl pcre postgresql sqlite zlib
 
 # allows for side-by-side install with later Qt
@@ -24,7 +24,7 @@ define QMAKE_MAKE_INSTALL
 endef
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- http://download.qt-project.org/official_releases/qt/5.5/ | \
+    $(WGET) -q -O- https://download.qt-project.org/official_releases/qt/5.5/ | \
     $(SED) -n 's,.*href="\(5\.[0-9]\.[^/]*\)/".*,\1,p' | \
     grep -iv -- '-rc' | \
     sort |
diff --git a/plugins/examples/qt5-freeze/qtcanvas3d.mk b/plugins/examples/qt5-freeze/qtcanvas3d.mk
index 3dcce58..eb72618 100644
--- a/plugins/examples/qt5-freeze/qtcanvas3d.mk
+++ b/plugins/examples/qt5-freeze/qtcanvas3d.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtcanvas3d
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtcharts.mk b/plugins/examples/qt5-freeze/qtcharts.mk
index 3a9df4d..e3ebd20 100644
--- a/plugins/examples/qt5-freeze/qtcharts.mk
+++ b/plugins/examples/qt5-freeze/qtcharts.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtcharts
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtconnectivity.mk b/plugins/examples/qt5-freeze/qtconnectivity.mk
index 97c4b57..0ad697e 100644
--- a/plugins/examples/qt5-freeze/qtconnectivity.mk
+++ b/plugins/examples/qt5-freeze/qtconnectivity.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtconnectivity
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtdatavis3d.mk b/plugins/examples/qt5-freeze/qtdatavis3d.mk
index 7f03776..d56b60f 100644
--- a/plugins/examples/qt5-freeze/qtdatavis3d.mk
+++ b/plugins/examples/qt5-freeze/qtdatavis3d.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtdatavis3d
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtdeclarative-render2d.mk b/plugins/examples/qt5-freeze/qtdeclarative-render2d.mk
index f6e8eb0..d3390bd 100644
--- a/plugins/examples/qt5-freeze/qtdeclarative-render2d.mk
+++ b/plugins/examples/qt5-freeze/qtdeclarative-render2d.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtdeclarative-render2d
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtdeclarative.mk b/plugins/examples/qt5-freeze/qtdeclarative.mk
index 7569fa3..18ee93f 100644
--- a/plugins/examples/qt5-freeze/qtdeclarative.mk
+++ b/plugins/examples/qt5-freeze/qtdeclarative.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtdeclarative
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtgamepad.mk b/plugins/examples/qt5-freeze/qtgamepad.mk
index 99bdb93..636a7f1 100644
--- a/plugins/examples/qt5-freeze/qtgamepad.mk
+++ b/plugins/examples/qt5-freeze/qtgamepad.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtgamepad
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtgraphicaleffects.mk b/plugins/examples/qt5-freeze/qtgraphicaleffects.mk
index fc3cbf8..a04d67f 100644
--- a/plugins/examples/qt5-freeze/qtgraphicaleffects.mk
+++ b/plugins/examples/qt5-freeze/qtgraphicaleffects.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtgraphicaleffects
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtimageformats.mk b/plugins/examples/qt5-freeze/qtimageformats.mk
index bc7235f..7b45b06 100644
--- a/plugins/examples/qt5-freeze/qtimageformats.mk
+++ b/plugins/examples/qt5-freeze/qtimageformats.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtimageformats
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtlocation.mk b/plugins/examples/qt5-freeze/qtlocation.mk
index c272748..0aa7b10 100644
--- a/plugins/examples/qt5-freeze/qtlocation.mk
+++ b/plugins/examples/qt5-freeze/qtlocation.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtlocation
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtmultimedia.mk b/plugins/examples/qt5-freeze/qtmultimedia.mk
index 5916d7a..9e9d0cf 100644
--- a/plugins/examples/qt5-freeze/qtmultimedia.mk
+++ b/plugins/examples/qt5-freeze/qtmultimedia.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtmultimedia
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtpurchasing.mk b/plugins/examples/qt5-freeze/qtpurchasing.mk
index 1d273af..dbd3c61 100644
--- a/plugins/examples/qt5-freeze/qtpurchasing.mk
+++ b/plugins/examples/qt5-freeze/qtpurchasing.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtpurchasing
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtquickcontrols.mk b/plugins/examples/qt5-freeze/qtquickcontrols.mk
index 7d79d5a..3aa18d1 100644
--- a/plugins/examples/qt5-freeze/qtquickcontrols.mk
+++ b/plugins/examples/qt5-freeze/qtquickcontrols.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtquickcontrols
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtquickcontrols2.mk b/plugins/examples/qt5-freeze/qtquickcontrols2.mk
index 2811ca2..1912af0 100644
--- a/plugins/examples/qt5-freeze/qtquickcontrols2.mk
+++ b/plugins/examples/qt5-freeze/qtquickcontrols2.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtquickcontrols2
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtscript.mk b/plugins/examples/qt5-freeze/qtscript.mk
index 323e245..e955f1a 100644
--- a/plugins/examples/qt5-freeze/qtscript.mk
+++ b/plugins/examples/qt5-freeze/qtscript.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtscript
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtscxml.mk b/plugins/examples/qt5-freeze/qtscxml.mk
index 34e7d65..48f4ae3 100644
--- a/plugins/examples/qt5-freeze/qtscxml.mk
+++ b/plugins/examples/qt5-freeze/qtscxml.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtscxml
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtsensors.mk b/plugins/examples/qt5-freeze/qtsensors.mk
index 6dc9c02..cf8b291 100644
--- a/plugins/examples/qt5-freeze/qtsensors.mk
+++ b/plugins/examples/qt5-freeze/qtsensors.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtsensors
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtserialbus.mk b/plugins/examples/qt5-freeze/qtserialbus.mk
index 8cf453f..03713f4 100644
--- a/plugins/examples/qt5-freeze/qtserialbus.mk
+++ b/plugins/examples/qt5-freeze/qtserialbus.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtserialbus
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtserialport.mk b/plugins/examples/qt5-freeze/qtserialport.mk
index dd343a4..33b8b53 100644
--- a/plugins/examples/qt5-freeze/qtserialport.mk
+++ b/plugins/examples/qt5-freeze/qtserialport.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtserialport
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtsvg.mk b/plugins/examples/qt5-freeze/qtsvg.mk
index 6b332d0..7e5db21 100644
--- a/plugins/examples/qt5-freeze/qtsvg.mk
+++ b/plugins/examples/qt5-freeze/qtsvg.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtsvg
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qttools.mk b/plugins/examples/qt5-freeze/qttools.mk
index f5ddf3a..d69239a 100644
--- a/plugins/examples/qt5-freeze/qttools.mk
+++ b/plugins/examples/qt5-freeze/qttools.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qttools
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qttranslations.mk b/plugins/examples/qt5-freeze/qttranslations.mk
index 1e30b0b..c206b20 100644
--- a/plugins/examples/qt5-freeze/qttranslations.mk
+++ b/plugins/examples/qt5-freeze/qttranslations.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qttranslations
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtvirtualkeyboard.mk b/plugins/examples/qt5-freeze/qtvirtualkeyboard.mk
index 0f4dab2..06e461e 100644
--- a/plugins/examples/qt5-freeze/qtvirtualkeyboard.mk
+++ b/plugins/examples/qt5-freeze/qtvirtualkeyboard.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtvirtualkeyboard
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtwebchannel.mk b/plugins/examples/qt5-freeze/qtwebchannel.mk
index 4e4d7e8..5330d02 100644
--- a/plugins/examples/qt5-freeze/qtwebchannel.mk
+++ b/plugins/examples/qt5-freeze/qtwebchannel.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtwebchannel
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtwebkit.mk b/plugins/examples/qt5-freeze/qtwebkit.mk
index 6b59f85..d61dd9a 100644
--- a/plugins/examples/qt5-freeze/qtwebkit.mk
+++ b/plugins/examples/qt5-freeze/qtwebkit.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtwebkit
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtwebsockets.mk b/plugins/examples/qt5-freeze/qtwebsockets.mk
index bdfc891..3d02d72 100644
--- a/plugins/examples/qt5-freeze/qtwebsockets.mk
+++ b/plugins/examples/qt5-freeze/qtwebsockets.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtwebsockets
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtwebview.mk b/plugins/examples/qt5-freeze/qtwebview.mk
index d722de3..45cc39d 100644
--- a/plugins/examples/qt5-freeze/qtwebview.mk
+++ b/plugins/examples/qt5-freeze/qtwebview.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtwebview
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtwinextras.mk b/plugins/examples/qt5-freeze/qtwinextras.mk
index 05cc0b1..0b6dcf3 100644
--- a/plugins/examples/qt5-freeze/qtwinextras.mk
+++ b/plugins/examples/qt5-freeze/qtwinextras.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtwinextras
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/examples/qt5-freeze/qtxmlpatterns.mk b/plugins/examples/qt5-freeze/qtxmlpatterns.mk
index bd90044..2015e74 100644
--- a/plugins/examples/qt5-freeze/qtxmlpatterns.mk
+++ b/plugins/examples/qt5-freeze/qtxmlpatterns.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := qtxmlpatterns
-$(PKG)_WEBSITE  := http://qt-project.org/
+$(PKG)_WEBSITE  := https://www.qt.io/
 $(PKG)_DESCR    := Qt
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION   = $(qtbase_VERSION)
diff --git a/plugins/luarocks/luasocket.mk b/plugins/luarocks/luasocket.mk
index 34547fc..d81b474 100644
--- a/plugins/luarocks/luasocket.mk
+++ b/plugins/luarocks/luasocket.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := luasocket
-$(PKG)_WEBSITE  := http://www.impa.br/~diego/software/luasocket
+$(PKG)_WEBSITE  := https://www.impa.br/~diego/software/luasocket
 $(PKG)_OWNER    := https://github.com/starius
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.0-rc1
diff --git a/src/box2d.mk b/src/box2d.mk
index 5c58dc6..f7ff0b4 100644
--- a/src/box2d.mk
+++ b/src/box2d.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := box2d
-$(PKG)_WEBSITE  := http://www.box2d.org/
+$(PKG)_WEBSITE  := https://www.box2d.org/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.3.1
 $(PKG)_CHECKSUM := 75d62738b13d2836cd56647581b6e574d4005a6e077ddefa5d727d445d649752
diff --git a/src/cpp-netlib.mk b/src/cpp-netlib.mk
index 7fc8dca..3bccaa3 100644
--- a/src/cpp-netlib.mk
+++ b/src/cpp-netlib.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := cpp-netlib
-$(PKG)_WEBSITE  := http://cpp-netlib.org/
+$(PKG)_WEBSITE  := https://cpp-netlib.org/
 $(PKG)_DESCR    := Boost C++ Networking Library
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 73d4024
diff --git a/src/dcmtk.mk b/src/dcmtk.mk
index 8bcd599..a555486 100644
--- a/src/dcmtk.mk
+++ b/src/dcmtk.mk
@@ -1,19 +1,19 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := dcmtk
-$(PKG)_WEBSITE  := http://dicom.offis.de/dcmtk.php.en
+$(PKG)_WEBSITE  := https://dicom.offis.de/dcmtk.php.en
 $(PKG)_DESCR    := DCMTK
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.6.0
 $(PKG)_CHECKSUM := cfc509701122adfa359f1ee160e943c1548c7696b607dbb646c5a06f015ed33a
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://dicom.offis.de/download/$(PKG)/$(PKG)$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE)
+$(PKG)_URL      := https://dicom.offis.de/download/$(PKG)/$(PKG)$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE)
 $(PKG)_URL_2    := https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/d/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz
 $(PKG)_DEPS     := cc libpng libxml2 openssl tiff zlib
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://dicom.offis.de/dcmtk.php.en' | \
+    $(WGET) -q -O- 'https://dicom.offis.de/dcmtk.php.en' | \
     $(SED) -n 's,.*/dcmtk-\([0-9][^"]*\)\.tar.*,\1,p' | \
     head -1
 endef
diff --git a/src/freexl.mk b/src/freexl.mk
index 11ef5ed..df3acc7 100644
--- a/src/freexl.mk
+++ b/src/freexl.mk
@@ -8,11 +8,11 @@ $(PKG)_VERSION  := 1.0.3
 $(PKG)_CHECKSUM := f8ed29e03a6155454e538fce621e53991a270fcee31120ded339cff2523650a8
 $(PKG)_SUBDIR   := freexl-$($(PKG)_VERSION)
 $(PKG)_FILE     := freexl-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.gaia-gis.it/gaia-sins/freexl-sources/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.gaia-gis.it/gaia-sins/freexl-sources/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc libiconv
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.gaia-gis.it/gaia-sins/freexl-sources/' | \
+    $(WGET) -q -O- 'https://www.gaia-gis.it/gaia-sins/freexl-sources/' | \
     $(SED) -n 's,.*freexl-\([0-9][^>]*\)\.tar.*,\1,p' | \
     tail -1
 endef
diff --git a/src/gdal.mk b/src/gdal.mk
index e6b1e7d..94a1342 100644
--- a/src/gdal.mk
+++ b/src/gdal.mk
@@ -8,7 +8,7 @@ $(PKG)_VERSION  := 2.2.3
 $(PKG)_CHECKSUM := 52f01bda8968643633016769607e6082a8ba1c746fadc2c1abe12cf7dc8f61dd
 $(PKG)_SUBDIR   := gdal-$($(PKG)_VERSION)
 $(PKG)_FILE     := gdal-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://download.osgeo.org/gdal/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/gdal/$($(PKG)_VERSION)/$($(PKG)_FILE)
 $(PKG)_URL_2    := ftp://ftp.remotesensing.org/gdal/$($(PKG)_VERSION)/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc armadillo curl expat geos giflib gta hdf4 hdf5 \
                    jpeg json-c libgeotiff libmysqlclient libpng libxml2 \
diff --git a/src/geos.mk b/src/geos.mk
index 0a97fdb..b937024 100644
--- a/src/geos.mk
+++ b/src/geos.mk
@@ -8,12 +8,12 @@ $(PKG)_VERSION  := 3.6.2
 $(PKG)_CHECKSUM := 045a13df84d605a866602f6020fc6cbf8bf4c42fb50de237a08926e1d7d7652a
 $(PKG)_SUBDIR   := geos-$($(PKG)_VERSION)
 $(PKG)_FILE     := geos-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL      := http://download.osgeo.org/geos/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/geos/$($(PKG)_FILE)
 $(PKG)_URL_2    := ftp://ftp.remotesensing.org/geos/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://download.osgeo.org/geos/' | \
+    $(WGET) -q -O- 'https://download.osgeo.org/geos/' | \
     $(SED) -n 's,.*geos-\([0-9][^>]*\)\.tar.*,\1,p' | \
     tail -1
 endef
diff --git a/src/glfw2.mk b/src/glfw2.mk
index 7626bd6..aba8b08 100644
--- a/src/glfw2.mk
+++ b/src/glfw2.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := glfw2
-$(PKG)_WEBSITE  := http://www.glfw.org/
+$(PKG)_WEBSITE  := https://www.glfw.org/
 $(PKG)_DESCR    := GLFW 2.x
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.7.9
diff --git a/src/glfw3.mk b/src/glfw3.mk
index 85faeea..4993c83 100644
--- a/src/glfw3.mk
+++ b/src/glfw3.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := glfw3
-$(PKG)_WEBSITE  := http://www.glfw.org/
+$(PKG)_WEBSITE  := https://www.glfw.org/
 $(PKG)_DESCR    := GLFW 3.x
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.1.2
diff --git a/src/gta.mk b/src/gta.mk
index 2fcc145..b58b700 100644
--- a/src/gta.mk
+++ b/src/gta.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := gta
-$(PKG)_WEBSITE  := http://www.nongnu.org/gta/
+$(PKG)_WEBSITE  := https://www.nongnu.org/gta/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.0.8
 $(PKG)_CHECKSUM := 1d2ff713955eee28310de082a8fd8e236403c27dee3716ba1238c56e6643e4fb
diff --git a/src/gtkglarea.mk b/src/gtkglarea.mk
index 062e1a9..0fae043 100644
--- a/src/gtkglarea.mk
+++ b/src/gtkglarea.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := gtkglarea
-$(PKG)_WEBSITE  := http://www.mono-project.com/GtkGLArea/
+$(PKG)_WEBSITE  := https://www.mono-project.com/GtkGLArea/
 $(PKG)_DESCR    := GtkGLArea
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.0.1
diff --git a/src/hdf-eos2.mk b/src/hdf-eos2.mk
index 5488e3d..b126e26 100644
--- a/src/hdf-eos2.mk
+++ b/src/hdf-eos2.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := hdf-eos2
-$(PKG)_WEBSITE  := http://hdfeos.org/software/library.php
+$(PKG)_WEBSITE  := https://hdfeos.org/software/library.php
 $(PKG)_DESCR    := HDF-EOS2
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 19v1.00
diff --git a/src/ilmbase.mk b/src/ilmbase.mk
index d47beda..a48d441 100644
--- a/src/ilmbase.mk
+++ b/src/ilmbase.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := ilmbase
-$(PKG)_WEBSITE  := http://www.openexr.com/
+$(PKG)_WEBSITE  := https://www.openexr.com/
 $(PKG)_DESCR    := IlmBase
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.2.0
@@ -12,7 +12,7 @@ $(PKG)_URL      := https://download.savannah.nongnu.org/releases/openexr/$($(PKG
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.openexr.com/downloads.html' | \
+    $(WGET) -q -O- 'https://www.openexr.com/downloads.html' | \
     grep 'ilmbase-' | \
     $(SED) -n 's,.*/ilmbase-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
diff --git a/src/itpp.mk b/src/itpp.mk
index 39bf19e..36c4fb6 100644
--- a/src/itpp.mk
+++ b/src/itpp.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := itpp
-$(PKG)_WEBSITE  := http://itpp.sourceforge.net
+$(PKG)_WEBSITE  := https://itpp.sourceforge.io/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 4.3.1
 $(PKG)_CHECKSUM := 50717621c5dfb5ed22f8492f8af32b17776e6e06641dfe3a3a8f82c8d353b877
diff --git a/src/lapack-test.c b/src/lapack-test.c
index 6a63796..1947f19 100644
--- a/src/lapack-test.c
+++ b/src/lapack-test.c
@@ -2,7 +2,7 @@
  * This file is part of MXE. See LICENSE.md for licensing information.
  */
 
-/*  taken from http://www.netlib.org/lapack/lapacke.html */
+/*  taken from https://www.netlib.org/lapack/lapacke.html */
 
 /*  Calling CGEQRF and CUNGQR to compute Q with workspace querying */
 
diff --git a/src/lapack.mk b/src/lapack.mk
index 9e34433..a6ca751 100644
--- a/src/lapack.mk
+++ b/src/lapack.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := lapack
-$(PKG)_WEBSITE  := http://www.netlib.org/lapack/
+$(PKG)_WEBSITE  := https://www.netlib.org/lapack/
 $(PKG)_DESCR    := Reference LAPACK — Linear Algebra PACKage
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.8.0
diff --git a/src/lensfun-test.c b/src/lensfun-test.c
index bac1a29..ba41253 100644
--- a/src/lensfun-test.c
+++ b/src/lensfun-test.c
@@ -9,7 +9,7 @@
  */
 
 /*
-    http://lensfun.sourceforge.net/manual/example_8c-example.html
+    https://lensfun.sourceforge.io/manual/v0.3.2/example_8c-example.html
     A simple example of library usage from plain C
 */
 
diff --git a/src/libcddb-test.c b/src/libcddb-test.c
index 3d7a2f6..026768a 100644
--- a/src/libcddb-test.c
+++ b/src/libcddb-test.c
@@ -2,7 +2,7 @@
  * This file is part of MXE. See LICENSE.md for licensing information.
  */
 
-// Based on: http://libcddb.sourceforge.net/tutorial.html
+/* Based on: https://libcddb.sourceforge.io/tutorial.html */
 
 #include <stdio.h>
 
diff --git a/src/libf2c.mk b/src/libf2c.mk
index b41338a..0acad5a 100644
--- a/src/libf2c.mk
+++ b/src/libf2c.mk
@@ -10,7 +10,7 @@ $(PKG)_FILE     := $(PKG).zip
 $(PKG)_URL      := http://www.netlib.org/f2c/$($(PKG)_FILE)
 # $(PKG)_URL_2 was disabled in https://github.com/mxe/mxe/issues/1719
 # because it has old version of the file.
-# $(PKG)_URL_2    := http://netlib.sandia.gov/f2c/$($(PKG)_FILE)
+# $(PKG)_URL_2    := https://netlib.sandia.gov/f2c/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
diff --git a/src/libgeotiff.mk b/src/libgeotiff.mk
index 2046fdc..841c37f 100644
--- a/src/libgeotiff.mk
+++ b/src/libgeotiff.mk
@@ -8,7 +8,7 @@ $(PKG)_VERSION  := 1.4.2
 $(PKG)_CHECKSUM := ad87048adb91167b07f34974a8e53e4ec356494c29f1748de95252e8f81a5e6e
 $(PKG)_SUBDIR   := libgeotiff-$($(PKG)_VERSION)
 $(PKG)_FILE     := libgeotiff-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE)
 $(PKG)_URL_2    := ftp://ftp.remotesensing.org/geotiff/libgeotiff/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc jpeg proj tiff zlib
 
diff --git a/src/libjpeg-turbo.mk b/src/libjpeg-turbo.mk
index a1078b7..3177292 100644
--- a/src/libjpeg-turbo.mk
+++ b/src/libjpeg-turbo.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := libjpeg-turbo
-$(PKG)_WEBSITE  := http://libjpeg-turbo.virtualgl.org/
+$(PKG)_WEBSITE  := https://libjpeg-turbo.virtualgl.org/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.5.3
 $(PKG)_CHECKSUM := b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523
diff --git a/src/libmad.mk b/src/libmad.mk
index cd2a224..7766e1f 100644
--- a/src/libmad.mk
+++ b/src/libmad.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := libmad
-$(PKG)_WEBSITE  := http://www.underbit.com/products/mad/
+$(PKG)_WEBSITE  := https://www.underbit.com/products/mad/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 0.15.1b
 $(PKG)_CHECKSUM := bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
diff --git a/src/libntlm.mk b/src/libntlm.mk
index a0164ad..84fa629 100644
--- a/src/libntlm.mk
+++ b/src/libntlm.mk
@@ -1,14 +1,14 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := libntlm
-$(PKG)_WEBSITE  := http://www.nongnu.org/libntlm/
+$(PKG)_WEBSITE  := https://www.nongnu.org/libntlm/
 $(PKG)_DESCR    := Libntlm
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.4
 $(PKG)_CHECKSUM := 8415d75e31d3135dc7062787eaf4119b984d50f86f0d004b964cdc18a3182589
 $(PKG)_SUBDIR   := libntlm-$($(PKG)_VERSION)
 $(PKG)_FILE     := libntlm-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.nongnu.org/libntlm/releases/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.nongnu.org/libntlm/releases/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
diff --git a/src/libspatialindex.mk b/src/libspatialindex.mk
index c0bddb7..3833565 100644
--- a/src/libspatialindex.mk
+++ b/src/libspatialindex.mk
@@ -8,11 +8,11 @@ $(PKG)_VERSION  := 1.8.5
 $(PKG)_CHECKSUM := 31ec0a9305c3bd6b4ad60a5261cba5402366dd7d1969a8846099717778e9a50a
 $(PKG)_SUBDIR   := spatialindex-src-$($(PKG)_VERSION)
 $(PKG)_FILE     := spatialindex-src-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL      := http://download.osgeo.org/libspatialindex/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/libspatialindex/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc pthreads
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://download.osgeo.org/libspatialindex/' | \
+    $(WGET) -q -O- 'https://download.osgeo.org/libspatialindex/' | \
     $(SED) -n 's,.*spatialindex-src-\([0-9][^>]*\)\.tar.*,\1,p' | \
     tail -1
 endef
diff --git a/src/libusb1.mk b/src/libusb1.mk
index 0b58dff..358d0f3 100644
--- a/src/libusb1.mk
+++ b/src/libusb1.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := libusb1
-$(PKG)_WEBSITE  := http://libusb.org/
+$(PKG)_WEBSITE  := https://libusb.info/
 $(PKG)_DESCR    := LibUsb-1.0
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.0.21
diff --git a/src/libvpx.mk b/src/libvpx.mk
index c5774ab..8cf28a6 100644
--- a/src/libvpx.mk
+++ b/src/libvpx.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := libvpx
-$(PKG)_WEBSITE  := https://code.google.com/p/webm/
+$(PKG)_WEBSITE  := https://www.webmproject.org/code/
 $(PKG)_DESCR    := vpx
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.5.0
diff --git a/src/lzma.mk b/src/lzma.mk
index bede106..15d02ef 100644
--- a/src/lzma.mk
+++ b/src/lzma.mk
@@ -1,20 +1,20 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := lzma
-$(PKG)_WEBSITE  := http://www.7-zip.org/sdk.html
+$(PKG)_WEBSITE  := https://www.7-zip.org/sdk.html
 $(PKG)_DESCR    := LZMA SDK
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1805
 $(PKG)_CHECKSUM := d4ad382070d20edde117a8e544e7149ab6c84fdedd220aafe75454056a924732
 $(PKG)_SUBDIR   := .
 $(PKG)_FILE     := lzma$(subst .,,$($(PKG)_VERSION)).7z
-$(PKG)_URL      := http://www.7-zip.org/a/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.7-zip.org/a/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 $(PKG)_DEPS_$(BUILD) :=
 $(PKG)_TARGETS  := $(BUILD) $(MXE_TARGETS)
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.7-zip.org/sdk.html' | \
+    $(WGET) -q -O- 'https://www.7-zip.org/sdk.html' | \
     $(SED) -n 's,.*lzma\([0-9][^"]*\)\.7z.*,\1,p' | \
     head -1
 endef
diff --git a/src/mpfr.mk b/src/mpfr.mk
index cab52e5..49e0527 100644
--- a/src/mpfr.mk
+++ b/src/mpfr.mk
@@ -1,21 +1,21 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := mpfr
-$(PKG)_WEBSITE  := http://www.mpfr.org/
+$(PKG)_WEBSITE  := https://www.mpfr.org/
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.1.5
 $(PKG)_CHECKSUM := 015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.xz
 $(PKG)_URL      := https://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
-$(PKG)_URL_2    := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL_2    := https://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE)
 $(PKG)_TARGETS  := $(BUILD) $(MXE_TARGETS)
 $(PKG)_DEPS     := cc gmp
 
 $(PKG)_DEPS_$(BUILD) := gmp
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.mpfr.org/mpfr-current/#download' | \
+    $(WGET) -q -O- 'https://www.mpfr.org/mpfr-current/#download' | \
     grep 'mpfr-' | \
     $(SED) -n 's,.*mpfr-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
diff --git a/src/nasm.mk b/src/nasm.mk
index 0f40623..5c53d1c 100644
--- a/src/nasm.mk
+++ b/src/nasm.mk
@@ -1,19 +1,19 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := nasm
-$(PKG)_WEBSITE  := http://www.nasm.us/
+$(PKG)_WEBSITE  := https://www.nasm.us/
 $(PKG)_DESCR    := NASM - The Netwide Assembler
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.13.01
 $(PKG)_CHECKSUM := aa0213008f0433ecbe07bb628506a5c4be8079be20fc3532a5031fd639db9a5e
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.xz
-$(PKG)_URL      := http://www.nasm.us/pub/$(PKG)/releasebuilds/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.nasm.us/pub/$(PKG)/releasebuilds/$($(PKG)_VERSION)/$($(PKG)_FILE)
 $(PKG)_TARGETS  := $(BUILD)
 $(PKG)_DEPS     :=
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D' | \
+    $(WGET) -q -O- 'https://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D' | \
     $(SED) -n 's,.*href="\([0-9\.]*[^a-z]\)/".*,\1,p' | \
     head -1
 endef
diff --git a/src/neon-test.c b/src/neon-test.c
index 9d66506..45e7e52 100644
--- a/src/neon-test.c
+++ b/src/neon-test.c
@@ -2,7 +2,7 @@
  * This file is part of MXE. See LICENSE.md for licensing information.
  */
 
-// Based on: http://webdav.org/neon/doc/html/refresolve.html
+/* Based on: https://web.archive.org/web/webdav.org/neon/doc/html/refresolve.html */
 
 #include <stdio.h>
 
diff --git a/src/neon.mk b/src/neon.mk
index a784370..6a27c27 100644
--- a/src/neon.mk
+++ b/src/neon.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := neon
-$(PKG)_WEBSITE  := http://webdav.org/neon/
+$(PKG)_WEBSITE  := https://web.archive.org/web/webdav.org/neon/
 $(PKG)_DESCR    := HTTP and WebDAV client library (libneon)
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 0.30.2
diff --git a/src/openblas.mk b/src/openblas.mk
index 09b35eb..3415bb6 100644
--- a/src/openblas.mk
+++ b/src/openblas.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := openblas
-$(PKG)_WEBSITE  := http://www.openblas.net/
+$(PKG)_WEBSITE  := https://www.openblas.net/
 $(PKG)_DESCR    := OpenBLAS
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 0.2.20
diff --git a/src/openexr.mk b/src/openexr.mk
index 098d8c5..88eb7b4 100644
--- a/src/openexr.mk
+++ b/src/openexr.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := openexr
-$(PKG)_WEBSITE  := http://www.openexr.com/
+$(PKG)_WEBSITE  := https://www.openexr.com/
 $(PKG)_DESCR    := OpenEXR
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.2.0
@@ -12,7 +12,7 @@ $(PKG)_URL      := https://download.savannah.nongnu.org/releases/openexr/$($(PKG
 $(PKG)_DEPS     := cc ilmbase pthreads zlib
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.openexr.com/downloads.html' | \
+    $(WGET) -q -O- 'https://www.openexr.com/downloads.html' | \
     grep 'openexr-' | \
     $(SED) -n 's,.*openexr-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
diff --git a/src/openjpeg.mk b/src/openjpeg.mk
index 2f8b059..f3a9079 100644
--- a/src/openjpeg.mk
+++ b/src/openjpeg.mk
@@ -2,7 +2,7 @@
 #Author: Julien Michel <julien.michel@orfeo-toolbox.org>
 
 PKG             := openjpeg
-$(PKG)_WEBSITE  := http://www.openjpeg.org/
+$(PKG)_WEBSITE  := https://www.openjpeg.org/
 $(PKG)_DESCR    := OpenJPEG
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.3.0
diff --git a/src/pango.mk b/src/pango.mk
index 19c6371..3a4a4db 100644
--- a/src/pango.mk
+++ b/src/pango.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := pango
-$(PKG)_WEBSITE  := http://www.pango.org/
+$(PKG)_WEBSITE  := https://www.pango.org/
 $(PKG)_DESCR    := Pango
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.37.4
diff --git a/src/pangomm.mk b/src/pangomm.mk
index ba6f587..c4c2c51 100644
--- a/src/pangomm.mk
+++ b/src/pangomm.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := pangomm
-$(PKG)_WEBSITE  := http://www.pango.org/
+$(PKG)_WEBSITE  := https://www.pango.org/
 $(PKG)_DESCR    := Pangomm
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.34.0
diff --git a/src/primesieve.mk b/src/primesieve.mk
index 29303fc..92042c8 100644
--- a/src/primesieve.mk
+++ b/src/primesieve.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := primesieve
-$(PKG)_WEBSITE  := http://primesieve.org/
+$(PKG)_WEBSITE  := https://primesieve.org/
 $(PKG)_DESCR    := Primesieve
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 5.5.0
@@ -12,7 +12,7 @@ $(PKG)_URL      := https://dl.bintray.com/kimwalisch/$(PKG)/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://primesieve.org/downloads/' | \
+    $(WGET) -q -O- 'https://primesieve.org/downloads/' | \
     $(SED) -n 's,.*primesieve-\([0-9][^>]*\)\.tar.*,\1,p' | \
     grep -v '\(linux\|mac\|win\)' | \
     $(SORT) -Vr | \
diff --git a/src/proj.mk b/src/proj.mk
index 12992c5..44a102d 100644
--- a/src/proj.mk
+++ b/src/proj.mk
@@ -7,12 +7,12 @@ $(PKG)_VERSION  := 5.0.0
 $(PKG)_CHECKSUM := b30df08d736e69744cb255828721abb545b494d6032c13a96520f3219a444cd2
 $(PKG)_SUBDIR   := proj-$($(PKG)_VERSION)
 $(PKG)_FILE     := proj-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://download.osgeo.org/proj/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/proj/$($(PKG)_FILE)
 $(PKG)_URL_2    := ftp://ftp.remotesensing.org/proj/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://proj4.org/download.html' | \
+    $(WGET) -q -O- 'https://proj4.org/download.html' | \
     $(SED) -n 's,.*proj-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
 endef
diff --git a/src/rubberband.mk b/src/rubberband.mk
index 1d2889a..a1eb01c 100644
--- a/src/rubberband.mk
+++ b/src/rubberband.mk
@@ -1,14 +1,14 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := rubberband
-$(PKG)_WEBSITE  := http://breakfastquay.com/rubberband/
+$(PKG)_WEBSITE  := https://breakfastquay.com/rubberband/
 $(PKG)_DESCR    := Rubberband
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.8.1
 $(PKG)_CHECKSUM := ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL      := http://code.breakfastquay.com/attachments/download/34/$(PKG)-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL      := https://code.breakfastquay.com/attachments/download/34/$(PKG)-$($(PKG)_VERSION).tar.bz2
 $(PKG)_DEPS     := cc fftw libsamplerate libsndfile pthreads vamp-plugin-sdk
 
 define $(PKG)_UPDATE
diff --git a/src/sdl2_gfx.mk b/src/sdl2_gfx.mk
index ce2f11b..3b0b480 100644
--- a/src/sdl2_gfx.mk
+++ b/src/sdl2_gfx.mk
@@ -1,18 +1,18 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := sdl2_gfx
-$(PKG)_WEBSITE  := http://www.ferzkopp.net/joomla/content/view/19/14/
+$(PKG)_WEBSITE  := https://www.ferzkopp.net/joomla/content/view/19/14/
 $(PKG)_DESCR    := SDL2_gfx
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.0.3
 $(PKG)_CHECKSUM := a4066bd467c96469935a4b1fe472893393e7d74e45f95d59f69726784befd8f8
 $(PKG)_SUBDIR   := SDL2_gfx-$($(PKG)_VERSION)
 $(PKG)_FILE     := SDL2_gfx-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.ferzkopp.net/Software/SDL2_gfx/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.ferzkopp.net/Software/SDL2_gfx/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc sdl2
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.ferzkopp.net/joomla/content/view/19/14/' | \
+    $(WGET) -q -O- 'https://www.ferzkopp.net/joomla/content/view/19/14/' | \
     grep 'href.*tar\.' | \
     $(SED) -n 's,.*SDL2_gfx-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
diff --git a/src/sdl_gfx.mk b/src/sdl_gfx.mk
index 6afe379..71dbe08 100644
--- a/src/sdl_gfx.mk
+++ b/src/sdl_gfx.mk
@@ -1,18 +1,18 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := sdl_gfx
-$(PKG)_WEBSITE  := http://www.ferzkopp.net/joomla/content/view/19/14/
+$(PKG)_WEBSITE  := https://www.ferzkopp.net/joomla/content/view/19/14/
 $(PKG)_DESCR    := SDL_gfx
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.0.25
 $(PKG)_CHECKSUM := 556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0
 $(PKG)_SUBDIR   := SDL_gfx-$($(PKG)_VERSION)
 $(PKG)_FILE     := SDL_gfx-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.ferzkopp.net/Software/SDL_gfx-2.0/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.ferzkopp.net/Software/SDL_gfx-2.0/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc sdl
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.ferzkopp.net/joomla/content/view/19/14/' | \
+    $(WGET) -q -O- 'https://www.ferzkopp.net/joomla/content/view/19/14/' | \
     grep 'href.*tar\.' | \
     $(SED) -n 's,.*SDL_gfx-\([0-9][^>]*\)\.tar.*,\1,p' | \
     head -1
diff --git a/src/spatialite.mk b/src/spatialite.mk
index af67f52..fb7fff9 100644
--- a/src/spatialite.mk
+++ b/src/spatialite.mk
@@ -8,11 +8,11 @@ $(PKG)_VERSION  := 4.4.0-RC1
 $(PKG)_CHECKSUM := 80f7fff0a147044c5eb197e565f598ac1f137d86d0a548cbc8f52fb7ff7cac68
 $(PKG)_SUBDIR   := libspatialite-$($(PKG)_VERSION)
 $(PKG)_FILE     := libspatialite-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.gaia-gis.it/gaia-sins/libspatialite-sources/$($(PKG)_FILE)
+$(PKG)_URL      := https://www.gaia-gis.it/gaia-sins/libspatialite-sources/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc dlfcn-win32 freexl geos libiconv libxml2 proj sqlite zlib
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.gaia-gis.it/gaia-sins/libspatialite-sources/' | \
+    $(WGET) -q -O- 'https://www.gaia-gis.it/gaia-sins/libspatialite-sources/' | \
     $(SED) -n 's,.*libspatialite-\([0-9][^>]*\)\.tar.*,\1,p' | \
     tail -1
 endef
diff --git a/src/tidy-html5.mk b/src/tidy-html5.mk
index a6ab2c5..c68862a 100644
--- a/src/tidy-html5.mk
+++ b/src/tidy-html5.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := tidy-html5
-$(PKG)_WEBSITE  := http://www.html-tidy.org/
+$(PKG)_WEBSITE  := https://www.html-tidy.org/
 $(PKG)_DESCR    := HTML/XML syntax checker and reformatter
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 5.4.0
diff --git a/src/tiff.mk b/src/tiff.mk
index c4f27bf..3b3a530 100644
--- a/src/tiff.mk
+++ b/src/tiff.mk
@@ -8,7 +8,7 @@ $(PKG)_VERSION  := 4.0.9
 $(PKG)_CHECKSUM := 6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c0026cfcd
 $(PKG)_SUBDIR   := tiff-$($(PKG)_VERSION)
 $(PKG)_FILE     := tiff-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://download.osgeo.org/libtiff/$($(PKG)_FILE)
+$(PKG)_URL      := https://download.osgeo.org/libtiff/$($(PKG)_FILE)
 $(PKG)_URL_2    := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc jpeg xz zlib
 
diff --git a/src/unzip.mk b/src/unzip.mk
index a2587b4..4129d2b 100644
--- a/src/unzip.mk
+++ b/src/unzip.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := unzip
-$(PKG)_WEBSITE  := http://www.info-zip.org
+$(PKG)_WEBSITE  := https://infozip.sourceforge.io/UnZip.html
 $(PKG)_DESCR    := Info-ZIP
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 6.10b
diff --git a/src/vamp-plugin-sdk.mk b/src/vamp-plugin-sdk.mk
index afb2110..f9ed970 100644
--- a/src/vamp-plugin-sdk.mk
+++ b/src/vamp-plugin-sdk.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := vamp-plugin-sdk
-$(PKG)_WEBSITE  := http://vamp-plugins.org/
+$(PKG)_WEBSITE  := https://vamp-plugins.org/
 $(PKG)_DESCR    := Vamp Plugins SDK
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 2.5
diff --git a/src/vorbis.mk b/src/vorbis.mk
index c9aa8c5..4916f1f 100644
--- a/src/vorbis.mk
+++ b/src/vorbis.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := vorbis
-$(PKG)_WEBSITE  := http://www.vorbis.com/
+$(PKG)_WEBSITE  := https://xiph.org/vorbis/
 $(PKG)_DESCR    := Vorbis
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 1.3.5
diff --git a/src/xvidcore.mk b/src/xvidcore.mk
index eb0ef63..c5ae4f3 100644
--- a/src/xvidcore.mk
+++ b/src/xvidcore.mk
@@ -7,7 +7,7 @@ $(PKG)_VERSION  := 1.3.4
 $(PKG)_CHECKSUM := 4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f
 $(PKG)_SUBDIR   := xvidcore
 $(PKG)_FILE     := xvidcore-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://downloads.xvid.org/downloads/$($(PKG)_FILE)
+$(PKG)_URL      := https://downloads.xvid.com/downloads/$($(PKG)_FILE)
 $(PKG)_DEPS     := cc pthreads yasm
 
 define $(PKG)_UPDATE
diff --git a/src/yasm.mk b/src/yasm.mk
index abd96cb..b6d4eb9 100644
--- a/src/yasm.mk
+++ b/src/yasm.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := yasm
-$(PKG)_WEBSITE  := http://yasm.tortall.net/
+$(PKG)_WEBSITE  := https://yasm.tortall.net/
 $(PKG)_DESCR    := Yasm
 $(PKG)_VERSION  := 1.3.0
 $(PKG)_CHECKSUM := 3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
diff --git a/src/zip.mk b/src/zip.mk
index 970ea8e..ce9c9a5 100644
--- a/src/zip.mk
+++ b/src/zip.mk
@@ -1,7 +1,7 @@
 # This file is part of MXE. See LICENSE.md for licensing information.
 
 PKG             := zip
-$(PKG)_WEBSITE  := http://www.info-zip.org
+$(PKG)_WEBSITE  := https://infozip.sourceforge.io/Zip.html
 $(PKG)_DESCR    := Info-ZIP
 $(PKG)_IGNORE   :=
 $(PKG)_VERSION  := 3.0
diff --git a/tools/s3-fetch-and-sync b/tools/s3-fetch-and-sync
index ff603ea..33f7214 100755
--- a/tools/s3-fetch-and-sync
+++ b/tools/s3-fetch-and-sync
@@ -14,7 +14,7 @@
 # Keys: https://github.com/<user>.keys or https://api.github.com/users/<user>/keys
 #
 # The script uses s3cmd to sync package tarballs:
-# http://s3tools.org/s3cmd
+# https://s3tools.org/s3cmd
 
 # Manual switch to enable/disable issue filing on GitHub.
 # Useful to prevent the same issue from being filed multiple times
-- 
cgit v0.12