-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here is fix for fastestmirror when http basic auth is used in mirror url
in format:
baseurl=http://username:[EMAIL PROTECTED]/path
http://username:[EMAIL PROTECTED]/path
Without patch fastestmirror tests host
username:[EMAIL PROTECTED] for connectivity which doesn't work.
Attached is patch for fastestmirror.py in yum-utils-1.1.9.
Patch will apply on fastestmirror.py in yum-utils-1.0.4 with some offset.
- --
Tuomo Soini <[EMAIL PROTECTED]>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFILD0oTlrZKzwul1ERAv8sAJ0ebitIT2nWIvK/w8VYon393fTjzQCgr9EP
pU/vq33fIbCJXrRh/T2X/A4=
=qeIu
-----END PGP SIGNATURE-----
--- fastestmirror.py.orig 2007-12-17 23:10:23.000000000 +0200
+++ fastestmirror.py 2008-05-15 16:11:20.000000000 +0300
@@ -174,6 +174,7 @@
self.parent = parent
self.mirror = mirror
self.host = urlparse.urlparse(mirror)[1]
+ self.host = self.host.split('@')[-1]
uService = urlparse.urlparse(mirror)[0]
if uService == "http":
self.port = 80
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel