]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
Check certificates when fetching files. master
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 19:58:37 +0000 (20:58 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Mar 2021 19:58:37 +0000 (20:58 +0100)
file-fetcher.pl

index 837feb244c66f2194a56e3cfd3baf1bbaa4ec3b7..4f9ee3207ff28579244eb89789e316a6f0eef155 100755 (executable)
@@ -241,9 +241,9 @@ sub fetch_file($$)
   my $all_out = "";
   my $bn = basename($url);
   my $local = "$tmp_dir/$md5/$bn";
-  my @cmd = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url);
+  my @cmd = ("wget", "-nv", "--no-iri", "--user-agent=$user_agent", "-O", $local, $url);
   my $cmd_joined = join(' ', @cmd);
-  my @cmd2 = ("wget",  "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
+  my @cmd2 = ("wget",  "-nv", "--no-iri", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url);
   my $cmd2_joined = join(' ', @cmd2);
 
   syslog("info","fetch_file($md5,$url)");
This page took 0.172356 seconds and 4 git commands to generate.