From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 30 13:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B218BB83 for ; Mon, 30 Dec 2013 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8C90C1D76 for ; Mon, 30 Dec 2013 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUDe0wR096978 for ; Mon, 30 Dec 2013 13:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBUDe0PL096977; Mon, 30 Dec 2013 13:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 30 Dec 2013 13:40:00 GMT Resent-Message-Id: <201312301340.rBUDe0PL096977@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aleksandr Ignatyev Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3CB2A89 for ; Mon, 30 Dec 2013 13:34:32 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF45A1D63 for ; Mon, 30 Dec 2013 13:34:32 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBUDYWcP055136 for ; Mon, 30 Dec 2013 13:34:32 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBUDYWUA055135; Mon, 30 Dec 2013 13:34:32 GMT (envelope-from nobody) Message-Id: <201312301334.rBUDYWUA055135@oldred.freebsd.org> Date: Mon, 30 Dec 2013 13:34:32 GMT From: Aleksandr Ignatyev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185294: Add VMware support for Zabbix 2.2 Server by adding libxml2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 13:40:00 -0000 >Number: 185294 >Category: ports >Synopsis: Add VMware support for Zabbix 2.2 Server by adding libxml2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 30 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Aleksandr Ignatyev >Release: FreeBSD any >Organization: >Environment: FreeBSD sandbox.office 10.0-BETA3 FreeBSD 10.0-BETA3 #0: Thu Nov 28 03:28:32 EET 2013 root@sandbox.office:/usr/obj/usr/src/sys/COMMON amd64 >Description: VMware support not enabled in default Zabbix 2.2 port. To enable it need to add curl and libxml2 options. >How-To-Repeat: >Fix: Patch adding libxml2 option on port configuration dialog. Patch attached with submission follows: --- zabbix22-server/Makefile.orig 2013-12-30 14:43:12.140316226 +0200 +++ zabbix22-server/Makefile 2013-12-30 15:08:24.580316879 +0200 @@ -71,7 +71,7 @@ OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options -OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP ODBC JAVAGW MYSQL +OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP ODBC JAVAGW MYSQL LIBXML2 OPTIONS_DEFAULT= MYSQL IPV6 FPING JABBER CURL CURL_DESC= Support for web monitoring @@ -85,6 +85,7 @@ JAVAGW_DESC= Support for Java gateway IODBC_DESC= Use iODBC for ODBC support UNIXODBC_DESC= Use UnixODBC for ODBC support +LIBXML2_DESC= Support for libxml2 (required by VMware checks) OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE @@ -174,6 +175,11 @@ PLIST_SUB+= JAVAGW="@comment " .endif +.if ${PORT_OPTIONS:MLIBXML2} +LIB_DEPENDS+= xml2:${PORTSDIR}/textproc/libxml2 +CONFIGURE_ARGS+= --with-libxml2 +.endif + post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' >Release-Note: >Audit-Trail: >Unformatted: