From abe34011e5a4d213754934eb963a74346a6833ac Mon Sep 17 00:00:00 2001
From: James Arthur <thruflo@gmail.com>
Date: Tue, 13 Jan 2015 15:57:42 +0000
Subject: [PATCH] http: update all external links to use secure protocol.

---
 bin/steps/cryptography              | 2 +-
 bin/steps/pylibmc                   | 2 +-
 bin/steps/python                    | 2 +-
 builds/libraries/autoconf           | 2 +-
 builds/libraries/libffi             | 2 +-
 builds/libraries/sqlite             | 2 +-
 builds/runtimes/python-2.4.4        | 2 +-
 builds/runtimes/python-2.4.5        | 2 +-
 builds/runtimes/python-2.4.6        | 2 +-
 builds/runtimes/python-2.5.0        | 2 +-
 builds/runtimes/python-2.5.1        | 2 +-
 builds/runtimes/python-2.5.2        | 2 +-
 builds/runtimes/python-2.5.3        | 2 +-
 builds/runtimes/python-2.5.4        | 2 +-
 builds/runtimes/python-2.5.5        | 2 +-
 builds/runtimes/python-2.5.6        | 2 +-
 builds/runtimes/python-2.6.0        | 2 +-
 builds/runtimes/python-2.6.1        | 2 +-
 builds/runtimes/python-2.6.2        | 2 +-
 builds/runtimes/python-2.6.3        | 2 +-
 builds/runtimes/python-2.6.4        | 2 +-
 builds/runtimes/python-2.6.5        | 2 +-
 builds/runtimes/python-2.6.6        | 2 +-
 builds/runtimes/python-2.6.7        | 2 +-
 builds/runtimes/python-2.6.8        | 2 +-
 builds/runtimes/python-2.6.9        | 2 +-
 builds/runtimes/python-2.7.0        | 2 +-
 builds/runtimes/python-2.7.1        | 2 +-
 builds/runtimes/python-2.7.2        | 2 +-
 builds/runtimes/python-2.7.3        | 2 +-
 builds/runtimes/python-2.7.4        | 2 +-
 builds/runtimes/python-2.7.5        | 2 +-
 builds/runtimes/python-2.7.6        | 2 +-
 builds/runtimes/python-2.7.7        | 2 +-
 builds/runtimes/python-2.7.7-shared | 2 +-
 builds/runtimes/python-2.7.8        | 2 +-
 builds/runtimes/python-2.7.8-shared | 2 +-
 builds/runtimes/python-2.7.9        | 2 +-
 builds/runtimes/python-3.1.0        | 2 +-
 builds/runtimes/python-3.1.1        | 2 +-
 builds/runtimes/python-3.1.2        | 2 +-
 builds/runtimes/python-3.1.3        | 2 +-
 builds/runtimes/python-3.1.4        | 2 +-
 builds/runtimes/python-3.1.5        | 2 +-
 builds/runtimes/python-3.2.0        | 2 +-
 builds/runtimes/python-3.2.1        | 2 +-
 builds/runtimes/python-3.2.2        | 2 +-
 builds/runtimes/python-3.2.3        | 2 +-
 builds/runtimes/python-3.2.4        | 2 +-
 builds/runtimes/python-3.2.5        | 2 +-
 builds/runtimes/python-3.3.0        | 2 +-
 builds/runtimes/python-3.3.1        | 2 +-
 builds/runtimes/python-3.3.2        | 2 +-
 builds/runtimes/python-3.3.3        | 2 +-
 builds/runtimes/python-3.3.4        | 2 +-
 builds/runtimes/python-3.3.5        | 2 +-
 builds/runtimes/python-3.3.6        | 2 +-
 builds/runtimes/python-3.4.0        | 2 +-
 builds/runtimes/python-3.4.1        | 2 +-
 builds/runtimes/python-3.4.2        | 2 +-
 60 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/bin/steps/cryptography b/bin/steps/cryptography
index 080360fc..2cb3bac4 100755
--- a/bin/steps/cryptography
+++ b/bin/steps/cryptography
@@ -10,7 +10,7 @@
 # This script is invoked by [`bin/compile`](/).
 
 # The location of the pre-compiled cryptography binary.
-VENDORED_LIBFFI="http://lang-python.s3.amazonaws.com/$STACK/libraries/vendor/libffi.tar.gz"
+VENDORED_LIBFFI="https://lang-python.s3.amazonaws.com/$STACK/libraries/vendor/libffi.tar.gz"
 
 PKG_CONFIG_PATH="/app/.heroku/vendor/lib/pkgconfig:$PKG_CONFIG_PATH"
 
diff --git a/bin/steps/pylibmc b/bin/steps/pylibmc
index 18983029..b4bde751 100755
--- a/bin/steps/pylibmc
+++ b/bin/steps/pylibmc
@@ -10,7 +10,7 @@
 # This script is invoked by [`bin/compile`](/).
 
 # The location of the pre-compiled libmemcached binary.
-VENDORED_MEMCACHED="http://lang-python.s3.amazonaws.com/$STACK/libraries/vendor/libmemcache.tar.gz"
+VENDORED_MEMCACHED="https://lang-python.s3.amazonaws.com/$STACK/libraries/vendor/libmemcache.tar.gz"
 
 # Syntax sugar.
 source $BIN_DIR/utils
diff --git a/bin/steps/python b/bin/steps/python
index aeddad77..3c22d63f 100755
--- a/bin/steps/python
+++ b/bin/steps/python
@@ -29,7 +29,7 @@ if [ ! "$SKIP_INSTALL" ]; then
     # Prepare destination directory.
     mkdir -p .heroku/python
 
-    curl http://lang-python.s3.amazonaws.com/$STACK/runtimes/$PYTHON_VERSION.tar.gz -s | tar zxv -C .heroku/python &> /dev/null
+    curl https://lang-python.s3.amazonaws.com/$STACK/runtimes/$PYTHON_VERSION.tar.gz -s | tar zxv -C .heroku/python &> /dev/null
     if [[ $? != 0 ]] ; then
       puts-warn "Requested runtime ($PYTHON_VERSION) is not available for this stack ($STACK)."
       puts-warn "Aborting.  More info: https://devcenter.heroku.com/articles/python-support"
diff --git a/builds/libraries/autoconf b/builds/libraries/autoconf
index 50d7d82e..f18794ac 100755
--- a/builds/libraries/autoconf
+++ b/builds/libraries/autoconf
@@ -6,7 +6,7 @@ OUT_PREFIX=$1
 echo "Building autoconf..."
 
 
-SOURCE_TARBALL='http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz'
+SOURCE_TARBALL='https://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz'
 curl -L $SOURCE_TARBALL | tar xz
 
 cd autoconf-2.68
diff --git a/builds/libraries/libffi b/builds/libraries/libffi
index 51789cfd..c6cb00a9 100755
--- a/builds/libraries/libffi
+++ b/builds/libraries/libffi
@@ -10,7 +10,7 @@ hash -r
 
 echo "Building libffi..."
 
-SOURCE_TARBALL='http://cl.ly/2s1t1u3v0N0I/download/libffi-3.1.tar'
+SOURCE_TARBALL='https://cl.ly/2s1t1u3v0N0I/download/libffi-3.1.tar'
 
 curl -L $SOURCE_TARBALL | tar x
 
diff --git a/builds/libraries/sqlite b/builds/libraries/sqlite
index 026a448e..8ed1720d 100755
--- a/builds/libraries/sqlite
+++ b/builds/libraries/sqlite
@@ -6,7 +6,7 @@ OUT_PREFIX=$1
 echo "Building SQLite..."
 
 
-SOURCE_TARBALL='http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz'
+SOURCE_TARBALL='https://www.sqlite.org/sqlite-autoconf-3070900.tar.gz'
 
 curl $SOURCE_TARBALL | tar xz
 # jx
diff --git a/builds/runtimes/python-2.4.4 b/builds/runtimes/python-2.4.4
index 84addd6f..a790a903 100755
--- a/builds/runtimes/python-2.4.4
+++ b/builds/runtimes/python-2.4.4
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.4.4/Python-2.4.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.4.4/Python-2.4.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.4.4 src
 cd src
diff --git a/builds/runtimes/python-2.4.5 b/builds/runtimes/python-2.4.5
index b4555d0e..d4fbb05c 100755
--- a/builds/runtimes/python-2.4.5
+++ b/builds/runtimes/python-2.4.5
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.4.5/Python-2.4.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.4.5/Python-2.4.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.4.5 src
 cd src
diff --git a/builds/runtimes/python-2.4.6 b/builds/runtimes/python-2.4.6
index ffebad19..868257ff 100755
--- a/builds/runtimes/python-2.4.6
+++ b/builds/runtimes/python-2.4.6
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.4.6/Python-2.4.6.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.4.6/Python-2.4.6.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.4.6 src
 cd src
diff --git a/builds/runtimes/python-2.5.0 b/builds/runtimes/python-2.5.0
index 2b31b960..5a1f7e8c 100755
--- a/builds/runtimes/python-2.5.0
+++ b/builds/runtimes/python-2.5.0
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5/Python-2.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5/Python-2.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5 src
 cd src
diff --git a/builds/runtimes/python-2.5.1 b/builds/runtimes/python-2.5.1
index 775b6130..af1a5fd5 100755
--- a/builds/runtimes/python-2.5.1
+++ b/builds/runtimes/python-2.5.1
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.1/Python-2.5.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.1/Python-2.5.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.1 src
 cd src
diff --git a/builds/runtimes/python-2.5.2 b/builds/runtimes/python-2.5.2
index 84bb0942..24df701f 100755
--- a/builds/runtimes/python-2.5.2
+++ b/builds/runtimes/python-2.5.2
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.2/Python-2.5.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.2/Python-2.5.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.2 src
 cd src
diff --git a/builds/runtimes/python-2.5.3 b/builds/runtimes/python-2.5.3
index 7ff33b44..ed74ca10 100755
--- a/builds/runtimes/python-2.5.3
+++ b/builds/runtimes/python-2.5.3
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.3/Python-2.5.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.3/Python-2.5.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.3 src
 cd src
diff --git a/builds/runtimes/python-2.5.4 b/builds/runtimes/python-2.5.4
index 063c4f62..ab962050 100755
--- a/builds/runtimes/python-2.5.4
+++ b/builds/runtimes/python-2.5.4
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.4/Python-2.5.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.4/Python-2.5.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.4 src
 cd src
diff --git a/builds/runtimes/python-2.5.5 b/builds/runtimes/python-2.5.5
index 9c9ee091..3d56079f 100755
--- a/builds/runtimes/python-2.5.5
+++ b/builds/runtimes/python-2.5.5
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.5/Python-2.5.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.5/Python-2.5.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.5 src
 cd src
diff --git a/builds/runtimes/python-2.5.6 b/builds/runtimes/python-2.5.6
index 6da7ca45..551eaacd 100755
--- a/builds/runtimes/python-2.5.6
+++ b/builds/runtimes/python-2.5.6
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.5.6/Python-2.5.6.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.5.6/Python-2.5.6.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.5.6 src
 cd src
diff --git a/builds/runtimes/python-2.6.0 b/builds/runtimes/python-2.6.0
index 353abc6a..e93b0c7b 100755
--- a/builds/runtimes/python-2.6.0
+++ b/builds/runtimes/python-2.6.0
@@ -10,7 +10,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://www.python.org/ftp/python/2.6/Python-2.6.tar.bz2'
+SOURCE_TARBALL='https://www.python.org/ftp/python/2.6/Python-2.6.tar.bz2'
 curl -L $SOURCE_TARBALL | tar jx
 mv Python-2.6 src
 cd src
diff --git a/builds/runtimes/python-2.6.1 b/builds/runtimes/python-2.6.1
index e32cdffa..800b59fb 100755
--- a/builds/runtimes/python-2.6.1
+++ b/builds/runtimes/python-2.6.1
@@ -10,7 +10,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.1/Python-2.6.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.1/Python-2.6.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.1 src
 cd src
diff --git a/builds/runtimes/python-2.6.2 b/builds/runtimes/python-2.6.2
index dcce19c9..37c35180 100755
--- a/builds/runtimes/python-2.6.2
+++ b/builds/runtimes/python-2.6.2
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.2/Python-2.6.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.2/Python-2.6.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.2 src
 cd src
diff --git a/builds/runtimes/python-2.6.3 b/builds/runtimes/python-2.6.3
index 71839b0a..b696c10d 100755
--- a/builds/runtimes/python-2.6.3
+++ b/builds/runtimes/python-2.6.3
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.3/Python-2.6.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.3/Python-2.6.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.3 src
 cd src
diff --git a/builds/runtimes/python-2.6.4 b/builds/runtimes/python-2.6.4
index c1b4f89c..c41d10a4 100755
--- a/builds/runtimes/python-2.6.4
+++ b/builds/runtimes/python-2.6.4
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.4/Python-2.6.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.4/Python-2.6.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.4 src
 cd src
diff --git a/builds/runtimes/python-2.6.5 b/builds/runtimes/python-2.6.5
index c681bffa..9dc710c8 100755
--- a/builds/runtimes/python-2.6.5
+++ b/builds/runtimes/python-2.6.5
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.5/Python-2.6.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.5/Python-2.6.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.5 src
 cd src
diff --git a/builds/runtimes/python-2.6.6 b/builds/runtimes/python-2.6.6
index b5cb8ecf..f8e9bf5c 100755
--- a/builds/runtimes/python-2.6.6
+++ b/builds/runtimes/python-2.6.6
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.6/Python-2.6.6.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.6 src
 cd src
diff --git a/builds/runtimes/python-2.6.7 b/builds/runtimes/python-2.6.7
index 0eb587b2..50512eb8 100755
--- a/builds/runtimes/python-2.6.7
+++ b/builds/runtimes/python-2.6.7
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.7/Python-2.6.7.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.7 src
 cd src
diff --git a/builds/runtimes/python-2.6.8 b/builds/runtimes/python-2.6.8
index ed071fc9..216ffb8c 100755
--- a/builds/runtimes/python-2.6.8
+++ b/builds/runtimes/python-2.6.8
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.8/Python-2.6.8.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.8 src
 cd src
diff --git a/builds/runtimes/python-2.6.9 b/builds/runtimes/python-2.6.9
index dfa52839..85837fc0 100755
--- a/builds/runtimes/python-2.6.9
+++ b/builds/runtimes/python-2.6.9
@@ -8,7 +8,7 @@ OUT_PREFIX=$1
 unset LANG PYTHONHOME PYTHONPATH
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.6.9/Python-2.6.9.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.6.9 src
 cd src
diff --git a/builds/runtimes/python-2.7.0 b/builds/runtimes/python-2.7.0
index 17559ec8..fbd7e75b 100755
--- a/builds/runtimes/python-2.7.0
+++ b/builds/runtimes/python-2.7.0
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7/Python-2.7.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7/Python-2.7.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7 src
 cd src
diff --git a/builds/runtimes/python-2.7.1 b/builds/runtimes/python-2.7.1
index 06b03af4..2bf55253 100755
--- a/builds/runtimes/python-2.7.1
+++ b/builds/runtimes/python-2.7.1
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.1/Python-2.7.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.1 src
 cd src
diff --git a/builds/runtimes/python-2.7.2 b/builds/runtimes/python-2.7.2
index f89af12a..2bd6c4a6 100755
--- a/builds/runtimes/python-2.7.2
+++ b/builds/runtimes/python-2.7.2
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.2/Python-2.7.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.2 src
 cd src
diff --git a/builds/runtimes/python-2.7.3 b/builds/runtimes/python-2.7.3
index d139ca38..90df6977 100755
--- a/builds/runtimes/python-2.7.3
+++ b/builds/runtimes/python-2.7.3
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.3/Python-2.7.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.3 src
 cd src
diff --git a/builds/runtimes/python-2.7.4 b/builds/runtimes/python-2.7.4
index 08b04e0e..c22c837d 100755
--- a/builds/runtimes/python-2.7.4
+++ b/builds/runtimes/python-2.7.4
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.4/Python-2.7.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.4 src
 cd src
diff --git a/builds/runtimes/python-2.7.5 b/builds/runtimes/python-2.7.5
index 520ec013..659d81dd 100755
--- a/builds/runtimes/python-2.7.5
+++ b/builds/runtimes/python-2.7.5
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.5/Python-2.7.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.5 src
 cd src
diff --git a/builds/runtimes/python-2.7.6 b/builds/runtimes/python-2.7.6
index 098ea0f5..c5b5ce6c 100755
--- a/builds/runtimes/python-2.7.6
+++ b/builds/runtimes/python-2.7.6
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.6/Python-2.7.6.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.6 src
 cd src
diff --git a/builds/runtimes/python-2.7.7 b/builds/runtimes/python-2.7.7
index 7ff982fd..2a9c2b23 100755
--- a/builds/runtimes/python-2.7.7
+++ b/builds/runtimes/python-2.7.7
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.7/Python-2.7.7.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.7/Python-2.7.7.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.7 src
 cd src
diff --git a/builds/runtimes/python-2.7.7-shared b/builds/runtimes/python-2.7.7-shared
index 2c6a60e1..6ced8284 100755
--- a/builds/runtimes/python-2.7.7-shared
+++ b/builds/runtimes/python-2.7.7-shared
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.7/Python-2.7.7.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.7/Python-2.7.7.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.7 src
 cd src
diff --git a/builds/runtimes/python-2.7.8 b/builds/runtimes/python-2.7.8
index 07009891..2b7c3358 100755
--- a/builds/runtimes/python-2.7.8
+++ b/builds/runtimes/python-2.7.8
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.8/Python-2.7.8.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.8 src
 cd src
diff --git a/builds/runtimes/python-2.7.8-shared b/builds/runtimes/python-2.7.8-shared
index 1baeff97..cb30bed2 100755
--- a/builds/runtimes/python-2.7.8-shared
+++ b/builds/runtimes/python-2.7.8-shared
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.8/Python-2.7.8.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.8 src
 cd src
diff --git a/builds/runtimes/python-2.7.9 b/builds/runtimes/python-2.7.9
index d3fbba57..e94dedeb 100755
--- a/builds/runtimes/python-2.7.9
+++ b/builds/runtimes/python-2.7.9
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/2.7.9/Python-2.7.9.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/2.7.9/Python-2.7.9.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.9 src
 cd src
diff --git a/builds/runtimes/python-3.1.0 b/builds/runtimes/python-3.1.0
index effbf441..9fee5638 100755
--- a/builds/runtimes/python-3.1.0
+++ b/builds/runtimes/python-3.1.0
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1/Python-3.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1/Python-3.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1 src
 cd src
diff --git a/builds/runtimes/python-3.1.1 b/builds/runtimes/python-3.1.1
index bf5698af..df9ad8f1 100755
--- a/builds/runtimes/python-3.1.1
+++ b/builds/runtimes/python-3.1.1
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.1/Python-3.1.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1.1/Python-3.1.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1.1 src
 cd src
diff --git a/builds/runtimes/python-3.1.2 b/builds/runtimes/python-3.1.2
index 2544ba26..c9c54f72 100755
--- a/builds/runtimes/python-3.1.2
+++ b/builds/runtimes/python-3.1.2
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1.2/Python-3.1.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1.2 src
 cd src
diff --git a/builds/runtimes/python-3.1.3 b/builds/runtimes/python-3.1.3
index 7af8e662..e28a98d7 100755
--- a/builds/runtimes/python-3.1.3
+++ b/builds/runtimes/python-3.1.3
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1.3/Python-3.1.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1.3 src
 cd src
diff --git a/builds/runtimes/python-3.1.4 b/builds/runtimes/python-3.1.4
index e1050d97..1b587e70 100755
--- a/builds/runtimes/python-3.1.4
+++ b/builds/runtimes/python-3.1.4
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1.4/Python-3.1.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1.4 src
 cd src
diff --git a/builds/runtimes/python-3.1.5 b/builds/runtimes/python-3.1.5
index f538d93c..07933808 100755
--- a/builds/runtimes/python-3.1.5
+++ b/builds/runtimes/python-3.1.5
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.1.5/Python-3.1.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.1.5 src
 cd src
diff --git a/builds/runtimes/python-3.2.0 b/builds/runtimes/python-3.2.0
index f4c5ce23..ab76e7f6 100755
--- a/builds/runtimes/python-3.2.0
+++ b/builds/runtimes/python-3.2.0
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2/Python-3.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2/Python-3.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2 src
 cd src
diff --git a/builds/runtimes/python-3.2.1 b/builds/runtimes/python-3.2.1
index 68392d09..db654010 100755
--- a/builds/runtimes/python-3.2.1
+++ b/builds/runtimes/python-3.2.1
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2.1/Python-3.2.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2.1 src
 cd src
diff --git a/builds/runtimes/python-3.2.2 b/builds/runtimes/python-3.2.2
index dd22cab7..8b023eea 100755
--- a/builds/runtimes/python-3.2.2
+++ b/builds/runtimes/python-3.2.2
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2.2/Python-3.2.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2.2 src
 cd src
diff --git a/builds/runtimes/python-3.2.3 b/builds/runtimes/python-3.2.3
index 9d887e6e..56787be6 100755
--- a/builds/runtimes/python-3.2.3
+++ b/builds/runtimes/python-3.2.3
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2.3/Python-3.2.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2.3 src
 cd src
diff --git a/builds/runtimes/python-3.2.4 b/builds/runtimes/python-3.2.4
index 20d2050d..3cd97636 100755
--- a/builds/runtimes/python-3.2.4
+++ b/builds/runtimes/python-3.2.4
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2.4/Python-3.2.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2.4 src
 cd src
diff --git a/builds/runtimes/python-3.2.5 b/builds/runtimes/python-3.2.5
index 1c4b18e6..cf856df0 100755
--- a/builds/runtimes/python-3.2.5
+++ b/builds/runtimes/python-3.2.5
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.2.5/Python-3.2.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.2.5 src
 cd src
diff --git a/builds/runtimes/python-3.3.0 b/builds/runtimes/python-3.3.0
index 436fd92e..4669dcac 100755
--- a/builds/runtimes/python-3.3.0
+++ b/builds/runtimes/python-3.3.0
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.0/Python-3.3.0.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.0 src
 cd src
diff --git a/builds/runtimes/python-3.3.1 b/builds/runtimes/python-3.3.1
index fcf234e0..96b7ad14 100755
--- a/builds/runtimes/python-3.3.1
+++ b/builds/runtimes/python-3.3.1
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.1/Python-3.3.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.1 src
 cd src
diff --git a/builds/runtimes/python-3.3.2 b/builds/runtimes/python-3.3.2
index 076bf757..31942857 100755
--- a/builds/runtimes/python-3.3.2
+++ b/builds/runtimes/python-3.3.2
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.2/Python-3.3.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.2 src
 cd src
diff --git a/builds/runtimes/python-3.3.3 b/builds/runtimes/python-3.3.3
index 50fe9b87..cac66eb3 100755
--- a/builds/runtimes/python-3.3.3
+++ b/builds/runtimes/python-3.3.3
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.3/Python-3.3.3.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.3 src
 cd src
diff --git a/builds/runtimes/python-3.3.4 b/builds/runtimes/python-3.3.4
index d07a5c6b..876066bf 100755
--- a/builds/runtimes/python-3.3.4
+++ b/builds/runtimes/python-3.3.4
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.4/Python-3.3.4.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.4 src
 cd src
diff --git a/builds/runtimes/python-3.3.5 b/builds/runtimes/python-3.3.5
index df64fd8b..b2ac8b27 100755
--- a/builds/runtimes/python-3.3.5
+++ b/builds/runtimes/python-3.3.5
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.5/Python-3.3.5.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.5 src
 cd src
diff --git a/builds/runtimes/python-3.3.6 b/builds/runtimes/python-3.3.6
index 2d7b93d7..81eb0244 100755
--- a/builds/runtimes/python-3.3.6
+++ b/builds/runtimes/python-3.3.6
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.3.6/Python-3.3.6.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.3.6/Python-3.3.6.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.3.6 src
 cd src
diff --git a/builds/runtimes/python-3.4.0 b/builds/runtimes/python-3.4.0
index 8e4d80e3..df2036d5 100755
--- a/builds/runtimes/python-3.4.0
+++ b/builds/runtimes/python-3.4.0
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.4.0/Python-3.4.0.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.4.0/Python-3.4.0.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.4.0 src
 cd src
diff --git a/builds/runtimes/python-3.4.1 b/builds/runtimes/python-3.4.1
index 352245a5..f360cfd3 100755
--- a/builds/runtimes/python-3.4.1
+++ b/builds/runtimes/python-3.4.1
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.4.1/Python-3.4.1.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.4.1/Python-3.4.1.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.4.1 src
 cd src
diff --git a/builds/runtimes/python-3.4.2 b/builds/runtimes/python-3.4.2
index 67858ad2..1d633f19 100755
--- a/builds/runtimes/python-3.4.2
+++ b/builds/runtimes/python-3.4.2
@@ -5,7 +5,7 @@
 OUT_PREFIX=$1
 
 echo "Building Python..."
-SOURCE_TARBALL='http://python.org/ftp/python/3.4.2/Python-3.4.2.tgz'
+SOURCE_TARBALL='https://python.org/ftp/python/3.4.2/Python-3.4.2.tgz'
 curl -L $SOURCE_TARBALL | tar xz
 mv Python-3.4.2 src
 cd src
-- 
GitLab