This is too hard to maintain.  See https://github.com/ZoneMinder/ZoneMinder/commits/master