Bug 185412 - net-mgmt/zabbix22-server: update
Summary: net-mgmt/zabbix22-server: update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 09:10 UTC by pg
Modified: 2014-01-06 20:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.57 KB, patch)
2014-01-02 09:10 UTC, pg
no flags Details | Diff
zabbix22_1.txt (1.73 KB, text/plain; charset=UTF-8)
2014-01-03 18:43 UTC, pg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pg 2014-01-02 09:10:00 UTC
- Add VMware support by adding libxml2
- Add ICONV_PREFIX to the configure arguments (PR: ports/185197)

Fix: Patch attached with submission follows:
Comment 1 pg 2014-01-03 18:43:27 UTC
Please ignore previous patch and use this patch.
Thanks
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-06 20:00:54 UTC
Author: rakuco
Date: Mon Jan  6 20:00:46 2014
New Revision: 338928
URL: http://svnweb.freebsd.org/changeset/ports/338928

Log:
  - Add VMware support by adding libxml2
  - Add ICONV_PREFIX to the configure arguments (PR: ports/185197)
  
  PR:		ports/185412
  Submitted by:	Pakhom Golynga <pakhom706@gmail.com> (maintainer)

Modified:
  head/net-mgmt/zabbix22-server/Makefile

Modified: head/net-mgmt/zabbix22-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix22-server/Makefile	Mon Jan  6 19:31:52 2014	(r338927)
+++ head/net-mgmt/zabbix22-server/Makefile	Mon Jan  6 20:00:46 2014	(r338928)
@@ -3,7 +3,7 @@
 
 PORTNAME=	zabbix22
 PORTVERSION=	2.2.1
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION}
 PKGNAMESUFFIX?=	-server
@@ -16,7 +16,7 @@ LICENSE=	GPLv2
 
 CONFLICTS=	${PKGBASE}-1.[0-8]*
 
-IGNORE_WITH_PHP=	5 52
+IGNORE_WITH_PHP=	52
 IGNORE_WITH_MYSQL=      41
 
 .if ${PKGNAMESUFFIX} != "-agent"
@@ -59,7 +59,8 @@ MAKE_ARGS+=	ARCH=freebsd
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--enable-${ZABBIX_BUILD} \
 			--sysconfdir=${ETCDIR} \
-			--datadir=${ETCDIR}
+			--datadir=${ETCDIR} \
+			--with-iconv=${ICONV_PREFIX}
 
 .if ${ZABBIX_BUILD} != "agent"
 LIB_DEPENDS=	netsnmp:${PORTSDIR}/net-mgmt/net-snmp \
@@ -71,7 +72,7 @@ CONFIGURE_ARGS+=	--with-net-snmp
 
 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 +86,7 @@ ODBC_DESC=	Support for database checks v
 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 monitoring VMware)
 
 OPTIONS_SINGLE=	DB ODBC
 OPTIONS_SINGLE_DB=	MYSQL PGSQL SQLITE ORACLE
@@ -174,6 +176,11 @@ PLIST_SUB+=	JAVAGW=""
 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'
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-01-06 20:01:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!