emirrordist: wget --no-check-certificate
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Jun 2013 01:23:21 +0000 (18:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Jun 2013 01:23:21 +0000 (18:23 -0700)
Use --no-check-certificate since Manifest digests should provide
enough security, and certificates can be self-signed or whatnot.

pym/portage/_emirrordist/FetchTask.py

index c9e0433566147ae3f2fed24d186a09978d4aff26..46412e3f1f6ba8f385f1b78fa54f45f378722a2c 100644 (file)
@@ -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):