Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 09:14:59 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Makeing fetchindex really mirror INDEX
Message-ID:  <20050110171459.GA8756@xor.obsecurity.org>
In-Reply-To: <20050110191004.73fe13ab@it.buh.cameradicommercio.ro>
References:  <20050109143903.GC1187@zaphod.nitro.dk> <20050109174945.7f0353e4@Magellan.Leidinger.net> <20050109170219.GF1187@zaphod.nitro.dk> <20050109185948.4470a02d@Magellan.Leidinger.net> <20050110191004.73fe13ab@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 10, 2005 at 07:10:04PM +0200, Ion-Mihai Tetcu wrote:
> On Sun, 9 Jan 2005 18:59:48 +0100
> Alexander Leidinger <Alexander@Leidinger.net> wrote:
>=20
> >  At the time I wrote the first implementation of "fetchindex" it was
> >  supposed to be run at the time as "update". So the PORTSDIR has to be
> >  writable (except I've overlooked something). If this hasn't changed,
> >  there's no need for .CURDIR.
>=20
> I would be extremely happy if we could have the INDEX-* file and all
> associated things be able to use some other dir that PORTSDIR. This way
> I could export /usr/ports over NFS and be able to build the INDEX
> locally on each client. Is this already possible and I am missing it ?
>=20
> Port tools already support this (e.g. portupgrade's PORTS_INDEX).
>=20
> And a quick grep on ports/Mk/bsd.*.mk suggest that something like this
> would be enough:
>=20
>  + INDEXDIR?=3D	${PORTSDIR}
>=20
>  - ${PORTSDIR}/${INDEXFILE}
>  + ${INDEXDIR}/${INDEXFILE}
>=20
> And some of ports/Tools/* would have to be modified also.

Please submit a complete patch then :-)

Kris

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB4rgTWry0BWjoQKURAlTZAKD3xO3geIoQz/TNlIADuakqJK7HMwCgtgUK
g3T4TuOL0SrqTdcSXktkcsQ=
=IMYv
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--



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