[email protected] wrote: > Thanks to all who reponded: > > - Rich Freeman suggests: > - having apache serve the local distfiles. > How? Just make them available in the apache root and give portage the > URL somewhere? > - use "infra scripts", but I think that's for running an up-to-date > general-purpose mirror > > He explains later that repos.conf defines the single place where the > repository is defined but that is distinct from where the distfiles > come from, which is defined by make.conf:GENTOO_MIRRORS > > - Dale suggests: > - a package, http-replicator, which might do Freeman's first > suggestion. > > - Neil Bothwick explains the difference between serving the "portage > mirror, the repository of ebuild and associated files" and the > distfiles, and suggests using NFS, presumably instead of, or in > addition to /usr/portage/distfiles. > > Okay, I looked for the first time at the files directly under > /usr/portage. > Is it a correct assumption that all packages available for installation > will be represented there? > And that's it? That's basically all there is to a gentoo installation? > - /usr/portage/distfiles > - the ebuilds directly under /usr/portage > - /usr/portage/eclass > - /usr/portage/metadata > - /usr/portage/profiles > - /etc/portage > > If so, then I'm delighted in the simplicity of it. Like reading the one > page definition of tcl. > Unfortunately, it doesn't come through so well in the documentation, > with things like layouts seemingly basic to an understanding. > > - Peter Humphrey suggests: > - http ftp proxy > > In what way is that different from rsync which I thought I'd already > configured? > >
Just to add some more info. By changing the settings in make.conf, you can move these directories wherever you like. As a example, I moved mine here: root@fireball / # ls -al /var/cache/portage/ total 160 drwxr-xr-x 5 root root 4096 Dec 20 2012 . drwxr-xr-x 13 root root 4096 Apr 24 03:18 .. drwxrwxr-x 3 portage portage 143360 Apr 26 04:06 distfiles drwxr-xr-x 105 portage portage 4096 Apr 26 04:04 packages drwxr-xr-x 174 portage portage 4096 Apr 22 23:32 tree root@fireball / # I have these settings in make.conf to match where I put things: DISTDIR="/var/cache/portage/distfiles/" PKGDIR="/var/cache/portage/packages" PORTDIR="/var/cache/portage/tree" If you need to move things to a place that is more convenient for you, it is doable. The only thing I don't think you can move is /etc/portage itself. I think that has to be there. Other than that, move things where you need them to be. There are others who have placed theirs in other places and as long as you tell portage where it is at, you can adjust them as needed. Hope that extra info helps. Dale :-) :-)

