Reflections on Trusting Trust

Kris Kennaway kris at obsecurity.org
Thu Dec 1 05:51:38 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20051201/69cf0ae1/attachment.bin


More information about the freebsd-security mailing list