Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 19:30:14 -0400 (EDT)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        Gary Palmer <gpalmer@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: MASTER_SITES 
Message-ID:  <Pine.OSF.3.91.960626192623.2528A-100000@modem.eng.umd.edu>
In-Reply-To: <27306.835830230@palmer.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Jun 1996, Gary Palmer wrote:

> Chuck Robey wrote in message ID
> <Pine.OSF.3.91.960626184405.3173A-100000@carrier.eng.umd.edu>:
> > On Wed, 26 Jun 1996, Gary Palmer wrote:
> > > I'm not quite sure when this crept in, but it seems like
> > > ftp.freebsd.org is ALWAYS checked first before the site defined in the
> > > Makefile for the port ... is this the desired behaviour? Have I missed
> > > something? Seems to be the reverse of what I remember happening in the
> > > past, and (IMHO) wrong ... (Or this this some attempt to bump FreeBSD
> > > up the wcarchive transfer ratings? :-) )
> 
> > Amazing.  This must be real recent!  Please give one example (port name) 
> > of this!
> 
> Umm. e.g.:
> 
> root@thud:/usr/ports/japanese/gawk> make fetch
> >> gawk-2.15.6.tar.gz doesn't seem to exist on this system.
> >> ftp://ftp.freebsd.org/pub/FreeBSD/distfiles// ftp://gatekeeper.dec.com/pub/GNU/
> 
> (the above line I put into bsd.port.mk to try and figure things out ... wierd :-( )
> 
> >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//.
> Receiving gawk-2.15.6.tar.gz (520032 bytes): 100%
> 520032 bytes transfered in 3.1 seconds  (166.20 K/s)
> >> gawk-2.15.6-mb1.04.diff.gz doesn't seem to exist on this system.
> >> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//.
> Receiving gawk-2.15.6-mb1.04.diff.gz (38722 bytes): 100%
> 38722 bytes transfered in 0.4 seconds  (94.65 K/s)
> 
> This is with a bsd.port.mk which is straight from the CVS repo.

Dunno, Gary.  I had to edit the Makefile on my home system for 
japanese/gawk, because it still had the NCFTP stuff:

            for file in ${DISTPATCHES} ; do \
                for site in ${PATCH_SITES} ; do \
                    if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} 
$${site}$${file}; then
\
                        break; \

Once I did this, I did the make, and it went out and got the stuff from 
the right places.  The main gawk was fetched from gatekeeper, that's what 
I would expect.

I hid my local distfiles during this, to force the fetch.

I don't like the way the pre-fetch target works, cause it doesn't tell 
you the actual site name it fetched from, like the main fetch code from 
bsd.port.mk will.  That's a pretty small nit, tho.

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960626192623.2528A-100000>