On 2026/01/25 20:02, Chaz Kettleson wrote:
> On Sun, Jan 25, 2026 at 05:06:07PM -0500, Chaz Kettleson wrote:
> > All,
> > 
> > I tested www/phpldapadmin and it is broken. It looks like the project
> > did a rewrite to support newer versions of PHP, and OpenBSD was carrying
> > patches for a while for their last 1x release. Somewhere along the line
> > probably for PHP 8x this stopped working. The last email I could find
> > was:
> > 
> > https://marc.info/?l=openbsd-ports&m=170548745803429&w=2
> > 
> > Is the plan to fix this for for PHP 8x or move to 2x? I took a look at
> > 2x and it's now based on Laravel and would require running npm/composer
> > and likely require a vendored package.

Patching for this is not sustainable, moving to 2.x makes a lot more
sense. What I don't know is whether it makes sense to do that in ports
or to take the approach we took for a lot of other PHP-based web apps
previously removed - if it needs patching to work on OpenBSD anyway
then I think it does make sense to keep as a port - if it can just be
used directly with normal upstream instructions then possibly not.

btw see net/librenms "make dist" for another port that uses vendored
laravel, etc (also an example of something which _does_ need patching
for OpenBSD, e.g. we don't have whereis -b, and some paths need
changing).

Reply via email to