I think the best thing to do is something like what you described - have an /etc/svc.conf file that determines what database is used - yp, bind or file, and then grab the hesiod sources from athena-dist.mit.edu and merge them into libc, with a switch that determines which database(s) to use and in what order. _MelloN_