[Bug 256656] net-mgmt/icingaweb2: Fix with php 8.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Jun 2021 19:36:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256656

            Bug ID: 256656
           Summary: net-mgmt/icingaweb2: Fix with php 8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lme@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
          Assignee: lme@FreeBSD.org
             Flags: maintainer-feedback?(lme@FreeBSD.org)

Created attachment 225870
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225870&action=edit
patch

Hi,

I'm in the process of migrating some machines to php 8.0.

I noticed that icingaweb 2.8.2 does not work properly with the new PHP. The
server hangs on requests in php-fpm.

Upstream performed two commits that fix this, I've created a patch to import
those commits from upstream.

The relevant commits are:

https://github.com/Icinga/icingaweb2/commit/4bc5350ebaaeb7a60bbe20829a1d72def343a921

https://github.com/Icinga/icingaweb2/commit/dc7a8c8d8b6eefe03a5dd66425132de3f1afdc59

I named the new patches after the commit hashes due to lack of a better name.

With these patches it works fine with php 8.0. Also note that upstream has
committed further improvements in relation to php 8.0, but these two are
sufficient to get proper functionality.

I think this should be added to the official tree.

-- 
You are receiving this mail because:
You are the assignee for the bug.