MASTER_SITE_OVERRIDE

Alexander Logvinov freebsd at akavia.ru
Wed Mar 28 22:25:00 EDT 2007


Hello.

>>   Sorry for stupid question but how can I set MASTER_SITE_OVERRIDE for every build? 
>>   build.env with "export MASTER_SITE_OVERRIDE=http://host/distfiles/$(DIST_SUBDIR)/" line helps, but it doesn't recognize $(DIST_SUBDIR) of course. 
> May be that helps:
> $ cat portstree.env 
> export MASTER_SITE_BACKUP="ftp://srv.sem.ipt.ru/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
> ftp://ftp.ipt.ru/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
> ftp://tinderbox.amd64.ipt.ru/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ ftp://ftp.ipt.ru/pub/download/"
> export MASTER_SITE_OVERRIDE="${MASTER_SITE_BACKUP}"
 Same with it.

>>Is there any way of doing this without creating /etc/make.conf?
 I think this is only right way for me. I sent patch in previous message.

> And the result at the log file:
 When DIST_SUBDIR = rubygem:

====================<phase 1: make checksum>====================
=> rubyforge-0.4.0.gem doesn't seem to exist in /tmp/distfiles/rubygem.
=> Attempting to fetch from file:///distcache/rubygem/.
fetch: file:///distcache/rubygem/rubyforge-0.4.0.gem: No such file or directory
=> Attempting to fetch from http://blg.akavia.ru/distfiles//.
fetch: http://blg.akavia.ru/distfiles//rubyforge-0.4.0.gem: Not Found


-- 
WBR



More information about the tinderbox-list mailing list