[projects/distfiles] Check certificates when fetching files.
arekm
arekm at pld-linux.org
Mon Mar 1 20:59:50 CET 2021
commit 36cc2e65c3900c948b39fd3d81f81cc26fb44e0c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 1 20:58:37 2021 +0100
Check certificates when fetching files.
file-fetcher.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/file-fetcher.pl b/file-fetcher.pl
index 837feb2..4f9ee32 100755
--- a/file-fetcher.pl
+++ b/file-fetcher.pl
@@ -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)");
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/distfiles.git/commitdiff/36cc2e65c3900c948b39fd3d81f81cc26fb44e0c
More information about the pld-cvs-commit
mailing list