As noted in bug 217042, users/groups created in pkg_setup are subject to the following problems: 1. group/user is added on the machine building the package, even when emerge is passed -B/--buildpkgonly. 2. group/user is added simply by using ebuild <ebuild> unpack. 3. group/user is added even if the build fails in src_* functions and is never installed. Since djbdns does not require any of its three users (dnscache, dnslog, and tinydns) during src_compile, they should be created in pkg_preinst.
Done in CVS. Thanks Michael. Closing.
Tested the change, confirmed that it does what it's supposed to.