From nobody@FreeBSD.org  Tue May  4 05:34:25 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6E4E61065761
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  4 May 2010 05:34:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 2526B8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  4 May 2010 05:34:25 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o445YO3Q042004
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 4 May 2010 05:34:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o445YOVn042003;
	Tue, 4 May 2010 05:34:24 GMT
	(envelope-from nobody)
Message-Id: <201005040534.o445YOVn042003@www.freebsd.org>
Date: Tue, 4 May 2010 05:34:24 GMT
From: Alex Deiter <alex.deiter@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net-mgmt/zabbix-frontend: missed depends
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146282
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/zabbix-frontend: missed depends
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 04 05:40:01 UTC 2010
>Closed-Date:    Thu Jun 03 17:12:11 UTC 2010
>Last-Modified:  Thu Jun  3 17:20:05 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 4 15:53:39 UTC 2010 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146282 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Tue May 18 01:59:55 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146282 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Jun 3 17:12:10 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146282 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146282: commit references a PR
Date: Thu,  3 Jun 2010 17:12:27 +0000 (UTC)

 miwi        2010-06-03 17:12:19 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/zabbix-frontend Makefile 
   Log:
   - Add missing depends
   
   PR:             146282
   Submitted by:   Alex Deiter <alex.deiter@gmail.com>
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.3       +2 -1      ports/net-mgmt/zabbix-frontend/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
