- Drop freeipmi-max-sensor.patch, included upstream

- Update to 1.4.0 beta0
  Tools - New Features
  --------------------
  o Support new tool ipmi-config.  Ipmi-config is a consolidated
    configuration tool implementing everything that was previously in
    bmc-config, ipmi-pef-config, ipmi-sensors-config, and
    ipmi-chassis-config.
    - The consolidated tool will allow users to checkout, commit, and
      diff sections/fields across the four former tools using only one
      tool.
    - The consolidated tool will also allow users to checkout, commit,
      and diff new sections/fields not yet covered in the four former
      tools.
    - Legacy scripts for bmc-config, ipmi-pef-config,
      ipmi-sensors-config, and ipmi-chassis-config will point to the new
      tool with all appropriate options to ensure full backwards
      compatability.
    - The ipmi-pef-config --info option has been made legacy.  It is
      still supported but no longer advertised.
  o Support Intel Data Center Host Interface / Management Engine as
    optional driver type for in-band communication.
    - Typically these are loaded as /dev/dcmi and /dev/mei drivers.
    - This driver is identified as the "inteldcmi" type, as it is
      specific to Intel systems.
  o Support OEM extensions for Intel Windmill, Wiwynn Windmill, and
    Quanta Winterfell motherboards in ipmi-sel and ipmi-sensors.  These
    motherboards are also know as motherboards for the Open Compute
    Project (OCP).
  o Support DCMI configuration in ipmi-config.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/freeipmi?expand=0&rev=42
This commit is contained in:
Klaus Kämpf
2014-02-06 13:15:06 +00:00
committed by Git OBS Bridge
parent 9de461e86c
commit 6f1954a3ab
5 changed files with 92 additions and 45 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d420135120dc54fe01fafa806f7e9c78c83155c7614202587421a780872fcef1
size 3122641

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0038e1ac8f03805c3b2e4e1d2d279d15052a27d7ca0380e4bf172929ffc3054
size 3087358

View File

@@ -1,36 +0,0 @@
2013-12-19 Dave Love <fx@gnu.org>
* ipmi-sensors/ipmi-sensors.c (_calculate_record_ids): Check
record numbr against array length.
* common/toolcommon/tool-sensor-common.h (MAX_SENSOR_RECORD_IDS):
Increase to 1024.
--- freeipmi-1.3.4/common/toolcommon/tool-sensor-common.h.orig 2013-04-26 18:01:55.000000000 +0100
+++ freeipmi-1.3.4/common/toolcommon/tool-sensor-common.h 2013-12-19 11:38:38.061632119 +0000
@@ -55,7 +55,7 @@
#define MAX_SENSOR_TYPES 256
#else /* !0 */
/* achu: pick more reasonable limits than the theoretical maxes */
-#define MAX_SENSOR_RECORD_IDS 512
+#define MAX_SENSOR_RECORD_IDS 1024
#define MAX_SENSOR_TYPES 64
#endif /* !0 */
#endif /* !__CYGWIN__ */
--- freeipmi-1.3.4/ipmi-sensors/ipmi-sensors.c.orig 2013-05-08 18:09:34.000000000 +0100
+++ freeipmi-1.3.4/ipmi-sensors/ipmi-sensors.c 2013-12-19 11:38:54.132859006 +0000
@@ -514,6 +514,13 @@
}
output_record_ids[(*output_record_ids_length)] = record_id;
+ if (output_record_ids_length >= MAX_SENSOR_RECORD_IDS)
+ {
+ fprintf (stderr,
+ "Too many sensors; limit is %d\n",
+ MAX_SENSOR_RECORD_IDS - 1);
+ return (-1);
+ }
(*output_record_ids_length)++;
}
}

View File

@@ -1,3 +1,85 @@
-------------------------------------------------------------------
Thu Feb 6 12:58:14 UTC 2014 - kkaempf@suse.com
- Drop freeipmi-max-sensor.patch, included upstream
- Update to 1.4.0 beta0
Tools - New Features
--------------------
o Support new tool ipmi-config. Ipmi-config is a consolidated
configuration tool implementing everything that was previously in
bmc-config, ipmi-pef-config, ipmi-sensors-config, and
ipmi-chassis-config.
- The consolidated tool will allow users to checkout, commit, and
diff sections/fields across the four former tools using only one
tool.
- The consolidated tool will also allow users to checkout, commit,
and diff new sections/fields not yet covered in the four former
tools.
- Legacy scripts for bmc-config, ipmi-pef-config,
ipmi-sensors-config, and ipmi-chassis-config will point to the new
tool with all appropriate options to ensure full backwards
compatability.
- The ipmi-pef-config --info option has been made legacy. It is
still supported but no longer advertised.
o Support Intel Data Center Host Interface / Management Engine as
optional driver type for in-band communication.
- Typically these are loaded as /dev/dcmi and /dev/mei drivers.
- This driver is identified as the "inteldcmi" type, as it is
specific to Intel systems.
o Support OEM extensions for Intel Windmill, Wiwynn Windmill, and
Quanta Winterfell motherboards in ipmi-sel and ipmi-sensors. These
motherboards are also know as motherboards for the Open Compute
Project (OCP).
o Support DCMI configuration in ipmi-config.
o Update FreeIPMI for changes in IPMI 2.0 Errata 5. Include are:
- New sensor events for Power Supply and OS Boot sensors. New
events are supported in all areas, ipmi-sensors, ipmi-sel,
libipmimonitoring, etc.
- PEF now supports 255 filter numbers, not 127. This is supported
in ipmi-config (formerly ipmi-pef-config).
- Support get/set of new System Info Parameters Present OS Version,
BMC URL, and Base OS/Hypervisor URL. This is supported in
bmc-info and bmc-device.
o Update ipmi-oem Intel Node Manager OEM commands for changes listed
in Intelligent Power Node Manager 2.0 specification.
- Due to changes in the specification, minor text changes may exist
in some output from intelnm OEM commands.
o Update ipmi-sel to support new SEL events in Intelligent Power Node
Manager 2.0 specification.
Tools - Bug Fixes/Minor Changes
-------------------------------
o Fix bmc-info output of GUID, format was output with two bytes out of
order.
- May affect scripts parsing and using the GUID.
o Bmc-info now supports --get-system-guid and outputs the System GUID
as well as the Device GUID by default.
- The Device GUID is not prefixed with the text "Device GUID"
instead of just "GUID". Any scripts scripting against this will
need to be adjusted.
o Bmc-info now supports a workaround of 'guidformat' to read the GUID
with a format a number of vendors have incorrectly used.
o In ipmi-config's sensor configuration, decimal values that cannot be
encoded accurately now report a clearer error message.
Libraries
---------
o Update libfreeipmi and libipmimonitoring to support IPMI 2.0 Errata 5.
Included are:
- Support new sensor events for Power Supply and OS Boot sensors.
- Support PEF filter numbers up to 255.
- Support new System Info Parameters for Present OS Version, BMC
URL, and Base OS/Hypervisor URL.
o Update libfreeipmi to support Intel Node Manager payloads per Intel
Intelligent Power Node Manager 2.0 specification.
- Due to changes in the specification, some payload fields have been
changed.
o Update libfreeipmi SEL sub-library to handle new event messages in
Intelligent Power Node Manager 2.0 specification.
-------------------------------------------------------------------
Wed Jan 15 21:10:07 UTC 2014 - kkaempf@suse.com

View File

@@ -18,7 +18,8 @@
%define name freeipmi
%define version 1.3.4
%define version 1.4.0
%define srcversion %{version}.beta0
%if %{?_with_debug:1}%{!?_with_debug:0}
%define release 1.debug%{?dist}
%else
@@ -31,12 +32,10 @@ Name: %{name}
Version: %{version}
Release: %{release}
Url: http://www.gnu.org/software/freeipmi/
Source0: http://alpha.gnu.org/gnu/freeipmi/%{name}-%{version}.ppc64le.1.tar.gz
Source0: http://alpha.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz
Source1: bmc-watchdog.service
Source2: ipmidetectd.service
Source3: ipmiseld.service
# PATCH-FIX-UPSTREAM, Prevent crash on systems with more than 601 sensors, kkaempf@suse.de
Patch: freeipmi-max-sensor.patch
Summary: FreeIPMI
License: GPL-3.0+
Group: System/Management
@@ -113,8 +112,7 @@ This service detects and monitors IPMI nodes.
%endif
%prep
%setup -q -n %{name}-%{version}.ppc64le.1
%patch -p1
%setup -q -n %{name}-%{srcversion}
%build
%if 0%{?suse_version} >= 1110
@@ -338,6 +336,7 @@ fi
%{_libdir}/libfreeipmi*so.*
%{_libdir}/libipmimonitoring.so.*
%{_localstatedir}/lib/*
%{_sbindir}/ipmi-config
%{_sbindir}/bmc-config
%{_sbindir}/bmc-info
%{_sbindir}/bmc-device
@@ -373,6 +372,8 @@ fi
%{_mandir}/man8/ipmi-fru.8*
%{_mandir}/man8/ipmi-locate.8*
%{_mandir}/man8/ipmi-pef-config.8*
%{_mandir}/man8/ipmi-config.8*
%{_mandir}/man5/ipmi-config.conf.5*
%{_mandir}/man8/pef-config.8*
%{_mandir}/man8/ipmi-oem.8*
%{_mandir}/man8/ipmi-raw.8*