Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2010 05:34:24 GMT
From:      Alex Deiter <alex.deiter@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/146282: [PATCH] net-mgmt/zabbix-frontend: missed depends
Message-ID:  <201005040534.o445YOVn042003@www.freebsd.org>
Resent-Message-ID: <201005040540.o445e1bu043494@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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     root@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005040534.o445YOVn042003>