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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-10 21:14 UTC by Oleksandr Ignatyev
Modified: 2019-09-29 19:14 UTC (History)
2 users (show)

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


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

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