setting up a ports distfile mirror

Julian Elischer julian at freebsd.org
Mon Apr 28 08:10:10 UTC 2014


I noticed that if I set an override site, that it uses it differently 
that a primary site.
for example:

if I have a file needed for a perl install on my ftp server:

/pub/ports-distfiles/perl/defined-or-5.8.9.bz2

and set the over-ride to point to my local server's ports-distfiles 
directory,
it fails to find that file because it doesn't look in .../perl/..,
yet on the primary site (or the FreeBSD site)
it looks for , and finds this file in the 'perl' subdirectory.

On the Over-ride site however, it looks for it in the base directory.
and doesn't look in the 'perl' subdirectory. (this is an 8.0 vintage 
system)
but I see similar happennig on newer systems, (I will confirm this soon).

Is there a way to specify a local distfile mirror that has the same 
layout as the
primaries?

Julian
p.s. keep me in CCs please.


More information about the freebsd-ports mailing list