Bug 240482 - net-mgmt/zabbix42-frontend: missing PHP dependency to php-fileinfo
Summary: net-mgmt/zabbix42-frontend: missing PHP dependency to php-fileinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Danilo G. Baio
Depends on:
Reported: 2019-09-10 21:14 UTC by Aleksandr Ignatyev
Modified: 2019-09-29 19:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pg)

Makefile adjustment (400 bytes, patch)
2019-09-10 21:14 UTC, Aleksandr Ignatyev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr 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 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

  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)

Comment 2 Danilo G. Baio freebsd_committer 2019-09-29 19:14:12 UTC
(In reply to Aleksandr Ignatyev from comment #0)

Committed, thanks!
And sorry for the delay.