Patch limits salt for crypt command by two bytes, and for md5crypt by eight bytes (instead of two). Also, it retains $1$ magic prefix in md5crypt command result.
Patch adds HAVAL message digest implementation from http://labs.calyptix.com/haval-1.1.tar.gz which is relicensed to BSD license instead of removed non-free version.
Patch reimplements MD2 hash because it was removed from the OpenSSL implementation which was used in Trf. The actual implementation is borrowed from Heimdal (http://www.h5l.org/)
Patch adds RIPEMD-128 and RIPEMD-160 implementation cindly offered by Legimet <legimet.calc@gmail.com> to replace the non-free ones used in the original code.
Patch fixes linking of Trf library at build time. It is taken from http://sourceforge.net/tracker/index.php?func=detail&aid=680667&group_id=60766&atid=495205