[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using local mirror!



Alejo Sanchez <alejos@fibertel.com.ar> wrote:

> Do you ppl know that you can set a default
> distfile mirror? 
> 
> Just add this line like this to /etc/mk.conf
> MASTER_SITES = ftp://ftp.XX.openbsd.org/pub/OpenBSD/distfiles/

Actually, ${PORTSDIR}/infrastructure/db/network.conf is the place
for a more fine-grained configuration of this.  You might want to
add

.include "${PORTSDIR}/infrastructure/templates/network.conf.template"

at the end in order to still add the old defaults.

> Ok yeah, it IS on ports manpage,

Indeed it is.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de