[LEDE-DEV,3/3] download.pl: Change OpenWrt mirrors to HTTPS.

Message ID 20180220204301.15490-3-rosenp@gmail.com
State Accepted
Delegated to: John Crispin
Headers show
  • [LEDE-DEV,1/3] uboot-envtools: Remove openwrt mirror from PKG_SOURCE_URL.
Related show

Commit Message

Rosen Penev Feb. 20, 2018, 8:43 p.m.
These have supported HTTPS for quite a while. I have not seen any obvious breakage.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
 scripts/download.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


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;