2014-09-12 01:12:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ipmitool
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-12-14 09:47:57 +01:00
|
|
|
IPMITOOL_VERSION = 1.8.18
|
2014-09-12 01:12:48 +02:00
|
|
|
IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2
|
|
|
|
IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION)
|
2017-03-30 15:43:38 +02:00
|
|
|
IPMITOOL_LICENSE = BSD-3-Clause
|
2014-09-12 01:12:48 +02:00
|
|
|
IPMITOOL_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
IPMITOOL_CPE_ID_VENDOR = ipmitool_project
|
2014-09-12 01:12:48 +02:00
|
|
|
|
2020-09-14 15:20:55 +02:00
|
|
|
# 0008-fru-Fix-buffer-overflow-vulnerabilities.patch
|
|
|
|
# 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch
|
|
|
|
# 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch
|
|
|
|
# 0011-channel-Fix-buffer-overflow.patch
|
|
|
|
# 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch
|
|
|
|
# 0013-fru-sdr-Fix-id_string-buffer-overflows.patch
|
|
|
|
IPMITOOL_IGNORE_CVES += CVE-2020-5208
|
|
|
|
|
2022-01-14 22:45:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_FREEIPMI),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += freeipmi
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-free
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-free
|
|
|
|
endif
|
|
|
|
|
2014-09-12 01:12:48 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += openssl
|
2016-04-26 14:02:39 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-lanplus
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
2017-07-20 03:22:06 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y)
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-intf-usb
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-intf-usb
|
|
|
|
endif
|
|
|
|
|
2016-04-26 14:02:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y)
|
|
|
|
IPMITOOL_DEPENDENCIES += ncurses readline
|
|
|
|
IPMITOOL_CONF_OPTS += --enable-ipmishell
|
|
|
|
else
|
|
|
|
IPMITOOL_CONF_OPTS += --disable-ipmishell
|
2014-09-12 01:12:48 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),)
|
|
|
|
define IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
$(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd
|
|
|
|
endef
|
|
|
|
IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|