OpenBSD ports maintainer #3948
Replies: 14 comments 4 replies
-
|
@abishai any interest? |
Beta Was this translation helpful? Give feedback.
-
|
Probably not, I'm not familiar with OpenBSD. It's better if a real OpenBSD user gets involved. What about other BSDs ? :) DragonflyBSD and NetBSD |
Beta Was this translation helpful? Give feedback.
-
|
@connortechnology Are you still looking for someone to be an OpenBSD port maintainer? I was looking to transition my current installation to OpenBSD, only to find that there isn't a current port or package. I'll be blunt, I'm not an OpenBSD expert (or Linux, for that matter), but I'm sure I could learn how to build and maintain a port. |
Beta Was this translation helpful? Give feedback.
-
|
Yes! Duties are basically try to build from time to time and let me know of issues. We can work together, on it. |
Beta Was this translation helpful? Give feedback.
-
|
Feel free to look at the pkgsrc (NetBSD) port for inspiration. It's currently two micros behind. I suspect there is a lot that needs to be expressed the openbsd ports way vs the pkgsrc way, but the list of things needing accomodation is likely similar. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, I will definitely take a look. I've not worked on this port for
several weeks, but actually had some time this weekend. I've got
ZoneMinder up and running on a new OpenBSD 7.8 instance, I'm just trying to
finalize documentation and configuration. I don't really know much about
the OpenBSD porting process, so this will be a learning experience for me.
Happy to report that it actually does work, just needs to be packaged and
tested.
…-vansid.
On Fri, Jan 2, 2026 at 10:40 AM Greg Troxel ***@***.***> wrote:
Feel free to look at the pkgsrc (NetBSD) port for inspiration. It's
currently two micros behind. I suspect there is a lot that needs to be
expressed the openbsd ports way vs the pkgsrc way, but the list of things
needing accomodation is likely similar.
—
Reply to this email directly, view it on GitHub
<#3948 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIRRH4OY6UF3ACNSKRE3NYL4E2GNLAVCNFSM6AAAAACKGOUIOKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMZZGE4TCNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I had some time to work on the OpenBSD version of ZoneMinder, and I have been able to get pretty much everything working, including the API support (which was quite a pain due to missing PHP packages in the standard OpenBSD repository) and standard
I've been documenting all of my necessary changes an configurations to a fully-patched OpenBSD 7.8 installation, so I can successfully reproduce this and get ZoneMinder installed in a repeatable fashion. But the missing PHP modules and ugly symlinks are preventing me from being able to create a proper OpenBSD port. I have asked on the OpenBSD Ports mailing list if someone can make |
Beta Was this translation helpful? Give feedback.
-
Probably the solution is to tweak ZM_PERL_MM_PARMS variable in CMake
Any tmpfs directory. Can be set in CMake ZM_PATH_MAP or configured later. Setting this directory not in tmpfs backed filesystem would be a disaster.
They are not. You can throw away apcu entirely and use pdo_mysql instead of mysqlnd |
Beta Was this translation helpful? Give feedback.
-
I believe you are right. apc(u) is really required. sysvsem is recommended as well (workaround tries to write in script directory, which is very bad idea).
pdo is middleware, it can link against mysqlnd or mysql-client with make flags. The application should be unaware of that, because it works using pdo abstraction. Probably, your issues is not coming from pdo. Do you have logs? |
Beta Was this translation helpful? Give feedback.
-
|
I have My impression is that zm used to use sysv shm, but now uses mmap. But you said |
Beta Was this translation helpful? Give feedback.
-
|
ZM still has the code to use sysv shm, but no one uses it anymore, but there's not reason it shouldn't still work. |
Beta Was this translation helpful? Give feedback.
-
|
Are you saying about shm: there is code to use sysv shm if configured (instead of mmap). Even though it's ~never used by anyone, a package that lacks it is defective? or "it's never used, and if you install php-sysvshm it should work, but that's borderline historical and it's fine for a package to omit it. And about sysvsem: It is always used, to serialize socket access for zms. If it's missing, then 1) there will be warnings logged and 2) there will be no seralization control, so you are left just hoping that there aren't concurrent accesses |
Beta Was this translation helpful? Give feedback.
-
|
I believe. there is script, that queries zms periodically for monitor data, like fps. It will fail without sysvsem php package. Or if fallback fails to create semaphore file (because it trites to create in script location directory - it should be read only). |
Beta Was this translation helpful? Give feedback.
-
|
sysvshm vs mmap is a compile time flag. You need one of them. Either/or. It is not a run time flag. php-sysvsem is not REQUIRED, it is used to serialize socket communication to zms. No one ever saw a problem, but there was potential. It will log a warning, and then continue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Anyone want to take on getting ZM into open bsd ports? I made it compile and work on openbsd, but am stuck on the actual port.
Beta Was this translation helpful? Give feedback.
All reactions