forked from Lainports/freebsd-ports
* ID: 340 - ipmitool sol session improperly closes on packet retry * ID: 277 - support for hostnames longer than 64 chars * ID: 313 - ipmitool doesn't support hostname long than 64 symbols * ID: 277 - Minor issue with ipmi_intf_session_set_hostname() * ID: 247 - 'sensor thresh' help output is wrong * ID: 324 - conflicting declaration write_fru_area() * ID: 337 - Add support for 13G Dell PowerEdge * ID: 325 - DDR4 DIMM Decoding Logic * ID: 328 - HPM.2 fixes * ID: 329 - hpm.1 upgrade fixes * ID: 103 - picmg discover messages should be DEBUG, not INFO * ID: 331 - Passwords provided in file (-f option) truncated on space * ID: 318 - ipmi_tsol.c: fix buffer overflow * ID: 306 - "fru print" command prints the FRU #0 twice * ID: 305 - HPM.1 deferred activation support fixup * ID: 317 - ipmi_fwum.c: fix typo * ID: 315 - buildsystem: configure.in is deprecated * ID: 316 - Directory debian is outdated * ID: 103 - 'lib/ipmi_ekanalyzer.c' needs a re-work * ID: 46 - SEL OEM record corner case PR: 203775 Approved by: maintainer timeout Sponsored by: Limelight Networks
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Dmitry Frolov <frol@nov.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ipmitool
|
|
PORTVERSION= 1.8.15
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= steve.polyack@intermedix.com
|
|
COMMENT= CLI to manage IPMI systems
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cpe tar:bzip2 gmake readline
|
|
CPE_VENDOR= sun
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--enable-intf-lan --enable-intf-lanplus \
|
|
--disable-intf-imb --disable-intf-lipmi --disable-intf-bmc
|
|
PLIST_FILES= bin/ipmitool man/man1/ipmitool.1.gz man/man8/ipmievd.8.gz \
|
|
sbin/ipmievd share/ipmitool/oem_ibm_sel_map \
|
|
${PERIODIC_DIR}/400.status-ipmi
|
|
SUB_FILES= status-ipmi.sh
|
|
PORTDOCS= AUTHORS COPYING ChangeLog README
|
|
|
|
PERIODIC_DIR= etc/periodic/daily
|
|
|
|
OPTIONS_DEFINE= FREEIPMI DOCS
|
|
FREEIPMI_DESC= Enable support for freeipmi
|
|
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CFLAGS+= -ggdb -Wall
|
|
.endif
|
|
|
|
.if exists(/usr/include/sys/ipmi.h)
|
|
CONFIGURE_ARGS+= --enable-intf-open
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-intf-open
|
|
.endif
|
|
|
|
DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-Makefile.in
|
|
|
|
FREEIPMI_LIB_DEPENDS= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
|
|
FREEIPMI_CPPFLAGS= -I${LOCALBASE}/include
|
|
FREEIPMI_LDFLAGS= -L${LOCALBASE}/lib
|
|
FREEIPMI_CONFIGURE_ENABLE= intf-free
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
|
|
|
|
.include <bsd.port.mk>
|