ports/146581: [PATCH] net-mgmt/zabbix-server: support for ipmi via sysutils/OpenIPMI

Alex Deiter alex.deiter at gmail.com
Fri May 14 13:30:13 UTC 2010


>Number:         146581
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/zabbix-server: support for ipmi via sysutils/OpenIPMI
>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:   Fri May 14 13:30:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        9.0-CURRENT-r207844
>Organization:
N/A
>Environment:
FreeBSD x60.deiter.net.ru 9.0-CURRENT-r207844-p9 FreeBSD 9.0-CURRENT-r207844-p9 #0: Mon May 10 15:02:29 MSD 2010     root at x60.deiter.net.ru:/usr/obj/usr/src/sys/X60  amd64

>Description:
Hi,

Please see attached patch - ipmi support for zabbix-server.
Patch successfully tested with Sun Fire x4250/x4200/x4150.

Thanks a lot!

>How-To-Repeat:
cd /usr/ports/net-mgmt/zabbix-server && make install
>Fix:


Patch attached with submission follows:

--- net-mgmt/zabbix-server/Makefile.orig	2010-05-14 14:42:16.228802565 +0400
+++ net-mgmt/zabbix-server/Makefile	2010-05-14 14:43:08.926546411 +0400
@@ -60,6 +60,7 @@
 		SQLITE "Use SQLite backend" off \
 		IPV6 "Support for IPv6" on \
 		LDAP "Support for checking LDAP servers" on \
+		IPMI "Support for IPMI" off \
 		JABBER "Use jabber media type" on \
 		FPING "Use fping for pinging hosts" on \
 		SSH "Use libssh2 for SSH-based checks" off
@@ -87,6 +88,11 @@
 CONFIGURE_ARGS+=	--with-ldap
 .endif
 
+.ifndef WITHOUT_IPMI
+LIB_DEPENDS+=	OpenIPMI:${PORTSDIR}/sysutils/OpenIPMI
+CONFIGURE_ARGS+=	--with-openipmi
+.endif
+
 .ifndef WITHOUT_JABBER
 LIB_DEPENDS+=	iksemel:${PORTSDIR}/textproc/iksemel
 CONFIGURE_ARGS+=	--with-jabber


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list