Bug 240482

Summary: net-mgmt/zabbix42-frontend: missing PHP dependency to php-fileinfo
Product: Ports & Packages Reporter: Oleksandr Ignatyev <alex>
Component: Individual Port(s)Assignee: Danilo G. Baio <dbaio>
Status: Closed FIXED    
Severity: Affects Some People CC: dbaio, pg
Priority: --- Flags: bugzilla: maintainer-feedback? (pg)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Makefile adjustment none

Description Oleksandr Ignatyev 2019-09-10 21:14:37 UTC
Created attachment 207358 [details]
Makefile adjustment

UI get an error in zabbix/profile.php due to missing php-fileinfo dependency.

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in .../zabbix/include/sounds.inc.php:27 Stack trace: #0 .../zabbix/include/views/administration.users.edit.php(345): getSounds() #1 .../zabbix/include/classes/mvc/CView.php(199): include('.../zabbix/...') #2 .../zabbix/profile.php(189): CView->render() #3 {main} thrown in .../zabbix/include/sounds.inc.php on line 27

Did not verified on other than php72 ports.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-09-29 19:04:40 UTC
A commit references this bug:

Author: dbaio
Date: Sun Sep 29 19:04:01 UTC 2019
New revision: 513256
URL: https://svnweb.freebsd.org/changeset/ports/513256

Log:
  net-mgmt/zabbix[4|42]-frontend: Add missing PHP fileinfo extension

  This requirement was introduced on Zabbix 4.0.12 and 4.2.6 and it's still
  not documented upstream.

  PR:		240482
  Submitted by:	Aleksandr Ignatyev <alex@i.org.ua>
  Approved by:	maintainer timeout (pg@pakhom.spb.ru, > 2 weeks)

Changes:
  head/net-mgmt/zabbix4-frontend/Makefile
  head/net-mgmt/zabbix42-frontend/Makefile
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2019-09-29 19:14:12 UTC
(In reply to Aleksandr Ignatyev from comment #0)

Committed, thanks!
And sorry for the delay.