Changeset f01b717 in freewrt for scripts/download.pl
- Timestamp:
- Aug 12, 2025, 8:06:59 PM (4 months ago)
- Branches:
- freewrt_2_0
- Children:
- 25065c4
- Parents:
- 9b4fa61
- git-author:
- Waldemar Brodkorb <wbx@…> (08/04/25 08:02:56)
- git-committer:
- Waldemar Brodkorb <wbx@…> (08/12/25 20:06:59)
- File:
-
- 1 edited
-
scripts/download.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/download.pl
r9b4fa61 rf01b717 58 58 if ($mirror =~ /^\@SF\/(.+)$/) { 59 59 my $sfpath = $1; 60 open SF, "wget -t1 -q -O- 'http ://prdownloads.sourceforge.net/$sfpath/$filename' |";60 open SF, "wget -t1 -q -O- 'https://prdownloads.sourceforge.net/$sfpath/$filename' |"; 61 61 while (<SF>) { 62 62 /RADIO NAME=use_default VALUE=(\w+) OnClick="form\.submit\(\)">/ or 63 63 /type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do { 64 push @mirrors, "http ://$1.dl.sourceforge.net/sourceforge/$sfpath";64 push @mirrors, "https://$1.dl.sourceforge.net/sourceforge/$sfpath"; 65 65 }; 66 66 /<a href="\/.+\?use_mirror=(\w+)"><b>Download/ and do { 67 push @mirrors, "http ://$1.dl.sourceforge.net/sourceforge/$sfpath";67 push @mirrors, "https://$1.dl.sourceforge.net/sourceforge/$sfpath"; 68 68 }; 69 69 } 70 push @mirrors, "http ://dl.sourceforge.net/sourceforge/$sfpath";70 push @mirrors, "https://dl.sourceforge.net/sourceforge/$sfpath"; 71 71 close SF; 72 72 } elsif ($mirror =~ /^\@GNU\/(.+)$/) { … … 85 85 } 86 86 87 push @mirrors, 'http ://www.freewrt.org/distfiles/';87 push @mirrors, 'https://mirror2.openwrt.org/sources/'; 88 88 89 89 while (!$ok) {
Note:
See TracChangeset
for help on using the changeset viewer.
