Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 14:17:42 -0800
From:      Scott Blachowicz <scott@statsci.com>
To:        "Jonathan M. Bresler" <jmb@freefall.freebsd.org>
Cc:        jkh@time.cdrom.com (Jordan K. Hubbard), ports@FreeBSD.org
Subject:   Re: Here's a radical idea... 
Message-ID:  <m0vz8iN-000QdNC@bloke.statsci.com>
In-Reply-To: Your message of "Mon, 24 Feb 1997 09:34:11 -0800." <199702241734.JAA02789@freefall.freebsd.org> 
References:  <199702241734.JAA02789@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Jonathan M. Bresler" <jmb@freefall.freebsd.org> wrote:

> 	how about a script that uses the contents fo the Makefiles
> 	to verify that distribution is still at the site.

I think I saw something like this already float by on this thread, but I
can't find it now and a search on the web page turned up zero matches...

Why not set MASTER_SITES to something like this?

    $(FREEBSD_ORG_OVERRIDE) \
    ftp://where.ever.com/what.ever \
    $(FREEBSD_ORG_FALLBACK)

Then and individual could override a default value (of
ftp://ftp.freebsd.org/...) for either or both of those variables depending
on what's desired.  If I don't want to try freebsd.org first, I do

    make FREEBSD_ORG_OVERRIDE= fetch

or if I want to error out when the master(s) lose it:

    make FREEBSD_ORG_OVERRIDE= FREEBSD_ORG_FALLBACK= fetch

And presumably /etc/make.conf (I don't remember the name of that file for
sure) could be edited to make a "permanent" local change to the value.

Scott Blachowicz  Ph: 206/283-8802x240   Mathsoft (Data Analysis Products Div)
                                         1700 Westlake Ave N #500
scott@statsci.com                        Seattle, WA USA   98109
Scott.Blachowicz@seaslug.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0vz8iN-000QdNC>