Index | Thread | Search

From:
vansid <ovi1@vansid.org>
Subject:
Re: New ZoneMinder Port
To:
vansid <ovi1@vansid.org>, Lydia Sobot <chilledfrogs@disroot.org>, ports@openbsd.org
Date:
Sun, 9 Aug 2026 21:37:24 +0200

Download raw body.

Thread
On Sun, Aug 9, 2026 at 6:28 PM Stuart Henderson <stu@spacehopper.org> wrote:

> I recommend setting 'SUDO=sudo -E' and "PORTS_PRIVSEP=Yes" in /etc/mk.conf
> and configuring so that your user account can run things as _pbuild and
> _pfetch without prompting, and as root with a password, e.g. like this in sudoers
>
> your_user ALL=(_pbuild) NOPASSWD: ALL, (_pfetch) NOPASSWD: ALL
> your_user ALL=(ALL) SETENV: ALL
>
> then go to the dir for an individual port (e.g. cd /usr/ports/math/moo)
> and as an exception to the normal rule, run "make fix-permissions" as
> root.

Thanks, I will definitely do that.  Sorry, just one more question...

ZoneMinder has *a lot* of dependencies, all of which seem to resolve
and work but only after a very long time of downloading and compiling
all the related software.  When I was doing my initial testing (before
I starting working on the actual OpenBSD ports tree process), I was
able to install many of the dependencies with pre-compiled binaries
from pkg_add which saved considerable time.  Is it possible to install
dependent packages in this manner as part of the ports tree process,
or must everything be installed from source according to each port's
Makefile?

-vansid