freebsd-skq/usr.sbin/portsnap
cperciva 6a63b482f7 The approach portsnap uses of "pick a random HTTP mirror" doesn't
interact very nicely with HTTP proxies: Since proxies do not know
that all the files on portsnap1.freebsd.org are identical to the
files with the same names on portsnap2.freebsd.org, said proxies end
up downloading and storing files in duplicate.

This commit uses the HTTP_PROXY environment variable, if set, to
generate a random number seed for use in selecting a mirror.  This
means that if several systems all have the same HTTP_PROXY value set,
they will ask the proxy to fetch files from the same mirror (unless
that mirror fails, in which case all the systems will use the same
second choice, et cetera).

Portsnap still doesn't interact very well with "transparent" HTTP
proxies, but there's nothing I can do about those.

Requested by:	simon
Sponsored by:   FreeBSD security development fundraiser
2006-05-03 21:29:01 +00:00
..
make_index Make "missing dependency" errors more useful by indicating which port 2005-12-01 22:14:44 +00:00
phttpget Correct handling of HTTP_PROXY_AUTH. A password may have `:'. 2006-03-07 19:04:16 +00:00
portsnap The approach portsnap uses of "pick a random HTTP mirror" doesn't 2006-05-03 21:29:01 +00:00
Makefile
Makefile.inc