%define debug_package %{nil} Name: ipmitool Summary: ipmitool - Utility for IPMI control Version: @VERSION@ Release: @RPM_RELEASE@%{?_distro:.%{_distro}} License: BSD Group: Utilities #Packager: PackagerName Distribution: GitHub Build Source: %{name}-%{version}.tar.gz Buildroot: /var/tmp/ipmitool-root %description This package contains a utility for interfacing with devices that support the Intelligent Platform Management Interface specification. IPMI is an open standard for machine health, inventory, and remote power control. This utility can communicate with IPMI-enabled devices through either a kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in the IPMI specification. IPMIv2 adds support for encrypted LAN communications and remote Serial-over-LAN functionality. It provides commands for reading the Sensor Data Repository (SDR) and displaying sensor values, displaying the contents of the System Event Log (SEL), printing Field Replaceable Unit (FRU) information, reading and setting LAN configuration, and chassis power control. %prep if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then rm -rf $RPM_BUILD_ROOT fi %setup %build ./configure \ --with-rpm-distro=@DISTRO@ \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} make %install make DESTDIR=$RPM_BUILD_ROOT install-strip %clean if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then rm -rf $RPM_BUILD_ROOT fi %files %defattr(755,root,root) %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_sbindir}/* %{_datadir}/ipmitool/* %{_datadir}/misc/* %{_mandir}/man*/* %doc %{_datadir}/doc/ipmitool %changelog * Sat Oct 8 2016 1.8.18-1 - Add mac2str() and str2mac() to print/parse MAC address - Change formatting, remove commented-out code in src/plugins/imb/imbapi.c - Export find_lan_channel() as global - Expose _ipmi_get_channel_info() - Extend buf2str to allow separator - Fix indentation of #define in src/plugins/imb/imbapi.c - Fix missing `goto out_free;` when ipmi_parse_hex() returns (-1) - Fix warning for buf2str argument - ID 408 - fix sel list last X listing - ID: 38 - Protocol violating SOL retries when talking to SIMSO-HTC - ID: 459 - Fix reading FRU on Artesyn (Emerson) shelf manager, MF105. - ID: 464 - ipmievd crash fix in log_event - ID:230 - check return value of malloc() in lib/ipmi_ekanalyzer.c - ID:261 - Fix err. output consistency for % ipmitool chassis INV_PARAM; - ID:287 - Fix print-out of DDR3 SDRAM Serial Number - ID:287 - Remove trailing white-spaces from dimm_spd.c - ID:289 - bmx-snmp-proxy: PEF alerting does not work for multiple destinations - ID:312 - BREAKING CHANGE - Re-design of PEF user interface - ID:312 - Fix bitmask in _ipmi_set_pef_policy_entry() - ID:335 - Check return value of fseek(), prevent segfault - ID:335 - Check return value of fseek(), prevent segfault - ID:355 - Comment out statement without effect in lib/ipmi_sel.c - ID:355 - Fix 'missing initializer' in struct lan_param - ID:355 - Fix ``warning: ISO C forbids zero-size array 'data''' - ID:355 - Fix different pointer type in lib/ipmi_picmg.c - ID:355 - Fix missing struct initializers in lib/ipmi_firewall.c - ID:355 - Fix printf format in lib/ipmi_sunoem.c - ID:355 - Fix printf() related warnings in lib/ipmi_delloem.c - ID:355 - Fix signedness warnings in lib/ipmi_sdr.c - ID:355 - Fix statements without effect in lib/ipmi_ekanalyzer.c - ID:355 - Move section_id from ipmi_fru. to ipmi_fru.c - ID:355 - Replace DEBUG() macro with lprintf(LOG_DEBUG, ...) - ID:375 - Add lan6 subcommand to handle IPv6 LAN parameters - ID:400 - Add support for VITA-specific sensor types and events. - ID:441 - Add support for HMAC_MD5 and HMAC_SHA256 - ID:443 - Disable USB driver by default on non-Linux systems - ID:444 - Cleanup of defaults in configure.ac - ID:445 - Fix of compilation on FreeBSD - ID:446 - Fix broken firewall reset iterator - ID:447 - Fix access beyond array limits in serial_terminal - ID:449 - ipmitool close console session for sol deactivate command - ID:451 - Modify the memory ecc error display of SEL for new supermicro motherboards. - ID:452 - Add PICMG extension 5.x for PICMG extension check - ID:454 - Add support for PICMG 3.1 R2.0 Link Types and Link Classes. - ID:456 - Unable to disable the VLAN ID using ipmitool - ID:457 - Display User ID enable/disable status - ID:463 - Removal of Nokia Siemens Networks - ID:465 - Supermicro memory ecc Modify the memory ecc error display of SEL for new supermicro boards. - Moved ipmi_parse_hex() to helper.c - Re-work ipmi_mc_get_guid() and turn it into reusable code - Revert "ID:335 - Check return value of fseek(), prevent segfault" - Rewrite code with the notion that Kg is binary data, not string * Sun May 1 2016 1.8.17-1 - Add INSTALL and NEWS, mandated by autoconf - Added missing ipmi_sel_supermicro.h to template Makefile.am - Check rsp->data_len in ipmi_sel_get_info() - Fix "redirecting incorrect #include to " warning with musl libc - Fix automake compatibility warnings - Fix implicit declaration of function 'get_nic_selection_mode_12g' in lib/ipmi_delloem.c - Fix implicit declaration of function 'ipmi_get_oem' in src/plugins/imb/imb.c - Fix implicit declaration of function 'ipmi_get_oem' in src/plugins/lanplus/lanplus.c - Fix implicit declaration of function 'ipmi_get_oem' in src/plugins/open/open.c - Fix implicit declarations of functions 'HpmfwupgPreUpgradeCheck' and 'ipmi_intf_get_max_request_data_size' in lib/ipmi_hpmfwupg.c - Fix implicit declarations of functions 'ipmi_intf_set_max_request_data_size' and 'ipmi_intf_set_max_response_data_size' in lib/hpm2.c - Fix implicit function declaration of ipmi_intf_get_max_response_data_size in lib/ipmi_sdr.c - Fix several implicit declarations of functions in lib/ipmi_main.c - Fix several implicit function declarations in lib/ipmi_fru.c - Fix warning: suggest parentheses around '+' inside '<<' in lib/ipmi_main.c - Fix warning: suggest parentheses around arithmetic in operand of '|' in include/ipmitool/hpm2 - Get rid of old INCLUDES macro, use AM_CPPFLAGS instead. - ID 440 - Fix 'unknown type name fd_set error. - ID 440 - remove obsolete headers from lib/ipmi_sunoem.c - ID:322 - let 'ekanalyzer frushow' run without a working IPMI target - ID:355 - Add #include to lib/ipmi_sel.c - ID:355 - Add macros and #include and reduce number of warnings - ID:355 - Change CFLAG -std=c99 to -std=gnu99 - ID:355 - Move Super Micro stuff into dedicated header file - ID:355 - Remove declared, but not used variables - ID:404 - Edit FRU information update problem - ID:405 - Use meaningful Generator ID for "ipmitool sel add" - ID:407 - Avoid assert on mismatched session ID - ID:409 - Fix IPv6 socket creation on Windows/Cygwin. - ID:410 - Disable USB interface for Windows/Cygwin by default. - ID:410 - Enable/disable USB interface by "auto" - ID:411 - Fix HPM.2 revision check for R1.1 and subsequent specification revisions. - ID:412 - Check errors when setting a user password. - ID:413 - Print new line chne character when setting user privilege. - ID:414 - ekanalyzer frushow fails to show 'Product Info' correctly - ID:417 - Fix some typos - ID:418 - Fix Compiling under Mac OS X - ID:419 - List dummy.h in Makefile.am, so it gets included in a release tarball - ID:421 - Fix memleak for sol output - ID:423 - Don't assume internal use area is present in ekanalyzer - ID:424 - Update dimm_spd.c with data from the latest JEDEC List - ID:425 - Disable USB interface for OS X/darwin - ID:426 - Fallback to run-time detection of PAGESIZE if compile-time detection is not supported - ID:426 - Include sys/socket.h instead of asm/socket.h - ID:426 - Include wchar.h instead of defining wchar_t ourselves - ID:427 - Cleanup comment in ipmi_sdr_get_header() - ID:427 - The first two bytes of dumped raw SDR data is wrong. - ID:428 - Update IANA numbers / Product Name for IBM and ADLINK - ID:430 - Change Nokia Siemens Networks to Nokia Solutions and Networks - ID:431 - Fix correct interpretation of led states - ID:437 - sel: Fix "sel time set