!31 update OpenIPMI version to 2.0.34
From: @yangl777 Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
4c6abb0fb9
Binary file not shown.
BIN
OpenIPMI-2.0.34.tar.gz
Normal file
BIN
OpenIPMI-2.0.34.tar.gz
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 2.0.33
|
Version: 2.0.34
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
||||||
License: LGPLv2+ and GPLv2+ or BSD
|
License: LGPLv2+ and GPLv2+ or BSD
|
||||||
URL: https://sourceforge.net/projects/openipmi/
|
URL: https://sourceforge.net/projects/openipmi/
|
||||||
@ -10,7 +10,6 @@ Source2: ipmi.service
|
|||||||
Source3: openipmi-helper
|
Source3: openipmi-helper
|
||||||
|
|
||||||
Patch0: 0001-man.patch
|
Patch0: 0001-man.patch
|
||||||
Patch1: backport-fix-coredump-when-use-ipmi_ui.patch
|
|
||||||
|
|
||||||
BuildRequires: make gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: make gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildRequires: openssl-devel python3-devel perl-devel perl-generators
|
BuildRequires: openssl-devel python3-devel perl-devel perl-generators
|
||||||
@ -90,13 +89,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
|
|||||||
echo ".so man1/ipmicmd.1" > %{buildroot}%{_mandir}/man1/ipmicmd.1
|
echo ".so man1/ipmicmd.1" > %{buildroot}%{_mandir}/man1/ipmicmd.1
|
||||||
echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
||||||
|
|
||||||
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
sed -i 's#-lgdbm#-lgdbm -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs#g' unix/test_handlers
|
sed -i 's#-lgdbm#-lgdbm -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs#g' unix/test_handlers
|
||||||
sed -i 's#-lpthread#-lpthread -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs:\\$progdir/../../unix/.libs#g' lanserv/ipmi_sim
|
sed -i 's#-lpthread#-lpthread -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs:\\$progdir/../../unix/.libs#g' lanserv/ipmi_sim
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%delete_la
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post ipmi.service
|
%systemd_post ipmi.service
|
||||||
|
|
||||||
@ -147,6 +146,12 @@ make check
|
|||||||
%exclude %{_mandir}/man1/openipmigui.1
|
%exclude %{_mandir}/man1/openipmigui.1
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 05 2024 yanglu <yanglu72@h-partners.com> - 2.0.34-1
|
||||||
|
- Type:requirement
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update OpenIPMI version to 2.0.34
|
||||||
|
|
||||||
* Tue Sep 26 2023 yanglu <yanglu72@h-partners.com> - 2.0.33-3
|
* Tue Sep 26 2023 yanglu <yanglu72@h-partners.com> - 2.0.33-3
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
@ -1,37 +0,0 @@
|
|||||||
From 732ee129ca0851081bf4c515c410dc64d7f8a6f9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: eaglegai <eaglegai@163.com>
|
|
||||||
Date: Mon, 20 Mar 2023 09:37:50 +0800
|
|
||||||
Subject: [PATCH] fix coredump when use ipmi_ui
|
|
||||||
|
|
||||||
Signed-off-by: eaglegai <eaglegai@163.com>
|
|
||||||
Signed-off-by: Corey Minyard <cminyard@mvista.com>
|
|
||||||
|
|
||||||
Conflict: NA
|
|
||||||
Reference: https://sourceforge.net/p/openipmi/code/ci/732ee129ca0851081bf4c515c410dc64d7f8a6f9
|
|
||||||
---
|
|
||||||
ui/ui.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/ui/ui.c b/ui/ui.c
|
|
||||||
index 529ff223..9c6a51f0 100644
|
|
||||||
--- a/ui/ui.c
|
|
||||||
+++ b/ui/ui.c
|
|
||||||
@@ -586,7 +586,6 @@ leave(int rv, char *format, ...)
|
|
||||||
{
|
|
||||||
va_list ap;
|
|
||||||
|
|
||||||
- ipmi_shutdown();
|
|
||||||
|
|
||||||
ipmi_ui_os_hnd->stop_timer(ipmi_ui_os_hnd, redisplay_timer);
|
|
||||||
ipmi_ui_os_hnd->free_timer(ipmi_ui_os_hnd, redisplay_timer);
|
|
||||||
@@ -628,6 +627,7 @@ leave(int rv, char *format, ...)
|
|
||||||
va_start(ap, format);
|
|
||||||
vfprintf(stderr, format, ap);
|
|
||||||
va_end(ap);
|
|
||||||
+ ipmi_shutdown();
|
|
||||||
|
|
||||||
ipmi_debug_malloc_cleanup();
|
|
||||||
exit(rv);
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user