Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 12:22:43 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Up-to-date INDEXes may now be downloaded from www.freebsd.org
Message-ID:  <20040517122243.7559ab0f@it.buh.cameradicommercio.ro>
In-Reply-To: <20040517082822.GB2681@xor.obsecurity.org>
References:  <20040517014925.GB46196@xor.obsecurity.org> <20040517103305.539dd62b@it.buh.cameradicommercio.ro> <20040517105819.5d63efc1@it.buh.cameradicommercio.ro> <20040517082822.GB2681@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 May 2004 01:28:22 -0700
Kris Kennaway <kris@obsecurity.org> wrote:

> On Mon, May 17, 2004 at 10:58:19AM +0300, Ion-Mihai Tetcu wrote:
> > On Mon, 17 May 2004 10:33:05 +0300
> > Ion-Mihai Tetcu <itetcu@apropo.ro> wrote:
> > 
> > > On Sun, 16 May 2004 18:49:25 -0700
> > > Kris Kennaway <kris@obsecurity.org> wrote:
> > > 
> > > > Up-to-date INDEX files may now be downloaded from the following
> > > > locations:
> > > > 
> > > > 4.x:
> > > >   http://www.FreeBSD.org/ports/INDEX   
> > > > 
> > > > 5.x:
> > > >   http://www.FreeBSD.org/ports/INDEX-5
> > > 
> > > Hurray !
> > > This will save about 40 minutes on my building machine.
> > 
> > Oh, and besides using  "Last-Modified:" HTTP header is there any way to
> > find out if one need to fetch it or not ?
> 
> I don't really understand what you mean by "needing to fetch" the
> index.

I see no reason to download the index if it hasn't being changed since
I've did it last time (e.g. make index failed on bento).
 
> If you require an up-to-date INDEX (e.g. you're currently using
> portsdb -uU) then you now have the option to download it instead of
> building it yourself,

Yes, that's what I was thinking to do. I have a machine that cvsups any
second hour and fech the ports, builds index and build some packages for
the rest of our machines.

> although you won't get an index that is customized for your installed ports.

What is the difference ? I thought the INDEX(-5) is based on ports/*
content and it is the same irrespective on what you have installed. So
actually my index building takes in consideration 1) my custom options
and 2) my installed ports and options and process the .if (exists
/bla/blu) from Makefiles. Never thought of 2), but it is logic :( Lucky
the machines are pretty much the same.


-- 
IOnut
Unregistered ;) FreeBSD "user"



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