>Number:         146282
>Category:       misc
>Synopsis:       [PATCH] net-mgmt/zabbix-frontend: missed depends
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 04 05:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD x60.deiter.net.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Feb 16 
17:22:58 MSK 2010     r...@x60.deiter.net.ru:/usr/obj/usr/src/sys/X60  amd64

>Description:
Hi,

net-mgmt/zabbix-frontend has missed depends:

converters/php5-mbstring - localization
www/php5-session - sessions and maps
textproc/php5-dom - import/export templates
textproc/php5-xml - import/export templates
textproc/php5-xmlreader - import templates
textproc/php5-xmlwriter - export templates

session error:
[Tue May 04 09:27:49 2010] [error] [client 127.0.0.1] PHP Fatal error:  Call to 
undefined function session_start() in 
/usr/local/www/zabbix/include/config.inc.php on line 951, referer: 
http://localhost/zabbix/sysmap.php?sysmapid=2&sid=2a7555fd3d7134a7

export error:
[Tue May 04 09:06:41 2010] [error] [client 127.0.0.1] PHP Fatal error:  
require_once() [<a href='function.require'>function.require</a>]: Failed 
opening required 'include/classes/class.domdocument.php' 
(include_path='.:/usr/local/share/pear') in 
/usr/local/www/zabbix/include/config.inc.php on line 62, referer: 
http://localhost/zabbix/export.php?sid=2a7555fd3d7134a7

import error:
[Tue May 04 09:25:14 2010] [error] [client 127.0.0.1] PHP Fatal error:  
require_once() [<a href='function.require'>function.require</a>]: Failed 
opening required 'include/classes/class.domdocument.php' 
(include_path='.:/usr/local/share/pear') in 
/usr/local/www/zabbix/include/config.inc.php on line 62, referer: 
http://localhost/zabbix/import.php?sid=2a7555fd3d7134a7

>How-To-Repeat:
cd net-mgmt/zabbix-frontend && make install
>Fix:
please review attached patch

Patch attached with submission follows:

--- net-mgmt/zabbix-frontend/Makefile.orig      2010-05-04 09:35:16.268665229 
+0400
+++ net-mgmt/zabbix-frontend/Makefile   2010-05-04 09:36:00.189517460 +0400
@@ -14,7 +14,8 @@
 PATCHDIR=
 PLIST=         ${PKGDIR}/pkg-plist.frontend
 
-USE_PHP=       bcmath ctype gd pcre snmp sockets
+USE_PHP=       bcmath ctype gd pcre snmp sockets mbstring session dom xml \
+               xmlreader xmlwriter
 IGNORE_WITH_PHP=       4
 WANT_PHP_WEB=  yes
 


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to