1################################################################################ 2# 3# ipmitool 4# 5################################################################################ 6 7IPMITOOL_VERSION = 1.8.18 8IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2 9IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION) 10IPMITOOL_LICENSE = BSD-3-Clause 11IPMITOOL_LICENSE_FILES = COPYING 12IPMITOOL_CPE_ID_VENDOR = ipmitool_project 13 14# 0008-fru-Fix-buffer-overflow-vulnerabilities.patch 15# 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch 16# 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch 17# 0011-channel-Fix-buffer-overflow.patch 18# 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch 19# 0013-fru-sdr-Fix-id_string-buffer-overflows.patch 20IPMITOOL_IGNORE_CVES += CVE-2020-5208 21 22ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y) 23IPMITOOL_DEPENDENCIES += openssl 24IPMITOOL_CONF_OPTS += --enable-intf-lanplus 25else 26IPMITOOL_CONF_OPTS += --disable-intf-lanplus 27endif 28 29ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y) 30IPMITOOL_CONF_OPTS += --enable-intf-usb 31else 32IPMITOOL_CONF_OPTS += --disable-intf-usb 33endif 34 35ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y) 36IPMITOOL_DEPENDENCIES += ncurses readline 37IPMITOOL_CONF_OPTS += --enable-ipmishell 38else 39IPMITOOL_CONF_OPTS += --disable-ipmishell 40endif 41 42ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),) 43define IPMITOOL_REMOVE_IPMIEVD 44 $(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd 45endef 46IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD 47endif 48 49$(eval $(autotools-package)) 50