xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.18.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Utility for IPMI control"
2*4882a593SmuzhiyunDESCRIPTION = "This package contains a utility for interfacing with devices that support \
3*4882a593Smuzhiyunthe Intelligent Platform Management Interface specification. IPMI is \
4*4882a593Smuzhiyunan open standard for machine health, inventory, and remote power control. \
5*4882a593Smuzhiyun\
6*4882a593SmuzhiyunThis utility can communicate with IPMI-enabled devices through either a \
7*4882a593Smuzhiyunkernel driver such as OpenIPMI or over the RMCP LAN protocol defined in \
8*4882a593Smuzhiyunthe IPMI specification. IPMIv2 adds support for encrypted LAN \
9*4882a593Smuzhiyuncommunications and remote Serial-over-LAN functionality. \
10*4882a593Smuzhiyun\
11*4882a593SmuzhiyunIt provides commands for reading the Sensor Data Repository (SDR) and \
12*4882a593Smuzhiyundisplaying sensor values, displaying the contents of the System Event \
13*4882a593SmuzhiyunLog (SEL), printing Field Replaceable Unit (FRU) information, reading and \
14*4882a593Smuzhiyunsetting LAN configuration, and chassis power control. \
15*4882a593Smuzhiyun"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunHOMEPAGE = "http://ipmitool.sourceforge.net/"
18*4882a593SmuzhiyunSECTION = "kernel/userland"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
21*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunDEPENDS = "openssl readline ncurses"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/ipmitool/ipmitool-${PV}.tar.bz2 \
26*4882a593Smuzhiyun           file://0001-Migrate-to-openssl-1.1.patch \
27*4882a593Smuzhiyun           file://0001-fru-Fix-buffer-overflow-vulnerabilities.patch \
28*4882a593Smuzhiyun           file://0001-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch \
29*4882a593Smuzhiyun           file://0002-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch \
30*4882a593Smuzhiyun           file://0003-channel-Fix-buffer-overflow.patch \
31*4882a593Smuzhiyun           file://0004-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch \
32*4882a593Smuzhiyun           file://0005-fru-sdr-Fix-id_string-buffer-overflows.patch \
33*4882a593Smuzhiyun           file://0001-hpmfwupg-move-variable-definition-to-.c-file.patch \
34*4882a593Smuzhiyun           "
35*4882a593SmuzhiyunSRC_URI[md5sum] = "bab7ea104c7b85529c3ef65c54427aa3"
36*4882a593SmuzhiyunSRC_URI[sha256sum] = "0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01"
37*4882a593Smuzhiyun
38*4882a593Smuzhiyuninherit autotools
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunPACKAGES =+ "${PN}-ipmievd"
41*4882a593SmuzhiyunFILES:${PN}-ipmievd += "${sbindir}/ipmievd"
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun# --disable-dependency-tracking speeds up the build
44*4882a593Smuzhiyun# --enable-file-security adds some security checks
45*4882a593Smuzhiyun# --disable-intf-free disables FreeIPMI support - we don't want to depend on
46*4882a593Smuzhiyun#   FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility.
47*4882a593Smuzhiyun#
48*4882a593SmuzhiyunEXTRA_OECONF = "--disable-dependency-tracking --enable-file-security --disable-intf-free"
49