On Friday 09 January 2009 21:32:15 Grant wrote:
> >> > You could use iptables to block all traffic headed to port 80 with
> >> > exceptions for the domains you need.
> >>
> >> Would that cause problems with fetching packages for emerges?
> >
> > If you wget your packages using http, then yes. You could then:
> >
> > 1. Put all your mirror sites in the exception list. This can get tedious
> > as some ebuilds list many mirrors for sources
> >
> > or
> >
> > 2. wget using ftp
> >
> > or
> >
> > 3. set up a proxy
> >
> > The easiest is #2 by far
>
> Does portage use wget over http by default?  Can I change a setting to
> make it use ftp?

Just give GENTOO_MIRRORS a usable ftp:// url in make.conf

There's nothing you can do about http URLs that might be in ebuilds. Those are 
hardcoded and emerge will tell wget to use those exact URLs 

-- 
alan dot mckinnon at gmail dot com

Reply via email to