mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
openipmi: upgrade 2.0.25 -> 2.0.27
Refresh all patches. Remove openipmigui-not-compile-pyc-pyo.patch and do-not-install-pyc-and-pyo.patch as the issues had been fixed upstream. Add ipmi_serial_bmc_emu.c-include-readline.h-from-readli.patch to fix the build error. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
Do not install pyc and pyo for python module
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [embedded specific]
|
|
||||||
|
|
||||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
||||||
---
|
|
||||||
swig/python/Makefile.am | 2 --
|
|
||||||
1 file changed, 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/swig/python/Makefile.am b/swig/python/Makefile.am
|
|
||||||
index da95a81..97a62bf 100644
|
|
||||||
--- a/swig/python/Makefile.am
|
|
||||||
+++ b/swig/python/Makefile.am
|
|
||||||
@@ -33,8 +33,6 @@ CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc
|
|
||||||
install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR)
|
|
||||||
$(INSTALL_DATA) OpenIPMI.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)"
|
|
||||||
- $(INSTALL_DATA) OpenIPMI.pyc "$(DESTDIR)$(PYTHON_INSTALL_DIR)"
|
|
||||||
- $(INSTALL_DATA) OpenIPMI.pyo "$(DESTDIR)$(PYTHON_INSTALL_DIR)"
|
|
||||||
if test "x$(PYTHON_GUI_DIR)" = "xopenipmigui"; then \
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(bindir); \
|
|
||||||
$(INSTALL_SCRIPT) $(srcdir)/openipmigui.py "$(DESTDIR)$(bindir)/openipmigui";\
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
||||||
+18
-13
@@ -1,18 +1,23 @@
|
|||||||
Author: Aws Ismail <aws.ismail@windriver.com>
|
From 7854c60c92243adb14ea89e16fc226d2e47dd4f9 Mon Sep 17 00:00:00 2001
|
||||||
Date: Thu Jun 7 16:00:13 2012 -0400
|
From: Aws Ismail <aws.ismail@windriver.com>
|
||||||
|
Date: Thu, 7 Jun 2012 16:00:13 -0400
|
||||||
|
Subject: [PATCH] Fix symlink install error in cmdlang
|
||||||
|
|
||||||
This patch fixes the error during the install stage when
|
This patch fixes the error during the install stage when
|
||||||
creating a symbolic link for opeipmish in openipmi/cmdlang
|
creating a symbolic link for opeipmish in openipmi/cmdlang
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
|
|
||||||
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
|
|
||||||
|
|
||||||
Index: OpenIPMI-2.0.24/cmdlang/Makefile.am
|
Upstream-Status: Pending
|
||||||
===================================================================
|
|
||||||
--- OpenIPMI-2.0.24.orig/cmdlang/Makefile.am
|
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
|
||||||
+++ OpenIPMI-2.0.24/cmdlang/Makefile.am
|
---
|
||||||
@@ -35,6 +35,7 @@ openipmish_LDADD = libOpenIPMIcmdlang.l
|
cmdlang/Makefile.am | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
|
||||||
|
index 0ca3827..d9a941f 100644
|
||||||
|
--- a/cmdlang/Makefile.am
|
||||||
|
+++ b/cmdlang/Makefile.am
|
||||||
|
@@ -35,6 +35,7 @@ openipmish_LDADD = libOpenIPMIcmdlang.la \
|
||||||
# compatability.
|
# compatability.
|
||||||
install-data-local:
|
install-data-local:
|
||||||
rm -f $(DESTDIR)$(bindir)/ipmish
|
rm -f $(DESTDIR)$(bindir)/ipmish
|
||||||
|
|||||||
@@ -1,12 +1,25 @@
|
|||||||
|
From 4f41e090e33a00117a27f0c77b6338fb8b495f37 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Fri, 2 Jun 2017 21:58:32 -0700
|
||||||
|
Subject: [PATCH] openipmi: Fix build with musl
|
||||||
|
|
||||||
include sys/types.h for u_int32_t
|
include sys/types.h for u_int32_t
|
||||||
|
|
||||||
ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
|
ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
|
||||||
u_int32_t addr;
|
u_int32_t addr;
|
||||||
^~~~~~~~~
|
^~~~~~~~~
|
||||||
Index: OpenIPMI-2.0.24/ui/ui.c
|
|
||||||
===================================================================
|
Upstream-Status: Pending
|
||||||
--- OpenIPMI-2.0.24.orig/ui/ui.c
|
|
||||||
+++ OpenIPMI-2.0.24/ui/ui.c
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
ui/ui.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/ui/ui.c b/ui/ui.c
|
||||||
|
index 529ff22..066d118 100644
|
||||||
|
--- a/ui/ui.c
|
||||||
|
+++ b/ui/ui.c
|
||||||
@@ -42,6 +42,7 @@
|
@@ -42,6 +42,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
From 6542ebe7a0d37dee8e9afb856feb8f6c3d334632 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jackie Huang <jackie.huang@windriver.com>
|
||||||
|
Date: Mon, 29 Dec 2014 18:16:04 +0800
|
||||||
Subject: [PATCH] ipmi-init: fix the arguments
|
Subject: [PATCH] ipmi-init: fix the arguments
|
||||||
|
|
||||||
The functions success/failure/warning defined in /etc/init.d/functions
|
The functions success/failure/warning defined in /etc/init.d/functions
|
||||||
@@ -12,7 +15,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/ipmi.init b/ipmi.init
|
diff --git a/ipmi.init b/ipmi.init
|
||||||
index 2ebcd94..d8161c5 100644
|
index ea10b11..aac9f83 100644
|
||||||
--- a/ipmi.init
|
--- a/ipmi.init
|
||||||
+++ b/ipmi.init
|
+++ b/ipmi.init
|
||||||
@@ -45,17 +45,17 @@ elif [ -r /etc/init.d/functions ]; then
|
@@ -45,17 +45,17 @@ elif [ -r /etc/init.d/functions ]; then
|
||||||
@@ -36,6 +39,4 @@ index 2ebcd94..d8161c5 100644
|
|||||||
echo
|
echo
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
||||||
|
|||||||
+31
@@ -0,0 +1,31 @@
|
|||||||
|
From bebfb3c24582ec4e45d79c5b52135197bf7373da Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yi Zhao <yi.zhao@windriver.com>
|
||||||
|
Date: Fri, 14 Jun 2019 14:17:34 +0800
|
||||||
|
Subject: [PATCH] ipmi_serial_bmc_emu.c: include readline.h from readline
|
||||||
|
|
||||||
|
The libedit had been removed and swithed to readline.
|
||||||
|
We need to include readline.h from readline rather than editline.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||||
|
---
|
||||||
|
sample/ipmi_serial_bmc_emu.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/sample/ipmi_serial_bmc_emu.c b/sample/ipmi_serial_bmc_emu.c
|
||||||
|
index e0ae019..1b8bb9a 100644
|
||||||
|
--- a/sample/ipmi_serial_bmc_emu.c
|
||||||
|
+++ b/sample/ipmi_serial_bmc_emu.c
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/select.h>
|
||||||
|
-#include <editline/readline.h>
|
||||||
|
+#include <readline/readline.h>
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#include <getopt.h>
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
||||||
@@ -1,16 +1,19 @@
|
|||||||
Author: Aws Ismail <aws.ismail@windriver.com>
|
From a6ffa3939a3ab2ad6a8d277cd8292b7dad6469c6 Mon Sep 17 00:00:00 2001
|
||||||
Date: Thu Jun 7 12:28:34 2012 -0400
|
From: Aws Ismail <aws.ismail@windriver.com>
|
||||||
|
Date: Thu, 7 Jun 2012 12:28:34 -0400
|
||||||
|
Subject: [PATCH] Do not build openipmigui man page
|
||||||
|
|
||||||
This patch was carried over from WRL4.3 (openipmi v2.0.16)
|
This patch was carried over from WRL4.3 (openipmi v2.0.16)
|
||||||
|
It was updated for openipmi v2.0.19
|
||||||
It was updated for openipmi v2.0.19
|
Disable making openipmigui man page since we don't need it
|
||||||
|
|
||||||
Disable making openipmigui man page since we don't need it
|
Upstream-Status: Pending
|
||||||
|
|
||||||
Upstream-Status: Pending
|
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
|
||||||
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||||
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
|
---
|
||||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
man/Makefile.am | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/man/Makefile.am b/man/Makefile.am
|
diff --git a/man/Makefile.am b/man/Makefile.am
|
||||||
index 632f55b..5ce79f5 100644
|
index 632f55b..5ce79f5 100644
|
||||||
|
|||||||
+14
-16
@@ -1,4 +1,4 @@
|
|||||||
From aa0dc0783a6ff5fb56c914b640836223e3c192bb Mon Sep 17 00:00:00 2001
|
From 6395659ca6d64b20bf78bb640c2cc523d6c1d9c2 Mon Sep 17 00:00:00 2001
|
||||||
From: Jackie Huang <jackie.huang@windriver.com>
|
From: Jackie Huang <jackie.huang@windriver.com>
|
||||||
Date: Mon, 29 Dec 2014 18:16:04 +0800
|
Date: Mon, 29 Dec 2014 18:16:04 +0800
|
||||||
Subject: [PATCH] remove host path from la_LDFLAGS
|
Subject: [PATCH] remove host path from la_LDFLAGS
|
||||||
@@ -7,17 +7,15 @@ Upstream-Status: Inappropriate [ cross compile specific ]
|
|||||||
|
|
||||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||||
---
|
---
|
||||||
cmdlang/Makefile.am | 2 +-
|
cmdlang/Makefile.am | 3 +--
|
||||||
glib/Makefile.am | 4 ++--
|
unix/Makefile.am | 6 ++----
|
||||||
tcl/Makefile.am | 2 +-
|
2 files changed, 3 insertions(+), 6 deletions(-)
|
||||||
unix/Makefile.am | 4 ++--
|
|
||||||
4 files changed, 6 insertions(+), 6 deletions(-)
|
|
||||||
|
|
||||||
Index: OpenIPMI-2.0.24/cmdlang/Makefile.am
|
diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am
|
||||||
===================================================================
|
index d9a941f..21b9531 100644
|
||||||
--- OpenIPMI-2.0.24.orig/cmdlang/Makefile.am
|
--- a/cmdlang/Makefile.am
|
||||||
+++ OpenIPMI-2.0.24/cmdlang/Makefile.am
|
+++ b/cmdlang/Makefile.am
|
||||||
@@ -15,8 +15,7 @@ libOpenIPMIcmdlang_la_SOURCES = cmdlang.
|
@@ -15,8 +15,7 @@ libOpenIPMIcmdlang_la_SOURCES = cmdlang.c cmd_domain.c cmd_entity.c cmd_mc.c \
|
||||||
libOpenIPMIcmdlang_la_LIBADD = -lm \
|
libOpenIPMIcmdlang_la_LIBADD = -lm \
|
||||||
$(top_builddir)/utils/libOpenIPMIutils.la \
|
$(top_builddir)/utils/libOpenIPMIutils.la \
|
||||||
$(top_builddir)/lib/libOpenIPMI.la
|
$(top_builddir)/lib/libOpenIPMI.la
|
||||||
@@ -27,11 +25,11 @@ Index: OpenIPMI-2.0.24/cmdlang/Makefile.am
|
|||||||
|
|
||||||
bin_PROGRAMS = openipmish
|
bin_PROGRAMS = openipmish
|
||||||
|
|
||||||
Index: OpenIPMI-2.0.24/unix/Makefile.am
|
diff --git a/unix/Makefile.am b/unix/Makefile.am
|
||||||
===================================================================
|
index 5128839..bd0f897 100644
|
||||||
--- OpenIPMI-2.0.24.orig/unix/Makefile.am
|
--- a/unix/Makefile.am
|
||||||
+++ OpenIPMI-2.0.24/unix/Makefile.am
|
+++ b/unix/Makefile.am
|
||||||
@@ -10,14 +10,12 @@ lib_LTLIBRARIES = libOpenIPMIposix.la li
|
@@ -10,14 +10,12 @@ lib_LTLIBRARIES = libOpenIPMIposix.la libOpenIPMIpthread.la
|
||||||
libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
|
libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c
|
||||||
libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
|
libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \
|
||||||
$(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
|
$(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB)
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
openipmi load swig/python/.libs/_OpenIPMI.so to create .pyc and .pyo files.
|
|
||||||
It fails when multilib is enable:
|
|
||||||
|
|
||||||
| ImportError: .../lib32-openipmi/2.0.25-r0/OpenIPMI-2.0.25/swig/python/.libs/_OpenIPMI.so: wrong ELF class: ELFCLASS32
|
|
||||||
|
|
||||||
Don't compile and install .pyc and .pyo files to fix the failure.
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [OE specific]
|
|
||||||
|
|
||||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
||||||
diff --git a/swig/python/openipmigui/Makefile.am b/swig/python/openipmigui/Makefile.am
|
|
||||||
index 570e7b9..88258bf 100644
|
|
||||||
--- a/swig/python/openipmigui/Makefile.am
|
|
||||||
+++ b/swig/python/openipmigui/Makefile.am
|
|
||||||
@@ -34,9 +34,9 @@ localcopy:
|
|
||||||
fi \
|
|
||||||
done
|
|
||||||
|
|
||||||
-all-local: localcopy $(PYC_FILES) $(PYO_FILES)
|
|
||||||
+all-local: localcopy
|
|
||||||
|
|
||||||
-install-exec-local: $(EXTRA_DIST) $(PYC_FILES) $(PYO_FILES)
|
|
||||||
+install-exec-local: $(EXTRA_DIST)
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR)/openipmigui
|
|
||||||
$(INSTALL_DATA) $^ $(DESTDIR)$(PYTHON_INSTALL_DIR)/openipmigui
|
|
||||||
|
|
||||||
+5
-4
@@ -13,6 +13,7 @@ DEPENDS = " \
|
|||||||
popt \
|
popt \
|
||||||
python \
|
python \
|
||||||
swig-native \
|
swig-native \
|
||||||
|
readline \
|
||||||
"
|
"
|
||||||
|
|
||||||
LICENSE = "GPLv2 & LGPLv2.1 & BSD"
|
LICENSE = "GPLv2 & LGPLv2.1 & BSD"
|
||||||
@@ -27,16 +28,16 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
|
|||||||
file://openipmi-no-openipmigui-man.patch \
|
file://openipmi-no-openipmigui-man.patch \
|
||||||
file://openipmi-remove-host-path-from-la_LDFLAGS.patch \
|
file://openipmi-remove-host-path-from-la_LDFLAGS.patch \
|
||||||
file://ipmi-init-fix-the-arguments.patch \
|
file://ipmi-init-fix-the-arguments.patch \
|
||||||
file://do-not-install-pyc-and-pyo.patch \
|
|
||||||
file://include_sys_types.patch \
|
file://include_sys_types.patch \
|
||||||
file://openipmigui-not-compile-pyc-pyo.patch \
|
file://ipmi_serial_bmc_emu.c-include-readline.h-from-readli.patch \
|
||||||
file://openipmi-helper \
|
file://openipmi-helper \
|
||||||
file://ipmi.service \
|
file://ipmi.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/OpenIPMI-${PV}"
|
S = "${WORKDIR}/OpenIPMI-${PV}"
|
||||||
SRC_URI[md5sum] = "1461ac4d78fc516646fd0a6e605a8b05"
|
|
||||||
SRC_URI[sha256sum] = "f0f1a0ec732409930b7a31a6daa6cf39b585f52059b62a5f092b7ece21aa75a5"
|
SRC_URI[md5sum] = "d525ceaa07df5440674e7e68a6772fe7"
|
||||||
|
SRC_URI[sha256sum] = "f3b1fafaaec2e2bac32fec5a86941ad8b8cb64543470bd6d819d7b166713d20b"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig pythonnative perlnative update-rc.d systemd cpan-base
|
inherit autotools-brokensep pkgconfig pythonnative perlnative update-rc.d systemd cpan-base
|
||||||
|
|
||||||
Reference in New Issue
Block a user