summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-24 12:27:20 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-24 12:27:20 +0000
commit462a37745715f70a4d2597e53e18b58b12a2b33d (patch)
treef3d7b2d5af72484f2c1701dc8d083698960d5010
parenta5e9a4daf7fc2a27bccb2ae9ea73c337138ed76a (diff)
downloadurpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar
urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.gz
urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.bz2
urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.xz
urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.zip
make certificate check for aria2 behave the same as for the other downloaders
-rw-r--r--NEWS1
-rw-r--r--urpm/download.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0350de00..4e5e54ee 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- make sure we don't check certificate in aria2 except when we want to
- exclude kernel-source from orphan processing (#53426)
Version 6.28.1 - 3 September 2009
diff --git a/urpm/download.pm b/urpm/download.pm
index 39d63a02..83c6767d 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -683,6 +683,7 @@ sub sync_aria2 {
($options->{'limit-rate'} ? "--max-download-limit=" . $options->{'limit-rate'} : ()),
($options->{resume} ? "--continue" : "--allow-overwrite=true"),
($options->{proxy} ? set_proxy({ type => "aria2", proxy => $options->{proxy} }) : ()),
+ ($options->{"strict-certificate-check"} ? () : "--check-certificate=false"),
(defined $options->{'aria2-options'} ? split /\s+/, $options->{'aria2-options'} : ()),
_create_metalink_($urpm, $medium, $rel_files, $options));