From 3ce6cfd1c41532afeed9d5f8bbbb0c5b652a9099 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 19 Jun 2013 18:23:21 -0700 Subject: [PATCH] emirrordist: wget --no-check-certificate Use --no-check-certificate since Manifest digests should provide enough security, and certificates can be self-signed or whatnot. --- pym/portage/_emirrordist/FetchTask.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/portage/_emirrordist/FetchTask.py b/pym/portage/_emirrordist/FetchTask.py index c9e043356..46412e3f1 100644 --- a/pym/portage/_emirrordist/FetchTask.py +++ b/pym/portage/_emirrordist/FetchTask.py @@ -20,7 +20,9 @@ from _emerge.CompositeTask import CompositeTask default_hash_name = portage.const.MANIFEST2_REQUIRED_HASH -default_fetchcommand = "wget -c -v -t 1 --passive-ftp --timeout=60 -O \"${DISTDIR}/${FILE}\" \"${URI}\"" +# Use --no-check-certificate since Manifest digests should provide +# enough security, and certificates can be self-signed or whatnot. +default_fetchcommand = "wget -c -v -t 1 --passive-ftp --no-check-certificate --timeout=60 -O \"${DISTDIR}/${FILE}\" \"${URI}\"" class FetchTask(CompositeTask): -- 2.26.2