CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2021/02/26 04:17:05
Modified files:
net/icinga/web2: Makefile
net/icinga/web2/pkg: README
Added files:
net/icinga/web2/patches:
patch-library_Icinga_Application_Platform_php
Log message:
Patch icingaweb2 to allow the setup module to work with PHP 7.4+ on OpenBSD
which doesn't usually have passwd databases available due to chroot.
Without this, getpwuid(geteuid()) lookup was failing and the "return
current username" function tried to access boolean false as if it was
an array.
Handle the case where the script is run as the expected package uid nicely
(return the proper name), for others return numeric uid which isn't ideal
but there's not a lot more that can be done.