Reflections on Trusting Trust

Peter Jeremy PeterJeremy at optushome.com.au
Thu Dec 1 05:38:33 GMT 2005


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).

-- 
Peter Jeremy


More information about the freebsd-security mailing list