# $FreeBSD$ PORTNAME= cluster-glue PORTVERSION= 1.0.12 CATEGORIES= sysutils MASTER_SITES= http://hg.linux-ha.org/glue/archive/ DISTNAME= 0a7add1d9996 DIST_SUBDIR= linux-ha MAINTAINER= ports@FreeBSD.org COMMENT= High availability cluster libraries and utilities LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ libnet.so:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-fatal-warnings \ --with-initdir=${PREFIX}/etc/rc.d \ --with-ocf-root=${PREFIX}/etc/ocf CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= autoreconf gettext gmake libtool perl5 pkgconfig python tar:bz2 USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes USE_RC_SUBR= ha_logd WRKSRC= ${WRKDIR}/Reusable-Cluster-Components-glue--${DISTNAME} USERS= hacluster GROUPS= haclient OPTIONS_DEFINE= DOCS DRAC3 HPI IPMI MANPAGES SNMP OPTIONS_DEFAULT= DRAC3 HPI IPMI MANPAGES SNMP OPTIONS_SUB= yes DRAC3_CONFIGURE_OFF= ac_cv_header_curl_curl_h=no DRAC3_DESC= Dell DRAC III support DRAC3_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl HPI_CONFIGURE_OFF= ac_cv_header_openhpi_SaHpi_h=no HPI_DESC= SAF Hardware Platform Interface support HPI_LIB_DEPENDS= libopenhpi.so:${PORTSDIR}/sysutils/openhpi IPMI_CONFIGURE_ENABLE= ipmilan IPMI_DESC= Intelligent Platform Management Interface support IPMI_LIB_DEPENDS= libOpenIPMI.so:${PORTSDIR}/sysutils/openipmi MANPAGES_BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \ help2man:${PORTSDIR}/misc/help2man \ xsltproc:${PORTSDIR}/textproc/libxslt MANPAGES_CONFIGURE_ENABLE=doc SNMP_CONFIGURE_ENABLE= snmp SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp .include .if exists(${LOCALBASE}/include/vacmclient_api.h) PLIST_SUB+= VACM="" .else PLIST_SUB+= VACM="@comment " .endif post-install: ${INSTALL_DATA} ${WRKSRC}/logd/logd.cf \ ${STAGEDIR}${PREFIX}/etc/ha_logd.cf.sample .include