[LEDE-DEV,2/3] download.pl: Change SourceForge address to HTTPS.

Message ID 20180220204301.15490-2-rosenp@gmail.com
State Accepted
Delegated to: John Crispin
Headers show
Series
  • [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.
SourceForge has supported HTTPS for its downloads for a long time now.

I have not been able to see any failures resulting from this change.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 scripts/download.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/download.pl b/scripts/download.pl
index f5c3f71056..324cfdb3b3 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -191,7 +191,7 @@  foreach my $mirror (@ARGV) {
 	if ($mirror =~ /^\@SF\/(.+)$/) {
 		# give sourceforge a few more tries, because it redirects to different mirrors
 		for (1 .. 5) {
-			push @mirrors, "http://downloads.sourceforge.net/$1";
+			push @mirrors, "https://downloads.sourceforge.net/$1";
 		}
 	} elsif ($mirror =~ /^\@APACHE\/(.+)$/) {
 		push @mirrors, "https://mirror.netcologne.de/apache.org/$1";