[openwrt/openwrt] download.pl: Change SourceForge address to HTTPS.

LEDE Commits lede-commits at lists.infradead.org
Tue May 1 02:12:22 PDT 2018


blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/9ea90209f9ef3a786b34995092e830c50a65ddfd

commit 9ea90209f9ef3a786b34995092e830c50a65ddfd
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue Feb 20 12:43:00 2018 -0800

    download.pl: Change SourceForge address to HTTPS.
    
    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 f5c3f71..324cfdb 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";



More information about the lede-commits mailing list