What I have now is just a simple rsync hosting of a box's /usr/portage/distfiles directory and with an entry for FETCHCOMMAND in my client computer's /etc/make.conf, it will pull distfiles from the computer hosting its /usr/portage/distfiles.

The only problem is that I have to manually fetch the distfiles for a given package first, on my local server because the setup is not smart enough to realize it doesn't have a package and then go get it from public Gentoo mirrors first.

Before I attempt to add intelligence to the setup I already have going, is there already something that accomplishes this?

I tried to do some research but pretty much all the forum posts I could find pointed to old wikis that had since been taken down.