If you don't mind to deal with the database through a webserver,
Maypole seems to fit your bill (if you can get it running - I have some trouble in getting it to work on Win32 and Apache2).
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law