From: Rosen Penev Date: Tue, 20 Feb 2018 20:43:01 +0000 (-0800) Subject: download.pl: Change OpenWrt mirrors to HTTPS. X-Git-Tag: v18.06.0-rc1~293 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=1ce846580a638bb8a9f9c2571840be65331be38e download.pl: Change OpenWrt mirrors to HTTPS. These have supported HTTPS for quite a while. I have not seen any obvious breakage. Signed-off-by: Rosen Penev --- diff --git a/scripts/download.pl b/scripts/download.pl index 324cfdb3b3..34fd6a6f0b 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -257,10 +257,10 @@ foreach my $mirror (@ARGV) { } } -#push @mirrors, 'http://mirror1.openwrt.org'; -push @mirrors, 'http://sources.lede-project.org'; -push @mirrors, 'http://mirror2.openwrt.org/sources'; -push @mirrors, 'http://downloads.openwrt.org/sources'; +#push @mirrors, 'https://mirror1.openwrt.org'; +push @mirrors, 'https://sources.lede-project.org'; +push @mirrors, 'https://mirror2.openwrt.org/sources'; +push @mirrors, 'https://downloads.openwrt.org/sources'; while (!-f "$target/$filename") { my $mirror = shift @mirrors;