This is very untested.
It runs on FreeBSD but that's about all I've checked.