<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ipmitool.git, branch master</title>
<subtitle>github.com: ipmitool/ipmitool.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/'/>
<entry>
<title>configure.ac: allow disabling registry downloads</title>
<updated>2023-01-12T10:51:20+00:00</updated>
<author>
<name>Vincent Fazio</name>
<email>vfazio@gmail.com</email>
</author>
<published>2023-01-12T04:55:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=be11d948f89b10be094e28d8a0a5e8fb532c7b60'/>
<id>be11d948f89b10be094e28d8a0a5e8fb532c7b60</id>
<content type='text'>
Some environments require reproducible builds. Since the IANA PEN
registry is constantly updating and there is no snapshot available,
installing ipmitool via `make install` is not reproducible.

Provide a configure mechanism to disable the registry download/install..
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some environments require reproducible builds. Since the IANA PEN
registry is constantly updating and there is no snapshot available,
installing ipmitool via `make install` is not reproducible.

Provide a configure mechanism to disable the registry download/install..
</pre>
</div>
</content>
</entry>
<entry>
<title>lan: channel: Fix set alert on/off</title>
<updated>2023-01-12T10:47:25+00:00</updated>
<author>
<name>Alexander Amelkin</name>
<email>alexander@amelkin.msk.ru</email>
</author>
<published>2020-10-20T14:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=4b791f8bf67ef9134699039b2758ed4023409621'/>
<id>4b791f8bf67ef9134699039b2758ed4023409621</id>
<content type='text'>
From IPMI Spec, Chapter 22.22 Set Channel Access Command
Table 22, Set Channel Access Command

Byte#2, Bit#5 is "PEF Alerting Enable/Disable"
And the bit value:
    0b = enable PEF Alerting
    1b = disable PEF Alerting on this channel

In current code, alert "on" set Bit#5 to 1 and alert "off" set Bit#5 to
0, it's straightforward but just opposite of IPMI spec bit definition.

Resolves ipmitool/ipmitool#247

Reported-by: Ryan Fang &lt;Ryan.Fang@quantatw.com&gt;
Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From IPMI Spec, Chapter 22.22 Set Channel Access Command
Table 22, Set Channel Access Command

Byte#2, Bit#5 is "PEF Alerting Enable/Disable"
And the bit value:
    0b = enable PEF Alerting
    1b = disable PEF Alerting on this channel

In current code, alert "on" set Bit#5 to 1 and alert "off" set Bit#5 to
0, it's straightforward but just opposite of IPMI spec bit definition.

Resolves ipmitool/ipmitool#247

Reported-by: Ryan Fang &lt;Ryan.Fang@quantatw.com&gt;
Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>make: use correct docdir variable provided by autotools</title>
<updated>2023-01-11T16:27:54+00:00</updated>
<author>
<name>Alexander Kapshuna</name>
<email>kapsh@kap.sh</email>
</author>
<published>2020-10-25T14:40:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=93287486722c3a2a81d886d32b7d297d18523a0a'/>
<id>93287486722c3a2a81d886d32b7d297d18523a0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not require the IANA PEN registry file</title>
<updated>2023-01-11T16:17:49+00:00</updated>
<author>
<name>Vincent Fazio</name>
<email>vfazio@gmail.com</email>
</author>
<published>2023-01-08T03:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=26b088193a55624df4cbe2a0d33c7bba5bca108d'/>
<id>26b088193a55624df4cbe2a0d33c7bba5bca108d</id>
<content type='text'>
Previously, ipmitool would fail to run if the local copy of the IANA PEN
registry could not be parsed.

When the registry is not available the manufacturer will be "Unknown" but
ipmitool will otherwise function so should not be considered fatal.

Also, fix an issue with improperly handling the `oem_info_list_load`
return value. Previously, in `ipmi_oem_info_init`, if `oem_info_list_load`
returned a negative value due to the registry file not existing, an
improper count would cause `oem_info_init_from_list` to aallocate a list
that didn't encompass the full header/tail list.

  IANA PEN registry open failed: No such file or directory
    Allocating      3 entries
    [     1] 16777214 | A Debug Assisting Company, Ltd.
    [     0]  1048575 | Unspecified

Now, use a signed int and ensure a valid count of loaded OEMs is used.

Signed-off-by: Vincent Fazio &lt;vfazio@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, ipmitool would fail to run if the local copy of the IANA PEN
registry could not be parsed.

When the registry is not available the manufacturer will be "Unknown" but
ipmitool will otherwise function so should not be considered fatal.

Also, fix an issue with improperly handling the `oem_info_list_load`
return value. Previously, in `ipmi_oem_info_init`, if `oem_info_list_load`
returned a negative value due to the registry file not existing, an
improper count would cause `oem_info_init_from_list` to aallocate a list
that didn't encompass the full header/tail list.

  IANA PEN registry open failed: No such file or directory
    Allocating      3 entries
    [     1] 16777214 | A Debug Assisting Company, Ltd.
    [     0]  1048575 | Unspecified

Now, use a signed int and ensure a valid count of loaded OEMs is used.

Signed-off-by: Vincent Fazio &lt;vfazio@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>configure.ac: fix readline static build</title>
<updated>2023-01-11T15:48:55+00:00</updated>
<author>
<name>Fabrice Fontaine</name>
<email>fontaine.fabrice@gmail.com</email>
</author>
<published>2022-11-03T16:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=9dfdf1427002b3f44845941faf1e780553ece566'/>
<id>9dfdf1427002b3f44845941faf1e780553ece566</id>
<content type='text'>
Use pkg-config to retrieve readline dependencies such as ncurses to
avoid the following static build when readline is built with ncurses
support (which is raised since version 1.8.19 and
https://github.com/ipmitool/ipmitool/commit/63dd71c39c9bf522ad3a785dd001737a285458eb):

** Unable to build Solaris 9 x86 IPMI interface support!
checking for library containing readline... no
configure: error: ** Unable to find readline required by ipmishell.

[...]

configure:15125: /tmp/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O0 -g0  -static -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static conftest.c -lreadline   -lcrypto &gt;&amp;5
/tmp/instance-0/output-1/host/lib/gcc/armeb-buildroot-linux-musleabi/11.3.0/../../../../armeb-buildroot-linux-musleabi/bin/ld: /tmp/instance-0/output-1/host/armeb-buildroot-linux-musleabi/sysroot/usr/lib/libreadline.a(display.o): in function `_rl_move_cursor_relative':
display.c:(.text+0x80fc): undefined reference to `tputs'

Fixes:
 - http://autobuild.buildroot.org/results/dabc6a4f49d464c129ac6bc3710011678142fcbe

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use pkg-config to retrieve readline dependencies such as ncurses to
avoid the following static build when readline is built with ncurses
support (which is raised since version 1.8.19 and
https://github.com/ipmitool/ipmitool/commit/63dd71c39c9bf522ad3a785dd001737a285458eb):

** Unable to build Solaris 9 x86 IPMI interface support!
checking for library containing readline... no
configure: error: ** Unable to find readline required by ipmishell.

[...]

configure:15125: /tmp/instance-0/output-1/host/bin/armeb-buildroot-linux-musleabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O0 -g0  -static -Wall -Wextra -std=gnu11 -pedantic -Wformat -Wformat-nonliteral -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static conftest.c -lreadline   -lcrypto &gt;&amp;5
/tmp/instance-0/output-1/host/lib/gcc/armeb-buildroot-linux-musleabi/11.3.0/../../../../armeb-buildroot-linux-musleabi/bin/ld: /tmp/instance-0/output-1/host/armeb-buildroot-linux-musleabi/sysroot/usr/lib/libreadline.a(display.o): in function `_rl_move_cursor_relative':
display.c:(.text+0x80fc): undefined reference to `tputs'

Fixes:
 - http://autobuild.buildroot.org/results/dabc6a4f49d464c129ac6bc3710011678142fcbe

Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update github actions for modern OSes</title>
<updated>2023-01-11T14:26:01+00:00</updated>
<author>
<name>Alexander Amelkin</name>
<email>alexander@amelkin.msk.ru</email>
</author>
<published>2023-01-11T13:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=707a2980f63ab47081538bec3f3d94082eb0b880'/>
<id>707a2980f63ab47081538bec3f3d94082eb0b880</id>
<content type='text'>
Add Ubuntu 22.04, MacOS 12, Windows Server 2022

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add Ubuntu 22.04, MacOS 12, Windows Server 2022

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update macos target name in github actions</title>
<updated>2023-01-11T13:52:27+00:00</updated>
<author>
<name>Alexander Amelkin</name>
<email>alexander@amelkin.msk.ru</email>
</author>
<published>2023-01-11T13:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=966d6e80b0d04ed15bd53575688274241e0effe4'/>
<id>966d6e80b0d04ed15bd53575688274241e0effe4</id>
<content type='text'>
The name `macos-catalina` was not correct as the script was actually
executed bothe for catalina (macos-10.15) and big sur (macos-11).
Renamed it to just `macos`.

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The name `macos-catalina` was not correct as the script was actually
executed bothe for catalina (macos-10.15) and big sur (macos-11).
Renamed it to just `macos`.

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>delloem: Fix the unalign bug in arm64</title>
<updated>2023-01-09T09:01:28+00:00</updated>
<author>
<name>SliderLu</name>
<email>314238828@qq.com</email>
</author>
<published>2022-11-16T15:39:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=206dba615d740a31e881861c86bcc8daafd9d5b1'/>
<id>206dba615d740a31e881861c86bcc8daafd9d5b1</id>
<content type='text'>
For computers using the arm64 of the Apple chip, the link requires strict
alignment of pointers in 32-bit form. Replace the struct vFlashstr to valstr.
Replace the Function get_vFlash_compcode_str to val2str.

Resolves ipmitool/ipmitool#332
Signed-off-by: SliderLu &lt;314238828@qq.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For computers using the arm64 of the Apple chip, the link requires strict
alignment of pointers in 32-bit form. Replace the struct vFlashstr to valstr.
Replace the Function get_vFlash_compcode_str to val2str.

Resolves ipmitool/ipmitool#332
Signed-off-by: SliderLu &lt;314238828@qq.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lanplus: Realloc the msg if the payload_length gets updated</title>
<updated>2023-01-05T14:51:26+00:00</updated>
<author>
<name>Tom Tung</name>
<email>shes050117@gmail.com</email>
</author>
<published>2022-08-12T08:47:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=8f0946a81eb22c14823d726afc486139bb2094ca'/>
<id>8f0946a81eb22c14823d726afc486139bb2094ca</id>
<content type='text'>
It's possible the payload_length gets updated in
lanplus_encrypt_payload. If it's updated, the memory of msg should be
updated.

Tested: use ipmitool with lanplus with similar STR  and there is no
memory stomping issue.

Resolved: ipmitool/ipmitool#351
Signed-off-by: Tom Tung &lt;shes050117@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's possible the payload_length gets updated in
lanplus_encrypt_payload. If it's updated, the memory of msg should be
updated.

Tested: use ipmitool with lanplus with similar STR  and there is no
memory stomping issue.

Resolved: ipmitool/ipmitool#351
Signed-off-by: Tom Tung &lt;shes050117@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fru print: Add area checksum verification</title>
<updated>2022-12-21T12:15:55+00:00</updated>
<author>
<name>Alexander Amelkin</name>
<email>alexander@amelkin.msk.ru</email>
</author>
<published>2022-12-21T11:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ipmitool.git/commit/?id=63d59a50a6809e415cd7d8915533f236f28865f3'/>
<id>63d59a50a6809e415cd7d8915533f236f28865f3</id>
<content type='text'>
Before this change, `ipmitool` would not detect any checksum errors
in FRU areas when using 'fru print'. Now it will print whether the
area checksum is OK or INVALID for Chassis, Board, and Product areas.

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change, `ipmitool` would not detect any checksum errors
in FRU areas when using 'fru print'. Now it will print whether the
area checksum is OK or INVALID for Chassis, Board, and Product areas.

Signed-off-by: Alexander Amelkin &lt;alexander@amelkin.msk.ru&gt;
</pre>
</div>
</content>
</entry>
</feed>
