Mostly rewritten, properly (sort of) integrates with pkg_* code, Likely to have bugs, but if noone uses it they won't show up. Oh, and even features a manpage with feedback from schwarze@ and jmc@.
feedback and ok ajacoutot@ simon@