So, here it is. Changes:
. Fixed a bug in mhash.c :). uses regular contrib makefile, no autoconf. license boilerplate. lifted it from .../freebsd/src/share/examples/etc/bsd-style-copyright. dropped 7.0.x support macros
-- marko