Appears that implementation of HAVAL digest (haval and haval.1996) included in Trf sources is non-free. Its copyright statement states:
Copyright (C) 1996 by Yuliang Zheng. All rights reserved.
This program may not be sold or used as inducement to sell
a product without the written permission of the author.
So, it's impossible to include Trf as is to Debian GNU/Linux distribution (which I would like to).
Fortunately, the HAVAL implementation was relicensed to BSD license and is available at http://labs.calyptix.com/haval.php.
Could you replace non-free version by this newer one?
The attached patch preserves all changes made by Andreas Kupries to the original version, and allows use of haval-1.1 directory insted of haval.1996.
The patch applies to the CVS version of Trf.