Re: Reflections on Trusting Trust



On Thu, Dec 01, 2005 at 04:38:26PM +1100, Peter Jeremy wrote:
> On Wed, 2005-Nov-30 14:38:11 -0500, Kris Kennaway wrote:
> >On Thu, Dec 01, 2005 at 04:58:36AM +1100, Peter Jeremy wrote:
> >
> >> Note that the only ports-related file that can't be moved out of the
> >> ports tree is 'INDEX'.
> >
> >Set INDEXFILE.
>
> INDEXFILE always appears to be prepended with ${.CURDIR} or ${PORTSDIR}
> This means you can change it's name but you can't move it out of the
> ports tree. Symlinks won't work because 'make index' begins with
> rm -f ${.CURDIR}/${INDEXFILE} (thought 'make INDEX' avoids this).

Hmm, I think you're right..we should fix this. Probably we have to
add a new variable like INDEXPATH for backwards compatibility. Can
you submit a PR noting the problem so it doesn't get forgotten?

Kris

Attachment:
pgpGWEHDmVvLj.pgp


Description: PGP signature