On Oct 20, 2003, at 6:09 pm, Alberto G. Hierro wrote:


As the workstations obviously have network access to the server, couldn't
you stick a proxy server on it only allowing access to a set number of
hosts (i.e. a number of gentoo distfiles mirrors)? Can squid do this?
Or a normal proxy which requires authentication, then specify the
FETCHCOMMAND and RESUMECOMMAND in /etc/make.conf, make it unreadable by the
normal users and your set.

This is a possible solution, but teachers don't like to set up a proxy (if
anyone get the pass, he can access to internet from machines not allowed). I
think the best solution will be that emerge could print uris, so i could
print them to a file, fetch them from master server (running suse) and the
share them using NFS. Unfortunatelly, emerge can't do this ATM. What do you
think about requesting this feature to portage developers? Will be to hard to
implement?

I don't think you need to add this as a feature. I think that one each Gentoo machine you should be able to add an alias or wrapper so that `emerge -f somepackage` really calls `emerge -fp somepackage >> /path/to/shared/NFS/export/somefile.txt`. Then set up a cron job so that every minute the server wgets each line in that somefile.txt.


This needs some tidying & error trapping, but is a reasonable basis to work from, I think.

Stroller.


-- [EMAIL PROTECTED] mailing list



Reply via email to