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

Rosen Penev rosenp at gmail.com
Tue Feb 20 12:43:00 PST 2018


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 at gmail.com>
---
 scripts/download.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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";
-- 
2.14.3




More information about the Lede-dev mailing list