From 339d414c2b6f5c335067436200b464b0fe8beafb Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 15 May 2024 07:19:39 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .freeipmi.metadata | 2 +- .gitignore | 2 +- ...incorrect-output-of-IPv6_Dynamic_Add.patch | 41 +++++++++++++++++++ SPECS/freeipmi.spec | 16 +++++++- 4 files changed, 57 insertions(+), 4 deletions(-) create mode 100644 SOURCES/0001-ipmi-config-fix-incorrect-output-of-IPv6_Dynamic_Add.patch diff --git a/.freeipmi.metadata b/.freeipmi.metadata index ce069db..270110b 100644 --- a/.freeipmi.metadata +++ b/.freeipmi.metadata @@ -1 +1 @@ -e26ac60caedae1e408d85b583acf19f233fa379a SOURCES/freeipmi-1.6.9.tar.gz +f242c15f7568c5749b4dd570df8262dcbddb6ce6 SOURCES/freeipmi-1.6.14.tar.gz diff --git a/.gitignore b/.gitignore index 79b7c5f..3df7658 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/freeipmi-1.6.9.tar.gz +SOURCES/freeipmi-1.6.14.tar.gz diff --git a/SOURCES/0001-ipmi-config-fix-incorrect-output-of-IPv6_Dynamic_Add.patch b/SOURCES/0001-ipmi-config-fix-incorrect-output-of-IPv6_Dynamic_Add.patch new file mode 100644 index 0000000..e650d83 --- /dev/null +++ b/SOURCES/0001-ipmi-config-fix-incorrect-output-of-IPv6_Dynamic_Add.patch @@ -0,0 +1,41 @@ +From 373d445993d0700d0d3801b08696b56486b3083b Mon Sep 17 00:00:00 2001 +From: Albert Chu +Date: Wed, 21 Feb 2024 09:37:17 -0800 +Subject: [PATCH] ipmi-config: fix incorrect output of + IPv6_Dynamic_Address_Source_Type + +--- + ChangeLog | 6 ++++++ + ipmi-config/ipmi-config-category-core-lan6-conf-section.c | 2 +- + 2 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/ChangeLog b/ChangeLog +index 6ed5c9739..c761c4854 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,9 @@ ++2024-02-21 Albert Chu ++ ++ * ipmi-config/ipmi-config-category-core-lan6-conf-section.c ++ (ipv6_dynamic_address_source_type_checkout): Fix incorrect output ++ of IPv6_Dynamic_Address_Source_Type. ++ + 2024-01-27 Albert Chu + + * configure.ac: Remove duplicate inb/outb declaration check. Could +diff --git a/ipmi-config/ipmi-config-category-core-lan6-conf-section.c b/ipmi-config/ipmi-config-category-core-lan6-conf-section.c +index 6d5e2943b..0b9db1d2d 100644 +--- a/ipmi-config/ipmi-config-category-core-lan6-conf-section.c ++++ b/ipmi-config/ipmi-config-category-core-lan6-conf-section.c +@@ -1227,7 +1227,7 @@ ipv6_dynamic_address_source_type_checkout (ipmi_config_state_data_t *state_data, + + if (ipmi_config_section_update_keyvalue_output (state_data, + kv, +- get_dynamic_address_source_type_string (ipv6_data.source)) < 0) ++ get_dynamic_address_source_type_string (ipv6_data.source_type)) < 0) + return (IPMI_CONFIG_ERR_FATAL_ERROR); + + rv = IPMI_CONFIG_ERR_SUCCESS; +-- +2.43.0 + diff --git a/SPECS/freeipmi.spec b/SPECS/freeipmi.spec index d32ace5..d8b6f35 100644 --- a/SPECS/freeipmi.spec +++ b/SPECS/freeipmi.spec @@ -2,8 +2,8 @@ # Copyright (c) 2003 FreeIPMI Core Team Name: freeipmi -Version: 1.6.9 -Release: 1%{?dist} +Version: 1.6.14 +Release: 2%{?dist} Summary: IPMI remote console and system management software License: GPLv3+ URL: http://www.gnu.org/software/freeipmi/ @@ -11,6 +11,10 @@ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1: bmc-watchdog.service Source2: ipmidetectd.service Source3: ipmiseld.service + +# https://github.com/chu11/freeipmi-mirror/commit/41d0d70f09b4becfceef0517543cbf335c0e927a +Patch1: 0001-ipmi-config-fix-incorrect-output-of-IPv6_Dynamic_Add.patch + BuildRequires: libgcrypt-devel texinfo systemd %{?systemd_requires} BuildRequires: gcc @@ -342,6 +346,14 @@ rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d %dir %{_localstatedir}/cache/ipmiseld %changelog +* Wed Feb 21 2024 Pavel Cahyna - 1.6.14-2 +- Apply upstream patch 41d0d70f + ipmi-config: fix incorrect output of IPv6_Dynamic_Address_Source_Type + +* Tue Feb 20 2024 Pavel Cahyna - 1.6.14-1 +- Update to 1.6.14 + Fixes segfault when exceeding 1024 file descriptors + * Mon Feb 7 2022 Pavel Cahyna - 1.6.9-1 - Update to 1.6.9 Resolves: rhbz#1876409