Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: New ZoneMinder Port
To:
vansid <ovi1@vansid.org>
Cc:
ports@openbsd.org
Date:
Wed, 29 Oct 2025 08:22:56 +0000

Download raw body.

Thread
  • vansid:

    New ZoneMinder Port

    • Stuart Henderson:

      New ZoneMinder Port

On 2025/10/28 22:00, vansid wrote:
> Hi all,
> 
> I'd like to start a new port of ZoneMinder for OpenBSD.  I'm coming
> from the Linux world, so OpenBSD is a bit new to me.  I've read the
> basic port guide and some of the initial info, but if anyone has extra
> tips or tricks, I'm happy to learn.
> 
> The lead for the ZoneMinder project is fairly confident that it
> compiles cleanly on OpenBSD, so I think the bulk of my efforts will be
> to simply maintain the port and make it available to others, hopefully
> as  part of the ports tree.
> 
> I assume it would belong under ports/security/zoneminder, but open to
> suggestions or guidance. Also, if there is any guidance for formatting
> subject lines in this mailing list, (such as use of square brackets,
> name/version combs, etc.) please let me know
> 
> Finally, I fully admit that I'm not a programmer/developer, and I'm
> not an official part of the ZoneMinder team.  My goal is to help this
> software reach users who are interested in deploying it on a highly
> secure platform like OpenBSD.
> 
> Thanks
> 

It won't be an easy ride getting this into good shape for ports.
Some hints, for what they're worth:

There's a start at a port in
https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder/
but it hasn't been touched in 10 years and will need some adapting to
more recent changes in OpenBSD and in ZoneMinder.

First off, upstream stopped providing the full tar.gz after 1.30.0,
and they use git submodules which aren't included in the autogenerated
git-archive tars, so to fetch a usable set of source files for the
current version you'll need to replace DISTNAME/MASTER_SITES lines with

DIST_TUPLE=	github ZoneMinder ZoneMinder 1.36.36 . \
		github chmike CxxUrl eaf46c0207df24853a238d4499e7f4426d9d234c dep/CxxUrl \
		github ZoneMinder RtspServer eab32851421ffe54fec0229c3efc44c642bc8d46 dep/RtspServer

Many of the patch files will no longer apply to current zm source. Some
won't be needed at all, others (like the changes around vidioctl)
definitely still are.

afaik most people who looked at running this on OpenBSD ended up running
the much simpler "motion" instead.