Re: New ZoneMinder Port

vansid <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <CAOE-Yneio-9Zb0Wq-tPuHOKCbFaHvoR33ymsRJBu-FEoMp80aA@mail.gmail.com>
On Sun, Aug 9, 2026 at 6:28 PM Stuart Henderson <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.