update php mirrors
authorMichael Wallner <mike@php.net>
Mon, 1 Apr 2019 12:38:56 +0000 (14:38 +0200)
committerMichael Wallner <mike@php.net>
Mon, 1 Apr 2019 12:38:56 +0000 (14:38 +0200)
Makefile
php-version-url-dist.php
php-version-url-qa.php
php-version.php

index 2ccac0ff127512df00e8b031555fd9abe9df53e6..6630634f0b4512543ba6a2f6f8964694c4be7fa6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ export
 
 PHP ?= 7.3
 JOBS ?= 2
-PHP_MIRROR ?= http://php.net/distributions/
+PHP_MIRROR ?= https://php.net/distributions/
 TMPDIR ?= /tmp
 
 makdir := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
@@ -62,9 +62,9 @@ versions: $(PHP_RELEASES)
 
 $(PHP_RELEASES): $(makdir)/php-version-url-dist.php $(makdir)/php-version-url-qa.php | $(srcdir)
        cd $(makdir) && printf "master\tmaster\t%s/fetch-master.sh\n" $$(pwd) >$@
-       curl -Ss "http://php.net/releases/index.php?json&version=7&max=-1" | $(makdir)/php-version-url-dist.php >>$@
-       curl -Ss "http://php.net/releases/index.php?json&version=5&max=-1" | $(makdir)/php-version-url-dist.php >>$@
-       curl -Ss "http://qa.php.net/api.php?type=qa-releases&format=json"  | $(makdir)/php-version-url-qa.php   >>$@
+       curl -sSL "https://php.net/releases/index.php?json&version=7&max=-1" | $(makdir)/php-version-url-dist.php >>$@
+       curl -sSL "https://php.net/releases/index.php?json&version=5&max=-1" | $(makdir)/php-version-url-dist.php >>$@
+       curl -sSL "https://qa.php.net/api.php?type=qa-releases&format=json"  | $(makdir)/php-version-url-qa.php   >>$@
 
 ## -- PHP
 
index e39e7e7ffcd28bcaa7e5d9758adcf317ed4eddf9..cc36635316d24f40c069883315eae5f366b01201 100755 (executable)
@@ -25,6 +25,6 @@ if (!empty($versions) && !isset($versions["error"])) {
 }
 
 foreach ($by_minor as $v => $r) {
-       printf("%s\t%s\tcurl -sS %s%s | tar xj\n", $v, $r, $mirror,
+       printf("%s\t%s\tcurl -sSL %s%s | tar xj\n", $v, $r, $mirror,
                        $versions[$r]["source"][0]["filename"]);
 }
index dfa5ca4b7f8bdac17d376b3b99b5bfbf6f68e9ac..c94273fa3018e1ab8079bd6fdd74980643d80da2 100755 (executable)
@@ -25,7 +25,7 @@ if (!empty($versions) && !isset($versions["error"]) && isset($versions["releases
 }
 
 foreach ($by_minor as $v => $r) {
-       printf("%s\t%s\tcurl -sS %s | tar xj\n", $v, 
+       printf("%s\t%s\tcurl -sSL %s | tar xj\n", $v, 
                        $versions["releases"][$r]["version"], 
                        $versions["releases"][$r]["files"]["bz2"]["path"]);
 }
index 8fa04acf378d82643362d54af092b2c9163534f8..63d35b3e6962ddacd5307c358a85df288c79aec9 100755 (executable)
@@ -39,13 +39,16 @@ if (isset($by_minor[$version])) {
                print("5.6.33\n");
                break;
        case "7.0":
-               print("7.0.27\n");
+               print("7.0.33\n");
                break;
        case "7.1":
-               print("7.1.14\n");
+               print("7.1.27\n");
                break;
        case "7.2":
-               print("7.2.2\n");
+               print("7.2.16\n");
+               break;
+       case "7.3":
+               print("7.3.3\n");
                break;
        case "master":
                print("master\n");