ipmitool: new package
PATCH v3 1/1 ipmitool: new package
Adds ipmitool, a command-line interface to IPMI-enabled devices.
---
v3:
- make IPMI v2.0 lanplus interface support (requiring OpenSSL) optional.
v2:
- ipmitool needs MMU (David Bachelart)
- moved package from "networking applications" to "hardware handling" (used "networking applications" originally, because ipmitool can be used to send commands to the BMC of a remote server, e.g. telling it to reboot the system.
However another use of ipmitool is to configure the local BMC and "hardware handling" might be a better match for both.)
--- package/Config.in | 1 + package/ipmitool/Config.in | 26 ++++++++++++++++++++++++++ package/ipmitool/ipmitool.mk | 30 ++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 package/ipmitool/Config.in create mode 100644 package/ipmitool/ipmitool.mk
package/Config.in +1 -0
@@ -321,6 +321,7 @@ endif source "package/input-tools/Config.in" source "package/intel-microcode/Config.in" source "package/iostat/Config.in" + source "package/ipmitool/Config.in" source "package/irda-utils/Config.in" source "package/iucode-tool/Config.in" source "package/kbd/Config.in"
package/ipmitool/Config.in new file +26 -0
@@ -0,0 +1,26 @@ +config BR2_PACKAGE_IPMITOOL + bool "ipmitool" + depends on BR2_USE_MMU # fork() + help + IPMItool provides a simple command-line interface to IPMI-enabled devices. + + http://sourceforge.net/projects/ipmitool/ + +if BR2_PACKAGE_IPMITOOL + +config BR2_PACKAGE_IPMITOOL_LANPLUS + bool "enable lanplus interface" + select BR2_PACKAGE_OPENSSL + help + Enables the IPMI v2.0 RMCP+ LAN interface typically used to send IPMI + commands to the BMC of a remote server. + Not needed if you only want to communicate with the local BMC of your + device using the OpenIPMI ipmi_si kernel module, or if using the + legacy IPMI v1.5 RMCP LAN interface. + +config BR2_PACKAGE_IPMITOOL_IPMIEVD + bool "ipmievd" + help + IPMI event daemon for sending events to syslog + +endif
package/ipmitool/ipmitool.mk new file +30 -0
@@ -0,0 +1,30 @@ +################################################################################ +# +# ipmitool +# +################################################################################ + +IPMITOOL_VERSION = 1.8.14 +IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2 +IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION) +IPMITOOL_LICENSE = BSD-3c +IPMITOOL_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y) +IPMITOOL_DEPENDENCIES += openssl +else +IPMITOOL_CONF_OPT += --disable-intf-lanplus +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +IPMITOOL_DEPENDENCIES += readline +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))
Signature · 1 line
1.8.3.2
PATCH v3 1/1 ipmitool: new package
Dear Floris Bos,
Quoted 3 lines · Floris Bos
Adds ipmitool, a command-line interface to IPMI-enabled devices.
Signed-off-by Floris Bos <[email protected]>
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 1/1 ipmitool: new package
In reply to Floris BosQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Floris" == Floris Bos <[email protected]> writes:
Adds ipmitool, a command-line interface to IPMI-enabled devices.
Signed-off-by Floris Bos <[email protected]>---
v3:- make IPMI v2.0 lanplus interface support (requiring OpenSSL) optional.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard